Created
January 12, 2014 20:24
-
-
Save JasonGross/8390084 to your computer and use it in GitHub Desktop.
left universal property of equality
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 Overture Equivalences. | |
| Goal forall A (a : A) (B : forall x, a = x -> Type) (x : A), Equiv (forall x (p : a = x), B x p) (B a (idpath a)). | |
| Proof. | |
| intros. | |
| apply (equiv_adjointify | |
| (fun f => f _ idpath) | |
| (fun p0 => fun x0 p => match p as p' in (_ = y) return B y p' with | |
| | idpath => p0 | |
| end)). | |
| - intro. reflexivity. | |
| - intro. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment