Let x be given.
We prove the intermediate
claim HexU:
∃U : set, U ∈ Tx ∧ x ∈ U ∧ U ⊆ closure_of X Tx A.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ ∃U : set, U ∈ Tx ∧ x0 ∈ U ∧ U ⊆ closure_of X Tx A) x Hx).
Apply HexU to the current goal.
Let U be given.
We prove the intermediate
claim HU12:
U ∈ Tx ∧ x ∈ U.
An
exact proof term for the current goal is
(andEL (U ∈ Tx ∧ x ∈ U) (U ⊆ closure_of X Tx A) HU).
We prove the intermediate
claim HUinTx:
U ∈ Tx.
An
exact proof term for the current goal is
(andEL (U ∈ Tx) (x ∈ U) HU12).
We prove the intermediate
claim HxU:
x ∈ U.
An
exact proof term for the current goal is
(andER (U ∈ Tx) (x ∈ U) HU12).
We prove the intermediate
claim HUsub:
U ⊆ closure_of X Tx A.
An
exact proof term for the current goal is
(andER (U ∈ Tx ∧ x ∈ U) (U ⊆ closure_of X Tx A) HU).
We prove the intermediate
claim HxclA:
x ∈ closure_of X Tx A.
An exact proof term for the current goal is (HUsub x HxU).
We prove the intermediate
claim Hclcond:
∀V : set, V ∈ Tx → x ∈ V → V ∩ A ≠ Empty.
An
exact proof term for the current goal is
(SepE2 X (λx0 : set ⇒ ∀V : set, V ∈ Tx → x0 ∈ V → V ∩ A ≠ Empty) x HxclA).
We prove the intermediate
claim HUAne:
U ∩ A ≠ Empty.
An exact proof term for the current goal is (Hclcond U HUinTx HxU).
We prove the intermediate
claim Hexy:
∃y : set, y ∈ U ∩ A.
Apply Hexy to the current goal.
Let y be given.
We prove the intermediate
claim HyU:
y ∈ U.
An
exact proof term for the current goal is
(binintersectE1 U A y HyUA).
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(binintersectE2 U A y HyUA).
We prove the intermediate
claim HyY:
y ∈ Y.
An exact proof term for the current goal is (HAsubY y HyA).
We prove the intermediate
claim HUyOpenX:
(U ∩ Y) ∈ Tx.
We prove the intermediate
claim HAeq:
A = (closure_of X Tx A) ∩ Y.
rewrite the current goal using HclYeq (from right to left) at position 1.
An exact proof term for the current goal is HclSub.
We prove the intermediate
claim HUySubA:
(U ∩ Y) ⊆ A.
Let z be given.
rewrite the current goal using HAeq (from left to right).
An
exact proof term for the current goal is
(HUsub z (binintersectE1 U Y z Hz)).
An
exact proof term for the current goal is
(binintersectE2 U Y z Hz).
rewrite the current goal using HdefInt (from left to right).
An exact proof term for the current goal is HyY.
We use
(U ∩ Y) to
witness the existential quantifier.
Apply and3I to the current goal.
An exact proof term for the current goal is HUyOpenY.
An
exact proof term for the current goal is
(binintersectI U Y y HyU HyY).
An exact proof term for the current goal is HUySubA.
We prove the intermediate
claim HyEmpty:
y ∈ Empty.
rewrite the current goal using HintY (from right to left).
An exact proof term for the current goal is HyIntY.
Apply FalseE to the current goal.
An
exact proof term for the current goal is
(EmptyE y HyEmpty).