Let p and c be given.
We prove the intermediate
claim HdxR:
dx ∈ R.
We prove the intermediate
claim HdyR:
dy ∈ R.
We prove the intermediate
claim HdxS:
SNo dx.
An
exact proof term for the current goal is
(real_SNo dx HdxR).
We prove the intermediate
claim HdyS:
SNo dy.
An
exact proof term for the current goal is
(real_SNo dy HdyR).
Set dx2 to be the term
mul_SNo dx dx.
Set dy2 to be the term
mul_SNo dy dy.
We prove the intermediate
claim Hdx2R:
dx2 ∈ R.
An
exact proof term for the current goal is
(real_mul_SNo dx HdxR dx HdxR).
We prove the intermediate
claim Hdy2R:
dy2 ∈ R.
An
exact proof term for the current goal is
(real_mul_SNo dy HdyR dy HdyR).
We prove the intermediate
claim Hdx2S:
SNo dx2.
An
exact proof term for the current goal is
(real_SNo dx2 Hdx2R).
We prove the intermediate
claim Hdy2S:
SNo dy2.
An
exact proof term for the current goal is
(real_SNo dy2 Hdy2R).
We prove the intermediate
claim Hdy2nonneg:
0 ≤ dy2.
rewrite the current goal using
(distance_R2_sqr p c Hp Hc) (from left to right).
∎