Let a and b be given.
We prove the intermediate
claim HaR:
a ∈ R.
An
exact proof term for the current goal is
(RltE_left a b Hab).
We prove the intermediate
claim HbR:
b ∈ R.
An
exact proof term for the current goal is
(RltE_right a b Hab).
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 HbS:
SNo b.
An
exact proof term for the current goal is
(real_SNo b HbR).
We prove the intermediate
claim Hablt:
a < b.
An
exact proof term for the current goal is
(RltE_lt a b Hab).
An
exact proof term for the current goal is
(SNo_minus_SNo a HaS).
An exact proof term for the current goal is Hmablt.
rewrite the current goal using Hcom (from right to left).
An exact proof term for the current goal is H0lt.
∎