Apply FalseE to the current goal.
Let B be given.
Assume H.
An exact proof term for the current goal is H.
Apply FalseE to the current goal.
Let x be given.
We prove the intermediate
claim HexU:
∃U : set, U ∈ Tx ∧ x ∈ U ∧ U ⊆ closure_of X Tx B.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ ∃U : set, U ∈ Tx ∧ x0 ∈ U ∧ U ⊆ closure_of X Tx B) x HxInt).
Apply HexU to the current goal.
Let U be given.
We prove the intermediate
claim HUcore:
(U ∈ Tx ∧ x ∈ U) ∧ U ⊆ closure_of X Tx B.
An exact proof term for the current goal is HU.
We prove the intermediate
claim HUinTx:
U ∈ Tx ∧ x ∈ U.
An
exact proof term for the current goal is
(andEL (U ∈ Tx ∧ x ∈ U) (U ⊆ closure_of X Tx B) HUcore).
We prove the intermediate
claim HUsub:
U ⊆ closure_of X Tx B.
An
exact proof term for the current goal is
(andER (U ∈ Tx ∧ x ∈ U) (U ⊆ closure_of X Tx B) HUcore).
We prove the intermediate
claim HUx:
x ∈ U.
An
exact proof term for the current goal is
(andER (U ∈ Tx) (x ∈ U) HUinTx).
We prove the intermediate
claim HUne:
U ≠ Empty.
Apply Hno to the current goal.
We use B to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HBIn.
We use U 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
(andEL (U ∈ Tx) (x ∈ U) HUinTx).
An exact proof term for the current goal is HUne.
An exact proof term for the current goal is HUsub.
Let A be given.
We prove the intermediate
claim HexB:
∃B : set, B ∈ Fam ∧ A = closure_of X Tx B.
An
exact proof term for the current goal is
(ReplE Fam (λB0 : set ⇒ closure_of X Tx B0) A HA).
Apply HexB to the current goal.
Let B be given.
We prove the intermediate
claim HBIn:
B ∈ Fam.
An
exact proof term for the current goal is
(andEL (B ∈ Fam) (A = closure_of X Tx B) HBpair).
We prove the intermediate
claim HAeq:
A = closure_of X Tx B.
An
exact proof term for the current goal is
(andER (B ∈ Fam) (A = closure_of X Tx B) HBpair).
rewrite the current goal using HAeq (from left to right).
Apply andI to the current goal.
An exact proof term for the current goal is (HclIntEmpty B HBIn).
An exact proof term for the current goal is (HBc_prop FamC HFamC_count HFamC_prop).
We prove the intermediate
claim HUnionEq:
⋃ FamC = X.
Let x be given.
Let A be given.
We prove the intermediate
claim HexB:
∃B : set, B ∈ Fam ∧ A = closure_of X Tx B.
An
exact proof term for the current goal is
(ReplE Fam (λB0 : set ⇒ closure_of X Tx B0) A HA).
Apply HexB to the current goal.
Let B be given.
We prove the intermediate
claim HAeq:
A = closure_of X Tx B.
An
exact proof term for the current goal is
(andER (B ∈ Fam) (A = closure_of X Tx B) HBpair).
We prove the intermediate
claim HclsubX:
closure_of X Tx B ⊆ X.
We prove the intermediate
claim Hxcl:
x ∈ closure_of X Tx B.
rewrite the current goal using HAeq (from right to left) at position 1.
An exact proof term for the current goal is HxA.
An exact proof term for the current goal is (HclsubX x Hxcl).
Let x be given.
We will
prove x ∈ ⋃ FamC.
We prove the intermediate
claim HxUF:
x ∈ ⋃ Fam.
rewrite the current goal using HXeq (from right to left) at position 1.
An exact proof term for the current goal is HxX.
Let B be given.
We prove the intermediate
claim HBsubX:
B ⊆ X.
Let y be given.
We prove the intermediate
claim HyUF:
y ∈ ⋃ Fam.
An
exact proof term for the current goal is
(UnionI Fam y B HyB HBIn).
rewrite the current goal using HXeq (from left to right) at position 1.
An exact proof term for the current goal is HyUF.
We prove the intermediate
claim HclSup:
B ⊆ closure_of X Tx B.
We prove the intermediate
claim Hxcl:
x ∈ closure_of X Tx B.
An exact proof term for the current goal is (HclSup x HxB).
We prove the intermediate
claim HclIn:
closure_of X Tx B ∈ FamC.
An
exact proof term for the current goal is
(ReplI Fam (λB0 : set ⇒ closure_of X Tx B0) B HBIn).
An
exact proof term for the current goal is
(UnionI FamC x (closure_of X Tx B) Hxcl HclIn).
We prove the intermediate
claim HintX:
interior_of X Tx X = X.
rewrite the current goal using HUnionEq (from right to left) at position 2.
An exact proof term for the current goal is HintUnion.
We prove the intermediate
claim HXE:
X = Empty.
rewrite the current goal using HintX (from right to left).
An exact proof term for the current goal is HintXEmpty.
An exact proof term for the current goal is (HXne HXE).
∎