Let t be given.
We prove the intermediate
claim HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
Set num to be the term
mul_SNo t t.
Set den to be the term
add_SNo num u2.
We prove the intermediate
claim HnumS:
SNo num.
An
exact proof term for the current goal is
(SNo_mul_SNo t t HtS HtS).
We prove the intermediate
claim HuR:
u ∈ R.
We prove the intermediate
claim HuS:
SNo u.
An
exact proof term for the current goal is
(real_SNo u HuR).
We prove the intermediate
claim Hu2S:
SNo u2.
An
exact proof term for the current goal is
(SNo_mul_SNo u u HuS HuS).
We prove the intermediate
claim HdenS:
SNo den.
An
exact proof term for the current goal is
(SNo_add_SNo num u2 HnumS Hu2S).
We prove the intermediate
claim HdenPos:
0 < den.
We prove the intermediate
claim HnumPos:
0 < num.
We prove the intermediate
claim Hcases:
t = 0 ∨ 0 < mul_SNo t t.
Apply Hcases to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (Htne0 Ht0).
An exact proof term for the current goal is Hpos.
We prove the intermediate
claim HfEq:
f = div_SNo num den.
rewrite the current goal using Hdef (from left to right).
Use reflexivity.
We prove the intermediate
claim HdivPos:
0 < div_SNo num den.
An
exact proof term for the current goal is
(div_SNo_pos_pos num den HnumS HdenS HnumPos HdenPos).
We prove the intermediate
claim HfR:
f ∈ R.
We prove the intermediate
claim H0ltf:
0 < f.
rewrite the current goal using HfEq (from left to right).
An exact proof term for the current goal is HdivPos.
An
exact proof term for the current goal is
(RltI 0 f real_0 HfR H0ltf).
∎