Rational ball comparisons match complex balls
ProvedCouret.STROBO2TORS.recoh_rational_ball_iffcouret-programmecouret-unification-20261108
For rational coordinate pairs z,w and rational radius r≥0, write V(a,b)=a+bi and D(z,w) for their rational squared Euclidean distance. Then
The explicit nonnegative radius includes zero.
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 Theorems.Thm_Couret_STROBO2TORS_recoh_rational_squared_distance_exact 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_ball_iff (z w : RecohRationalComplex)
(radius : ℚ) (hradius : 0 ≤ radius) :
recohRationalSquaredDistance z w ≤ radius ^ 2 ↔
‖recohRationalComplexValue z - recohRationalComplexValue w‖ ≤ (radius : ℝ) := 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#L30-L47, lines 30–47; source file SHA-256 c7ad43f0d63569d28a37773ed02641e34239f2ed0c451642062ac97af4d5d57c; theorem Couret.STROBO2TORS.recoh_rational_ball_iff