Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rational ball comparisons match complex balls

Proved
Couret.STROBO2TORS.recoh_rational_ball_iff

by alexcour · Nov 8, 2026 · Mathlib c5ea003 (Lean v4.30.0)

couret-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

D(z,w)≤r2  ⟺  ∥V(z)−V(w)∥≤r.D(z,w)\le r^2\iff\|V(z)-V(w)\|\le r.D(z,w)≤r2⟺∥V(z)−V(w)∥≤r.

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

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me