Let t be given.
We prove the intermediate
claim HtR:
t ∈ R.
We prove the intermediate
claim HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
We prove the intermediate
claim HabsR:
abs_SNo t ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R t HtR).
We prove the intermediate
claim HabsS:
SNo (abs_SNo t).
We prove the intermediate
claim HdenS:
SNo den.
We prove the intermediate
claim H0le_abs:
0 ≤ abs_SNo t.
We prove the intermediate
claim HdenPos0:
add_SNo 0 0 < den.
We prove the intermediate
claim HdenPos:
0 < den.
rewrite the current goal using
(add_SNo_0L 0 SNo_0) (from right to left) at position 1.
An exact proof term for the current goal is HdenPos0.
rewrite the current goal using HphiDef (from left to right).
Use reflexivity.
We prove the intermediate
claim HdivLt:
div_SNo t den < 0.
rewrite the current goal using HfEq (from right to left).
An exact proof term for the current goal is HfLtS.
We prove the intermediate
claim HtLt0den:
t < mul_SNo 0 den.
We prove the intermediate
claim HtNegS:
t < 0.
rewrite the current goal using
(mul_SNo_zeroL den HdenS) (from right to left).
An exact proof term for the current goal is HtLt0den.
We prove the intermediate
claim HtNeg:
Rlt t 0.
An
exact proof term for the current goal is
(RltI t 0 HtR real_0 HtNegS).
We prove the intermediate
claim HrelT:
order_rel R t 0.
An
exact proof term for the current goal is
(SepI R (λx0 : set ⇒ order_rel R x0 0) t HtR HrelT).
Let t be given.
We prove the intermediate
claim HtR:
t ∈ R.
An
exact proof term for the current goal is
(SepE1 R (λx0 : set ⇒ order_rel R x0 0) t HtRay).
We prove the intermediate
claim HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
We prove the intermediate
claim HrelT:
order_rel R t 0.
An
exact proof term for the current goal is
(SepE2 R (λx0 : set ⇒ order_rel R x0 0) t HtRay).
We prove the intermediate
claim Hlt0t:
Rlt t 0.
We prove the intermediate
claim HtNegS:
t < 0.
An
exact proof term for the current goal is
(RltE_lt t 0 Hlt0t).
We prove the intermediate
claim HabsR:
abs_SNo t ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R t HtR).
We prove the intermediate
claim HabsS:
SNo (abs_SNo t).
We prove the intermediate
claim HdenS:
SNo den.
We prove the intermediate
claim H0le_abs:
0 ≤ abs_SNo t.
We prove the intermediate
claim HdenPos0:
add_SNo 0 0 < den.
We prove the intermediate
claim HdenPos:
0 < den.
rewrite the current goal using
(add_SNo_0L 0 SNo_0) (from right to left) at position 1.
An exact proof term for the current goal is HdenPos0.
We prove the intermediate
claim HdivNeg:
div_SNo t den < 0.
An
exact proof term for the current goal is
(div_SNo_neg_pos t den HtS HdenS HtNegS HdenPos).
rewrite the current goal using HphiDef (from left to right).
Use reflexivity.
rewrite the current goal using HfEq (from left to right).
An exact proof term for the current goal is HdivNeg.
∎