Let Xi, Ti, A and i be given.
We prove the intermediate
claim HTi:
topology_on Xi_i Ti_i.
An exact proof term for the current goal is (Htops i HiO).
We prove the intermediate
claim HexU:
∃U ∈ Tx, A = X ∖ U.
Apply HexU to the current goal.
Let U be given.
We prove the intermediate
claim HUinTx:
U ∈ Tx.
An
exact proof term for the current goal is
(andEL (U ∈ Tx) (A = X ∖ U) HU).
We prove the intermediate
claim HAeq:
A = X ∖ U.
An
exact proof term for the current goal is
(andER (U ∈ Tx) (A = X ∖ U) HU).
We prove the intermediate
claim HUsubX:
U ⊆ X.
We prove the intermediate
claim HXminusA:
X ∖ A = U.
rewrite the current goal using HAeq (from left to right).
Set Ui to be the term
Xi_i ∖ (A ∩ Xi_i).
We prove the intermediate
claim HUiEq:
Ui = U ∩ Xi_i.
Let y be given.
We prove the intermediate
claim HyXi:
y ∈ Xi_i.
An
exact proof term for the current goal is
(setminusE1 Xi_i (A ∩ Xi_i) y Hy).
We prove the intermediate
claim HyNot:
y ∉ A ∩ Xi_i.
An
exact proof term for the current goal is
(setminusE2 Xi_i (A ∩ Xi_i) y Hy).
We prove the intermediate
claim HyNotA:
y ∉ A.
Apply HyNot to the current goal.
An
exact proof term for the current goal is
(binintersectI A Xi_i y HyA HyXi).
We prove the intermediate
claim HyX:
y ∈ X.
We prove the intermediate
claim HyU:
y ∈ U.
rewrite the current goal using HXminusA (from right to left).
An
exact proof term for the current goal is
(setminusI X A y HyX HyNotA).
An
exact proof term for the current goal is
(binintersectI U Xi_i y HyU HyXi).
Let y be given.
Assume HyU HyXi.
An exact proof term for the current goal is HyXi.
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(binintersectE1 A Xi_i y HyAx).
We prove the intermediate
claim HyNotU:
y ∉ U.
We prove the intermediate
claim HyXminusU:
y ∈ X ∖ U.
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 U y HyXminusU).
An exact proof term for the current goal is (HyNotU HyU).
We prove the intermediate
claim HUiOpen:
Ui ∈ Ti_i.
rewrite the current goal using HUiEq (from left to right).
We prove the intermediate
claim Hclosed:
closed_in Xi_i Ti_i (Xi_i ∖ Ui).
We prove the intermediate
claim HcapSub:
(A ∩ Xi_i) ⊆ Xi_i.
Let y be given.
An
exact proof term for the current goal is
(binintersectE2 A Xi_i y Hy).
We prove the intermediate
claim Heq:
Xi_i ∖ Ui = A ∩ Xi_i.
We prove the intermediate
claim HUiDef:
Ui = Xi_i ∖ (A ∩ Xi_i).
rewrite the current goal using HUiDef (from left to right).
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is Hclosed.
∎