Let X, Tx, Y, Ty and f be given.
Let x1 and x2 be given.
Apply Hexg to the current goal.
Let g be given.
Assume Hgprop.
rewrite the current goal using (Hginv x1 Hx1X) (from right to left).
rewrite the current goal using (Hginv x2 Hx2X) (from right to left).
rewrite the current goal using Heq (from left to right).
Use reflexivity.
∎