Let x and y be given.
We prove the intermediate
claim HxR:
x ∈ R.
An
exact proof term for the current goal is
(RleE_left x y Hxy).
We prove the intermediate
claim HyR:
y ∈ R.
An
exact proof term for the current goal is
(RleE_right x y Hxy).
We prove the intermediate
claim Hnxlt:
¬ (Rlt y x).
An
exact proof term for the current goal is
(RleE_nlt x y Hxy).
We prove the intermediate
claim HxS:
SNo x.
An
exact proof term for the current goal is
(real_SNo x HxR).
We prove the intermediate
claim HyS:
SNo y.
An
exact proof term for the current goal is
(real_SNo y HyR).
An
exact proof term for the current goal is
(SNo_minus_SNo x HxS).
An
exact proof term for the current goal is
(SNo_minus_SNo y HyS).
rewrite the current goal using HxyEq (from left to right).
Use reflexivity.
rewrite the current goal using HnegEq (from right to left) at position 2.
An exact proof term for the current goal is HltS.
We prove the intermediate
claim HyxRlt:
Rlt y x.
An
exact proof term for the current goal is
(RltI y x HyR HxR Hyxlt).
An exact proof term for the current goal is (Hnxlt HyxRlt).
∎