Let a be given.
Let n be given.
rewrite the current goal using Haeq (from left to right).
We prove the intermediate
claim HaxzLe:
axz ≤ add_SNo axy ayz.
We prove the intermediate
claim HaxzR:
axz ∈ R.
We prove the intermediate
claim HaxyR:
axy ∈ R.
We prove the intermediate
claim HayzR:
ayz ∈ R.
We prove the intermediate
claim HsumR:
add_SNo axy ayz ∈ R.
An
exact proof term for the current goal is
(real_add_SNo axy HaxyR ayz HayzR).
We prove the intermediate
claim H1:
Rle axz (add_SNo axy ayz).
An
exact proof term for the current goal is
(Rle_of_SNoLe axz (add_SNo axy ayz) HaxzR HsumR HaxzLe).
rewrite the current goal using HcomL (from left to right).
rewrite the current goal using HcomR (from left to right).
An exact proof term for the current goal is H2b'.
We prove the intermediate
claim H2:
Rle (add_SNo axy ayz) u.
An
exact proof term for the current goal is
(Rle_tra axz (add_SNo axy ayz) u H1 H2).