Let x, y and z be given.
Assume Hx: x EuclidPlane.
Assume Hy: y EuclidPlane.
Assume Hz: z EuclidPlane.
We will prove Rle (distance_R2 x z) (add_SNo (distance_R2 x y) (distance_R2 y z)).
Apply (RleI (distance_R2 x z) (add_SNo (distance_R2 x y) (distance_R2 y z))) to the current goal.
An exact proof term for the current goal is (distance_R2_in_R x z Hx Hz).
We prove the intermediate claim HxyR: distance_R2 x y R.
An exact proof term for the current goal is (distance_R2_in_R x y Hx Hy).
We prove the intermediate claim HyzR: distance_R2 y z R.
An exact proof term for the current goal is (distance_R2_in_R y z Hy Hz).
An exact proof term for the current goal is (real_add_SNo (distance_R2 x y) HxyR (distance_R2 y z) HyzR).
Assume Hlt: Rlt (add_SNo (distance_R2 x y) (distance_R2 y z)) (distance_R2 x z).
We will prove False.
Set dxy to be the term distance_R2 x y.
Set dyz to be the term distance_R2 y z.
Set dxz to be the term distance_R2 x z.
Set s to be the term add_SNo dxy dyz.
We prove the intermediate claim HpairR: s R dxz R.
An exact proof term for the current goal is (andEL (s R dxz R) (s < dxz) Hlt).
We prove the intermediate claim Hslt: s < dxz.
An exact proof term for the current goal is (andER (s R dxz R) (s < dxz) Hlt).
We prove the intermediate claim HsumR: s R.
An exact proof term for the current goal is (andEL (s R) (dxz R) HpairR).
We prove the intermediate claim HxzR: dxz R.
An exact proof term for the current goal is (andER (s R) (dxz R) HpairR).
We prove the intermediate claim HdxyR: dxy R.
An exact proof term for the current goal is (distance_R2_in_R x y Hx Hy).
We prove the intermediate claim HdyzR: dyz R.
An exact proof term for the current goal is (distance_R2_in_R y z Hy Hz).
We prove the intermediate claim HdxzR: dxz R.
An exact proof term for the current goal is HxzR.
We prove the intermediate claim HdxyS: SNo dxy.
An exact proof term for the current goal is (real_SNo dxy HdxyR).
We prove the intermediate claim HdyzS: SNo dyz.
An exact proof term for the current goal is (real_SNo dyz HdyzR).
We prove the intermediate claim HdxzS: SNo dxz.
An exact proof term for the current goal is (real_SNo dxz HdxzR).
We prove the intermediate claim HsS: SNo s.
An exact proof term for the current goal is (SNo_add_SNo dxy dyz HdxyS HdyzS).
We prove the intermediate claim H0ledxy: 0 dxy.
An exact proof term for the current goal is (distance_R2_nonneg x y Hx Hy).
We prove the intermediate claim H0ledyz: 0 dyz.
An exact proof term for the current goal is (distance_R2_nonneg y z Hy Hz).
We prove the intermediate claim H0les: 0 s.
rewrite the current goal using (add_SNo_0L 0 SNo_0) (from right to left) at position 1.
An exact proof term for the current goal is (add_SNo_Le3 0 0 dxy dyz SNo_0 SNo_0 HdxyS HdyzS H0ledxy H0ledyz).
We prove the intermediate claim H0ledxz: 0 dxz.
An exact proof term for the current goal is (distance_R2_nonneg x z Hx Hz).
We prove the intermediate claim HsqLt: mul_SNo s s < mul_SNo dxz dxz.
An exact proof term for the current goal is (SNoLt_sqr_nonneg s dxz HsS HdxzS H0les H0ledxz Hslt).
We prove the intermediate claim HsqLe: mul_SNo dxz dxz mul_SNo s s.
An exact proof term for the current goal is (distance_R2_triangle_sqr_Le x y z Hx Hy Hz).
We prove the intermediate claim Hbad: mul_SNo s s < mul_SNo s s.
An exact proof term for the current goal is (SNoLtLe_tra (mul_SNo s s) (mul_SNo dxz dxz) (mul_SNo s s) (SNo_mul_SNo s s HsS HsS) (SNo_mul_SNo dxz dxz HdxzS HdxzS) (SNo_mul_SNo s s HsS HsS) HsqLt HsqLe).
An exact proof term for the current goal is (FalseE ((SNoLt_irref (mul_SNo s s)) Hbad) False).