Let Fam be given.
Set U to be the term
{X ∖ A|A ∈ Fam}.
An
exact proof term for the current goal is
(countable_image Fam Hcount (λA0 : set ⇒ X ∖ A0)).
We prove the intermediate
claim HUsub:
U ⊆ Tx.
Let u be given.
We prove the intermediate
claim HexA:
∃A : set, A ∈ Fam ∧ u = X ∖ A.
An
exact proof term for the current goal is
(ReplE Fam (λA0 : set ⇒ X ∖ A0) u Hu).
Apply HexA to the current goal.
Let A be given.
We prove the intermediate
claim HAin:
A ∈ Fam.
An
exact proof term for the current goal is
(andEL (A ∈ Fam) (u = X ∖ A) HA).
We prove the intermediate
claim Heq:
u = X ∖ A.
An
exact proof term for the current goal is
(andER (A ∈ Fam) (u = X ∖ A) HA).
We prove the intermediate
claim HAcl:
closed_in X Tx A.
We prove the intermediate
claim Hopen:
open_in X Tx (X ∖ A).
We prove the intermediate
claim HopenTx:
(X ∖ A) ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx (X ∖ A) Hopen).
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HopenTx.
We prove the intermediate
claim HUprop:
∀u : set, u ∈ U → u ∈ Tx ∧ dense_in u X Tx.
Let u be given.
We prove the intermediate
claim HuTx:
u ∈ Tx.
An exact proof term for the current goal is (HUsub u Hu).
We prove the intermediate
claim HexA:
∃A : set, A ∈ Fam ∧ u = X ∖ A.
An
exact proof term for the current goal is
(ReplE Fam (λA0 : set ⇒ X ∖ A0) u Hu).
Apply HexA to the current goal.
Let A be given.
We prove the intermediate
claim HAin:
A ∈ Fam.
An
exact proof term for the current goal is
(andEL (A ∈ Fam) (u = X ∖ A) HA).
We prove the intermediate
claim Heq:
u = X ∖ A.
An
exact proof term for the current goal is
(andER (A ∈ Fam) (u = X ∖ A) HA).
rewrite the current goal using Hdual (from right to left).
An exact proof term for the current goal is HintA.
Apply andI to the current goal.
An exact proof term for the current goal is HuTx.
rewrite the current goal using Heq (from left to right).
An exact proof term for the current goal is HcomplEmpty.
Let x be given.
Assume H.
An exact proof term for the current goal is H.
Apply FalseE to the current goal.
We prove the intermediate
claim Hxminus:
x ∈ X ∖ closure_of X Tx u.
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is Hnot.
We prove the intermediate
claim HxE:
x ∈ Empty.
rewrite the current goal using HcomplEmptyU (from right to left).
An exact proof term for the current goal is Hxminus.
An
exact proof term for the current goal is
(EmptyE x HxE).
We prove the intermediate
claim HsubFam:
∀A : set, A ∈ Fam → A ⊆ X.
Let x be given.
We prove the intermediate
claim HxX:
x ∈ X.
We prove the intermediate
claim HnotAll:
¬ (∀u0 : set, u0 ∈ U → x ∈ u0).
Assume Hall.
Apply Hxnot to the current goal.
rewrite the current goal using HdefInt (from left to right).
Apply (SepI X (λx0 : set ⇒ ∀u1 : set, u1 ∈ U → x0 ∈ u1) x HxX) to the current goal.
An exact proof term for the current goal is Hall.
We prove the intermediate
claim Hexu:
∃u0 : set, ¬ (u0 ∈ U → x ∈ u0).
Apply Hexu to the current goal.
Let u0 be given.
We prove the intermediate
claim Hu0:
u0 ∈ U ∧ x ∉ u0.
An
exact proof term for the current goal is
(not_imp (u0 ∈ U) (x ∈ u0) Hnimp).
We prove the intermediate
claim Hu0U:
u0 ∈ U.
An
exact proof term for the current goal is
(andEL (u0 ∈ U) (x ∉ u0) Hu0).
We prove the intermediate
claim Hxnotu0:
x ∉ u0.
An
exact proof term for the current goal is
(andER (u0 ∈ U) (x ∉ u0) Hu0).
We prove the intermediate
claim HexA:
∃A : set, A ∈ Fam ∧ u0 = X ∖ A.
An
exact proof term for the current goal is
(ReplE Fam (λA0 : set ⇒ X ∖ A0) u0 Hu0U).
Apply HexA to the current goal.
Let A be given.
We prove the intermediate
claim HAin:
A ∈ Fam.
An
exact proof term for the current goal is
(andEL (A ∈ Fam) (u0 = X ∖ A) HA).
We prove the intermediate
claim Hu0eq:
u0 = X ∖ A.
An
exact proof term for the current goal is
(andER (A ∈ Fam) (u0 = X ∖ A) HA).
We prove the intermediate
claim HxA:
x ∈ A.
Apply dneg to the current goal.
Apply Hxnotu0 to the current goal.
rewrite the current goal using Hu0eq (from left to right).
An exact proof term for the current goal is HxX.
An exact proof term for the current goal is HxnotA.
An
exact proof term for the current goal is
(UnionI Fam x A HxA HAin).
Let x be given.
Let A be given.
We prove the intermediate
claim HAsubX:
A ⊆ X.
An exact proof term for the current goal is (HsubFam A HAin).
We prove the intermediate
claim HxX:
x ∈ X.
An exact proof term for the current goal is (HAsubX x HxA).
An exact proof term for the current goal is HxX.
We prove the intermediate
claim Hall:
∀u0 : set, u0 ∈ U → x ∈ u0.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ ∀u0 : set, u0 ∈ U → x0 ∈ u0) x HxInt).
Set u0 to be the term
X ∖ A.
We prove the intermediate
claim Hu0U:
u0 ∈ U.
An
exact proof term for the current goal is
(ReplI Fam (λA0 : set ⇒ X ∖ A0) A HAin).
We prove the intermediate
claim Hxnu0:
x ∉ u0.
An
exact proof term for the current goal is
(setminusE2 X A x Hxu0 HxA).
An exact proof term for the current goal is (Hxnu0 (Hall u0 Hu0U)).
Use symmetry.
An exact proof term for the current goal is HDeMorgan.
rewrite the current goal using HUnionU (from left to right).
We prove the intermediate
claim HIsub:
I ⊆ X.
Let z be given.
An
exact proof term for the current goal is
(SepE1 X (λz0 : set ⇒ ∀u0 : set, u0 ∈ U → z0 ∈ u0) z Hz).
rewrite the current goal using Hdual (from left to right).
We prove the intermediate
claim HclEq:
closure_of X Tx I = X.
An exact proof term for the current goal is HdenseInt.
rewrite the current goal using HclEq (from left to right).
We prove the intermediate
claim Hxx:
X ∖ X = Empty.
Let z be given.
We prove the intermediate
claim HzX:
z ∈ X.
An
exact proof term for the current goal is
(setminusE1 X X z Hz).
We prove the intermediate
claim HznotX:
z ∉ X.
An
exact proof term for the current goal is
(setminusE2 X X z Hz).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HznotX HzX).
An exact proof term for the current goal is Hxx.
∎