Rational squared distance is exact complex distance
ProvedCouret.STROBO2TORS.recoh_rational_squared_distance_exactcouret-programmecouret-unification-20261108
For rational coordinate pairs z=(a,b), w=(c,d), interpret V(z)=a+bi and put D(z,w)=(a-c)^2+(b-d)^2 in Q. Then
after casting the right side to R. No approximation or positivity premise is needed.
Preamble
import Definitions.Def_Couret_RecohRationalComplex_e4146c64164f import Mathlib.Analysis.Complex.Norm import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum import Mathlib.Tactic.Positivity import Mathlib.Tactic.Ring import Mathlib.Analysis.Complex.Norm import Mathlib.Tactic.Linarith import Mathlib.Tactic.NormNum import Mathlib.Tactic.Positivity import Mathlib.Tactic.Ring set_option autoImplicit false /-! Executable rational complex coordinates and their exact norm semantics. -/ namespace Couret.STROBO2TORS
Formal statement
theorem recoh_rational_squared_distance_exact (z w : RecohRationalComplex) :
‖recohRationalComplexValue z - recohRationalComplexValue w‖ ^ 2 =
(recohRationalSquaredDistance z w : ℝ) := by sorry
end Couret.STROBO2TORS
Source
Alexandre Couret, https://github.com/alexcour/couret-finite-verifications/blob/eb7323762a9fa64f54f95ea7aa2981dee0ba54af/research/strobo-2tors-2026-10-12/lean/RecohRationalComplex.lean#L22-L28, lines 22–28; source file SHA-256 c7ad43f0d63569d28a37773ed02641e34239f2ed0c451642062ac97af4d5d57c; theorem Couret.STROBO2TORS.recoh_rational_squared_distance_exact