Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.
Updated
Roots of unity as a Sidon set, Lean proof map
RootsOfUnitySidonAnalytic.lean proves the unconditional theorem
rootsOfUnity_analyticSidon : AnalyticSidon, and
RootsOfUnitySidonComplete.lean proves rootsOfUnity_proportionalDissociation : statement. The analytic definition quantifies over every finite subset of the
complex roots of unity and every complex coefficient function. The witness is an
algebraic AddChar ℂ Circle, so the ambient group is the discrete additive
group of ℂ. The statement definition gives one integer denominator for a
dissociated subset of every finite set of roots.
The two final theorems are recorded as the native claims
L20 and
L21
at tier 2; their axiom footprints in lean/Manifest.json are propext,
Classical.choice and Quot.sound. The modules live under
lean/Erdos/RootsOfUnitySidon/ in the namespace Erdos.Research.Problem774
(its helper modules declare into sibling Erdos.Research.<Module>
namespaces, among them Erdos.Research.SidonExtraction,
Erdos.Research.PisierRelationCounting, Erdos.Research.TensorPhaseBound
and Erdos.Research.TensorExtension; the Law inductive of
LatticeRounding.lean sits in Erdos.Research.LatticeRounding)
and are built and audited by the full Lean gate. Each claim's independent
whole-statement fidelity audit is filed and graded pass for the Lean sources
and statement as they stood on 2026-09-28 (the default branch at
13:50:48Z), with tier 2 asserted by the grader; a grade decision applied each
grade to the Lean v4.34.1 tree, which the non-author clean gate of 2026-10-13
checked, and each claim card binds the warrant to that tree.
Four sketch modules that the final theorems never import (DirectExtraction,
SmallPrimeSlices, TensorSliceEmbedding, UnbiasedRounding: elementary
direct-extraction facts, a small-prime combinatorial lemma, a lattice-slice
embedding and an unbiased-rounding ingredient) were written alongside the
development, outside the accepted closure. They are not part of this
repository, and nothing below depends on them.
Prose argument
The repository's prime tensor extraction argument gives the mathematical proof for the analytic estimate: randomized rounding controls the loss at each prime, elementary prime estimates make the total tail loss summable, finitely many small primes cost a fixed factor, and cyclotomic decomposition transfers the bound to all complex roots of unity. The related main argument explains its role in Problem 774 and keeps the finite-coloring question open.
The prose route invokes Pisier's extraction theorem. The Lean development also proves the implication it needs. Given a Sidon constant and a finite set of nonzero frequencies, finite interpolation and Khintchine's inequality give an even-moment bound for the real character sum. One finite character sample captures all moments through order ; the pointwise bound on the sum controls higher moments. Averaging a Riesz product on that sample then yields
Choose one integer from , then for put , , and . The exponential estimate bounds the weighted number of relation supports in a random -subset. The fixed-size counting lemma selects an -subset with few relations; a second counting lemma removes them while retaining at least elements. Since , this gives one proportional extraction denominator . Smaller nonempty sets use a singleton. These are the estimates formalized in the modules listed below.
Proof chain
PrimeSimplexEmbedding.lean,PrimeSimplexGrid.lean, andPrimeSimplexFieldEvaluation.leanidentify the free tensor columns with squarefree root grids and prove the needed cyclotomic linear independence.TailPrimeFieldBound.leantransfers a finite tensor parameter to the exact root set inside the tail cyclotomic field.TensorTriangularPresentation.leanbuilds an unconditional finite unbiased integer lift of every real line-zero phase array.TensorUniformRounding.leanaverages its variance over coordinate permutations, andTensorUniformStageMoment.leansupplies the finite moment law for each tensor stage.TensorStageEquiv.leanandTensorStageMoment.leaniterate the one-step analytic estimate.TensorUniformPrimeFactor.leanidentifies the stage variance and loss with the prime factors inPrimeTailBounds.lean. That module proves a cutoff for which every finite tail-prime selection has total loss below one half.TensorUniformPrimeTail.leanobtains one fixed positive parameter on every finite increasing tail stage, andPrimeListStageBridge.leantransfers it to the prime-list grid.SmallPrimeAssembly.leanabsorbs the finitely many primes below the cutoff with a factorial bound, using relative character averaging between its tensor columns.OddSquarefreeReduction.lean,RootsOfUnitySidon.lean, andAntipodalSidon.leanpass from odd squarefree orders to all root orders.
Proportional dissociation
FiniteOrthogonalCharacters.leansupplies finite character samples that annihilate any prescribed finite set of nonzero frequencies.FiniteMomentOrthogonality.leanproves exact even-moment invariance on a sample containing the polynomial's signed frequencies.FiniteSidonNorming.lean,FiniteSidonInterpolation.lean,FiniteWeightedMoment.lean,FiniteSidonMomentComparison.lean, andFiniteSidonRudinMoment.leanderive Rudin's even-moment bound from the analytic Sidon inequality.FiniteKhintchine.leanandFiniteComplexKhintchine.leanbound the randomized moments, andFiniteSidonRealMoment.leangives the normalized real-part version.FiniteMomentExponential.leanturns a finite range of Rudin moments into a Gaussian exponential bound.FiniteRieszRelation.leanidentifies the finite Riesz average with the signed-relation generating function.FiniteRieszMomentBound.leanchooses one finite sample covering all moments through the cardinality of the frequency set; the pointwise bound handles every higher moment. It proves a uniform exponential bound on signed relations from a finite Sidon inequality.PisierWeightedRelationBridge.leancompares weighted relation supports with signed relations.PisierFixedSizeThinning.lean,PisierRelationCounting.lean,PisierThinningAssembly.lean, andPisierExponentialParameters.leangive a proportional dissociated subset with constants fixed before the finite set.PisierAnalyticAssembly.leanandPisierForwardComplete.leanprove the analytic-to-extraction implication.RootsOfUnitySidonComplete.leanapplies it to the analytic roots-of-unity theorem.