Library UniMath.MoreFoundations.Univalence
Funextsec and toforallpaths are mutually inverses
Lemma funextsec_toforallpaths {T : UU} {P : T → UU} {f g : ∏ t : T, P t} :
∏ (h : f = g), funextsec _ _ _ (toforallpaths _ _ _ h) = h.
Proof.
intro h; exact (!homotinvweqweq0 (weqtoforallpaths _ _ _) h).
Defined.
∏ (h : f = g), funextsec _ _ _ (toforallpaths _ _ _ h) = h.
Proof.
intro h; exact (!homotinvweqweq0 (weqtoforallpaths _ _ _) h).
Defined.
Funextsec and toforallpaths are mutually inverses