Let x be given.
We prove the intermediate
claim HexU:
∃U : set, x ∈ U ∧ U ∈ Fam.
An
exact proof term for the current goal is
(UnionE Fam x Hx).
Apply HexU to the current goal.
Let U be given.
Assume HUconj.
We prove the intermediate
claim HxU:
x ∈ U.
An
exact proof term for the current goal is
(andEL (x ∈ U) (U ∈ Fam) HUconj).
We prove the intermediate
claim HUfam:
U ∈ Fam.
An
exact proof term for the current goal is
(andER (x ∈ U) (U ∈ Fam) HUconj).
We prove the intermediate
claim Hex:
∃p0 ∈ S, U = {p0}.
An
exact proof term for the current goal is
(ReplE S (λp0 : set ⇒ {p0}) U HUfam).
Apply Hex to the current goal.
Let p0 be given.
Assume Hp0pair.
We prove the intermediate
claim Hp0S:
p0 ∈ S.
An
exact proof term for the current goal is
(andEL (p0 ∈ S) (U = {p0}) Hp0pair).
We prove the intermediate
claim HUeq:
U = {p0}.
An
exact proof term for the current goal is
(andER (p0 ∈ S) (U = {p0}) Hp0pair).
We prove the intermediate
claim HxU2:
x ∈ {p0}.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HxU.
We prove the intermediate
claim Hxeq:
x = p0.
An
exact proof term for the current goal is
(SingE p0 x HxU2).
rewrite the current goal using Hxeq (from left to right).
An exact proof term for the current goal is Hp0S.