Let X, S and s be given.
Assume HSsub HsS HsNonempty.
We prove the intermediate
claim HS:
S ⊆ 𝒫 X.
An
exact proof term for the current goal is
(andEL (S ⊆ 𝒫 X) (⋃ S = X) HSsub).
We prove the intermediate
claim HsPow:
s ∈ 𝒫 X.
An exact proof term for the current goal is (HS s HsS).
We prove the intermediate
claim HsSubX:
s ⊆ X.
An
exact proof term for the current goal is
(PowerE X s HsPow).
Set F to be the term
{s}.
We prove the intermediate
claim HFPower:
F ∈ 𝒫 S.
Apply PowerI S F to the current goal.
Let t be given.
We prove the intermediate
claim HtEq:
t = s.
An
exact proof term for the current goal is
(SingE s t Ht).
rewrite the current goal using HtEq (from left to right).
An exact proof term for the current goal is HsS.
We prove the intermediate
claim HFinF:
finite F.
An
exact proof term for the current goal is
(Sing_finite s).
An
exact proof term for the current goal is
(SepI (𝒫 S) (λF0 : set ⇒ finite F0) F HFPower HFinF).
rewrite the current goal using HinterEq (from left to right).
An exact proof term for the current goal is HsNonempty.
rewrite the current goal using HinterEq (from right to left) at position 1.
An exact proof term for the current goal is HinterInBasis.
∎