Apply Hexa1 to the current goal.
Let a1 be given.
Assume Ha1pair.
We prove the intermediate
claim Ha1R:
a1 ∈ R.
Apply Hexb1 to the current goal.
Let bb1 be given.
Assume Hbb1pair.
We prove the intermediate
claim Hbb1R:
bb1 ∈ R.
An
exact proof term for the current goal is
(ReplI R (λb0 : set ⇒ open_interval a1 b0) bb1 Hbb1R).
We prove the intermediate
claim HxInB1:
x ∈ I1 ∖ K_set.
rewrite the current goal using Hb1eq (from right to left).
An exact proof term for the current goal is Hx1.
We prove the intermediate
claim HxInI1:
x ∈ I1.
An
exact proof term for the current goal is
(setminusE1 I1 K_set x HxInB1).
We prove the intermediate
claim HxNotK:
x ∉ K_set.
An
exact proof term for the current goal is
(setminusE2 I1 K_set x HxInB1).
Apply (HstdInt I1 HI1Std b2 Hb2Std x HxInI1 Hx2) to the current goal.
Let I0 be given.
Assume HI0pair.
We prove the intermediate
claim HI0rest:
x ∈ I0 ∧ I0 ⊆ I1 ∩ b2.
We prove the intermediate
claim HxI0:
x ∈ I0.
An
exact proof term for the current goal is
(andEL (x ∈ I0) (I0 ⊆ I1 ∩ b2) HI0rest).
We prove the intermediate
claim HI0sub:
I0 ⊆ I1 ∩ b2.
An
exact proof term for the current goal is
(andER (x ∈ I0) (I0 ⊆ I1 ∩ b2) HI0rest).
Apply Hexc to the current goal.
Let c be given.
Assume Hcpair.
We prove the intermediate
claim HcR:
c ∈ R.
An
exact proof term for the current goal is
(ReplE R (λd0 : set ⇒ open_interval c d0) I0 HI0fam).
Apply Hexd to the current goal.
Let d be given.
Assume Hdpair.
We prove the intermediate
claim HdR:
d ∈ R.
We use Kint to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HKinK:
Kint ∈ R_K_basis.
Apply andI to the current goal.
rewrite the current goal using HI0eq (from right to left).
An exact proof term for the current goal is HxI0.
An exact proof term for the current goal is HxNotK.
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyI0:
y ∈ I0.
rewrite the current goal using HI0eq (from left to right).
An exact proof term for the current goal is HyOpen.
We prove the intermediate
claim HyNotK:
y ∉ K_set.
We prove the intermediate
claim HyI1b2:
y ∈ I1 ∩ b2.
An exact proof term for the current goal is (HI0sub y HyI0).
We prove the intermediate
claim HyI1:
y ∈ I1.
An
exact proof term for the current goal is
(binintersectE1 I1 b2 y HyI1b2).
We prove the intermediate
claim Hyb2:
y ∈ b2.
An
exact proof term for the current goal is
(binintersectE2 I1 b2 y HyI1b2).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
An
exact proof term for the current goal is
(setminusI I1 K_set y HyI1 HyNotK).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
Apply Hexa1 to the current goal.
Let a1 be given.
Assume Ha1pair.
We prove the intermediate
claim Ha1R:
a1 ∈ R.
Apply Hexb1 to the current goal.
Let bb1 be given.
Assume Hbb1pair.
We prove the intermediate
claim Hbb1R:
bb1 ∈ R.
Apply Hexa2 to the current goal.
Let a2 be given.
Assume Ha2pair.
We prove the intermediate
claim Ha2R:
a2 ∈ R.
Apply Hexb2 to the current goal.
Let bb2 be given.
Assume Hbb2pair.
We prove the intermediate
claim Hbb2R:
bb2 ∈ R.
An
exact proof term for the current goal is
(ReplI R (λb0 : set ⇒ open_interval a1 b0) bb1 Hbb1R).
An
exact proof term for the current goal is
(ReplI R (λb0 : set ⇒ open_interval a2 b0) bb2 Hbb2R).
We prove the intermediate
claim HxInB1:
x ∈ I1 ∖ K_set.
rewrite the current goal using Hb1eq (from right to left).
An exact proof term for the current goal is Hx1.
We prove the intermediate
claim HxInB2:
x ∈ I2 ∖ K_set.
rewrite the current goal using Hb2eq (from right to left).
An exact proof term for the current goal is Hx2.
We prove the intermediate
claim HxInI1:
x ∈ I1.
An
exact proof term for the current goal is
(setminusE1 I1 K_set x HxInB1).
We prove the intermediate
claim HxInI2:
x ∈ I2.
An
exact proof term for the current goal is
(setminusE1 I2 K_set x HxInB2).
We prove the intermediate
claim HxNotK:
x ∉ K_set.
An
exact proof term for the current goal is
(setminusE2 I1 K_set x HxInB1).
Apply (HstdInt I1 HI1Std I2 HI2Std x HxInI1 HxInI2) to the current goal.
Let I0 be given.
Assume HI0pair.
We prove the intermediate
claim HI0rest:
x ∈ I0 ∧ I0 ⊆ I1 ∩ I2.
We prove the intermediate
claim HxI0:
x ∈ I0.
An
exact proof term for the current goal is
(andEL (x ∈ I0) (I0 ⊆ I1 ∩ I2) HI0rest).
We prove the intermediate
claim HI0sub:
I0 ⊆ I1 ∩ I2.
An
exact proof term for the current goal is
(andER (x ∈ I0) (I0 ⊆ I1 ∩ I2) HI0rest).
Apply Hexc to the current goal.
Let c be given.
Assume Hcpair.
We prove the intermediate
claim HcR:
c ∈ R.
An
exact proof term for the current goal is
(ReplE R (λd0 : set ⇒ open_interval c d0) I0 HI0fam).
Apply Hexd to the current goal.
Let d be given.
Assume Hdpair.
We prove the intermediate
claim HdR:
d ∈ R.
We use Kint to witness the existential quantifier.
Apply andI to the current goal.
We prove the intermediate
claim HKinK:
Kint ∈ R_K_basis.
Apply andI to the current goal.
rewrite the current goal using HI0eq (from right to left).
An exact proof term for the current goal is HxI0.
An exact proof term for the current goal is HxNotK.
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyI0:
y ∈ I0.
rewrite the current goal using HI0eq (from left to right).
An exact proof term for the current goal is HyOpen.
We prove the intermediate
claim HyNotK:
y ∉ K_set.
We prove the intermediate
claim HyI1I2:
y ∈ I1 ∩ I2.
An exact proof term for the current goal is (HI0sub y HyI0).
We prove the intermediate
claim HyI1:
y ∈ I1.
An
exact proof term for the current goal is
(binintersectE1 I1 I2 y HyI1I2).
We prove the intermediate
claim HyI2:
y ∈ I2.
An
exact proof term for the current goal is
(binintersectE2 I1 I2 y HyI1I2).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
An
exact proof term for the current goal is
(setminusI I1 K_set y HyI1 HyNotK).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
An
exact proof term for the current goal is
(setminusI I2 K_set y HyI2 HyNotK).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).