Let a, b and c be given.
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 HcS:
SNo c.
An
exact proof term for the current goal is
(real_SNo c HcR).
We prove the intermediate
claim HtabR:
tab ∈ R.
We prove the intermediate
claim HtbcR:
tbc ∈ R.
We prove the intermediate
claim HtacR:
tac ∈ R.
We prove the intermediate
claim HtabS:
SNo tab.
An
exact proof term for the current goal is
(real_SNo tab HtabR).
We prove the intermediate
claim HtbcS:
SNo tbc.
An
exact proof term for the current goal is
(real_SNo tbc HtbcR).
We prove the intermediate
claim HtacS:
SNo tac.
An
exact proof term for the current goal is
(real_SNo tac HtacR).
Set pab to be the term
abs_SNo tab.
Set pbc to be the term
abs_SNo tbc.
Set pac to be the term
abs_SNo tac.
We prove the intermediate
claim HpabR:
pab ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R tab HtabR).
We prove the intermediate
claim HpbcR:
pbc ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R tbc HtbcR).
We prove the intermediate
claim HpacR:
pac ∈ R.
An
exact proof term for the current goal is
(abs_SNo_in_R tac HtacR).
We prove the intermediate
claim HpabS:
SNo pab.
An
exact proof term for the current goal is
(real_SNo pab HpabR).
We prove the intermediate
claim HpbcS:
SNo pbc.
An
exact proof term for the current goal is
(real_SNo pbc HpbcR).
We prove the intermediate
claim HpacS:
SNo pac.
An
exact proof term for the current goal is
(real_SNo pac HpacR).
We prove the intermediate
claim HpabNN:
0 ≤ pab.
An
exact proof term for the current goal is
(abs_SNo_nonneg tab HtabS).
We prove the intermediate
claim HpbcNN:
0 ≤ pbc.
An
exact proof term for the current goal is
(abs_SNo_nonneg tbc HtbcS).
We prove the intermediate
claim HabsTri:
pac ≤ add_SNo pab pbc.
An
exact proof term for the current goal is
(abs_SNo_triangle a b c HaS HbS HcS).
An
exact proof term for the current goal is
(Rclip_subadd_nonneg pab pbc HpabR HpbcR HpabNN HpbcNN).
rewrite the current goal using HdefAC (from left to right).
rewrite the current goal using HdefAB (from left to right).
rewrite the current goal using HdefBC (from left to right).
∎