Let W be given.
Apply (ReplE Fam (λA : set ⇒ closure_of X Tx A) W HWCl) to the current goal.
Let A be given.
Assume HAconj.
We prove the intermediate
claim HAFam:
A ∈ Fam.
An
exact proof term for the current goal is
(andEL (A ∈ Fam) (W = closure_of X Tx A) HAconj).
We prove the intermediate
claim HWeq:
W = closure_of X Tx A.
An
exact proof term for the current goal is
(andER (A ∈ Fam) (W = closure_of X Tx A) HAconj).
We prove the intermediate
claim H0clA:
0 ∈ closure_of X Tx A.
rewrite the current goal using HWeq (from right to left).
An exact proof term for the current goal is H0W.
Apply (ReplE (X ∖ {0}) (λn : set ⇒ {n}) A HAFam) to the current goal.
Let n be given.
Assume Hnconj.
We prove the intermediate
claim HninX0:
n ∈ X ∖ {0}.
An
exact proof term for the current goal is
(andEL (n ∈ X ∖ {0}) (A = {n}) Hnconj).
We prove the intermediate
claim HAeq:
A = {n}.
An
exact proof term for the current goal is
(andER (n ∈ X ∖ {0}) (A = {n}) Hnconj).
We prove the intermediate
claim HninX:
n ∈ X.
An
exact proof term for the current goal is
(setminusE1 X {0} n HninX0).
We prove the intermediate
claim HSingSub:
{n} ⊆ X.
Let x be given.
We prove the intermediate
claim HxEq:
x = n.
An
exact proof term for the current goal is
(SingE n x Hx).
rewrite the current goal using HxEq (from left to right).
An exact proof term for the current goal is HninX.
We prove the intermediate
claim Hclosed:
closed_in X Tx {n}.
Apply andI to the current goal.
An exact proof term for the current goal is Htop.
Apply andI to the current goal.
An exact proof term for the current goal is HSingSub.
We use
(X ∖ {n}) to
witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HUpow:
(X ∖ {n}) ∈ 𝒫 X.
We prove the intermediate
claim HfinComp:
finite (X ∖ (X ∖ {n})).
An
exact proof term for the current goal is
(Sing_finite n).
rewrite the current goal using HAeq (from right to left).
An exact proof term for the current goal is H0clA.
We prove the intermediate
claim H0inSing:
0 ∈ {n}.
rewrite the current goal using Heq_cl (from right to left).
An exact proof term for the current goal is H0clSing.
We prove the intermediate
claim H0eqn:
0 = n.
An
exact proof term for the current goal is
(SingE n 0 H0inSing).
We prove the intermediate
claim Hn0:
n = 0.
rewrite the current goal using H0eqn (from right to left).
Use reflexivity.
We prove the intermediate
claim Hnnot0:
n ∉ {0}.
An
exact proof term for the current goal is
(setminusE2 X {0} n HninX0).
We prove the intermediate
claim Hnin0:
n ∈ {0}.
rewrite the current goal using Hn0 (from left to right).
An
exact proof term for the current goal is
(SingI 0).
An exact proof term for the current goal is (Hnnot0 Hnin0).