Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HsSubX x Hx).
We prove the intermediate
claim Hprop:
∀U : set, U ∈ {s} → x ∈ U.
Let U be given.
We prove the intermediate
claim HUeq:
U = s.
An
exact proof term for the current goal is
(SingE s U HU).
rewrite the current goal using HUeq (from left to right).
An exact proof term for the current goal is Hx.
An
exact proof term for the current goal is
(SepI X (λx0 : set ⇒ ∀U : set, U ∈ {s} → x0 ∈ U) x HxX Hprop).
∎