Let t be given.
We prove the intermediate
claim HIposSubR:
Ipos ⊆ R.
Let x be given.
An
exact proof term for the current goal is
(SepE1 R (λy : set ⇒ order_rel R 0 y) x HxI).
We prove the intermediate
claim HtR:
t ∈ R.
An exact proof term for the current goal is (HIposSubR t HtIpos).
We prove the intermediate
claim HtRel:
order_rel R 0 t.
An
exact proof term for the current goal is
(SepE2 R (λy : set ⇒ order_rel R 0 y) t HtIpos).
We prove the intermediate
claim H0ltt:
Rlt 0 t.
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 H0lttS:
0 < t.
An
exact proof term for the current goal is
(RltE_lt 0 t H0ltt).
We prove the intermediate
claim H0let:
0 ≤ t.
An
exact proof term for the current goal is
(SNoLtLe 0 t H0lttS).
We prove the intermediate
claim HabsEq:
abs_SNo t = t.
We prove the intermediate
claim HdenS:
SNo den.
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 Hden0:
den ≠ 0.
An
exact proof term for the current goal is
(SNo_pos_ne0 den HdenS HdenPos).
rewrite the current goal using HphiDef (from left to right).
rewrite the current goal using HabsEq (from left to right).
Use reflexivity.
rewrite the current goal using Hht (from left to right).
We prove the intermediate
claim HaR:
a ∈ R.
We prove the intermediate
claim HaS:
SNo a.
An
exact proof term for the current goal is
(real_SNo a HaR).
We prove the intermediate
claim HaEq:
a = div_SNo t den.
rewrite the current goal using HphiEq (from left to right).
Use reflexivity.
rewrite the current goal using HaEq (from left to right).
rewrite the current goal using HoneDef (from left to right).
Use reflexivity.
rewrite the current goal using HoneApp (from left to right).
We prove the intermediate
claim HyS:
SNo y.
We prove the intermediate
claim Hden_y:
mul_SNo den y = 1.
rewrite the current goal using
(mul_SNo_oneR den HdenS) (from left to right).
rewrite the current goal using
(mul_div_SNo_invR t den HtS HdenS Hden0) (from left to right).
We prove the intermediate
claim HdenDef:
den = add_SNo 1 t.
rewrite the current goal using HdenDef (from left to right).
Use reflexivity.
We prove the intermediate
claim HyEq:
y = div_SNo 1 den.
rewrite the current goal using Hden_y (from left to right).
rewrite the current goal using Hden_div (from left to right).
Use reflexivity.
An exact proof term for the current goal is HyEq.
rewrite the current goal using Hrt (from left to right).
rewrite the current goal using HhEq (from left to right).
We prove the intermediate
claim HsDef:
s = div_SNo 1 den.
We prove the intermediate
claim HsR:
s ∈ R.
rewrite the current goal using HpsiDef (from left to right).
We prove the intermediate
claim HsS:
SNo s.
An
exact proof term for the current goal is
(real_SNo s HsR).
We prove the intermediate
claim HsposS:
0 < s.
We prove the intermediate
claim H0les:
0 ≤ s.
An
exact proof term for the current goal is
(SNoLtLe 0 s HsposS).
We prove the intermediate
claim HabsS:
abs_SNo s = s.
rewrite the current goal using HabsS (from left to right).
We prove the intermediate
claim Hdenom3S:
SNo denom3.
rewrite the current goal using HsDef (from left to right).
rewrite the current goal using
(div_div_SNo 1 den denom3 SNo_1 HdenS Hdenom3S) (from left to right).
We prove the intermediate
claim HdenMul:
mul_SNo den denom3 = t.
rewrite the current goal using
(mul_SNo_oneR den HdenS) (from left to right).
rewrite the current goal using HsDef (from left to right).
We prove the intermediate
claim HdenDef:
den = add_SNo 1 t.
rewrite the current goal using HdenDef (from left to right).
rewrite the current goal using
(add_SNo_com 1 t SNo_1 HtS) (from left to right) at position 1.
Use reflexivity.
rewrite the current goal using HdenMul (from left to right).
rewrite the current goal using HdivDef (from left to right).
rewrite the current goal using Hposcase (from left to right).
Use reflexivity.
An exact proof term for the current goal is HrEq.
∎