Proof in COQ that equality is reflexivity
问题 The HOTT book writes on page 51: ... we can prove by path induction on p: x = y that $(x, y, p) =_{ \sum_{(x,y:A)} (x=y)} (x, x, refl x)$ . Can someone show me how to proof this in COQ? Remarks: Sorry that I do not know how to render latex code here. That is not homework. 回答1: Actually, it is possible to prove this result in Coq: Notation "y ; z" := (existT _ y z) (at level 80, right associativity). Definition hott51 T x y e : (x; y; e) = (x; x; eq_refl) :> {x : T & {y : T & x = y} } := match