feat(hott): add calc lemmas for pointed equivalences, make pinl and pinr constructors
This commit is contained in:
parent
8d22e454e7
commit
664132b845
2 changed files with 14 additions and 2 deletions
|
@ -27,10 +27,10 @@ namespace pushout
|
|||
pointed.mk' (pushout f g)
|
||||
|
||||
parameters {f g}
|
||||
definition pinl : BL →* Pushout :=
|
||||
definition pinl [constructor] : BL →* Pushout :=
|
||||
pmap.mk inl idp
|
||||
|
||||
definition pinr : TR →* Pushout :=
|
||||
definition pinr [constructor] : TR →* Pushout :=
|
||||
pmap.mk inr ((ap inr (respect_pt g))⁻¹ ⬝ !glue⁻¹ ⬝ (ap inl (respect_pt f)))
|
||||
|
||||
definition pglue (x : TL) : pinl (f x) = pinr (g x) := -- TODO do we need this?
|
||||
|
|
|
@ -141,6 +141,10 @@ namespace pointed
|
|||
|
||||
infixr ` ∘* `:60 := pcompose
|
||||
|
||||
-- The constant pointed map between any two types
|
||||
definition pconst [constructor] (A B : Type*) : A →* B :=
|
||||
pmap.mk (λ a, Point B) idp
|
||||
|
||||
structure phomotopy (f g : A →* B) :=
|
||||
(homotopy : f ~ g)
|
||||
(homotopy_pt : homotopy pt ⬝ respect_pt g = respect_pt f)
|
||||
|
@ -358,5 +362,13 @@ namespace pointed
|
|||
definition pua {A B : Type*} (f : A ≃* B) : A = B :=
|
||||
Pointed_eq (equiv_of_pequiv f) !respect_pt
|
||||
|
||||
definition pequiv_refl [refl] [constructor] : A ≃* A :=
|
||||
pequiv.mk !pid !is_equiv_id
|
||||
|
||||
definition pequiv_symm [symm] (f : A ≃* B) : B ≃* A :=
|
||||
pequiv.mk (to_pinv f) !is_equiv_inv
|
||||
|
||||
definition pequiv_trans [trans] (f : A ≃* B) (g : B ≃*C) : A ≃* C :=
|
||||
pequiv.mk (pcompose g f) !is_equiv_compose
|
||||
|
||||
end pointed
|
||||
|
|
Loading…
Reference in a new issue