Let y be given.
We prove the intermediate
claim HyX:
y ∈ X.
Apply Hex to the current goal.
Let p be given.
Assume Hp.
An exact proof term for the current goal is Hp.
We prove the intermediate
claim Hp1:
apply_fun p 1 = y.
We prove the intermediate
claim Hp0:
apply_fun p 0 = x.
We prove the intermediate
claim HxImg:
x ∈ Img.
We prove the intermediate
claim Hpx:
apply_fun p 0 ∈ Img.
rewrite the current goal using Hp0 (from right to left).
An exact proof term for the current goal is Hpx.
We prove the intermediate
claim HyImg:
y ∈ Img.
We prove the intermediate
claim Hpy:
apply_fun p 1 ∈ Img.
rewrite the current goal using Hp1 (from right to left).
An exact proof term for the current goal is Hpy.
Apply SepI to the current goal.
An exact proof term for the current goal is HyX.
We use Img 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 HimgConn.
An exact proof term for the current goal is HxImg.
An exact proof term for the current goal is HyImg.
Let y be given.
We prove the intermediate
claim HtopC:
topology_on C Tc.
Set A to be the term
P ∩ C.
Set D to be the term
C ∖ P.
We prove the intermediate
claim HA_subC:
A ⊆ C.
We prove the intermediate
claim HAopen:
open_in C Tc A.
We prove the intermediate
claim Hiff:
open_in C Tc A ↔ ∃V ∈ Tx, A = V ∩ C.
Apply (iffER (open_in C Tc A) (∃V ∈ Tx, A = V ∩ C) Hiff) to the current goal.
We will
prove ∃V ∈ Tx, A = V ∩ C.
We use P to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HPinTx.
Set UFam to be the term
{W ∈ Tc|W ⊆ D}.
We prove the intermediate
claim HUFsub:
UFam ⊆ Tc.
Let W be given.
An
exact proof term for the current goal is
(SepE1 Tc (λW0 : set ⇒ W0 ⊆ D) W HW).
We prove the intermediate
claim HUnionTc:
⋃ UFam ∈ Tc.
We prove the intermediate
claim HUnionEq:
⋃ UFam = D.
Let z be given.
Apply (UnionE UFam z Hz) to the current goal.
Let W be given.
We prove the intermediate
claim HzW:
z ∈ W.
An
exact proof term for the current goal is
(andEL (z ∈ W) (W ∈ UFam) HexW).
We prove the intermediate
claim HWUF:
W ∈ UFam.
An
exact proof term for the current goal is
(andER (z ∈ W) (W ∈ UFam) HexW).
We prove the intermediate
claim HWsubD:
W ⊆ D.
An
exact proof term for the current goal is
(SepE2 Tc (λW0 : set ⇒ W0 ⊆ D) W HWUF).
An exact proof term for the current goal is (HWsubD z HzW).
Let z be given.
We prove the intermediate
claim HzC:
z ∈ C.
An
exact proof term for the current goal is
(setminusE1 C P z HzD).
We prove the intermediate
claim HzNotP:
z ∉ P.
An
exact proof term for the current goal is
(setminusE2 C P z HzD).
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HCsubX z HzC).
We prove the intermediate
claim HXTx:
X ∈ Tx.
An
exact proof term for the current goal is
(topology_has_X X Tx HTx).
An exact proof term for the current goal is (Hlpcprop z HzX X HXTx HzX).
Apply HexV to the current goal.
Let V be given.
We prove the intermediate
claim HVpre:
((V ∈ Tx ∧ z ∈ V) ∧ V ⊆ X).
We prove the intermediate
claim HVTx_z:
V ∈ Tx ∧ z ∈ V.
An
exact proof term for the current goal is
(andEL (V ∈ Tx ∧ z ∈ V) (V ⊆ X) HVpre).
We prove the intermediate
claim HVTx:
V ∈ Tx.
An
exact proof term for the current goal is
(andEL (V ∈ Tx) (z ∈ V) HVTx_z).
We prove the intermediate
claim HzV:
z ∈ V.
An
exact proof term for the current goal is
(andER (V ∈ Tx) (z ∈ V) HVTx_z).
We prove the intermediate
claim HVsubX:
V ⊆ X.
An
exact proof term for the current goal is
(andER (V ∈ Tx ∧ z ∈ V) (V ⊆ X) HVpre).
Set W to be the term
V ∩ C.
We prove the intermediate
claim HW_Tc:
W ∈ Tc.
We will
prove W ∈ {U ∈ 𝒫 C|∃V0 ∈ Tx, U = V0 ∩ C}.
Apply SepI to the current goal.
Apply PowerI to the current goal.
We will
prove ∃V0 ∈ Tx, W = V0 ∩ C.
We use V to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HVTx.
We prove the intermediate
claim HzW:
z ∈ W.
An
exact proof term for the current goal is
(binintersectI V C z HzV HzC).
We prove the intermediate
claim HWsubD:
W ⊆ D.
Let t be given.
An exact proof term for the current goal is HtC.
We prove the intermediate
claim HtX:
t ∈ X.
An exact proof term for the current goal is (HCsubX t HtC).
An exact proof term for the current goal is (HzNotP HzPc_x).
We prove the intermediate
claim HWUF:
W ∈ UFam.
We will
prove W ∈ {W0 ∈ Tc|W0 ⊆ D}.
Apply SepI to the current goal.
An exact proof term for the current goal is HW_Tc.
An exact proof term for the current goal is HWsubD.
An
exact proof term for the current goal is
(UnionI UFam z W HzW HWUF).
We prove the intermediate
claim HD_Tc:
D ∈ Tc.
rewrite the current goal using HUnionEq (from right to left).
An exact proof term for the current goal is HUnionTc.
We prove the intermediate
claim HDopen:
open_in C Tc D.
An
exact proof term for the current goal is
(open_inI C Tc D HtopC HD_Tc).
We prove the intermediate
claim HAeq:
A = C ∖ D.
Let t be given.
An exact proof term for the current goal is HtC.
We prove the intermediate
claim HtNotP:
t ∉ P.
An
exact proof term for the current goal is
(setminusE2 C P t HtD).
An exact proof term for the current goal is (HtNotP HtP).
Let t be given.
We prove the intermediate
claim HtC:
t ∈ C.
An
exact proof term for the current goal is
(setminusE1 C D t HtCD).
We prove the intermediate
claim HtNotD:
t ∉ D.
An
exact proof term for the current goal is
(setminusE2 C D t HtCD).
We prove the intermediate
claim HtP:
t ∈ P.
Apply (xm (t ∈ P)) to the current goal.
An exact proof term for the current goal is HtP0.
Apply FalseE to the current goal.
Apply HtNotD to the current goal.
An
exact proof term for the current goal is
(setminusI C P t HtC HtNotP).
An
exact proof term for the current goal is
(binintersectI P C t HtP HtC).
We prove the intermediate
claim HAclosed:
closed_in C Tc A.
We prove the intermediate
claim HDinTc:
D ∈ Tc.
An exact proof term for the current goal is HD_Tc.
We prove the intermediate
claim Hcl:
closed_in C Tc (C ∖ D).
rewrite the current goal using HAeq (from left to right).
An exact proof term for the current goal is Hcl.
We prove the intermediate
claim HAne:
A ≠ Empty.
We prove the intermediate
claim HAeqC:
A = C.
Apply (xm (A = C)) to the current goal.
Assume H.
An exact proof term for the current goal is H.
Apply FalseE to the current goal.
Apply HnoClopen to the current goal.
We use A to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HAne.
An exact proof term for the current goal is Hneq.
An exact proof term for the current goal is HAopen.
An exact proof term for the current goal is HAclosed.
We prove the intermediate
claim HyA:
y ∈ A.
rewrite the current goal using HAeqC (from left to right).
An exact proof term for the current goal is HyC.
An exact proof term for the current goal is HyP.
∎