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).
An
exact proof term for the current goal is
(SNo_minus_SNo t HtS).
We prove the intermediate
claim Htlt0:
t < 0.
rewrite the current goal using
(minus_SNo_invol t HtS) (from right to left) at position 1.
rewrite the current goal using
(minus_SNo_0) (from right to left) at position 1.
An exact proof term for the current goal is Hflip.
We prove the intermediate
claim Hbad:
Rlt t 0.
Apply and3I to the current goal.
An exact proof term for the current goal is HtR.
An
exact proof term for the current goal is
real_0.
An exact proof term for the current goal is Htlt0.
An exact proof term for the current goal is (Hnlt Hbad).
∎