Let x be given.
Let F be given.
We prove the intermediate
claim HFsubX:
F ⊆ X.
Set U0 to be the term
X ∖ F.
We prove the intermediate
claim HU0def:
U0 = X ∖ F.
We prove the intermediate
claim HU0open_in:
open_in X Tx U0.
rewrite the current goal using HU0def (from left to right).
We prove the intermediate
claim HU0open:
U0 ∈ Tx.
An
exact proof term for the current goal is
(open_in_elem X Tx U0 HU0open_in).
We prove the intermediate
claim HxU0:
x ∈ U0.
rewrite the current goal using HU0def (from left to right).
An
exact proof term for the current goal is
(setminusI X F x HxX HxnotF).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim Hxb:
x ∈ b.
We prove the intermediate
claim HbSubU0:
b ⊆ U0.
We prove the intermediate
claim Hbopen:
b ∈ Tx.
Apply Hexa to the current goal.
Let a be given.
Assume Hapair.
We prove the intermediate
claim HaR:
a ∈ R.
Apply Hexd to the current goal.
Let d be given.
Assume Hdpair.
We prove the intermediate
claim HdR:
d ∈ R.
Set A to be the term b.
Set B to be the term
X ∖ b.
We prove the intermediate
claim HAdef:
A = b.
We prove the intermediate
claim HBdef:
B = X ∖ b.
We prove the intermediate
claim HbSubX:
b ⊆ X.
We prove the intermediate
claim HAbSubX:
A ⊆ X.
rewrite the current goal using HAdef (from left to right).
An exact proof term for the current goal is HbSubX.
We prove the intermediate
claim HBsubX:
B ⊆ X.
rewrite the current goal using HBdef (from left to right).
We prove the intermediate
claim HAopen:
A ∈ Tx.
rewrite the current goal using HAdef (from left to right).
An exact proof term for the current goal is Hbopen.
We prove the intermediate
claim HBopen:
B ∈ Tx.
rewrite the current goal using HBdef (from left to right).
rewrite the current goal using Hbeq (from left to right).
We prove the intermediate
claim HclA:
closed_in X Tx A.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is HAbSubX.
We use B to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HBopen.
rewrite the current goal using HAdef (from left to right).
rewrite the current goal using HBdef (from left to right).
Use reflexivity.
We prove the intermediate
claim HclB:
closed_in X Tx B.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is HBsubX.
We use A to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HAopen.
rewrite the current goal using HBdef (from left to right).
rewrite the current goal using HAdef (from left to right).
Use reflexivity.
We prove the intermediate
claim HABeq:
A ∪ B = X.
Let z be given.
Apply (binunionE A B z Hz) to the current goal.
An exact proof term for the current goal is (HAbSubX z HzA).
We prove the intermediate
claim HzB':
z ∈ X ∖ b.
rewrite the current goal using HBdef (from right to left).
An exact proof term for the current goal is HzB.
An
exact proof term for the current goal is
(setminusE1 X b z HzB').
Let z be given.
Apply (xm (z ∈ A)) to the current goal.
An
exact proof term for the current goal is
(binunionI1 A B z HzA).
We prove the intermediate
claim Hznotb:
z ∉ b.
rewrite the current goal using HAdef (from right to left).
An exact proof term for the current goal is HznotA.
We prove the intermediate
claim HzB:
z ∈ B.
rewrite the current goal using HBdef (from left to right).
An
exact proof term for the current goal is
(setminusI X b z HzX Hznotb).
An
exact proof term for the current goal is
(binunionI2 A B z HzB).
We prove the intermediate
claim H0R:
0 ∈ R.
An
exact proof term for the current goal is
real_0.
We prove the intermediate
claim H1R:
1 ∈ R.
An
exact proof term for the current goal is
real_1.
Let z be given.
Apply FalseE to the current goal.
We prove the intermediate
claim HzA:
z ∈ A.
An
exact proof term for the current goal is
(binintersectE1 A B z Hz).
We prove the intermediate
claim HzB:
z ∈ B.
An
exact proof term for the current goal is
(binintersectE2 A B z Hz).
We prove the intermediate
claim Hzb:
z ∈ b.
rewrite the current goal using HAdef (from right to left).
An exact proof term for the current goal is HzA.
We prove the intermediate
claim HzB':
z ∈ X ∖ b.
rewrite the current goal using HBdef (from right to left).
An exact proof term for the current goal is HzB.
We prove the intermediate
claim Hznotb:
z ∉ b.
An
exact proof term for the current goal is
(setminusE2 X b z HzB').
An exact proof term for the current goal is (Hznotb Hzb).
Let h be given.
Assume Hhpack.
We use h to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim HxA:
x ∈ A.
rewrite the current goal using HAdef (from left to right).
An exact proof term for the current goal is Hxb.
An exact proof term for the current goal is (HhA x HxA).
rewrite the current goal using Hhx (from left to right).
Let y be given.
We prove the intermediate
claim HyX:
y ∈ X.
An exact proof term for the current goal is (HFsubX y HyF).
We prove the intermediate
claim HynA:
y ∉ A.
We prove the intermediate
claim Hyb:
y ∈ b.
rewrite the current goal using HAdef (from right to left).
An exact proof term for the current goal is HyA.
We prove the intermediate
claim HyU0:
y ∈ U0.
An exact proof term for the current goal is (HbSubU0 y Hyb).
We prove the intermediate
claim HynF:
y ∉ F.
An
exact proof term for the current goal is
(setminusE2 X F y HyU0).
Apply FalseE to the current goal.
An exact proof term for the current goal is (HynF HyF).
We prove the intermediate
claim HyB:
y ∈ B.
rewrite the current goal using HBdef (from left to right).
An
exact proof term for the current goal is
(setminusI X b y HyX HynA).
An exact proof term for the current goal is (HhB y HyB).
rewrite the current goal using Hhy (from left to right).