Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The rational square transform has nine times the root error

Proved
Couret.STROBO2TORS.recoh_square_phase_center_error

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

couret-programmecouret-unification-20261108

Let G=∏j<dZ/qjZG=\prod_{j<d}\mathbb Z/q_j\mathbb ZG=∏j<d​Z/qj​Z with positive natural moduli qjq_jqj​. Write Pχ(A)=∑x∈Aχ(x)P_\chi(A)=\sum_{x\in A}\chi(x)Pχ​(A)=∑x∈A​χ(x), RAR_ARA​ for the ordered pair-sum count, and F(A)F(A)F(A) for its fibre among triples. Let Am(x)=∑j<m(−1)jx2j+1/(2j+1)A_m(x)=\sum_{j<m}(-1)^j x^{2j+1}/(2j+1)Am​(x)=∑j<m​(−1)jx2j+1/(2j+1), pm=16Am(1/5)−4Am(1/239)p_m=16A_m(1/5)-4A_m(1/239)pm​=16Am​(1/5)−4Am​(1/239) and em=16(1/5)((1/5)2)m/(1−(1/5)2)+4(1/239)((1/239)2)m/(1−(1/239)2)e_m=16(1/5)((1/5)^2)^m/(1-(1/5)^2)+4(1/239)((1/239)^2)^m/(1-(1/239)^2)em​=16(1/5)((1/5)2)m/(1−(1/5)2)+4(1/239)((1/239)2)m/(1−(1/239)2). Put Em,n=2em+2⋅8n/n!E_{m,n}=2e_m+2\cdot8^n/n!Em,n​=2em​+2⋅8n/n!. Rational-complex centres are interpreted as complex numbers. For an arbitrary sparse square-entry list LLL, let RLR_LRL​ be its interpreted count function, UL={z:RL(z)≠0}U_L=\{z:R_L(z)\ne0\}UL​={z:RL​(z)=0}, and CL(j,N,b,m,n)=∑z∈ULRL(z)cN,(zj).valbm,nC_L(j,N,b,m,n)=\sum_{z\in U_L}R_L(z)c_{N,(z_j).\mathrm{val}b}^{m,n}CL​(j,N,b,m,n)=∑z∈UL​​RL​(z)cN,(zj​).valbm,n​ the rational square phase centre. Suppose ∣A∣=3|A|=3∣A∣=3, RA=RLR_A=R_LRA​=RL​, N>0N>0N>0 divides the modulus at coordinate jjj, ∣pm∣≤4|p_m|\le4∣pm​∣≤4, and n≥15n\ge15n≥15. Let χj,N\chi_{j,N}χj,N​ be the canonical coordinate character. For every natural multiplier bbb,

∣CL(j,N,b,m,n)−Pχj,Nb(A)2∣≤9Em,n.|C_L(j,N,b,m,n)-P_{\chi_{j,N}^b}(A)^2|\le9E_{m,n}.∣CL​(j,N,b,m,n)−Pχj,Nb​​(A)2∣≤9Em,n​.
Preamble
import Aesop
import Definitions.Def_Couret_RecohStableSquareSelection_4ccedec76589
import Lean.Elab.Tactic.Omega
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Piecewise
import Mathlib.Algebra.BigOperators.Group.Finset.Sigma
import Mathlib.Algebra.Field.ZMod
import Mathlib.Algebra.Group.AddChar
import Mathlib.Algebra.Module.ZMod
import Mathlib.Analysis.Complex.Basic
import Mathlib.Analysis.Complex.Norm
import Mathlib.Analysis.Real.Pi.Bounds
import Mathlib.Analysis.SpecialFunctions.Complex.Arctan
import Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Data.Complex.Basic
import Mathlib.Data.Complex.BigOperators
import Mathlib.Data.Finite.Card
import Mathlib.Data.Finset.Card
import Mathlib.Data.Finset.Powerset
import Mathlib.Data.Fintype.BigOperators
import Mathlib.Data.Fintype.Card
import Mathlib.Data.Multiset.Sort
import Mathlib.Data.Nat.Factorization.Basic
import Mathlib.Data.Rat.Cast.Order
import Mathlib.Data.ZMod.Basic
import Mathlib.FieldTheory.Finiteness
import Mathlib.GroupTheory.FiniteAbelian.Duality
import Mathlib.GroupTheory.SpecificGroups.Cyclic
import Mathlib.LinearAlgebra.Dimension.Constructions
import Mathlib.LinearAlgebra.Dimension.Finite
import Mathlib.LinearAlgebra.Dual.Lemmas
import Mathlib.LinearAlgebra.LinearIndependent.Lemmas
import Mathlib.RingTheory.Polynomial.Cyclotomic.Roots
import Mathlib.RingTheory.RootsOfUnity.Complex
import Mathlib.Tactic
import Mathlib.Tactic.Abel
import Mathlib.Tactic.Choose
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.LinearCombination
import Mathlib.Tactic.NormNum
import Mathlib.Tactic.Positivity
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Tauto
import Theorems.Thm_Couret_STROBO2TORS_recoh_rational_complex_scale_value
import Theorems.Thm_Couret_STROBO2TORS_recoh_rational_root_power_error
import Theorems.Thm_Couret_STROBO2TORS_recoh_support_probe_sq
import Definitions.Def_Couret_RecohRationalRoots_2e1442988636
import Definitions.Def_Couret_RecohOddPowerRuntime_8c8d44664d18
import Definitions.Def_Couret_RecohSquareSelector_3b7a2954c02a
import Definitions.Def_Couret_RecohReconstruction_b9109c17baa8

set_option autoImplicit false

/-!
The robust binary multipliers are computed from the exact labelled square.
Rational phase centres have a proved error budget.  The finite odd-power
search compares their squared norms to 9/4 and falls back to exponent one.
No support or measured character value is an input to this computation.
-/

namespace Couret.STROBO2TORS

open scoped BigOperators









variable {d : ℕ} (q : Fin d → ℕ) [∀ i, NeZero (q i)]











Formal statement

theorem recoh_square_phase_center_error
    (entries : List (((i : Fin d) → ZMod (q i)) × ℕ))
    (S : Finset ((i : Fin d) → ZMod (q i))) (hS : S.card = 3)
    (hR : orderedSquare S = recohTypedSquareValue entries)
    (coordinate : Fin d) (N : ℕ) [NeZero N] (hN : N ∣ q coordinate)
    (multiplier machinTerms taylorTerms : ℕ)
    (hpi : |recohPiPartial machinTerms| ≤ 4) (htaylor : 15 ≤ taylorTerms) :
    ‖recohRationalComplexValue
        (recohSquarePhaseCenter q entries coordinate N multiplier machinTerms taylorTerms) -
      (recohSupportProbe ((recohCyclicCoordinateCharacter q coordinate N hN) ^ multiplier) S) ^ 2‖ ≤
        9 * (recohRationalPhaseError machinTerms taylorTerms : ℝ) := by sorry














end Couret.STROBO2TORS

Source
Alexandre Couret, https://github.com/alexcour/couret-finite-verifications/blob/eb7323762a9fa64f54f95ea7aa2981dee0ba54af/research/strobo-2tors-2026-10-12/lean/RecohStableSquareSelection.lean#L124-L160, lines 124–160; source file SHA-256 2f7714eca3c4e8b224d008d7909c95a42c2c459aa1c10a8588b3fe2fc9d9a1c8; theorem Couret.STROBO2TORS.recoh_square_phase_center_error

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