Created
December 24, 2013 01:22
-
-
Save JasonGross/8107450 to your computer and use it in GitHub Desktop.
IsEquiv (ap f)
This file contains hidden or 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
| Require Import HoTT. | |
| Local Open Scope path_scope. | |
| Local Open Scope equiv_scope. | |
| Section ap. | |
| Variables A B : Type. | |
| Variables x y : A. | |
| Variable f : A -> B. | |
| Context `{IsEquiv _ _ f}. | |
| Goal IsEquiv (@ap _ _ f x y). | |
| Proof. | |
| apply (isequiv_adjointify | |
| (ap f) | |
| (fun H' => (eissect _ _)^ @ ap (f^-1) H' @ eissect _ _)); | |
| hnf; | |
| [ intro | |
| | intros []; | |
| edestruct (eissect f _); | |
| reflexivity ]. | |
| rewrite !ap_pp. | |
| rewrite !ap_V. | |
| rewrite <- !eisadj. | |
| generalize dependent (f x). | |
| generalize dependent (f y). | |
| intros. | |
| path_induction. | |
| simpl. | |
| edestruct (eisretr f _). | |
| reflexivity. | |
| Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment