Let X, Tx, Fam and S be given.
We prove the intermediate
claim HSsubX:
∀A : set, A ∈ S → A ⊆ X.
Let A be given.
We prove the intermediate
claim HAFam:
A ∈ Fam.
An exact proof term for the current goal is (HSsub A HAS).
We prove the intermediate
claim HAclosed:
closed_in X Tx A.
An exact proof term for the current goal is (HClosedFam A HAFam).
We prove the intermediate
claim HAand:
A ⊆ X ∧ ∃U ∈ Tx, A = X ∖ U.
An
exact proof term for the current goal is
(andER (topology_on X Tx) (A ⊆ X ∧ ∃U ∈ Tx, A = X ∖ U) HAclosed).
An
exact proof term for the current goal is
(andEL (A ⊆ X) (∃U ∈ Tx, A = X ∖ U) HAand).
We prove the intermediate
claim HUnionSubX:
⋃ S ⊆ X.
Let x be given.
Apply (UnionE S 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 ∈ S) HApack).
We prove the intermediate
claim HAS:
A ∈ S.
An
exact proof term for the current goal is
(andER (x ∈ A) (A ∈ S) HApack).
An exact proof term for the current goal is (HSsubX A HAS x HxA).
Let x be given.
Let Y be given.
Let A be given.
We prove the intermediate
claim HAFam:
A ∈ Fam.
An exact proof term for the current goal is (HSsub A HAS).
We prove the intermediate
claim HAclosed:
closed_in X Tx A.
An exact proof term for the current goal is (HClosedFam A HAFam).
We prove the intermediate
claim HclEq:
closure_of X Tx A = A.
We prove the intermediate
claim HxClA:
x ∈ closure_of X Tx A.
rewrite the current goal using HYe (from right to left).
An exact proof term for the current goal is HxY.
We prove the intermediate
claim HxA:
x ∈ A.
rewrite the current goal using HclEq (from right to left).
An exact proof term for the current goal is HxClA.
An
exact proof term for the current goal is
(UnionI S x A HxA HAS).
We prove the intermediate
claim HclEqU:
closure_of X Tx (⋃ S) = ⋃ S.
rewrite the current goal using HclEqU (from right to left).
An
exact proof term for the current goal is
(closure_is_closed X Tx (⋃ S) HTx HUnionSubX).
∎