Let a, b and c be given.
An
exact proof term for the current goal is
(SNo_minus_SNo a HaS).
An
exact proof term for the current goal is
(SNo_minus_SNo b HbS).
An
exact proof term for the current goal is
(SNo_minus_SNo c HcS).
We prove the intermediate
claim HxS:
SNo x.
We prove the intermediate
claim HyS:
SNo y.
We prove the intermediate
claim HxyS:
SNo (add_SNo x y).
An
exact proof term for the current goal is
(SNo_add_SNo x y HxS HyS).
rewrite the current goal using Hassoc1 (from left to right).
Use reflexivity.
rewrite the current goal using Hsum (from right to left) at position 1.
An
exact proof term for the current goal is
(abs_SNo_subadd x y HxS HyS).
∎