Let y be given.
rewrite the current goal using HdefI (from left to right).
We prove the intermediate
claim HyR:
y ∈ R.
An exact proof term for the current goal is Hdlt.
We prove the intermediate
claim HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcR).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
An
exact proof term for the current goal is
(SNo_minus_SNo y HyS).
We prove the intermediate
claim HtS:
SNo t.
We prove the intermediate
claim HabsR:
abs_SNo t ∈ R.
We prove the intermediate
claim HtR:
t ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R t HtR).
We prove the intermediate
claim HabRlt:
Rlt (abs_SNo t) 1.
rewrite the current goal using Hbddef (from right to left).
An exact proof term for the current goal is Hbdlt.
An exact proof term for the current goal is HIfRlt.
We prove the intermediate
claim H1lt:
Rlt 1 1.
An exact proof term for the current goal is HIfRlt.
We prove the intermediate
claim Hablt:
abs_SNo t < 1.
An
exact proof term for the current goal is
(RltE_lt (abs_SNo t) 1 HabRlt).
We prove the intermediate
claim H1S:
SNo 1.
An
exact proof term for the current goal is
SNo_1.
We prove the intermediate
claim Htlt:
t < 1.
We prove the intermediate
claim Hmtlt:
minus_SNo t < 1.
An
exact proof term for the current goal is
(SNo_minus_SNo c HcS).
rewrite the current goal using Hinv (from right to left) at position 2.
An exact proof term for the current goal is Hneg.
rewrite the current goal using Hcom (from right to left).
rewrite the current goal using Hneg2 (from right to left).
Use reflexivity.
rewrite the current goal using Hswap (from left to right).
An exact proof term for the current goal is Hmtlt.
We prove the intermediate
claim HyLt:
y < add_SNo c 1.
We prove the intermediate
claim Hlt1:
y < add_SNo 1 c.
rewrite the current goal using Hcom (from right to left).
An exact proof term for the current goal is Hlt1.
We prove the intermediate
claim Hlt1:
c < add_SNo 1 y.
We prove the intermediate
claim Hlt2:
c < add_SNo y 1.
rewrite the current goal using Hcom1 (from right to left).
An exact proof term for the current goal is Hlt1.
We prove the intermediate
claim HcrR:
add_SNo c 1 ∈ R.
We prove the intermediate
claim HrightRlt:
Rlt y (add_SNo c 1).
An
exact proof term for the current goal is
(RltI y (add_SNo c 1) HyR HcrR HyLt).
Let y be given.
rewrite the current goal using HdefI (from right to left).
An exact proof term for the current goal is HyI.
We prove the intermediate
claim HyR:
y ∈ R.
We prove the intermediate
claim Hright:
Rlt y (add_SNo c 1).
We prove the intermediate
claim HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcR).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
An
exact proof term for the current goal is
(SNo_minus_SNo y HyS).
We prove the intermediate
claim HtS:
SNo t.
We prove the intermediate
claim HltY:
y < add_SNo c 1.
An
exact proof term for the current goal is
(RltE_lt y (add_SNo c 1) Hright).
We prove the intermediate
claim Hlt2:
y < add_SNo 1 c.
rewrite the current goal using Hcom (from right to left).
An exact proof term for the current goal is HltY.
rewrite the current goal using
(add_SNo_0R c HcS) (from left to right).
Use reflexivity.
We prove the intermediate
claim Hlt3:
c < add_SNo 1 y.
rewrite the current goal using Heqleft (from right to left).
An exact proof term for the current goal is Hsum.
We prove the intermediate
claim Hablt:
abs_SNo t < 1.
Apply (xm (0 ≤ t)) to the current goal.
rewrite the current goal using
(nonneg_abs_SNo t H0le) (from left to right).
An exact proof term for the current goal is HcyLt.
An
exact proof term for the current goal is
(SNo_minus_SNo c HcS).
rewrite the current goal using Hinv (from right to left) at position 2.
An exact proof term for the current goal is Hneg.
rewrite the current goal using Htdef (from left to right).
rewrite the current goal using Hneg2 (from left to right).
rewrite the current goal using Hcom (from left to right).
Use reflexivity.
rewrite the current goal using Hswap (from left to right).
An exact proof term for the current goal is HycLt.
We prove the intermediate
claim HabsR:
abs_SNo t ∈ R.
We prove the intermediate
claim HtR:
t ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R t HtR).
We prove the intermediate
claim HabRlt:
Rlt (abs_SNo t) 1.
rewrite the current goal using Hbddef (from left to right).
An exact proof term for the current goal is HabRlt.
An exact proof term for the current goal is HbdRlt.
∎