Let x be given.
Apply (UnionE Fam x HxU) to the current goal.
Let A be given.
We prove the intermediate
claim HxA:
x ∈ A.
An
exact proof term for the current goal is
(andEL (x ∈ A) (A ∈ Fam) HA).
We prove the intermediate
claim HAFam:
A ∈ Fam.
An
exact proof term for the current goal is
(andER (x ∈ A) (A ∈ Fam) HA).
We prove the intermediate
claim HAcl:
closed_in X Tx A.
An exact proof term for the current goal is (Hcl A HAFam).
We prove the intermediate
claim HAsubX:
A ⊆ X.
An exact proof term for the current goal is (HAsubX x HxA).
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
An
exact proof term for the current goal is
(setminusE1 X (⋃ Fam) x HxU).
We prove the intermediate
claim HexN:
∃N : set, N ∈ Tx ∧ x ∈ N ∧ ∃S : set, finite S ∧ S ⊆ Fam ∧ ∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S.
Apply HexN to the current goal.
Let N be given.
We prove the intermediate
claim HNcore:
N ∈ Tx ∧ x ∈ N.
An
exact proof term for the current goal is
(andEL (N ∈ Tx ∧ x ∈ N) (∃S : set, finite S ∧ S ⊆ Fam ∧ ∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S) HNpack).
We prove the intermediate
claim HNTx:
N ∈ Tx.
An
exact proof term for the current goal is
(andEL (N ∈ Tx) (x ∈ N) HNcore).
We prove the intermediate
claim HxN:
x ∈ N.
An
exact proof term for the current goal is
(andER (N ∈ Tx) (x ∈ N) HNcore).
We prove the intermediate
claim HexS:
∃S : set, finite S ∧ S ⊆ Fam ∧ ∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S.
An
exact proof term for the current goal is
(andER (N ∈ Tx ∧ x ∈ N) (∃S : set, finite S ∧ S ⊆ Fam ∧ ∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S) HNpack).
Apply HexS to the current goal.
Let S be given.
We prove the intermediate
claim HSleft:
finite S ∧ S ⊆ Fam.
An
exact proof term for the current goal is
(andEL (finite S ∧ S ⊆ Fam) (∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S) HS).
We prove the intermediate
claim HSfin:
finite S.
An
exact proof term for the current goal is
(andEL (finite S) (S ⊆ Fam) HSleft).
We prove the intermediate
claim HSsubFam:
S ⊆ Fam.
An
exact proof term for the current goal is
(andER (finite S) (S ⊆ Fam) HSleft).
We prove the intermediate
claim HSprop:
∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S.
An
exact proof term for the current goal is
(andER (finite S ∧ S ⊆ Fam) (∀A : set, A ∈ Fam → A ∩ N ≠ Empty → A ∈ S) HS).
Set sep_open to be the term
λA : set ⇒ Eps_i (λV0 : set ⇒ V0 ∈ Tx ∧ A = X ∖ V0).
Set F to be the term
Repl S sep_open.
We prove the intermediate
claim HFfin:
finite F.
An
exact proof term for the current goal is
(Repl_finite sep_open S HSfin).
We prove the intermediate
claim HFsubTx:
F ⊆ Tx.
Let V0 be given.
Let A be given.
We prove the intermediate
claim HAFam:
A ∈ Fam.
An exact proof term for the current goal is (HSsubFam A HA).
We prove the intermediate
claim HAcl:
closed_in X Tx A.
An exact proof term for the current goal is (Hcl A HAFam).
We prove the intermediate
claim HexU0:
∃U0 ∈ Tx, A = X ∖ U0.
We prove the intermediate
claim Hsep:
sep_open A ∈ Tx ∧ A = X ∖ (sep_open A).
An
exact proof term for the current goal is
(Eps_i_ex (λV1 : set ⇒ V1 ∈ Tx ∧ A = X ∖ V1) HexU0).
rewrite the current goal using Heq (from left to right).
An
exact proof term for the current goal is
(andEL (sep_open A ∈ Tx) (A = X ∖ (sep_open A)) Hsep).
We prove the intermediate
claim HFNpow:
(F ∪ {N}) ∈ 𝒫 Tx.
Apply PowerI to the current goal.
Let V0 be given.
An exact proof term for the current goal is (HFsubTx V0 HVF).
We prove the intermediate
claim HeqN:
V0 = N.
An
exact proof term for the current goal is
(SingE N V0 HVN).
rewrite the current goal using HeqN (from left to right).
An exact proof term for the current goal is HNTx.
We prove the intermediate
claim HVTx:
V ∈ Tx.
We prove the intermediate
claim HxV:
x ∈ V.
An exact proof term for the current goal is HxX.
Let T be given.
Let A be given.
We prove the intermediate
claim HAFam:
A ∈ Fam.
An exact proof term for the current goal is (HSsubFam A HA).
We prove the intermediate
claim HnotxA:
x ∉ A.
We prove the intermediate
claim HxUFam:
x ∈ ⋃ Fam.
An
exact proof term for the current goal is
(UnionI Fam x A HxA HAFam).
An
exact proof term for the current goal is
((setminusE2 X (⋃ Fam) x HxU) HxUFam False).
We prove the intermediate
claim HAcl:
closed_in X Tx A.
An exact proof term for the current goal is (Hcl A HAFam).
We prove the intermediate
claim HexU0:
∃U0 ∈ Tx, A = X ∖ U0.
We prove the intermediate
claim Hsep:
sep_open A ∈ Tx ∧ A = X ∖ (sep_open A).
An
exact proof term for the current goal is
(Eps_i_ex (λV1 : set ⇒ V1 ∈ Tx ∧ A = X ∖ V1) HexU0).
We prove the intermediate
claim HAeq:
A = X ∖ (sep_open A).
An
exact proof term for the current goal is
(andER (sep_open A ∈ Tx) (A = X ∖ (sep_open A)) Hsep).
We prove the intermediate
claim HxIn:
x ∈ sep_open A.
Apply (xm (x ∈ sep_open A)) to the current goal.
Assume HxIn.
An exact proof term for the current goal is HxIn.
Assume HxNot.
Apply FalseE to the current goal.
We prove the intermediate
claim HxInA:
x ∈ A.
rewrite the current goal using HAeq (from left to right).
An
exact proof term for the current goal is
(setminusI X (sep_open A) x HxX HxNot).
An
exact proof term for the current goal is
(HnotxA HxInA False).
rewrite the current goal using HeqT (from left to right).
An exact proof term for the current goal is HxIn.
We prove the intermediate
claim Heq:
T = N.
An
exact proof term for the current goal is
(SingE N T HTN).
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HxN.
We prove the intermediate
claim HVsubU:
V ⊆ U.
Let y be given.
We prove the intermediate
claim HyN:
y ∈ N.
We prove the intermediate
claim HyT:
y ∈ N ∧ N ∈ (F ∪ {N}).
We prove the intermediate
claim HNin:
N ∈ F ∪ {N}.
An
exact proof term for the current goal is
(andEL (y ∈ N) (N ∈ (F ∪ {N})) HyT).
Apply (xm (y ∈ ⋃ Fam)) to the current goal.
Apply FalseE to the current goal.
Apply (UnionE Fam y HyUFam) to the current goal.
Let A be given.
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(andEL (y ∈ A) (A ∈ Fam) HApack).
We prove the intermediate
claim HAFam:
A ∈ Fam.
An
exact proof term for the current goal is
(andER (y ∈ A) (A ∈ Fam) HApack).
We prove the intermediate
claim HyAN:
y ∈ A ∩ N.
An
exact proof term for the current goal is
(binintersectI A N y HyA HyN).
We prove the intermediate
claim HAnN:
A ∩ N ≠ Empty.
We prove the intermediate
claim HAinS:
A ∈ S.
An exact proof term for the current goal is (HSprop A HAFam HAnN).
We prove the intermediate
claim HySep:
y ∈ sep_open A.
We prove the intermediate
claim HSepIn:
sep_open A ∈ F.
An
exact proof term for the current goal is
(ReplI S sep_open A HAinS).
We prove the intermediate
claim HSepInU:
sep_open A ∈ (F ∪ {N}).
An
exact proof term for the current goal is
(binunionI1 F {N} (sep_open A) HSepIn).
We prove the intermediate
claim HAFam2:
A ∈ Fam.
An exact proof term for the current goal is HAFam.
We prove the intermediate
claim HAcl:
closed_in X Tx A.
An exact proof term for the current goal is (Hcl A HAFam2).
We prove the intermediate
claim HexU0:
∃U0 ∈ Tx, A = X ∖ U0.
We prove the intermediate
claim Hsep:
sep_open A ∈ Tx ∧ A = X ∖ (sep_open A).
An
exact proof term for the current goal is
(Eps_i_ex (λV1 : set ⇒ V1 ∈ Tx ∧ A = X ∖ V1) HexU0).
We prove the intermediate
claim HAeq:
A = X ∖ (sep_open A).
An
exact proof term for the current goal is
(andER (sep_open A ∈ Tx) (A = X ∖ (sep_open A)) Hsep).
We prove the intermediate
claim HyNotSep:
y ∉ sep_open A.
We prove the intermediate
claim HyA':
y ∈ X ∖ (sep_open A).
rewrite the current goal using HAeq (from right to left).
An exact proof term for the current goal is HyA.
An
exact proof term for the current goal is
(setminusE2 X (sep_open A) y HyA').
An
exact proof term for the current goal is
(HyNotSep HySep False).
We prove the intermediate
claim HyX:
y ∈ X.
An
exact proof term for the current goal is
(setminusI X (⋃ Fam) y HyX HyNotUFam).
We use V to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HVTx.
An exact proof term for the current goal is HxV.
An exact proof term for the current goal is HVsubU.
Set FamU to be the term
{V ∈ Tx|V ⊆ U}.
We prove the intermediate
claim HFamU:
FamU ∈ 𝒫 Tx.
Apply PowerI to the current goal.
Let V be given.
An
exact proof term for the current goal is
(SepE1 Tx (λV0 : set ⇒ V0 ⊆ U) V HV).
We prove the intermediate
claim HUeq:
U = ⋃ FamU.
Let x be given.
We will
prove x ∈ ⋃ FamU.
We prove the intermediate
claim HexV:
∃V : set, V ∈ Tx ∧ x ∈ V ∧ V ⊆ U.
An exact proof term for the current goal is (Hnbhd x Hx).
Apply HexV to the current goal.
Let V be given.
We prove the intermediate
claim HVleft:
V ∈ Tx ∧ x ∈ V.
An
exact proof term for the current goal is
(andEL (V ∈ Tx ∧ x ∈ V) (V ⊆ U) HVpack).
We prove the intermediate
claim HVTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (x ∈ V) HVleft).
We prove the intermediate
claim HxV:
x ∈ V.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (x ∈ V) HVleft).
We prove the intermediate
claim HVsub:
V ⊆ U.
An
exact proof term for the current goal is
(andER (V ∈ Tx ∧ x ∈ V) (V ⊆ U) HVpack).
We prove the intermediate
claim HVFamU:
V ∈ FamU.
An
exact proof term for the current goal is
(SepI Tx (λV0 : set ⇒ V0 ⊆ U) V HVTx HVsub).
An
exact proof term for the current goal is
(UnionI FamU x V HxV HVFamU).
Let x be given.
Let V be given.
Assume HxV HVFamU.
We prove the intermediate
claim HVsub:
V ⊆ U.
An
exact proof term for the current goal is
(SepE2 Tx (λV0 : set ⇒ V0 ⊆ U) V HVFamU).
An exact proof term for the current goal is (HVsub x HxV).
rewrite the current goal using HUeq (from left to right).