We prove the intermediate
claim H2R:
2 ∈ R.
We prove the intermediate
claim H0le2:
0 ≤ 2.
We prove the intermediate
claim Hs2R:
s2 ∈ R.
We prove the intermediate
claim Hs2S:
SNo s2.
An
exact proof term for the current goal is
(real_SNo s2 Hs2R).
We prove the intermediate
claim Hs2nonneg:
0 ≤ s2.
We prove the intermediate
claim Hs2sq:
mul_SNo s2 s2 = 2.
rewrite the current goal using Hs2Def (from left to right) at position 1.
rewrite the current goal using Hs2Def (from left to right) at position 2.
We prove the intermediate
claim Hqlts2:
q < s2.
An exact proof term for the current goal is Hlt.
Apply FalseE to the current goal.
We prove the intermediate
claim Hnotrat:
s2 ∉ rational.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HqQ.
We prove the intermediate
claim Hs2rat:
s2 ∈ rational.
rewrite the current goal using HdefQ (from right to left).
An exact proof term for the current goal is Hs2Q.
An exact proof term for the current goal is (Hnotrat Hs2rat).
Apply FalseE to the current goal.
We prove the intermediate
claim Hs2neq0:
s2 ≠ 0.
rewrite the current goal using Hs2sq (from right to left).
rewrite the current goal using Hs2eq0 (from left to right).
Use reflexivity.
We prove the intermediate
claim H0lts2:
0 < s2.
We prove the intermediate
claim Hdisj:
0 < s2 ∨ 0 = s2.
An
exact proof term for the current goal is
(SNoLeE 0 s2 SNo_0 Hs2S Hs2nonneg).
Apply Hdisj to the current goal.
An exact proof term for the current goal is Hlt0.
Apply FalseE to the current goal.
We prove the intermediate
claim Hs2eq0:
s2 = 0.
rewrite the current goal using Heq0 (from right to left).
Use reflexivity.
An exact proof term for the current goal is (Hs2neq0 Hs2eq0).
We prove the intermediate
claim HqqS:
SNo (mul_SNo q q).
An
exact proof term for the current goal is
(SNo_mul_SNo q q HqS HqS).
We prove the intermediate
claim Hs2s2S:
SNo (mul_SNo s2 s2).
An
exact proof term for the current goal is
(SNo_mul_SNo s2 s2 Hs2S Hs2S).
An
exact proof term for the current goal is
(pos_mul_SNo_Lt2 s2 s2 q q Hs2S Hs2S HqS HqS H0lts2 H0lts2 Hs2ltq Hs2ltq).
We prove the intermediate
claim H2ltqq:
2 < mul_SNo q q.
rewrite the current goal using Hs2sq (from right to left) at position 1.
An exact proof term for the current goal is Hs2s2ltqq.
We prove the intermediate
claim H2lt2:
2 < 2.
An
exact proof term for the current goal is
((SNoLt_irref 2) H2lt2).
We prove the intermediate
claim Hqs2:
Rlt q s2.
An
exact proof term for the current goal is
(RltI q s2 HqR Hs2R Hqlts2).
Let r be given.
Assume Hrpair.
Apply Hrpair to the current goal.
We prove the intermediate
claim Hqr:
Rlt q r.
An
exact proof term for the current goal is
(andEL (Rlt q r) (Rlt r s2) Hrlt).
We prove the intermediate
claim Hrs2:
Rlt r s2.
An
exact proof term for the current goal is
(andER (Rlt q r) (Rlt r s2) Hrlt).
We prove the intermediate
claim HrR:
r ∈ R.
We prove the intermediate
claim HrS:
SNo r.
An
exact proof term for the current goal is
(real_SNo r HrR).
We prove the intermediate
claim Hqrrlt:
q < r.
An
exact proof term for the current goal is
(RltE_lt q r Hqr).
We prove the intermediate
claim Hrs2lt:
r < s2.
An
exact proof term for the current goal is
(RltE_lt r s2 Hrs2).
We prove the intermediate
claim H0ltr:
0 < r.
An
exact proof term for the current goal is
(SNoLt_tra 0 q r SNo_0 HqS HrS H0ltq Hqrrlt).
We prove the intermediate
claim Hrrlt2:
mul_SNo r r < 2.
An
exact proof term for the current goal is
(pos_mul_SNo_Lt2 r r s2 s2 HrS HrS Hs2S Hs2S H0ltr H0ltr Hrs2lt Hrs2lt).
rewrite the current goal using Hs2sq (from right to left).
An exact proof term for the current goal is Hrrlts2.
We use r to witness the existential quantifier.
∎