Apply FalseE to the current goal.
We prove the intermediate
claim Hs2ltxR:
Rlt sqrt2 x.
An
exact proof term for the current goal is
(RltI sqrt2 x Hs2R HxR Hs2ltx).
Let q1 be given.
Assume Hq1pair.
Apply Hq1pair to the current goal.
We prove the intermediate
claim Hs2ltq1:
Rlt sqrt2 q1.
An
exact proof term for the current goal is
(andEL (Rlt sqrt2 q1) (Rlt q1 x) Hq1prop).
We prove the intermediate
claim Hq1ltx:
Rlt q1 x.
An
exact proof term for the current goal is
(andER (Rlt sqrt2 q1) (Rlt q1 x) Hq1prop).
We prove the intermediate
claim Hq1R:
q1 ∈ R.
We prove the intermediate
claim Hx1R:
x1 ∈ R.
We prove the intermediate
claim Hxltx1:
x < x1.
We prove the intermediate
claim Hx0:
add_SNo x 0 = x.
An
exact proof term for the current goal is
(add_SNo_0R x HxS).
We prove the intermediate
claim Hx1Def:
x1 = add_SNo x 1.
rewrite the current goal using Hx0 (from right to left) at position 1.
rewrite the current goal using Hx1Def (from left to right).
An exact proof term for the current goal is Hlt0.
We prove the intermediate
claim Hxltx1R:
Rlt x x1.
An
exact proof term for the current goal is
(RltI x x1 HxR Hx1R Hxltx1).
Let q2 be given.
Assume Hq2pair.
Apply Hq2pair to the current goal.
We prove the intermediate
claim Hxltq2:
Rlt x q2.
An
exact proof term for the current goal is
(andEL (Rlt x q2) (Rlt q2 x1) Hq2prop).
We prove the intermediate
claim Hq2R:
q2 ∈ R.
We prove the intermediate
claim Hnxq1:
¬ (Rlt x q1).
An
exact proof term for the current goal is
(not_Rlt_sym q1 x Hq1ltx).
We prove the intermediate
claim HxU:
x ∈ U.
We prove the intermediate
claim Hconj:
¬ (Rlt x q1) ∧ Rlt x q2.
Apply andI to the current goal.
An exact proof term for the current goal is Hnxq1.
An exact proof term for the current goal is Hxltq2.
An
exact proof term for the current goal is
(SepI R (λz : set ⇒ ¬ (Rlt z q1) ∧ Rlt z q2) x HxR Hconj).
We prove the intermediate
claim Hne:
U ∩ A ≠ Empty.
An exact proof term for the current goal is (Hxcl U HUopen HxU).
We prove the intermediate
claim Hempty:
U ∩ A = Empty.
Let y be given.
Apply FalseE to the current goal.
We prove the intermediate
claim HyU:
y ∈ U.
An
exact proof term for the current goal is
(binintersectE1 U A y Hy).
We prove the intermediate
claim HyA:
y ∈ A.
An
exact proof term for the current goal is
(binintersectE2 U A y Hy).
We prove the intermediate
claim HyUprop:
¬ (Rlt y q1) ∧ Rlt y q2.
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ ¬ (Rlt z q1) ∧ Rlt z q2) y HyU).
We prove the intermediate
claim Hnyq1:
¬ (Rlt y q1).
An
exact proof term for the current goal is
(andEL (¬ (Rlt y q1)) (Rlt y q2) HyUprop).
An
exact proof term for the current goal is
(SepE2 R (λz : set ⇒ Rlt 0 z ∧ Rlt z sqrt2) y HyA).
We prove the intermediate
claim Hylts2:
Rlt y sqrt2.
We prove the intermediate
claim Hyltoq1:
Rlt y q1.
An
exact proof term for the current goal is
(Rlt_tra y sqrt2 q1 Hylts2 Hs2ltq1).
An exact proof term for the current goal is (Hnyq1 Hyltoq1).
An exact proof term for the current goal is (Hne Hempty).