Let x be given.
We prove the intermediate
claim HrS:
SNo r.
We prove the intermediate
claim Hrpos:
0 < r.
We prove the intermediate
claim HrNN:
0 ≤ r.
An
exact proof term for the current goal is
(SNoLtLe 0 r Hrpos).
We prove the intermediate
claim Hxrx:
mul_SNo x r = 1.
We prove the intermediate
claim Hrx:
mul_SNo r x = 1.
An
exact proof term for the current goal is
(mul_SNo_com x r HxS HrS).
rewrite the current goal using Hcomm (from right to left).
An exact proof term for the current goal is Hxrx.
rewrite the current goal using
(mul_SNo_oneR r HrS) (from right to left) at position 1.
rewrite the current goal using Hrx (from right to left) at position 2.
An exact proof term for the current goal is Hrle.
∎