Let n be given.
We prove the intermediate
claim LnS:
SNo n.
An
exact proof term for the current goal is
omega_SNo n H1.
We prove the intermediate
claim L1:
n = 0.
rewrite the current goal using
minus_SNo_0 (from right to left).
We will
prove - - n ≤ - 0.
An exact proof term for the current goal is H2.
rewrite the current goal using L1 (from left to right).
rewrite the current goal using
minus_SNo_0 (from left to right).
An
exact proof term for the current goal is
nat_0.
∎