Let U be given.
Apply Hexa to the current goal.
Let a be given.
Assume Hapair.
We prove the intermediate
claim HaR:
a ∈ R.
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.
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.
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 bb1 x0)) x HxIn1).
We prove the intermediate
claim HxProp1:
Rlt a1 x ∧ ¬ (Rlt bb1 x).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) x HxIn1).
We prove the intermediate
claim HxProp2:
Rlt a2 x ∧ ¬ (Rlt bb2 x).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) 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 bb1 x)) HxProp1).
We prove the intermediate
claim Hnbb1x:
¬ (Rlt bb1 x).
An
exact proof term for the current goal is
(andER (Rlt a1 x) (¬ (Rlt bb1 x)) HxProp1).
We prove the intermediate
claim Ha2x:
Rlt a2 x.
An
exact proof term for the current goal is
(andEL (Rlt a2 x) (¬ (Rlt bb2 x)) HxProp2).
We prove the intermediate
claim Hnbb2x:
¬ (Rlt bb2 x).
An
exact proof term for the current goal is
(andER (Rlt a2 x) (¬ (Rlt bb2 x)) 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 Ha1a2:
Rlt a1 a2.
An
exact proof term for the current goal is
(RltI a1 a2 Ha1R Ha2R Ha1lt).
We prove the intermediate
claim Hbb1bb2:
Rlt bb1 bb2.
An
exact proof term for the current goal is
(RltI bb1 bb2 Hbb1R Hbb2R Hb1lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) 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 (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ ¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(andER (Rlt a2 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(Rlt_tra a1 a2 y Ha1a2 Ha2y).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
We prove the intermediate
claim Hbb1y:
Rlt bb1 y.
An
exact proof term for the current goal is
(Rlt_tra bb1 bb2 y Hbb1bb2 Hbb2y).
An exact proof term for the current goal is (Hnbb1y Hbb1y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
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.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) 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 (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ ¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(andER (Rlt a2 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(Rlt_tra a1 a2 y Ha1a2 Ha2y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
rewrite the current goal using Hbeq (from right to left).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc2).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We prove the intermediate
claim Hbb2bb1:
Rlt bb2 bb1.
An
exact proof term for the current goal is
(RltI bb2 bb1 Hbb2R Hbb1R Hb2lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a2 x ∧ ¬ (Rlt bb2 x).
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 Hnbb2x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) 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 (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(andEL (Rlt a2 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(andER (Rlt a2 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(Rlt_tra a1 a2 y Ha1a2 Ha2y).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
We prove the intermediate
claim Hbb2y:
Rlt bb2 y.
An
exact proof term for the current goal is
(Rlt_tra bb2 bb1 y Hbb2bb1 Hbb1y).
An exact proof term for the current goal is (Hnbb2y Hbb2y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We prove the intermediate
claim Hbb1bb2:
Rlt bb1 bb2.
An
exact proof term for the current goal is
(RltI bb1 bb2 Hbb1R Hbb2R Hb1lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) 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 (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(andER (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
We prove the intermediate
claim Hbb1y:
Rlt bb1 y.
An
exact proof term for the current goal is
(Rlt_tra bb1 bb2 y Hbb1bb2 Hbb2y).
An exact proof term for the current goal is (Hnbb1y Hbb1y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
rewrite the current goal using Haeq (from right to left).
We prove the intermediate
claim Hc2:
Rlt a1 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
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.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) x HxR Hconj).
Let y be given.
We will
prove y ∈ b1 ∩ b2.
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 Hy.
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
rewrite the current goal using Haeq (from right to left).
rewrite the current goal using Hbeq (from right to left).
An exact proof term for the current goal is Hy.
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We prove the intermediate
claim Hbb2bb1:
Rlt bb2 bb1.
An
exact proof term for the current goal is
(RltI bb2 bb1 Hbb2R Hbb1R Hb2lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb2 x).
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 Hnbb2x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) 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 (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ ¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(andER (Rlt a1 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
We prove the intermediate
claim Hbb2y:
Rlt bb2 y.
An
exact proof term for the current goal is
(Rlt_tra bb2 bb1 y Hbb2bb1 Hbb1y).
An exact proof term for the current goal is (Hnbb2y Hbb2y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
rewrite the current goal using Haeq (from right to left).
We prove the intermediate
claim Hc2:
Rlt a1 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We prove the intermediate
claim Ha2a1:
Rlt a2 a1.
An
exact proof term for the current goal is
(RltI a2 a1 Ha2R Ha1R Ha2lt).
We prove the intermediate
claim Hbb1bb2:
Rlt bb1 bb2.
An
exact proof term for the current goal is
(RltI bb1 bb2 Hbb1R Hbb2R Hb1lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) 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 (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(andER (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(Rlt_tra a2 a1 y Ha2a1 Ha1y).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
We prove the intermediate
claim Hbb1y:
Rlt bb1 y.
An
exact proof term for the current goal is
(Rlt_tra bb1 bb2 y Hbb1bb2 Hbb2y).
An exact proof term for the current goal is (Hnbb1y Hbb1y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
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.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb1 x).
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 Hnbb1x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) 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 (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y Hy).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
An
exact proof term for the current goal is
(andER (Rlt a1 y) (¬ (Rlt bb1 y)) HyProp).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(Rlt_tra a2 a1 y Ha2a1 Ha1y).
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 Hy.
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
We prove the intermediate
claim Hbb1y:
Rlt bb1 y.
rewrite the current goal using Hbeq (from left to right) at position 1.
An exact proof term for the current goal is Hbb2y.
An exact proof term for the current goal is (Hnbb1y Hbb1y).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
We prove the intermediate
claim Hbb2bb1:
Rlt bb2 bb1.
An
exact proof term for the current goal is
(RltI bb2 bb1 Hbb2R Hbb1R Hb2lt).
We use I3 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
We prove the intermediate
claim Hconj:
Rlt a1 x ∧ ¬ (Rlt bb2 x).
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 Hnbb2x.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) 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 (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim HyProp:
Rlt a1 y ∧ ¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb2 x0)) y Hy).
We prove the intermediate
claim Ha1y:
Rlt a1 y.
An
exact proof term for the current goal is
(andEL (Rlt a1 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Hnbb2y:
¬ (Rlt bb2 y).
An
exact proof term for the current goal is
(andER (Rlt a1 y) (¬ (Rlt bb2 y)) HyProp).
We prove the intermediate
claim Ha2y:
Rlt a2 y.
An
exact proof term for the current goal is
(Rlt_tra a2 a1 y Ha2a1 Ha1y).
We prove the intermediate
claim Hnbb1y:
¬ (Rlt bb1 y).
We prove the intermediate
claim Hbb2y:
Rlt bb2 y.
An
exact proof term for the current goal is
(Rlt_tra bb2 bb1 y Hbb2bb1 Hbb1y).
An exact proof term for the current goal is (Hnbb2y Hbb2y).
We prove the intermediate
claim Hyb1:
y ∈ b1.
rewrite the current goal using Hb1eq (from left to right).
We prove the intermediate
claim Hc1:
Rlt a1 y ∧ ¬ (Rlt bb1 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha1y.
An exact proof term for the current goal is Hnbb1y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a1 x0 ∧ ¬ (Rlt bb1 x0)) y HyR Hc1).
We prove the intermediate
claim Hyb2:
y ∈ b2.
rewrite the current goal using Hb2eq (from left to right).
We prove the intermediate
claim Hc2:
Rlt a2 y ∧ ¬ (Rlt bb2 y).
Apply andI to the current goal.
An exact proof term for the current goal is Ha2y.
An exact proof term for the current goal is Hnbb2y.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ Rlt a2 x0 ∧ ¬ (Rlt bb2 x0)) y HyR Hc2).
An
exact proof term for the current goal is
(binintersectI b1 b2 y Hyb1 Hyb2).
∎