Let a and t be given.
Set num to be the term
mul_SNo t t.
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 HtS:
SNo t.
An
exact proof term for the current goal is
(real_SNo t HtR).
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 HdenS:
SNo den.
We prove the intermediate
claim HdenPos:
0 < den.
rewrite the current goal using Hdef (from left to right).
Use reflexivity.
Apply iffI to the current goal.
We prove the intermediate
claim Halt':
a < div_SNo num den.
rewrite the current goal using HfEq (from right to left) at position 1.
An exact proof term for the current goal is Halt.
An
exact proof term for the current goal is
(div_SNo_pos_LtR' num den a HnumS HdenS HaS HdenPos Halt').
We prove the intermediate
claim Halt':
a < div_SNo num den.
An
exact proof term for the current goal is
(div_SNo_pos_LtR num den a HnumS HdenS HaS HdenPos Hmul).
rewrite the current goal using HfEq (from left to right) at position 1.
An exact proof term for the current goal is Halt'.
∎