Let U be given.
Apply Hexa to the current goal.
Let a be given.
Assume Hapair.
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(ReplE R (λb0 : set ⇒ open_interval a b0) U HUfam).
Apply Hexb to the current goal.
Let b be given.
Assume Hbpair.
We prove the intermediate
claim HbR:
b ∈ R.
rewrite the current goal using HUeq (from left to right).
Let b1 be given.
Assume Hb1.
Let b2 be given.
Assume Hb2.
Let x be given.
Assume Hx1 Hx2.
Apply Hexa1 to the current goal.
Let a1 be given.
Assume Ha1pair.
We prove the intermediate
claim Ha1R:
a1 ∈ R.
An
exact proof term for the current goal is
(ReplE R (λbb : set ⇒ open_interval a1 bb) b1 Hb1fam).
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.
An
exact proof term for the current goal is
(ReplE R (λbb : set ⇒ open_interval a2 bb) b2 Hb2fam).
Apply Hexb2 to the current goal.
Let bb2 be given.
Assume Hbb2pair.
We prove the intermediate
claim Hbb2R:
bb2 ∈ R.
rewrite the current goal using Hb1eq (from right to left).
An exact proof term for the current goal is Hx1.
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 HxR:
x ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ Rlt a1 x0 ∧ Rlt x0 bb1) x HxIn1).
We prove the intermediate
claim HxProp1:
Rlt a1 x ∧ Rlt x bb1.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ Rlt x0 bb1) x HxIn1).
We prove the intermediate
claim HxProp2:
Rlt a2 x ∧ Rlt x bb2.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a2 x0 ∧ Rlt x0 bb2) x HxIn2).
We prove the intermediate
claim Ha1x:
Rlt a1 x.
An
exact proof term for the current goal is
(andEL (Rlt a1 x) (Rlt x bb1) HxProp1).
We prove the intermediate
claim Hxbb1:
Rlt x bb1.
An
exact proof term for the current goal is
(andER (Rlt a1 x) (Rlt x bb1) HxProp1).
We prove the intermediate
claim Ha2x:
Rlt a2 x.
An
exact proof term for the current goal is
(andEL (Rlt a2 x) (Rlt x bb2) HxProp2).
We prove the intermediate
claim Hxbb2:
Rlt x bb2.
An
exact proof term for the current goal is
(andER (Rlt a2 x) (Rlt x bb2) HxProp2).
We prove the intermediate
claim Ha1S:
SNo a1.
An
exact proof term for the current goal is
(real_SNo a1 Ha1R).
We prove the intermediate
claim Ha2S:
SNo a2.
An
exact proof term for the current goal is
(real_SNo a2 Ha2R).
We prove the intermediate
claim Hb1S:
SNo bb1.
An
exact proof term for the current goal is
(real_SNo bb1 Hbb1R).
We prove the intermediate
claim Hb2S:
SNo bb2.
An
exact proof term for the current goal is
(real_SNo bb2 Hbb2R).
We prove the intermediate
claim HxS:
SNo x.
An
exact proof term for the current goal is
(real_SNo x HxR).
We prove the intermediate
claim Ha1xlt:
a1 < x.
An
exact proof term for the current goal is
(RltE_lt a1 x Ha1x).
We prove the intermediate
claim Ha2xlt:
a2 < x.
An
exact proof term for the current goal is
(RltE_lt a2 x Ha2x).
We prove the intermediate
claim Hxltbb1:
x < bb1.
An
exact proof term for the current goal is
(RltE_lt x bb1 Hxbb1).
We prove the intermediate
claim Hxltbb2:
x < bb2.
An
exact proof term for the current goal is
(RltE_lt x bb2 Hxbb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a2 bb) bb1 Hbb1R).
Apply andI to the current goal.
We prove the intermediate
claim Hax:
Rlt a2 x.
An exact proof term for the current goal is Ha2x.
We prove the intermediate
claim Hxb:
Rlt x bb1.
An exact proof term for the current goal is Hxbb1.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ Rlt x bb1.
Apply andI to the current goal.
An exact proof term for the current goal is Hax.
An exact proof term for the current goal is Hxb.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ Rlt y bb1.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(andER (Rlt a2 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha1S':
SNo a1.
An exact proof term for the current goal is Ha1S.
We prove the intermediate
claim Ha2S':
SNo a2.
An exact proof term for the current goal is Ha2S.
We prove the intermediate
claim Hbb1S':
SNo bb1.
An exact proof term for the current goal is Hb1S.
We prove the intermediate
claim Hbb2S':
SNo bb2.
An exact proof term for the current goal is Hb2S.
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(RltE_lt a2 y Ha2y).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(RltE_lt y bb1 Hybb1).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(SNoLt_tra y bb1 bb2 HyS Hbb1S' Hbb2S' Hybb1lt Hb1lt).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(RltI y bb2 HyR Hbb2R Hybb2lt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn2.
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(SNoLt_tra a1 a2 y Ha1S' Ha2S' HyS Ha1lt Ha2ylt).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(RltI a1 y Ha1R HyR Ha1ylt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
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 HyIn1.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a2 bb) bb1 Hbb1R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ Rlt x bb1.
Apply andI to the current goal.
An exact proof term for the current goal is Ha2x.
An exact proof term for the current goal is Hxbb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ Rlt y bb1.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(andER (Rlt a2 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(RltE_lt a2 y Ha2y).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(RltE_lt y bb1 Hybb1).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hybb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn2.
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(SNoLt_tra a1 a2 y Ha1S Ha2S HyS Ha1lt Ha2ylt).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(RltI a1 y Ha1R HyR Ha1ylt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
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 HyIn1.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a2 bb) bb2 Hbb2R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ Rlt x bb2.
Apply andI to the current goal.
An exact proof term for the current goal is Ha2x.
An exact proof term for the current goal is Hxbb2.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ Rlt y bb2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(andER (Rlt a2 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(RltE_lt a2 y Ha2y).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(RltE_lt y bb2 Hybb2).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(SNoLt_tra y bb2 bb1 HyS Hb2S Hb1S Hybb2lt Hb2lt).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(RltI y bb1 HyR Hbb1R Hybb1lt).
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(SNoLt_tra a1 a2 y Ha1S Ha2S HyS Ha1lt Ha2ylt).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(RltI a1 y Ha1R HyR Ha1ylt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
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 HyIn1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb1 Hbb1R).
Apply andI to the current goal.
We prove the intermediate
claim Hax:
Rlt a1 x.
An exact proof term for the current goal is Ha1x.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb1.
Apply andI to the current goal.
An exact proof term for the current goal is Hax.
An exact proof term for the current goal is Hxbb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb1.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(RltE_lt y bb1 Hybb1).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(SNoLt_tra y bb1 bb2 HyS Hb1S Hb2S Hybb1lt Hb1lt).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(RltI y bb2 HyR Hbb2R Hybb2lt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
rewrite the current goal using Haeq (from right to left).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyR (andI (Rlt a1 y) (Rlt y bb2) Ha1y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb1 Hbb1R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb1.
Apply andI to the current goal.
An exact proof term for the current goal is Ha1x.
An exact proof term for the current goal is Hxbb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb1.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hybb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
rewrite the current goal using Haeq (from right to left).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyR (andI (Rlt a1 y) (Rlt y bb2) Ha1y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb2 Hbb2R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb2.
Apply andI to the current goal.
An exact proof term for the current goal is Ha1x.
An exact proof term for the current goal is Hxbb2.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(RltE_lt y bb2 Hybb2).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(SNoLt_tra y bb2 bb1 HyS Hb2S Hb1S Hybb2lt Hb2lt).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(RltI y bb1 HyR Hbb1R Hybb1lt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
rewrite the current goal using Haeq (from right to left).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyR (andI (Rlt a1 y) (Rlt y bb2) Ha1y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb1 Hbb1R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb1.
Apply andI to the current goal.
An exact proof term for the current goal is Ha1x.
An exact proof term for the current goal is Hxbb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb1.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb1) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(RltE_lt a1 y Ha1y).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(RltE_lt y bb1 Hybb1).
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(SNoLt_tra a2 a1 y Ha2S Ha1S HyS Ha2lt Ha1ylt).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(RltI a2 y Ha2R HyR Ha2ylt).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(SNoLt_tra y bb1 bb2 HyS Hb1S Hb2S Hybb1lt Hb1lt).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(RltI y bb2 HyR Hbb2R Hybb2lt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb2 Hbb2R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb2.
Apply andI to the current goal.
An exact proof term for the current goal is Ha1x.
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hxbb1.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
rewrite the current goal using Hbeq (from left to right).
An exact proof term for the current goal is Hybb2.
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(RltE_lt a1 y Ha1y).
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(SNoLt_tra a2 a1 y Ha2S Ha1S HyS Ha2lt Ha1ylt).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(RltI a2 y Ha2R HyR Ha2ylt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(ReplI R (λbb : set ⇒ open_interval a1 bb) bb2 Hbb2R).
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ Rlt x bb2.
Apply andI to the current goal.
An exact proof term for the current goal is Ha1x.
An exact proof term for the current goal is Hxbb2.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ Rlt y bb2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb2) y HyI3).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim Hybb2:
Rlt y bb2.
An
exact proof term for the current goal is
(andER (Rlt a1 y) (Rlt y bb2) HyProp).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
We prove the intermediate
claim Ha1ylt:
a1 < y.
An
exact proof term for the current goal is
(RltE_lt a1 y Ha1y).
We prove the intermediate
claim Ha2ylt:
a2 < y.
An
exact proof term for the current goal is
(SNoLt_tra a2 a1 y Ha2S Ha1S HyS Ha2lt Ha1ylt).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(RltI a2 y Ha2R HyR Ha2ylt).
We prove the intermediate
claim Hybb2lt:
y < bb2.
An
exact proof term for the current goal is
(RltE_lt y bb2 Hybb2).
We prove the intermediate
claim Hybb1lt:
y < bb1.
An
exact proof term for the current goal is
(SNoLt_tra y bb2 bb1 HyS Hb2S Hb1S Hybb2lt Hb2lt).
We prove the intermediate
claim Hybb1:
Rlt y bb1.
An
exact proof term for the current goal is
(RltI y bb1 HyR Hbb1R Hybb1lt).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a1 z ∧ Rlt z bb1) y HyR (andI (Rlt a1 y) (Rlt y bb1) Ha1y Hybb1)).
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ Rlt a2 z ∧ Rlt z bb2) y HyR (andI (Rlt a2 y) (Rlt y bb2) Ha2y Hybb2)).
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 HyIn1.
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 HyIn2.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
∎