Let y be given.
We prove the intermediate
claim Hyeq:
y = x.
Apply (UPairE y x x Hy (y = x)) to the current goal.
Assume H1.
An exact proof term for the current goal is H1.
Assume H1.
An exact proof term for the current goal is H1.
rewrite the current goal using Hyeq (from left to right).
An
exact proof term for the current goal is
(SingI x).
∎