Skip to content

Instantly share code, notes, and snippets.

@JasonGross
Created January 12, 2014 20:24
Show Gist options
  • Select an option

  • Save JasonGross/8390084 to your computer and use it in GitHub Desktop.

Select an option

Save JasonGross/8390084 to your computer and use it in GitHub Desktop.
left universal property of equality
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