Skip to the content.

Extremal Sidon sets are Fourier uniform

This project formalizes Ortega and Prendiville’s paper in Lean. The main goals are Fourier uniformity, equidistribution in progressions and Bohr neighbourhoods, and partition regularity for equations in at least five variables.

The paper’s main results have checked Lean proofs. The blueprint expands the arguments into detailed natural-language proofs and records the corrections to Lemmas 3.2 and 4.1. Only verified declarations are marked complete in the blueprint.

The checked Lean development proves Theorem 1.2 in supremum norm, with absolute constant 16. Its foundations include unique nonzero differences, exact Sidon additive energy, finite Fourier sums and fourth moments, the discrete Fejer kernel, unrestricted-window van der Corput, and the sharp Appendix A interval-size bound. The independent Cilleruelo interval estimate and Theorem 3.1 for arbitrary finite arithmetic progressions also check, including the normalized interval and residue-class corollaries. The improved Fourier estimate checks with constant 36. The smooth and regular Bohr corollaries check with absolute constants 48000 and 48100. Theorem 1.15 on partition regularity is checked end to end. Its inputs include full finite Deuber extraction from Hales–Jewett, quantitative Rado counting, the colouring dense model, and the Fourier counting-transfer bound. The necessary-condition colouring in Remark 1.16 is also checked. Bose–Chowla, Proposition 1.13, and the modular obstruction in Remark 1.14 are checked, including their sharp asymptotic densities for every sufficiently large interval. Corollary 1.4 is checked unconditionally, with the N^(-1/12) Fourier rate for maximum Sidon sets. Its analytic proof includes checked Weyl growth for the actual zeta function, a Vinogradov–Korobov zero-free width, and an exact logarithmically smoothed explicit formula. Its positive prime-detector kernels, spectral tail bounds, mollifier endpoint estimates, vertical L² interpolation, and integrated Jensen argument prove a uniform zero-density estimate and a prime in [x − 128x^(2/3), x] for every sufficiently large real x. The project uses the latest stable Lean and mathlib v4.35.0, matching doc-gen4, and leanblueprint 0.0.20.

The proof audit gives explicit constants for the Fourier bounds and a full finite-variance proof of the Cilleruelo interval estimate. It corrects the small cases of the progression estimate and the real-valued dual-norm argument. An alternate smoothing proof establishes dimension-uniform Bohr corollaries; a counterexample shows that the paper’s literal dimension-uniform finite-bandwidth approximation statement needs correction. The counterexample and the corrected dimension-dependent tensor approximation are both checked in Lean. The quantitative counting input now has a checked proof from Hales–Jewett.

The reuse audit records results found in mathlib, Lean Pool, Tau Ceti, and other Lean projects, including version, normalization, and licensing constraints. The usage report records measured team tokens and elapsed time, with Standard and Fast API-equivalent cost estimates from official pricing. Those estimates do not establish actual subscription charges.

Source and progress are available in the repository.