We prove the intermediate
claim HbR:
b ∈ R.
We use U to witness the existential quantifier.
We use V to witness the existential quantifier.
We prove the intermediate
claim Hx1U:
x1 ∈ U.
Apply SepI to the current goal.
An exact proof term for the current goal is Hx1R.
We prove the intermediate
claim Hx2ltb:
x2 < b.
We prove the intermediate
claim H0lt1:
0 < 1.
An
exact proof term for the current goal is
SNoLt_0_1.
We prove the intermediate
claim Hx20:
add_SNo x2 0 = x2.
An
exact proof term for the current goal is
(add_SNo_0R x2 Hx2S).
rewrite the current goal using Hx20 (from right to left) at position 1.
An exact proof term for the current goal is Hx2lt.
We prove the intermediate
claim Hx2V:
x2 ∈ V.
Apply SepI to the current goal.
An exact proof term for the current goal is Hx2R.
We prove the intermediate
claim HUVempty:
U ∩ V = Empty.
Let z be given.
We prove the intermediate
claim HzU:
z ∈ U.
An
exact proof term for the current goal is
(binintersectE1 U V z Hz).
We prove the intermediate
claim HzV:
z ∈ V.
An
exact proof term for the current goal is
(binintersectE2 U V z Hz).
We prove the intermediate
claim HzUprop:
¬ (Rlt z x1) ∧ Rlt z x2.
An
exact proof term for the current goal is
(SepE2 R (λx : set ⇒ ¬ (Rlt x x1) ∧ Rlt x x2) z HzU).
We prove the intermediate
claim HzVprop:
¬ (Rlt z x2) ∧ Rlt z b.
An
exact proof term for the current goal is
(SepE2 R (λx : set ⇒ ¬ (Rlt x x2) ∧ Rlt x b) z HzV).
We prove the intermediate
claim Hzltx2:
Rlt z x2.
An
exact proof term for the current goal is
(andER (¬ (Rlt z x1)) (Rlt z x2) HzUprop).
We prove the intermediate
claim Hznltx2:
¬ (Rlt z x2).
An
exact proof term for the current goal is
(andEL (¬ (Rlt z x2)) (Rlt z b) HzVprop).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hznltx2 Hzltx2).
Apply and5I to the current goal.
An exact proof term for the current goal is HUopen.
An exact proof term for the current goal is HVopen.
An exact proof term for the current goal is Hx1U.
An exact proof term for the current goal is Hx2V.
An exact proof term for the current goal is HUVempty.
We prove the intermediate
claim HbR:
b ∈ R.
We use V to witness the existential quantifier.
We use U to witness the existential quantifier.
We prove the intermediate
claim Hx2U:
x2 ∈ U.
Apply SepI to the current goal.
An exact proof term for the current goal is Hx2R.
We prove the intermediate
claim Hx1ltb:
x1 < b.
We prove the intermediate
claim H0lt1:
0 < 1.
An
exact proof term for the current goal is
SNoLt_0_1.
We prove the intermediate
claim Hx10:
add_SNo x1 0 = x1.
An
exact proof term for the current goal is
(add_SNo_0R x1 Hx1S).
rewrite the current goal using Hx10 (from right to left) at position 1.
An exact proof term for the current goal is Hx1lt.
We prove the intermediate
claim Hx1V:
x1 ∈ V.
Apply SepI to the current goal.
An exact proof term for the current goal is Hx1R.
We prove the intermediate
claim HUVempty:
V ∩ U = Empty.
Let z be given.
We prove the intermediate
claim HzV:
z ∈ V.
An
exact proof term for the current goal is
(binintersectE1 V U z Hz).
We prove the intermediate
claim HzU:
z ∈ U.
An
exact proof term for the current goal is
(binintersectE2 V U z Hz).
We prove the intermediate
claim HzVprop:
¬ (Rlt z x1) ∧ Rlt z b.
An
exact proof term for the current goal is
(SepE2 R (λx : set ⇒ ¬ (Rlt x x1) ∧ Rlt x b) z HzV).
We prove the intermediate
claim HzUprop:
¬ (Rlt z x2) ∧ Rlt z x1.
An
exact proof term for the current goal is
(SepE2 R (λx : set ⇒ ¬ (Rlt x x2) ∧ Rlt x x1) z HzU).
We prove the intermediate
claim Hzltx1:
Rlt z x1.
An
exact proof term for the current goal is
(andER (¬ (Rlt z x2)) (Rlt z x1) HzUprop).
We prove the intermediate
claim Hznltx1:
¬ (Rlt z x1).
An
exact proof term for the current goal is
(andEL (¬ (Rlt z x1)) (Rlt z b) HzVprop).
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hznltx1 Hzltx1).
Apply and5I to the current goal.
An exact proof term for the current goal is HVopen.
An exact proof term for the current goal is HUopen.
An exact proof term for the current goal is Hx1V.
An exact proof term for the current goal is Hx2U.
An exact proof term for the current goal is HUVempty.