Let u be given.
Let G be given.
Let u0 be given.
We prove the intermediate
claim HuEq:
u = u0.
We prove the intermediate
claim HuG0:
u ∈ {u0}.
rewrite the current goal using HeqG (from right to left).
An exact proof term for the current goal is HuG.
An
exact proof term for the current goal is
(SingE u0 u HuG0).
rewrite the current goal using HuEq (from left to right).
An exact proof term for the current goal is Hu0U.