-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attempt to remove unnecessary axioms (#52)
* attempt to remove unnecessary axioms * reduce further complication * fix transitivity * clean up * simplification * shorter
- Loading branch information
1 parent
d959446
commit 6b9cab1
Showing
4 changed files
with
144 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1 @@ | ||
Require Export Coq.Logic.PropExtensionality. | ||
Require Export Coq.Logic.IndefiniteDescription. | ||
Require Export Coq.Logic.FunctionalExtensionality. | ||
|
||
|
||
Lemma dep_functional_choice : | ||
forall (A : Type) (B : A -> Type) (R: forall a, B a -> Prop), | ||
(forall x : A, exists y : B x, R x y) -> | ||
(exists f : forall x, B x, forall x : A, R x (f x)). | ||
Proof. | ||
intros. | ||
exists (fun x => proj1_sig (constructive_indefinite_description (R x) (H x))). | ||
intro x. | ||
apply (proj2_sig (constructive_indefinite_description (R x) (H x))). | ||
Qed. | ||
|
||
Lemma dep_functional_choice_equiv : | ||
forall (A : Type) (B : A -> Type) (R: forall a, B a -> Prop), | ||
(forall x : A, exists y : B x, R x y) <-> | ||
(exists f : forall x, B x, forall x : A, R x (f x)). | ||
Proof. | ||
intros; split. | ||
- apply dep_functional_choice. | ||
- firstorder. | ||
Qed. | ||
|
||
Lemma functional_choice_equiv : | ||
forall (A B : Type) (R:A->B->Prop), | ||
(forall x : A, exists y : B, R x y) <-> | ||
(exists f : A->B, forall x : A, R x (f x)). | ||
Proof. | ||
intros; split. | ||
- apply functional_choice. | ||
- firstorder. | ||
Qed. | ||
|
||
Lemma exists_absorption : | ||
forall (A : Type) (P : A -> Prop) (Q : Prop), | ||
(exists x : A, P x) /\ Q <-> (exists x : A, P x /\ Q). | ||
Proof. | ||
firstorder. | ||
Qed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters