chore(library/hott) adapted univalence axiom to suit notation in book and def in Coq.

This commit is contained in:
Jakob von Raumer 2014-11-06 18:35:31 -05:00
parent d842be9c52
commit fa9cbb1f6a

View file

@ -5,4 +5,18 @@
import hott.path hott.equiv
open path Equiv
axiom ua {A B : Type} [H : A ≃ B] : A ≈ B
universe l
variables (A B : Type.{l})
private definition isequiv_path (H : A ≈ B) :=
(@IsEquiv.transport Type (λX, X) A B H)
definition equiv_path (H : A ≈ B) : A ≃ B :=
Equiv_mk _ (isequiv_path A B H)
axiom ua_equiv (A B : Type) : IsEquiv (equiv_path A B)
definition ua_inst [instance] {A B : Type} := (@ua_equiv A B)
definition ua {A B : Type} (H : A ≃ B) : A ≈ B :=
IsEquiv.inv (@equiv_path A B) H