Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Number Theory

170 missions · 89 completed

The study of the integers and the structures built from them — prime numbers, and the rational, algebraic, and ppp-adic numbers that extend them. It reaches from analytic number theory, which uses the tools of analysis to understand the distribution of primes, to algebraic number theory, Diophantine equations, and the arithmetic of elliptic curves, modular forms, and LLL-functions.

Missions

Open81Completed89All170
🏆Completed
Algebraic Geometry·Captain: marwahaha

The Bogomolov-Pop reconstruction theoremOpen Problem

Motivation

Birational anabelian geometry studies how much of a function field is determined by a small quotient of its absolute Galois group. This mission isolates uniqueness in the reconstruction correspondence. The source manuscript presents the surrounding research claim.

Setting

Fix a prime ℓ. The fields K/k and L/l are essentially finite type extensions of algebraically closed constant fields, have transcendence degree at least two, and have characteristic different from ℓ. The abelian-by-central datum records the pro-ℓ abelian quotient and the commutator pairing. IsomF consists of constant-preserving perfect-closure isomorphisms modulo Frobenius; IsomCUnits quotients bracket-compatible Galois isomorphisms by the encoded ℓ-adic unit relation.

Formalization target

For field-isomorphism classes a and a′ and a Galois-isomorphism class b, prove

PhiGraph⁡(a,b)  ∧  PhiGraph⁡(a′,b)⟹a=a′.\operatorname{PhiGraph}(a,b)\;\land\;\operatorname{PhiGraph}(a^{\prime},b)\quad\Longrightarrow\quad a=a^{\prime}.PhiGraph(a,b)∧PhiGraph(a′,b)⟹a=a′.

PhiGraph is the relation induced by representatives and a compatible extension to algebraic closures.

The selected formal target is OAI.BogomolovPop.main_graph_injective.

Significance and status

This establishes uniqueness of the field class whenever two representatives produce the same Galois class. The manuscript states a full reconstruction bijection; the selected published Lean target is its graph-injectivity assertion. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Equality is required after two different quotient constructions, one generated by Frobenius and one by ℓ-adic scalar limits. Recovering equality of classes must respect both ambiguities and the contravariant Galois action.

Formalization scope

The definition block constructs topological pro-ℓ quotients, closed commutator subgroups, perfect closures and the pullback graph. The theorem quantifies over arbitrary field types with the stated algebraic instances. It does not assert existence, surjectivity or functionality of PhiGraph, and those broader manuscript conclusions are not attached as proved results. Only the existing injectivity target and its definition block are referenced.

Selected references

  • OpenAI, The Bogomolov-Pop reconstruction theorem, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
8 thms2 active usersReviewed
🏆Completed
Algebra·Captain: marwahaha

The Deligne-Drinfeld conjectureOpen Problem

Motivation

Compatibility between reassociation and braiding imposes equations on formal Lie expressions. The question is whether those equations leave precisely the free family of odd-weight generators predicted by the Deligne–Drinfeld conjecture. The source manuscript presents the surrounding research claim.

Setting

Let L be the free Lie algebra over ℚ on x and y, each of weight one. The solution space W satisfies antisymmetry, the three-term relation, and the pentagon equation in the four-strand infinitesimal braid algebra. Its operation is the Ihara bracket {p,q}=Dₚq−D_qp+[p,q]. The free algebra F has generators indexed by k ≥ 0 with weights 2k+3.

Formalization target

Establish a graded bracket-preserving linear equivalence

F=Lie⁡Q⟨e3,e5,e7,…⟩  ≅  W,F=\operatorname{Lie}_{\mathbb Q}\langle e_3,e_5,e_7,\ldots\rangle\;\cong\;W,F=LieQ​⟨e3​,e5​,e7​,…⟩≅W,

together with mutually inverse continuous maps on the products of weight pieces. The completed maps must preserve the bracket degree by degree, including the finite convolution sum defining its weight-n component.

The selected formal target is OAI.DeligneDrinfeld.main.

Significance and status

The target simultaneously expresses freeness and exhaustion of the full equation space. Finding a free subalgebra alone leaves the exhaustion assertion unresolved. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

The pentagon relation couples substitutions in the braid Lie algebra. Constructing odd-weight solutions does not by itself show that all solutions are generated by them, nor that the completed bracket has the required compatibility.

Formalization scope

The published definition block specifies the braid quotient, tangent construction of D, weighted Lie words, rational submodules and product completions. Generator k has weight 2k+3. The factor spaces carry the explicitly supplied discrete topology. The goal is exactly MainStatement, including its inverse, continuity and completed-bracket clauses. The available reference set supplies the definition block and one target, so no unsupported paper lemmas are attached as milestones.

Selected references

  • OpenAI, The Deligne-Drinfeld conjecture, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
14 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: wurtle

Short Egyptian fractionsResearch Paper

Motivation: how short can an Egyptian fraction be?

An Egyptian-fraction expansion writes a positive rational number as a sum of distinct unit fractions 1/n1/n1/n. Every fraction a/ba/ba/b with 1≤a<b1\le a<b1≤a<b has one, by the greedy algorithm, but greedy expansions can be long. The basic quantitative question is how many terms are needed in the worst case for a fixed denominator bbb. Let N(a,b)N(a,b)N(a,b) be the least length of an expansion of a/ba/ba/b with denominators ≥2\ge2≥2, and N(b)=max⁡1≤a<bN(a,b)N(b)=\max_{1\le a<b}N(a,b)N(b)=max1≤a<b​N(a,b). Erdős proved in 1950 that N(b)≪log⁡b/log⁡log⁡bN(b)\ll\log b/\log\log bN(b)≪logb/loglogb, showed that N(b)≫log⁡log⁡bN(b)\gg\log\log bN(b)≫loglogb (already for a=b−1a=b-1a=b−1), and conjectured that the double-logarithmic order is correct. The question appears in Erdős–Graham's 1980 problem book and as Erdős Problem 304. The same circle of questions asks how many expansions of 111 with exactly kkk terms exist, and which integers can appear as denominators in them (Erdős Problem 293).

Timeline

  • 1940 — Nakayama studies N(a,b)N(a,b)N(a,b) through arithmetic criteria for expansions with few terms (Tohoku Math. J. 46).
  • 1950 — Erdős reports de Bruijn's bound N(b)≪log⁡b/log⁡log⁡log⁡bN(b)\ll\log b/\log\log\log bN(b)≪logb/logloglogb, improves it to N(b)≪log⁡b/log⁡log⁡bN(b)\ll\log b/\log\log bN(b)≪logb/loglogb, proves the lower bound N(b)≫log⁡log⁡bN(b)\gg\log\log bN(b)≫loglogb, and conjectures the matching upper bound (Mat. Lapok 1950).
  • 1980 — Erdős and Graham restate the problem and ask for estimates of the number of kkk-term expansions of 111 and for the least missing denominator (Old and New Problems…).
  • 1985 — Vose proves N(b)≪log⁡bN(b)\ll\sqrt{\log b}N(b)≪logb​ (Bull. LMS 17).
  • 1990 — Tenenbaum and Yokota give length (1+ε)log⁡b/log⁡log⁡b(1+\varepsilon)\log b/\log\log b(1+ε)logb/loglogb with denominators O(b(log⁡b)2log⁡log⁡b)O(b(\log b)^2\log\log b)O(b(logb)2loglogb) (J. Number Theory).
  • 2014–2021 — Konyagin proves a lower bound for the number F(k)F(k)F(k) of kkk-term expansions of 111 with log⁡log⁡F(k)≫k/log⁡k\log\log F(k)\gg k/\log kloglogF(k)≫k/logk (Mat. Zametki); Elsholtz extends it to restricted denominators (Q. J. Math.); Elsholtz and Planitzer prove log⁡log⁡F(k)=O(k)\log\log F(k)=O(k)loglogF(k)=O(k) (Bull. LMS).
  • 2026 — van Doorn and Tang prove v(k)≥exp⁡(ck2)v(k)\ge\exp(ck^2)v(k)≥exp(ck2) for the least missing denominator (Math. Proc. Cambridge Philos. Soc.).
  • 2026 — An OpenAI preprint, Short Egyptian fractions (OpenAI Math Release, September 25, 2026), claims N(b)≍log⁡log⁡bN(b)\asymp\log\log bN(b)≍loglogb, settling Erdős's conjecture, together with log⁡log⁡F(k)≍k\log\log F(k)\asymp kloglogF(k)≍k and log⁡log⁡v(k)≍k\log\log v(k)\asymp kloglogv(k)≍k. It has not been peer reviewed, and its proofs are not formally verified.

Setting

For integers 1≤a<b1\le a<b1≤a<b, an expansion of a/ba/ba/b is a finite list 2≤n1<⋯<nk2\le n_1<\dots<n_k2≤n1​<⋯<nk​ of integers with

ab=1n1+⋯+1nk.\frac ab=\frac1{n_1}+\dots+\frac1{n_k}.ba​=n1​1​+⋯+nk​1​.

The fraction need not be in lowest terms and the denominators are unbounded. N(a,b)N(a,b)N(a,b) is the least such kkk, and

N(b)=max⁡1≤a<bN(a,b).N(b)=\max_{1\le a<b}N(a,b).N(b)=1≤a<bmax​N(a,b).

For k≥1k\ge1k≥1, F(k)F(k)F(k) is the number of tuples 1≤n1<⋯<nk1\le n_1<\dots<n_k1≤n1​<⋯<nk​ with ∑1/ni=1\sum 1/n_i=1∑1/ni​=1; DkD_kDk​ is the set of integers m≥2m\ge2m≥2 occurring as some nin_ini​ in such a tuple; and v(k)=min⁡({2,3,… }∖Dk)v(k)=\min(\{2,3,\dots\}\setminus D_k)v(k)=min({2,3,…}∖Dk​).

Formalization targets

Goal: the optimal order of the shortest expansions (Theorem 1.1)

Every a/ba/ba/b with 1≤a<b1\le a<b1≤a<b has an expansion, and there are absolute constants c1,c2>0c_1,c_2>0c1​,c2​>0 and b0b_0b0​ such that for every b≥b0b\ge b_0b≥b0​

c1log⁡log⁡b  ≤  N(b)  ≤  c2log⁡log⁡b.c_1\log\log b\;\le\;N(b)\;\le\;c_2\log\log b .c1​loglogb≤N(b)≤c2​loglogb.

No values of the constants are fixed. The goal statement is published on the platform with status Open.

Milestones

  • Theorem 1.1, second formulation, stated with the definitions shared by the corollaries below.
  • Corollary 1.2: there are c,C>0c,C>0c,C>0 and k0k_0k0​ with ck≤log⁡log⁡F(k)≤Ckck\le\log\log F(k)\le Ckck≤loglogF(k)≤Ck for every k≥k0k\ge k_0k≥k0​.
  • Lemma 7.2: for r≥3r\ge3r≥3, any exact rrr-term expansion of 111 containing the denominator mmm can be lengthened to an exact (r+1)(r+1)(r+1)-term expansion still containing mmm; hence Dr⊆Dr+1D_r\subseteq D_{r+1}Dr​⊆Dr+1​.
  • Proposition 8.1: for every ε>0\varepsilon>0ε>0, every sufficiently large mmm is a denominator in an expansion of 111 with at most (257/log⁡2+ε)log⁡log⁡m(257/\log2+\varepsilon)\log\log m(257/log2+ε)loglogm terms.
  • Corollary 1.3: eventually exp⁡(exp⁡(k/600))≤v(k)≤1+k2k−1\exp(\exp(k/600))\le v(k)\le1+k^{2^{k-1}}exp(exp(k/600))≤v(k)≤1+k2k−1, and log⁡2/257≤lim inf⁡klog⁡log⁡v(k)/k≤lim sup⁡klog⁡log⁡v(k)/k≤log⁡2\log2/257\le\liminf_k \log\log v(k)/k\le\limsup_k\log\log v(k)/k\le\log2log2/257≤liminfk​loglogv(k)/k≤limsupk​loglogv(k)/k≤log2.

Significance

The result itself. Theorem 1.1 answers Erdős's 1950 conjecture (Erdős Problem 304) affirmatively. The lower bound is classical; the content is the uniform upper bound for every numerator. As consequences, the paper determines the double-logarithmic order of the number of representations of 111 (Corollary 1.2) and of the least integer absent from all kkk-term expansions of 111 (Corollary 1.3), improving van Doorn–Tang's exp⁡(ck2)\exp(ck^2)exp(ck2) lower bound to a double exponential.

Formalizing it. All statements are elementary, with no analytic objects beyond logarithms, so a formal proof would give a complete machine-checked account of a problem from Erdős's list. The proof uses residue distribution of divisors, uniform divisor moments and a probabilistic construction, none of which is machine-checked. The elementary pieces — finiteness of F(k)F(k)F(k), the denominator bound ni≤k2i−1n_i\le k^{2^{i-1}}ni​≤k2i−1, and the padding lemma — are independently checkable and useful for other unit-fraction problems.

Difficulty

The greedy algorithm and divisor methods (Erdős; Tenenbaum–Yokota) lose a factor log⁡b/(log⁡log⁡b)2\log b/(\log\log b)^2logb/(loglogb)2 because they treat each numerator individually. The proof instead builds an auxiliary denominator MMM for which almost every numerator in a large range has a short expansion, and descends through O(log⁡log⁡b)O(\log\log b)O(loglogb) ranges. The obstacle is that the exceptional numerators at each level could accumulate during the descent; controlling them requires a uniform moment bound for small divisors in shifted intervals. For Corollary 1.3, an additional difficulty is that the exact term 1/m1/m1/m must survive every operation that lengthens the expansion.

Formalization scope

  • The goal uses OAI.ShortEgyptian: expansions are List ℕ that are strictly increasing (Pairwise (· < ·)), with entries ≥2\ge2≥2 and rational sum a/ba/ba/b; minLength a b is an sInf and maxMinLength b the maximum over 1≤a<b1\le a<b1≤a<b. The existence conjunct guarantees that sInf is taken over a nonempty set, so the bounds cannot hold through a junk value.
  • The Problem337 milestones use Fin k → ℕ tuples (StrictMono, entries ≥2\ge2≥2 for a/ba/ba/b and ≥1\ge1≥1 for expansions of 111); F(k)F(k)F(k) is Set.ncard, and v(k)v(k)v(k) is sInf of the missing denominators. Finiteness of DkD_kDk​ and of the expansion sets, which make these values meaningful, are separate statements in the proposal. In Corollary 1.3 the slopes are real liminf/limsup, accompanied by the explicit eventual bounds.
  • Logarithms are Real.log; all constants are existential, apart from the explicit 600600600, 257/log⁡2257/\log 2257/log2 and log⁡2\log2log2 of the source.
  • Needed infrastructure: divisor-counting and residue-distribution estimates, elementary prime-number bounds (the counting corollary uses the prime number theorem), and finite probabilistic constructions. Contributions proving the elementary pieces are welcome.

Selected references

  • M. Nakayama, On the decomposition of a rational number into "Stammbrüche", Tohoku Math. J. 46 (1940). https://www.jstage.jst.go.jp/article/tmj1911/46/0/46_0_1/_article/-char/en
  • P. Erdős, Az 1/x1+1/x2+⋯+1/xn=a/b1/x_1+1/x_2+\dots+1/x_n=a/b1/x1​+1/x2​+⋯+1/xn​=a/b egyenlet egész számú megoldásairól, Mat. Lapok (1950). https://users.renyi.hu/~p_erdos/1950-02.pdf
  • P. Erdős and R. L. Graham, Old and New Problems and Results in Combinatorial Number Theory, 1980. https://mathweb.ucsd.edu/~ronspubs/80_11_number_theory.pdf
  • T. F. Bloom, Erdős Problem 304. https://www.erdosproblems.com/304
  • M. D. Vose, Egyptian fractions, Bull. London Math. Soc. 17 (1985). https://doi.org/10.1112/blms/17.1.21
  • G. Tenenbaum and H. Yokota, Length and denominators of Egyptian fractions, III, J. Number Theory (1990). https://doi.org/10.1016/0022-314X(90)90109-5
  • S. V. Konyagin, Double exponential lower bound for the number of representations of unity by Egyptian fractions, Mat. Zametki (2014). https://doi.org/10.4213/mzm10417
  • C. Elsholtz and S. Planitzer, Sums of four and more unit fractions and approximate parametrizations, Bull. London Math. Soc. (2021). https://doi.org/10.1112/blms.12452
  • W. van Doorn and Q. Tang, The smallest denominator not contained in a unit fraction decomposition of 1 with fixed length, Math. Proc. Cambridge Philos. Soc. (2026). https://doi.org/10.1017/S0305004126102102
  • OpenAI, Short Egyptian fractions, OpenAI Math Release preprint, September 25, 2026 (Theorem 1.1, p. 2; Corollaries 1.2–1.3, p. 3; Lemma 7.2, p. 26; Proposition 8.1, p. 27). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Short-Egyptian-fractions-September-25-2026/Short-Egyptian-fractions-September-25-2026.pdf
53 thms2 active usersReviewed
🏆Completed
Captain: wurtle

Ordinary two-point correlations of multiplicative functionsResearch Paper

Motivation

Let Ω(n)\Omega(n)Ω(n) count the prime factors of nnn with multiplicity and let λ(n)=(−1)Ω(n)\lambda(n)=(-1)^{\Omega(n)}λ(n)=(−1)Ω(n) be the Liouville function. Chowla's conjecture (1965) predicts that λ\lambdaλ behaves like a random sign sequence: its correlations along any fixed collection of distinct shifts have average tending to zero. The two-point case asks whether nnn and n+hn+hn+h have the same parity of prime-factor count as often as different parity. It is the multiplicative analogue of the twin prime problem and a central test case for the parity barrier in sieve theory. Elliott's conjecture extends the question to bounded multiplicative functions; Matomäki, Radziwiłł and Tao showed that for complex functions it needs a correction, uniform nonpretentiousness against all twists χ(n)nit\chi(n)n^{it}χ(n)nit.

There are two natural averages: the ordinary average 1X∑n≤Xa(n)\frac1X\sum_{n\le X}a(n)X1​∑n≤X​a(n) and the logarithmic average 1log⁡X∑n≤Xa(n)/n\frac1{\log X}\sum_{n\le X}a(n)/nlogX1​∑n≤X​a(n)/n. Logarithmic averaging blends many scales; an ordinary estimate must control the terminal scale itself.

Background

  • 1965. Chowla formulates his conjecture. 1971. Halász's mean-value theorem isolates the twists nitn^{it}nit as the obstruction for one-point means.
  • 1992. Elliott extends the correlation problem to bounded multiplicative functions.
  • 2007. Granville and Soundararajan develop the pretentious distance D\mathbb DD (doi:10.1090/S0894-0347-06-00536-4).
  • 2015–2016. Matomäki and Radziwiłł prove short-interval mean-value theorems and a nontrivial bound 1−δ(h)1-\delta(h)1−δ(h) for each two-point Liouville correlation (doi:10.4007/annals.2016.183.3.6); Matomäki, Radziwiłł and Tao prove an averaged form of Chowla and formulate the corrected Elliott condition (doi:10.2140/ant.2015.9.2167).
  • 2016. Tao proves the logarithmically averaged two-point Chowla and corrected Elliott conjectures, including affine forms (doi:10.1017/fmp.2016.6).
  • 2019. Tao and Teräväinen obtain ordinary binary cancellation outside a set of scales of logarithmic density zero (doi:10.2140/ant.2019.13.2103).
  • 2021, 2026. Helfgott and Radziwiłł obtain a quantitative logarithmic bound via divisibility-graph expansion (arXiv:2103.06853); Pilatte improves it to (log⁡x)1−c0(\log x)^{1-c_0}(logx)1−c0​ (doi:10.1090/jams/1084).
  • 2023, 2026. Klurman, Mangerel and Teräväinen relax the nonpretentiousness hypothesis along a full-density set of scales (arXiv:2304.05344); Tao and Teräväinen obtain logarithmic savings for affine Liouville correlations outside a controlled exceptional set of scales (arXiv:2512.01739).

The source of this mission is an OpenAI preprint dated September 24, 2026, which treats ordinary averages at every cutoff.

Setting

  • λ(n)=(−1)Ω(n)\lambda(n)=(-1)^{\Omega(n)}λ(n)=(−1)Ω(n) for n≥1n\ge1n≥1.
  • A function f:N→Cf:\mathbb N\to\mathbb Cf:N→C is multiplicative if f(mn)=f(m)f(n)f(mn)=f(m)f(n)f(mn)=f(m)f(n) for coprime positive m,nm,nm,n, and one-bounded if ∣f(n)∣≤1|f(n)|\le1∣f(n)∣≤1.
  • For a Dirichlet character χ\chiχ, t∈Rt\in\mathbb Rt∈R and X≥2X\ge2X≥2, the pretentious distance is
D(f,χnit;X)2=∑p≤X1−Re⁡(f(p)χ(p)‾p−it)p.\mathbb D(f,\chi n^{it};X)^2=\sum_{p\le X}\frac{1-\operatorname{Re}\bigl(f(p)\overline{\chi(p)}p^{-it}\bigr)}{p}.D(f,χnit;X)2=p≤X∑​p1−Re(f(p)χ(p)​p−it)​.
  • fff is uniformly nonpretentious if inf⁡∣t∣≤ND(f,χnit;N)→∞\inf_{|t|\le N}\mathbb D(f,\chi n^{it};N)\to\inftyinf∣t∣≤N​D(f,χnit;N)→∞ as N→∞N\to\inftyN→∞, for every fixed χ\chiχ.
  • Two affine forms a1n+b1a_1n+b_1a1​n+b1​, a2n+b2a_2n+b_2a2​n+b2​ with ai≥1a_i\ge1ai​≥1, bi≥0b_i\ge0bi​≥0 are nonproportional if a1b2≠a2b1a_1b_2\ne a_2b_1a1​b2​=a2​b1​.

Formalization targets

Goal: Theorem 1.1 (logarithmic saving for affine Liouville correlations)

There is an absolute c>0c>0c>0 such that for all nonproportional affine forms there is C=Ca1,a2,b1,b2C=C_{a_1,a_2,b_1,b_2}C=Ca1​,a2​,b1​,b2​​ with

∣∑1≤n≤Xλ(a1n+b1)λ(a2n+b2)∣≤C X(log⁡X)c(X≥3).\Bigl|\sum_{1\le n\le X}\lambda(a_1n+b_1)\lambda(a_2n+b_2)\Bigr|\le C\,\frac{X}{(\log X)^c}\qquad(X\ge3).​1≤n≤X∑​λ(a1​n+b1​)λ(a2​n+b2​)​≤C(logX)cX​(X≥3).

With a1=a2=1a_1=a_2=1a1​=a2​=1, b1=0b_1=0b1​=0, b2=h>0b_2=h>0b2​=h>0 this is the ordinary two-point Chowla conjecture with a logarithmic saving.

Milestones

  • Theorem 1.2. If f1,f2f_1,f_2f1​,f2​ are multiplicative and one-bounded and one of them is uniformly nonpretentious, then 1N∑n=1Nf1(n+h1)f2(n+h2)→0\frac1N\sum_{n=1}^Nf_1(n+h_1)f_2(n+h_2)\to0N1​∑n=1N​f1​(n+h1​)f2​(n+h2​)→0 for distinct h1,h2≥0h_1,h_2\ge0h1​,h2​≥0.
  • Corollary 1.3. The same conclusion for f1(a1n+b1)f2(a2n+b2)f_1(a_1n+b_1)f_2(a_2n+b_2)f1​(a1​n+b1​)f2​(a2​n+b2​) along nonproportional affine forms.

The goal OAI.OrdinaryTwoPointCorrelations.liouville_log_saving is open on the platform.

Significance

Theorem 1.1 removes the logarithmic weight and the exceptional scales from earlier two-point results: the bound holds at every cutoff, with an exponent independent of the forms. Theorem 1.2 does the same qualitatively for all one-bounded multiplicative functions satisfying the Matomäki–Radziwiłł–Tao corrected condition, without complete multiplicativity, unimodularity or real values. The implied constants need not be effective, and no uniformity in growing coefficients is claimed.

The results are proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists.

Difficulty

Partial summation turns ordinary cancellation into logarithmic cancellation, but not conversely, so Tao's entropy-decrement method and its descendants do not reach ordinary averages: they need to average over scales. Short-interval estimates give cancellation for most shifts or most scales, not for a fixed shift at every scale. The proof works at the terminal scale through multiplicative dilations, which lead to a divisor graph with edge displacement hdhdhd; one must bound high traces of the associated operator (closed walks, nonbacktracking moments, prohibited paths, triangular arithmetic savings) with weights matched to ordinary averaging, and in Part I convert this into an explicit logarithmic saving using bounded independence for Boolean circuits.

Formalization scope

  • liouville n is ArithmeticFunction.liouville n cast to ℂ; affineSum f g a₁ a₂ b₁ b₂ N sums over n ∈ Finset.Icc 1 N, and the bound is applied at N = ⌊X⌋₊ for real X ≥ 3, with (Real.log X) ^ c as Real.rpow.
  • Multiplicative asks the identity only for coprime positive arguments; OneBounded only for positive arguments in this source group.
  • UniformlyNonpretentious is stated as: for every q > 0, every χ : DirichletCharacter ℂ q and every K, eventually in N, every t with |t| ≤ N has squared distance at least K. This is equivalent to (1.2).
  • The second formalization of Theorem 1.2 (namespace OrdinaryCorrelations) uses the sInf form of (1.2) and is included as a reference item.

A complete development needs prime sums and Mertens-type estimates, Dirichlet characters, short-interval mean-value theorems (Matomäki–Radziwiłł–Tao, Theorem 4.3 here), Fourier bounds for rough integers, and the graph-trace machinery. Contributions formalizing Proposition 2.1 (quantitative correlations in every progression), Theorem 5.4 (the nonbacktracking moment), Proposition 10.1 (divisor graph estimate), Lemma 18.5 (uniform nonpretentiousness of Liouville) or the cited Theorem 4.3 are welcome.

Selected references

  • OpenAI, Ordinary two-point correlations of multiplicative functions, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Ordinary-two-point-correlations-of-multiplicative-functions-September-24-2026/final.pdf
  • K. Matomäki, M. Radziwiłł, T. Tao, An averaged form of Chowla's conjecture, Algebra Number Theory, 2015. https://doi.org/10.2140/ant.2015.9.2167
  • K. Matomäki, M. Radziwiłł, Multiplicative functions in short intervals, Ann. of Math., 2016. https://doi.org/10.4007/annals.2016.183.3.6
  • T. Tao, The logarithmically averaged Chowla and Elliott conjectures for two-point correlations, Forum Math. Pi, 2016. https://doi.org/10.1017/fmp.2016.6
  • T. Tao, J. Teräväinen, The structure of correlations of multiplicative functions at almost all scales, Algebra Number Theory, 2019. https://doi.org/10.2140/ant.2019.13.2103
  • H. A. Helfgott, M. Radziwiłł, Expansion, divisibility and parity, preprint, 2021. https://arxiv.org/abs/2103.06853
  • C. Pilatte, Improved bounds for the two-point logarithmic Chowla conjecture, J. Amer. Math. Soc., 2026. https://doi.org/10.1090/jams/1084
  • O. Klurman, A. P. Mangerel, J. Teräväinen, On Elliott's conjecture and applications, preprint, 2023. https://arxiv.org/abs/2304.05344
  • A. Granville, K. Soundararajan, Large character sums: pretentious characters and the Pólya–Vinogradov theorem, J. Amer. Math. Soc., 2007. https://doi.org/10.1090/S0894-0347-06-00536-4
17 thms2 active usersReviewed
🏆Completed
Captain: wurtle

Catalan’s constant is irrational — OpenAI Lean formalizationResearch Paper

Motivation

Catalan's constant

G=∑j=0∞(−1)j(2j+1)2=1−19+125−149+⋯=0.9159655…G=\sum_{j=0}^{\infty}\frac{(-1)^j}{(2j+1)^2}=1-\frac1{9}+\frac1{25}-\frac1{49}+\cdots=0.9159655\ldotsG=j=0∑∞​(2j+1)2(−1)j​=1−91​+251​−491​+⋯=0.9159655…

is the value β(2)=L(2,χ−4)\beta(2)=L(2,\chi_{-4})β(2)=L(2,χ−4​) of the Dirichlet LLL-function of the odd quadratic character of conductor 4. It appears throughout analysis, combinatorics (dimer and spanning-tree constants), and geometry (volumes of hyperbolic 3-manifolds). For odd sss, β(s)\beta(s)β(s) is a rational multiple of πs\pi^sπs; the even values β(2),β(4),…\beta(2),\beta(4),\ldotsβ(2),β(4),… are, like ζ(3),ζ(5),…\zeta(3),\zeta(5),\ldotsζ(3),ζ(5),…, among the basic special values whose arithmetic nature was unknown. Whether GGG is irrational had long been a well-known question.

Timeline

  • 1979. Apéry proves ζ(2)\zeta(2)ζ(2) and ζ(3)\zeta(3)ζ(3) irrational by recurrences whose integer linear forms tend to zero; Beukers gives integral proofs (doi:10.1112/blms/11.3.268).
  • 2003. Rivoal and Zudilin prove that infinitely many even β\betaβ-values are irrational, and that at least one of β(2),β(4),…,β(14)\beta(2),\beta(4),\ldots,\beta(14)β(2),β(4),…,β(14) is (doi:10.1007/s00208-003-0420-2). Zudilin constructs Apéry-like recurrences, a continued fraction and integrals for GGG, and observes that their integer linear forms do not tend to zero (doi:10.37236/1707).
  • 2006–2008. Rivoal connects Padé approximation to the hypergeometric construction and proves its denominator conjectures; Krattenthaler and Rivoal give a more direct proof (doi:10.1007/s11139-006-6507-0, arXiv:0810.1927).
  • 2016. Nesterenko develops half-integer hypergeometric approximations and double Euler integrals for GGG (doi:10.1134/S0081543816010107).
  • 2017. Zudilin proposes a determinantal criterion for irrationality and explains why it does not yet apply to GGG (doi:10.1007/s00365-016-9333-7).
  • 2019–2022. Zudilin, then Lai and Zhou, shrink the finite list of even β\betaβ-values known to contain an irrational one; Fischler proves quantitative results for families of Dirichlet LLL-values (doi:10.1112/jlms.12290); Viola reports improved approximation exponents (doi:10.4171/OWR/2022/21).
  • 2005, 2024. Calegari proves irrationality of a 2-adic analogue of GGG (doi:10.1155/IMRN.2005.1235); Calegari, Dimitrov and Tang prove linear independence of 1,ζ(2),L(2,χ−3)1,\zeta(2),L(2,\chi_{-3})1,ζ(2),L(2,χ−3​), the conductor-3 analogue (arXiv:2408.15403).
  • 2026. Eskandari constructs improved rational approximations (arXiv:2609.26354); Sun announces a proof of irrationality (arXiv:2609.04176).

The source of this mission is an OpenAI preprint dated September 24, 2026.

Setting

GGG is the sum of the alternating series of reciprocals of odd squares displayed above. A real number xxx is irrational if x≠p/qx\neq p/qx=p/q for all integers ppp and q≠0q\neq0q=0. No other definitions are involved.

Formalization targets

Goal: Theorem 1.1

G=∑j≥0(−1)j(2j+1)2 ∉ Q.G=\sum_{j\ge0}\frac{(-1)^j}{(2j+1)^2}\ \notin\ \mathbb Q.G=j≥0∑​(2j+1)2(−1)j​ ∈/ Q.

The Lean statement OAI.InternalCatalan.catalan_irrational is open on the platform.

Significance

Theorem 1.1 settles the irrationality of an individual even Dirichlet β\betaβ-value, which family results (Rivoal–Zudilin, Fischler) could not single out. The paper deduces (Section 8) irrationality of the minimal volume of an orientable complete finite-volume hyperbolic 3-manifold with exactly two cusps (Agol 2010 identified this volume as 4G4G4G, doi:10.1090/S0002-9939-10-10364-5) and of certain arithmetic hyperbolic volumes. The argument is qualitative: it gives no irrationality measure.

The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists. A formal proof would certify a long argument that combines exact finite certificates (rational matrices, rational trial coefficients) with analytic and ppp-adic estimates.

Difficulty

The standard route needs nonzero integer linear forms AmG−Bm→0A_mG-B_m\to0Am​G−Bm​→0. Many constructions give rational approximations Bm/Am→GB_m/A_m\to GBm​/Am​→G quickly, but clearing denominators destroys the decay: this is exactly the obstruction Zudilin identified for his Apéry-like recurrences, and approximation exponents below 1 (Viola–Marcovecchio, Eskandari) do not overcome it. The paper replaces linear forms by growing determinants ΔN\Delta_NΔN​ of size 48N48N48N built from moments that are rational combinations of 111, GGG and ζ(2)\zeta(2)ζ(2); one must cancel the ζ(2)\zeta(2)ζ(2) term exactly, bound denominators prime by prime (including two layers at large odd primes), prove nonvanishing along a sequence of primes via a finite certificate, and obtain a real-place upper bound sharp enough that the normalized limits lim inf⁡LN>−2.29084\liminf L_N>-2.29084liminfLN​>−2.29084 and lim sup⁡LN≤−2.290939875\limsup L_N\le-2.290939875limsupLN​≤−2.290939875 are incompatible. The margin between these constants is about 10−410^{-4}10−4.

Formalization scope

  • The statement uses only Mathlib: Irrational and tsum over ℕ. The series is absolutely summable, so tsum agrees with the classical sum.
  • The factor 2j+12j+12j+1 is a natural number cast to ℝ; there are no partial operations.

A complete development needs: Chebyshev polynomial rows and their moments; ppp-adic valuations of the determinant entries and the prime number theorem in the weighted form used (Mathlib's PNT development may be reused); a Frobenius reduction and verified finite certificates for nonvanishing; Andréief's identity, Hardy-space interpolation and Hadamard bounds for the real estimate; and certified rational arithmetic for the final constants. Contributions formalizing Proposition 2.2 (cancellation and rationality), Proposition 3.4 (finite-place bound), Proposition 4.1 (nonvanishing at prime scales), Propositions 5.2–5.3 (interpolation and Hadamard estimates) and Proposition 7.1 (real-place bound) are welcome.

Selected references

  • OpenAI, Catalan's constant is irrational, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Catalans-constant-is-irrational-September-24-2026/paper.pdf
  • T. Rivoal, W. Zudilin, Diophantine properties of numbers related to Catalan's constant, Math. Ann., 2003. https://doi.org/10.1007/s00208-003-0420-2
  • W. Zudilin, An Apéry-like difference equation for Catalan's constant, Electron. J. Combin., 2003. https://doi.org/10.37236/1707
  • W. Zudilin, A determinantal approach to irrationality, Constr. Approx., 2017. https://doi.org/10.1007/s00365-016-9333-7
  • T. Rivoal, Nombres d'Euler, approximants de Padé et constante de Catalan, Ramanujan J., 2006. https://doi.org/10.1007/s11139-006-6507-0
  • Yu. V. Nesterenko, On Catalan's constant, Proc. Steklov Inst. Math., 2016. https://doi.org/10.1134/S0081543816010107
  • S. Fischler, Irrationality of values of L-functions of Dirichlet characters, J. London Math. Soc., 2020. https://doi.org/10.1112/jlms.12290
  • F. Calegari, V. Dimitrov, Y. Tang, The linear independence of 1, ζ(2), and L(2,χ_{−3}), preprint, 2024. https://arxiv.org/abs/2408.15403
  • F. Beukers, A note on the irrationality of ζ(2) and ζ(3), Bull. London Math. Soc., 1979. https://doi.org/10.1112/blms/11.3.268
  • I. Agol, The minimal volume orientable hyperbolic 2-cusped 3-manifolds, Proc. Amer. Math. Soc., 2010. https://doi.org/10.1090/S0002-9939-10-10364-5
5 thms2 active usersReviewed
🏆Completed
Analysis·Captain: wurtle

The Quasi-Riemann Hypothesis: A Zero-Free Half-Plane Re(s) > 7/8Research Paper

Motivation

The Riemann zeta function ζ(s)=∑n≥1n−s\zeta(s) = \sum_{n\ge1} n^{-s}ζ(s)=∑n≥1​n−s (ℜs>1\Re s > 1ℜs>1), continued meromorphically to C\mathbb{C}C, encodes the distribution of primes through its zeros. Riemann (1859) conjectured that all nontrivial zeros lie on ℜs=1/2\Re s = 1/2ℜs=1/2. Hadamard and de la Vallée Poussin (1896) proved there are no zeros on ℜs=1\Re s = 1ℜs=1, which gives the prime number theorem, but all classical zero-free regions shrink toward the line ℜs=1\Re s = 1ℜs=1 as the height grows. The quasi-Riemann hypothesis asks for a fixed σ0<1\sigma_0 < 1σ0​<1 such that ζ(s)≠0\zeta(s) \ne 0ζ(s)=0 for all ℜs>σ0\Re s > \sigma_0ℜs>σ0​: one zero-free gap valid at every height. The uniform version for all Dirichlet LLL-functions is a standard formulation in analytic number theory (e.g. Friedlander–Goldston).

This preprint claims a proof with σ0=7/8\sigma_0 = 7/8σ0​=7/8, for ζ\zetaζ, for all Dirichlet LLL-functions, and for all finite-order Hecke LLL-functions over Q(−3)\mathbb{Q}(\sqrt{-3})Q(−3​).

Background

  • 1837. Dirichlet introduces character LLL-series to prove infinitude of primes in arithmetic progressions.
  • 1859. Riemann relates zeros of ζ\zetaζ to primes and formulates the Riemann hypothesis.
  • 1896. Hadamard and de la Vallée Poussin prove ζ(s)≠0\zeta(s) \ne 0ζ(s)=0 on ℜs=1\Re s = 1ℜs=1.
  • 1918. Hecke develops LLL-functions of characters over number fields.
  • 1969, 1977. Kubota's metaplectic theory and Patterson's cubic theta series supply the automorphic objects used here.
  • 2000–2014. Heath-Brown's cubic large sieve; Goldmakher–Louvel's quadratic large sieve over number fields; Blomer–Goldmakher–Louvel's higher-order recursion.
  • 2026. Guth and Maynard improve zero-density bounds for ζ\zetaζ (which bound the number of zeros but do not exclude them). The OpenAI preprint The Quasi-Riemann Hypothesis (dated September 30, 2026) claims the zero-free half-plane ℜs>7/8\Re s > 7/8ℜs>7/8. It has not been peer reviewed or independently verified; the Lean goal is open on this platform. The Riemann hypothesis itself is not claimed.

Setting

For a Dirichlet character χ\chiχ modulo qqq (extended by zero on non-units), L(s,χ)=∑n≥1χ(n)n−sL(s,\chi) = \sum_{n \ge 1}\chi(n) n^{-s}L(s,χ)=∑n≥1​χ(n)n−s for ℜs>1\Re s > 1ℜs>1, continued meromorphically; the character modulo 111 gives ζ\zetaζ. For F=Q(−3)F = \mathbb{Q}(\sqrt{-3})F=Q(−3​) with ring of integers O\mathcal{O}O, a finite-order Hecke character modulo a nonzero ideal f\mathfrak{f}f is a character of the ray class group modulo f\mathfrak ff, extended by zero, and LF(s,η)=∑a≠0η(a)(Na)−sL_F(s,\eta) = \sum_{\mathfrak a \ne 0}\eta(\mathfrak a)(N\mathfrak a)^{-s}LF​(s,η)=∑a=0​η(a)(Na)−s. Principal characters have a pole at s=1s = 1s=1.

In Lean, ζ\zetaζ is Mathlib's riemannZeta, Dirichlet LLL-functions are Mathlib's DirichletCharacter.LFunction, and the Hecke family is OAI.SevenEighths.HeckeFamily.LFunction: a Character is a multiplicative character of O/m\mathcal O/\mathfrak mO/m trivial on units (for this class-number-one field these are exactly the ray class characters), and its LLL-function is a lattice sum over O=Z[ω]\mathcal{O} = \mathbb{Z}[\omega]O=Z[ω] divided by the 666 units, continued through a theta-type functional equation pair.

Formalization targets

Goal: Theorem 1.1 for ζ\zetaζ (quasi-Riemann hypothesis)

ℜs>7/8  ⟹  ζ(s)≠0.\Re s > 7/8 \implies \zeta(s) \ne 0 .ℜs>7/8⟹ζ(s)=0.

Milestone: Theorem 1.1 for Dirichlet LLL-functions

For every Dirichlet character χ\chiχ modulo q≥1q \ge 1q≥1 and every sss with ℜs>7/8\Re s > 7/8ℜs>7/8, L(s,χ)≠0L(s,\chi) \ne 0L(s,χ)=0, except at the pole s=1s = 1s=1 of a principal character.

Milestone: Theorem 1.1 for Hecke LLL-functions over Q(−3)\mathbb{Q}(\sqrt{-3})Q(−3​)

For every finite-order Hecke character η\etaη of F=Q(−3)F = \mathbb{Q}(\sqrt{-3})F=Q(−3​) and every sss with ℜs>7/8\Re s > 7/8ℜs>7/8, LF(s,η)≠0L_F(s,\eta) \ne 0LF​(s,η)=0, except at the pole s=1s = 1s=1 of a principal character.

The three statements are ordered from weakest to strongest; the proof in the preprint goes through the whole Hecke family even for ζ\zetaζ, because Poisson summation introduces Hecke twists of the target.

Significance

The result. A fixed zero-free half-plane would give power-saving error terms in the prime number theorem and in prime counts in arithmetic progressions, uniformly in the modulus, and would exclude Siegel zeros beyond 7/87/87/8. The preprint derives (Corollary 1.2) that the least quadratic nonresidue modulo ppp is O((log⁡p)A)O((\log p)^A)O((logp)A), proving Vinogradov's conjecture, and a deterministic polynomial-time square-root algorithm modulo primes.

Formalizing it. This is a claimed resolution of a long-standing question in an unrefereed preprint; a machine-checked proof would be strong independent verification. The goal uses only Mathlib definitions, so it cannot be weakened by a definitional choice. The Hecke milestone uses a custom LLL-function definition that must also be checked against the source.

Difficulty

Classical zero-free regions come from positivity arguments (the 3+4cos⁡θ+cos⁡2θ3 + 4\cos\theta + \cos 2\theta3+4cosθ+cos2θ inequality) that give regions of width c/log⁡(∣t∣+q)c/\log(|t|+q)c/log(∣t∣+q) shrinking to the line ℜs=1\Re s = 1ℜs=1; they cannot produce a fixed half-plane. Zero-density estimates bound the number of zeros to the right of a line but do not exclude every zero. The preprint instead continues reciprocals 1/L1/L1/L across a uniform distance by comparing two exact representations of a completed cubic-theta sum, with exponent margins independent of the target character.

Formalization scope

  • The goal: ∀ s : ℂ, 7/8 < s.re → riemannZeta s ≠ 0. Mathlib assigns ζ(1)\zeta(1)ζ(1) a finite nonzero value, so no pole exclusion is needed.
  • The Dirichlet milestone excludes exactly the case χ = 1 ∧ s = 1, where Mathlib's value is a junk value at the pole.
  • The Hecke milestone excludes χ.residue = 1 ∧ s = 1.
  • The boundary ℜs=7/8\Re s = 7/8ℜs=7/8 is not included.

The goal is not vacuous and cannot be satisfied by a convention: it is a statement about Mathlib's riemannZeta on an open half-plane.

Needed infrastructure: Hecke LLL-functions over imaginary quadratic fields and their functional equations, cubic and sextic residue symbols, Patterson's cubic theta coefficients, large sieve inequalities over Z[ω]\mathbb{Z}[\omega]Z[ω], and Mellin inversion. Contributions toward the 11/1211/1211/12 half-plane (Theorem 3.1) as an intermediate target are welcome.

Selected references

  • OpenAI, The Quasi-Riemann Hypothesis, OpenAI Math Release preprint, September 30, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/The-Quasi-Riemann-Hypothesis-September-30-2026/paper.pdf
  • B. Riemann, Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse, Monatsber. Königl. Preuss. Akad. Wiss. Berlin (1859).
  • J. Hadamard, Sur la distribution des zéros de la fonction ζ(s) et ses conséquences arithmétiques, Bull. Soc. Math. France 24 (1896).
  • E. Hecke, Eine neue Art von Zetafunktionen und ihre Beziehungen zur Verteilung der Primzahlen, Math. Z. 1 (1918).
  • J. B. Friedlander, D. A. Goldston, Sums of three or more primes, Trans. Amer. Math. Soc. 349 (1997).
  • K. Billington, M. Cheng, J. Schettler, A. I. Suriajaya, The average number of Goldbach representations and zero-free regions of the Riemann zeta-function, Int. J. Number Theory 21 (2025).
  • S. J. Patterson, A cubic analogue of the theta series, J. Reine Angew. Math. 296 (1977).
  • D. R. Heath-Brown, Kummer's conjecture for cubic Gauss sums, Israel J. Math. 120 (2000). https://doi.org/10.1007/s11856-000-1273-y
  • V. Blomer, L. Goldmakher, B. Louvel, L-functions with n-th-order twists, IMRN 2014.
  • L. Guth, J. Maynard, New large value estimates for Dirichlet polynomials, Ann. of Math. 203 (2026). https://doi.org/10.4007/annals.2026.203.2.6
  • T. Tao, The Elliott–Halberstam conjecture implies the Vinogradov least quadratic nonresidue conjecture, Algebra Number Theory 9 (2015).
13 thms2 active usersReviewed
ProbabilityTheoretical Computer Science·Captain: mikedeng1

On Lattices, Learning with Errors, Random Linear Codes, and Cryptography 5: If Every χ^⋆k Is Below ⌊p/2⌋/2 with Probability > 1 − δ, the Cryptosystem Decrypts Correctly with Probability ≥ 1 − δResearch Paper

Motivation

Learning with errors (LWE) asks to recover a secret vector s∈Zpns \in \mathbb Z_p^ns∈Zpn​ from noisy inner products (ai,⟨ai,s⟩+ei)(a_i, \langle a_i, s\rangle + e_i)(ai​,⟨ai​,s⟩+ei​), where the aia_iai​ are uniform and the errors eie_iei​ are drawn from a narrow distribution χ\chiχ on Zp\mathbb Z_pZp​. Regev introduced the problem and showed that solving it is at least as hard as solving worst-case lattice problems by a quantum algorithm (Regev 2009). The same paper uses LWE to build a public-key cryptosystem, the ancestor of most lattice-based encryption schemes in use today, including the schemes standardized by NIST in 2024 (ML-KEM, derived from Kyber).

A cryptosystem has two halves: security (an eavesdropper learns nothing about the plaintext) and correctness (the legitimate receiver recovers the plaintext). This mission is the correctness half of Regev's scheme: Lemma 5.1 of the paper, which converts a tail bound on the noise into a bound on the probability that decryption fails. The source is the published article, Journal of the ACM 56(6), Article 34 (2009). The paper's main theorem, a quantum reduction from lattice problems to LWE, is outside this series.

Setting

Fix an integer p≥2p \ge 2p≥2 and let Zp={0,1,…,p−1}\mathbb Z_p = \{0, 1, \dots, p-1\}Zp​={0,1,…,p−1} with addition modulo ppp. Fix integers n,m≥0n, m \ge 0n,m≥0 and a probability distribution χ\chiχ on Zp\mathbb Z_pZp​. All additions are in Zp\mathbb Z_pZp​, and ⟨a,s⟩=∑jajsj\langle a, s\rangle = \sum_j a_j s_j⟨a,s⟩=∑j​aj​sj​ for a,s∈Zpna, s \in \mathbb Z_p^na,s∈Zpn​.

  • Distance from zero. For a∈Zpa \in \mathbb Z_pa∈Zp​, ∣a∣|a|∣a∣ (absZ) is the integer aaa if a∈{0,…,⌊p/2⌋}a \in \{0, \dots, \lfloor p/2\rfloor\}a∈{0,…,⌊p/2⌋} and p−ap - ap−a otherwise.
  • Convolution powers. χ⋆k\chi^{\star k}χ⋆k (convPow χ k) is the law of the sum of kkk independent samples from χ\chiχ; χ⋆0\chi^{\star 0}χ⋆0 is the point mass at 000.
  • Private key. s∈Zpns \in \mathbb Z_p^ns∈Zpn​, chosen uniformly.
  • Public key. a1,…,am∈Zpna_1, \dots, a_m \in \mathbb Z_p^na1​,…,am​∈Zpn​ independent and uniform, e1,…,em∈Zpe_1, \dots, e_m \in \mathbb Z_pe1​,…,em​∈Zp​ independent with law χ\chiχ, and (ai,bi)i=1m(a_i, b_i)_{i=1}^m(ai​,bi​)i=1m​ with bi=⟨ai,s⟩+eib_i = \langle a_i, s\rangle + e_ibi​=⟨ai​,s⟩+ei​ (publicKey).
  • Encryption. A subset S⊆[m]S \subseteq [m]S⊆[m] is chosen uniformly among all 2m2^m2m subsets. The bit 000 is encrypted as (∑i∈Sai,∑i∈Sbi)\bigl(\sum_{i\in S} a_i, \sum_{i\in S} b_i\bigr)(∑i∈S​ai​,∑i∈S​bi​) and the bit 111 as (∑i∈Sai,⌊p/2⌋+∑i∈Sbi)\bigl(\sum_{i\in S} a_i, \lfloor p/2\rfloor + \sum_{i\in S} b_i\bigr)(∑i∈S​ai​,⌊p/2⌋+∑i∈S​bi​) (encrypt).
  • Decryption. A pair (a,b)(a, b)(a,b) decrypts to 000 if b−⟨a,s⟩b - \langle a, s\rangleb−⟨a,s⟩ is closer to 000 than to ⌊p/2⌋\lfloor p/2\rfloor⌊p/2⌋ modulo ppp, i.e. ∣b−⟨a,s⟩∣<∣b−⟨a,s⟩−⌊p/2⌋∣|b - \langle a, s\rangle| < |b - \langle a, s\rangle - \lfloor p/2\rfloor|∣b−⟨a,s⟩∣<∣b−⟨a,s⟩−⌊p/2⌋∣, and to 111 otherwise (decrypt, decodeResidue).

The outcome distribution outcome n m χ c of a bit ccc is the law of the decrypted bit when all of sss, a1,…,ama_1,\dots,a_ma1​,…,am​, e1,…,eme_1,\dots,e_me1​,…,em​ and SSS are drawn as above.

Formalization targets

Goal: Lemma 5.1 (Correctness), p. 34:35

Let δ>0\delta > 0δ>0 and assume that for every k∈{0,1,…,m}k \in \{0, 1, \dots, m\}k∈{0,1,…,m},

Pr⁡e∼χ⋆k[ ∣e∣<⌊p2⌋/2 ]>1−δ.\Pr_{e \sim \chi^{\star k}}\Bigl[\,|e| < \Bigl\lfloor \frac p2\Bigr\rfloor\Big/2\,\Bigr] > 1 - \delta .e∼χ⋆kPr​[∣e∣<⌊2p​⌋/2]>1−δ.

Then for each bit c∈{0,1}c \in \{0,1\}c∈{0,1},

Pr⁡[decryption of an encryption of c equals c]≥1−δ,\Pr[\text{decryption of an encryption of } c \text{ equals } c] \ge 1 - \delta ,Pr[decryption of an encryption of c equals c]≥1−δ,

the probability being over all the randomness of the protocol. The lemma has no hard-coded parameters: ppp, mmm, nnn, χ\chiχ and δ\deltaδ are arbitrary, and the paper's concrete choice (ppp prime in [n2,2n2][n^2, 2n^2][n2,2n2], χ=Ψˉα(n)\chi = \bar\Psi_{\alpha(n)}χ=Ψˉα(n)​) is supplied separately by Claim 5.2.

Milestones (proof of Lemma 5.1, p. 34:36)

  1. Residue identity. For an encryption (a,b)(a, b)(a,b) of 000, b−⟨a,s⟩=∑i∈Seib - \langle a, s\rangle = \sum_{i\in S} e_ib−⟨a,s⟩=∑i∈S​ei​; for an encryption of 111, b−⟨a,s⟩=⌊p/2⌋+∑i∈Seib - \langle a, s\rangle = \lfloor p/2\rfloor + \sum_{i\in S} e_ib−⟨a,s⟩=⌊p/2⌋+∑i∈S​ei​.
  2. Residue law. For a fixed SSS, ∑i∈Sei∼χ⋆∣S∣\sum_{i\in S} e_i \sim \chi^{\star |S|}∑i∈S​ei​∼χ⋆∣S∣.
  3. Rounding. If ∣x∣<⌊p/2⌋/2|x| < \lfloor p/2\rfloor/2∣x∣<⌊p/2⌋/2 then xxx is closer to 000 than to ⌊p/2⌋\lfloor p/2\rfloor⌊p/2⌋, so the residue xxx decrypts to 000 and the residue ⌊p/2⌋+x\lfloor p/2\rfloor + x⌊p/2⌋+x decrypts to 111.

Significance

The result. Lemma 5.1 is the interface between the noise distribution and the scheme: any bound on the tails of the convolution powers χ⋆k\chi^{\star k}χ⋆k, k≤mk \le mk≤m, gives a bound on the decryption error, independently of the security analysis. With Claim 5.2 it shows that the paper's parameters decrypt correctly except with negligible probability. The same template (residue equals accumulated noise; small noise rounds correctly) underlies the correctness proofs of essentially every later LWE-based encryption scheme.

Formalizing it. The result is proved in the paper and is elementary; it is not open. As far as is known, no machine-checked statement of Regev's scheme as a probability experiment exists on Prove2Me; related platform items concern a different scheme (a dual-Regev variant with deterministic noise bounds over an even modulus). The mission's contribution is a faithful, reusable definition of the cryptosystem as a probability experiment over all of its randomness, together with a proof of its correctness lemma. The definitions (the distance ∣⋅∣|\cdot|∣⋅∣ on Zp\mathbb Z_pZp​, convolution powers of a distribution on Zp\mathbb Z_pZp​, i.i.d. product distributions) are reusable by later missions on the security proof (Claim 5.3, Lemma 5.4) or on other LWE schemes.

Difficulty

The arithmetic is short; the work lies in the probability bookkeeping. The hypothesis controls the law of the noise for each fixed subset size, while the conclusion is about a single experiment in which SSS is random and independent of the errors, and the keys sss and aia_iai​ are random too. The step that needs care is identifying the law of ∑i∈Sei\sum_{i\in S} e_i∑i∈S​ei​ for a fixed SSS with χ⋆∣S∣\chi^{\star|S|}χ⋆∣S∣ from a product distribution, and then averaging over SSS; the uniform choices of sss and aia_iai​ must be shown not to affect the residue. A second point is the rounding step: ∣⋅∣|\cdot|∣⋅∣ is a cyclic distance on Zp\mathbb Z_pZp​, and the strict inequality ∣x∣<⌊p/2⌋/2|x| < \lfloor p/2\rfloor/2∣x∣<⌊p/2⌋/2 is sharp (at ∣x∣=⌊p/2⌋/2|x| = \lfloor p/2\rfloor/2∣x∣=⌊p/2⌋/2 the residue is equidistant and decrypts to 111), so odd and even ppp and ties must be handled exactly as printed.

Formalization scope

  • p:Np : \mathbb Np:N with [NeZero p] and the hypothesis 2≤p2 \le p2≤p (the paper defines Zp\mathbb Z_pZp​ for p≥2p \ge 2p≥2, p. 34:14). Primality, part of the paper's parameter choice, is not assumed: Lemma 5.1 does not use it.
  • Zp\mathbb Z_pZp​ is ZMod p, vectors are Fin n → ZMod p, ⟨a,s⟩\langle a, s\rangle⟨a,s⟩ is a ⬝ᵥ s, bits are Fin 2, and subsets of [m][m][m] are Finset (Fin m).
  • Distributions are PMFs. χ⋆k\chi^{\star k}χ⋆k is defined recursively by binds; the i.i.d. errors use the product PMF with mass ∏iχ(ei)\prod_i \chi(e_i)∏i​χ(ei​); uniform choices are PMF.uniformOfFintype. The experiment outcome n m χ c draws sss, then aaa, then eee, then SSS, all independently.
  • ∣a∣|a|∣a∣ is computed from the representative a.val; ⌊p/2⌋\lfloor p/2\rfloor⌊p/2⌋ is natural-number division p / 2; ⌊p/2⌋/2\lfloor p/2\rfloor/2⌊p/2⌋/2 is compared in R\mathbb RR, since it can be a half-integer.
  • Decryption ties (∣x∣=∣x−⌊p/2⌋∣|x| = |x - \lfloor p/2\rfloor|∣x∣=∣x−⌊p/2⌋∣) decrypt to 111, as printed ("Otherwise, the decryption is 1").
  • Probabilities in the goal are real numbers (toReal of PMF masses, exact because they are at most 111). The form ENNReal.ofReal (1 − δ) < Pr was rejected: for δ≥1\delta \ge 1δ≥1 it would add the hypothesis Pr⁡>0\Pr > 0Pr>0, which the page does not make.
  • The goal is not a statement about a fixed key, a fixed subset SSS or a fixed error vector: the probability is over all of sss, aia_iai​, eie_iei​ and SSS, and the hypothesis quantifies over every k∈{0,…,m}k \in \{0, \dots, m\}k∈{0,…,m}. A formalization conditioning on any of these would be a different (weaker) theorem. For k=0k = 0k=0 the hypothesis reads 1>1−δ1 > 1 - \delta1>1−δ, true for δ>0\delta > 0δ>0, so it imposes no hidden restriction.
  • No printed slip was found in Lemma 5.1 or its proof.

Contributions welcome: proofs of the three milestones and the goal; general lemmas on convolution powers and product distributions of PMFs on finite groups.

Selected references

  • O. Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, Journal of the ACM 56(6), Article 34, 2009. https://doi.org/10.1145/1568318.1568324
  • O. Regev, The Learning with Errors Problem, IEEE Conference on Computational Complexity (invited survey), 2010. https://doi.org/10.1109/CCC.2010.26
  • NIST, Module-Lattice-Based Key-Encapsulation Mechanism Standard, FIPS 203, 2024. https://doi.org/10.6028/NIST.FIPS.203
5 thms2 active usersReviewed
🏆Completed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

A New Class of Random Number Generators 1: For Prime m = bʳ + bˢ − 1, Every Nontrivial Add-with-Carry Sequence Is Periodic After r Steps, with Period the Order of b mod mResearch Paper

Why add-with-carry generators

Simulation, Monte Carlo integration and randomized algorithms consume long streams of numbers that should behave like independent uniform draws. A deterministic generator with finite state is eventually periodic, so its period is the first figure of merit: a stream cannot be longer than its cycle. G. Marsaglia and A. Zaman, A new class of random number generators (Ann. Appl. Probab. 1 (1991)), introduced the add-with-carry and subtract-with-borrow generators. They keep rrr machine words plus one carry bit, use only additions or subtractions of words, and still reach periods such as 26402^{640}2640 when the base bbb is near 2322^{32}232 (p. 465). The paper's mechanism for this is number-theoretic: the generated digits are the base-bbb digits of a fraction k/mk/mk/m written backwards, so the period of the generator is the period of a repeating base-bbb expansion, i.e. the multiplicative order of bbb modulo mmm.

Generators of this family were used widely in the following decades (Lüscher's RANLUX generator in lattice field theory is built on subtract-with-borrow), and later work showed that they are equivalent to linear congruential generators with modulus mmm (Tezuka, L'Ecuyer and Couture 1993). This mission treats the add-with-carry generator. A companion mission treats subtract-with-borrow.

Setting

Fix a base b≥2b \ge 2b≥2 and two lags rrr and sss with 0<s<r0 < s < r0<s<r. A state (or seed vector) is

x=(x1,x2,…,xr,c),x = (x_1, x_2, \dots, x_r, c),x=(x1​,x2​,…,xr​,c),

where each xi∈{0,1,…,b−1}x_i \in \{0, 1, \dots, b-1\}xi​∈{0,1,…,b−1} is a base-bbb digit and c∈{0,1}c \in \{0, 1\}c∈{0,1} is the carry bit. The digit x1x_1x1​ is the oldest one. The add-with-carry map fff (p. 465) is

f(x1,…,xr,c)={(x2,…,xr, xr+1−s+x1+c, 0)if xr+1−s+x1+c<b,(x2,…,xr, xr+1−s+x1+c−b, 1)if xr+1−s+x1+c≥b,f(x_1, \dots, x_r, c) = \begin{cases} (x_2, \dots, x_r,\ x_{r+1-s} + x_1 + c,\ 0) & \text{if } x_{r+1-s} + x_1 + c < b,\\ (x_2, \dots, x_r,\ x_{r+1-s} + x_1 + c - b,\ 1) & \text{if } x_{r+1-s} + x_1 + c \ge b, \end{cases}f(x1​,…,xr​,c)={(x2​,…,xr​, xr+1−s​+x1​+c, 0)(x2​,…,xr​, xr+1−s​+x1​+c−b, 1)​if xr+1−s​+x1​+c<b,if xr+1−s​+x1​+c≥b,​

and the generated sequence of a seed xxx is x,f(x),f2(x),…x, f(x), f^2(x), \dotsx,f(x),f2(x),…. Reading off the last digit of each state gives a digit stream x1,…,xr,xr+1,xr+2,…x_1, \dots, x_r, x_{r+1}, x_{r+2}, \dotsx1​,…,xr​,xr+1​,xr+2​,… obeying xn=xn−r+xn−s+c mod bx_n = x_{n-r} + x_{n-s} + c \bmod bxn​=xn−r​+xn−s​+cmodb, with the carry updated at each step. The two trivial seeds are (0,…,0,0)(0, \dots, 0, 0)(0,…,0,0) and (b−1,…,b−1,1)(b-1, \dots, b-1, 1)(b−1,…,b−1,1). The modulus of the generator is

m=br+bs−1.m = b^r + b^s - 1 .m=br+bs−1.

For 0≤k<m0 \le k < m0≤k<m and j≥1j \ge 1j≥1, the jjj-th base-bbb digit of k/mk/mk/m after the point is dj(k/m)=⌊b⋅(bj−1k mod m)/m⌋d_j(k/m) = \lfloor b \cdot (b^{j-1} k \bmod m) / m \rfloordj​(k/m)=⌊b⋅(bj−1kmodm)/m⌋. The order ord⁡m(b)\operatorname{ord}_m(b)ordm​(b) is the least p≥1p \ge 1p≥1 with bp≡1(modm)b^p \equiv 1 \pmod mbp≡1(modm), and bbb is a primitive root of a prime mmm when ord⁡m(b)=m−1\operatorname{ord}_m(b) = m - 1ordm​(b)=m−1.

Formalization targets

Goal: the period is the order of bbb

Let m=br+bs−1m = b^r + b^s - 1m=br+bs−1 be prime, and let xxx be any seed other than the two trivial seeds. Then fr(x)f^r(x)fr(x) is a periodic point of fff and

min⁡{p≥1:fp(fr(x))=fr(x)}=ord⁡m(b).\min\{p \ge 1 : f^{p}(f^{r}(x)) = f^{r}(x)\} = \operatorname{ord}_m(b).min{p≥1:fp(fr(x))=fr(x)}=ordm​(b).

This is the italic summary of p. 472 ("whatever the seed vector, except for the two trivial seeds, the add-with-carry and subtract-with-borrow sequences become periodic after a few iterations of the generating function, and the periods are the order of the base bbb for the appropriate modulus"), with the claim of §4.2 (p. 467) and its proof (p. 468). The goal fixes no particular bbb, rrr, sss and does not assume that bbb is a primitive root. When it is, the period is br+bs−2b^r + b^s - 2br+bs−2, the value announced in §2.

Milestones

  1. §4.1 (p. 467): for gcd⁡(k,m)=gcd⁡(b,m)=1\gcd(k, m) = \gcd(b, m) = 1gcd(k,m)=gcd(b,m)=1, p>0p > 0p>0 is a period of the base-bbb expansion of k/mk/mk/m iff ord⁡m(b)∣p\operatorname{ord}_m(b) \mid pordm​(b)∣p.
  2. §4.1 (p. 467): if bbb is a primitive root of the prime mmm, every proper fraction k/mk/mk/m has least period m−1m - 1m−1.
  3. p. 472: f(x)=xf(x) = xf(x)=x iff xxx is a trivial seed.
  4. p. 472: fr(x)f^r(x)fr(x) is periodic for every seed.
  5. §4.2 (p. 468): for every seed other than (b−1,…,b−1,1)(b-1, \dots, b-1, 1)(b−1,…,b−1,1) and every CCC, there is 0≤k<m0 \le k < m0≤k<m, positive iff the seed is nonzero, with
xn=dC+1−n(k/m)(r+1≤n≤C).x_n = d_{C+1-n}(k/m) \qquad (r + 1 \le n \le C).xn​=dC+1−n​(k/m)(r+1≤n≤C).
  1. p. 472, Method 3: xxx is periodic iff c=0c = 0c=0 and xr⋯xs+1≥xr−s⋯x1x_r \cdots x_{s+1} \ge x_{r-s} \cdots x_1xr​⋯xs+1​≥xr−s​⋯x1​, or c=1c = 1c=1 and xr⋯xs+1≤xr−s⋯x1x_r \cdots x_{s+1} \le x_{r-s} \cdots x_1xr​⋯xs+1​≤xr−s​⋯x1​ (digit strings read as base-bbb integers).
  2. §2 (p. 465): the instance b=10b = 10b=10, r=2r = 2r=2, s=1s = 1s=1, period 108108108.
  3. §7 (p. 477): the instance b=6b = 6b=6, r=21r = 21r=21, s=2s = 2s=2, period 621+62−26^{21} + 6^2 - 2621+62−2.

Significance

The result. The goal reduces the period of the generator, a property of a dynamical system on 2br2b^r2br states, to the multiplicative order of one residue. That is the computation the paper performs in §6 to certify its recommended generators, and it is how one chooses b,r,sb, r, sb,r,s: search for primes m=br+bs−1m = b^r + b^s - 1m=br+bs−1 and check the order of bbb. Milestone 5 is stronger than the goal. It needs no primality and identifies the whole output stream, not only its period, with the expansion of a fraction. That identification is what later work used to relate carry generators to linear congruential generators with modulus mmm. Milestone 6 answers the paper's "periodic seed" puzzle: it says exactly which seeds lie on their own cycle.

Formalizing it. The results are proved in the paper, the general §4.1 facts are classical, and the method-specific rules of §4.5 (milestone 6) are stated there without proof. None of it is machine-checked on Prove2Me or, to our knowledge, in Mathlib, which has orderOf and ZMod but no theory of base-bbb expansions of rationals. The mission produces a checked link from a concrete integer recurrence to modular arithmetic. That link can serve as a template for other carry-based and lagged generators.

Difficulty

The obvious argument says the digit recurrence is linear, so the period divides something like the order of a companion matrix. This fails because of the carry: fff is not linear over Z/b\mathbb{Z}/bZ/b, and the state (x1,…,xr,c)(x_1, \dots, x_r, c)(x1​,…,xr​,c) does not live in a group in any evident way. The link to the order of bbb modulo mmm goes through an identity between a finite digit string and a fraction (milestone 5). Stating it with exact indices is itself delicate: the digits run in reverse order, the fraction depends on the string's length, and the trivial seed (b−1,…,b−1,1)(b-1, \dots, b-1, 1)(b−1,…,b−1,1), whose digits are those of m/m=1m/m = 1m/m=1, has to be excluded.

A second difficulty is the preperiod. A seed need not lie on its own cycle (p. 472), so the period must be measured after the transient. Bounding that transient by rrr (milestone 4) and characterising the periodic seeds (milestone 6) are separate combinatorial facts about the carry. The paper states the second without proof.

Formalization scope

  • Representation. All declarations are in namespace CarryRNG.AWC. Lags are a structure Lags with fields r, s and proofs of 0<s0 < s0<s and s<rs < rs<r. A state is a structure with digits x : Fin r → Fin b and carry c : Fin 2, so c≤1c \le 1c≤1 holds by typing. Lean index iii is the paper's xi+1x_{i+1}xi+1​: x 0 is x1x_1x1​ (the digit the step drops), and the partner digit xr+1−sx_{r+1-s}xr+1−s​ is index r−sr - sr−s. step is defined directly from the two-case formula of p. 465, not through k/mk/mk/m. The digit stream out is one-based: the seed digits for n≤rn \le rn≤r, then the last digit of f n−r(x)f^{\,n-r}(x)fn−r(x). digit b m k j is the exact integer formula above, used for j≥1j \ge 1j≥1 only.
  • Period. "The period" is Mathlib's Function.minimalPeriod. It is 000 at non-periodic points, so the goal's equation with the positive ord⁡m(b)\operatorname{ord}_m(b)ordm​(b) also asserts periodicity. A divisibility or inequality form would be vacuous and is not used. For digit sequences, "period LLL" is stated as "p>0p > 0p>0 is a period iff L∣pL \mid pL∣p".
  • Quantifier readings. "With appropriately chosen base bbb, lags rrr and sss and seed vector xxx" (p. 465) is read as: mmm prime and xxx not a trivial seed, following p. 468 ("Making mmm a prime ensures this") and p. 472. "After a few iterations" is "after at most rrr", the paper's own bound (p. 472), so the goal is stated at fr(x)f^r(x)fr(x). In milestone 5 the fraction kkk depends on the length CCC of the finite string, as in the paper's "arbitrarily long finite string". In milestone 8, "for any set of 21 seed digits" is stated at f21(x)f^{21}(x)f21(x) for the same reason.
  • Corrected misprints. p. 465 prints the second trivial seed as "(9, 9, 9)"; the last entry is the carry, so milestone 7 excludes (9,9,1)(9, 9, 1)(9,9,1). p. 473, example (a), prints the Method 3 inequalities reversed; milestone 6 follows p. 472, which exhaustive checks on small parameters confirm. p. 478 repeats the die period with "− 1" for "− 2"; milestone 8 quotes p. 477.
  • Ruled-out trivializations. The goal is not "some period divides m−1m - 1m−1" and not "every orbit is eventually periodic". Both hold for any self-map of a finite set or are vacuous. The trivial seeds are named states, not excluded by an assumption such as f(x)≠xf(x) \neq xf(x)=x.
  • Infrastructure and contributions. Needed: periods of base-bbb expansions of rationals (milestones 1–2, reusable beyond this mission) and finite-dynamics facts about minimalPeriod along an orbit. Proofs of any milestone are welcome, as are primality and order certificates for milestone 8 as separate lemmas.

Selected references

  • G. Marsaglia and A. Zaman, A new class of random number generators, Ann. Appl. Probab. 1(3) (1991), 462–480. https://doi.org/10.1214/aoap/1177005878
  • S. Tezuka, P. L'Ecuyer and R. Couture, On the lattice structure of the add-with-carry and subtract-with-borrow random number generators, ACM Trans. Model. Comput. Simul. 3(4) (1993), 315–331. https://doi.org/10.1145/159737.159749
  • R. Couture and P. L'Ecuyer, Distribution properties of multiply-with-carry random number generators, Math. Comp. 66 (1997), 591–607. https://doi.org/10.1090/S0025-5718-97-00827-2
  • M. Lüscher, A portable high-quality random number generator for lattice field theory simulations, Comput. Phys. Commun. 79 (1994), 100–110. https://doi.org/10.1016/0010-4655(94)90232-1
17 thms2 active usersReviewed
🏆Completed
Linear algebra·Captain: mikedeng1

Factoring Polynomials with Rational Coefficients I: A Reduced Lattice Basis Satisfies |b_j|² ≤ 2^{n−1}·max|x_i|² for Any t Linearly Independent Lattice VectorsResearch Paper

Motivation

A lattice in Rn\mathbb R^nRn is the set of integer combinations of nnn linearly independent vectors. Many problems in algorithmic number theory, cryptography and integer programming reduce to finding a short nonzero vector of a lattice, or a few short independent ones. Finding the shortest vector exactly is hard, but in 1982 A. K. Lenstra, H. W. Lenstra, Jr. and L. Lovász introduced a notion of reduced basis that can be computed in polynomial time and whose vectors are provably short up to a factor depending only on the dimension (Lenstra, Lenstra, Lovász 1982). Their paper used it to factor polynomials in Q[X]\mathbb Q[X]Q[X] in polynomial time; the same reduction (now called LLL) became a standard tool for simultaneous Diophantine approximation (the paper's own (1.39)), for H. W. Lenstra's integer programming algorithm in fixed dimension (Lenstra 1983), and for cryptanalysis of knapsack and RSA variants.

What makes a reduced basis useful is a set of explicit inequalities proved in Section 1 of the paper, before any algorithm appears. They compare the lengths of the basis vectors with the lattice determinant and with arbitrary lattice vectors, with constants such as 2n−12^{n-1}2n−1 and 2n(n−1)/42^{n(n-1)/4}2n(n−1)/4. This mission formalizes those inequalities.

Setting

Let n≥1n\ge1n≥1 and let ( ⋅ , ⋅ )(\,\cdot\,,\,\cdot\,)(⋅,⋅) and ∣⋅∣|\cdot|∣⋅∣ be the ordinary inner product and Euclidean length on Rn\mathbb R^nRn. Vectors b1,…,bn∈Rnb_1,\ldots,b_n\in\mathbb R^nb1​,…,bn​∈Rn form a basis for a lattice LLL when they are linearly independent over R\mathbb RR and L=∑i=1nZbiL=\sum_{i=1}^n\mathbb Z b_iL=∑i=1n​Zbi​. The determinant of LLL is

d(L)=∣det⁡(b1,b2,…,bn)∣,d(L)=|\det(b_1,b_2,\ldots,b_n)|,d(L)=∣det(b1​,b2​,…,bn​)∣,

the bib_ibi​ written as columns (1.1). The Gram–Schmidt vectors bi∗b_i^*bi∗​ and coefficients μij\mu_{ij}μij​ (1≤j<i≤n1\le j<i\le n1≤j<i≤n) are defined inductively by

bi∗=bi−∑j=1i−1μijbj∗,μij=(bi,bj∗)(bj∗,bj∗)(1.2),(1.3);b_i^*=b_i-\sum_{j=1}^{i-1}\mu_{ij}b_j^*,\qquad \mu_{ij}=\frac{(b_i,b_j^*)}{(b_j^*,b_j^*)}\qquad(1.2),(1.3);bi∗​=bi​−j=1∑i−1​μij​bj∗​,μij​=(bj∗​,bj∗​)(bi​,bj∗​)​(1.2),(1.3);

the bi∗b_i^*bi∗​ are pairwise orthogonal and not normalised. The basis is reduced if

∣μij∣≤12(1≤j<i≤n)(1.4)|\mu_{ij}|\le\tfrac12\quad(1\le j<i\le n)\qquad(1.4)∣μij​∣≤21​(1≤j<i≤n)(1.4)

and

∣bi∗+μi i−1bi−1∗∣2≥34∣bi−1∗∣2(1<i≤n)(1.5).|b_i^*+\mu_{i\,i-1}b_{i-1}^*|^2\ge\tfrac34|b_{i-1}^*|^2\quad(1<i\le n)\qquad(1.5).∣bi∗​+μii−1​bi−1∗​∣2≥43​∣bi−1∗​∣2(1<i≤n)(1.5).

The first condition is a size condition on the coefficients; the second (the Lovász condition) says that swapping bi−1b_{i-1}bi−1​ and bib_ibi​ would not shrink the (i−1)(i-1)(i−1)-th Gram–Schmidt length by more than the factor 34\frac3443​ (pp. 516–517).

Formalization targets

Goal: Proposition (1.12), p. 518

Let b1,…,bnb_1,\ldots,b_nb1​,…,bn​ be a reduced basis for LLL and let x1,…,xt∈Lx_1,\ldots,x_t\in Lx1​,…,xt​∈L be linearly independent. Then

∣bj∣2≤2n−1⋅max⁡{∣x1∣2,∣x2∣2,…,∣xt∣2}(j=1,…,t).|b_j|^2\le 2^{n-1}\cdot\max\{|x_1|^2,|x_2|^2,\ldots,|x_t|^2\}\qquad (j=1,\ldots,t).∣bj​∣2≤2n−1⋅max{∣x1​∣2,∣x2​∣2,…,∣xt​∣2}(j=1,…,t).

The statement quantifies over every reduced basis and every independent family of lattice vectors. Its case t=1t=1t=1 is Proposition (1.11).

Milestones

In the order of the paper's proofs (pp. 517–518):

  1. ∣bi∗∣2≥(34−μi i−12)∣bi−1∗∣2≥12∣bi−1∗∣2|b_i^*|^2\ge(\frac34-\mu_{i\,i-1}^2)|b_{i-1}^*|^2\ge\frac12|b_{i-1}^*|^2∣bi∗​∣2≥(43​−μii−12​)∣bi−1∗​∣2≥21​∣bi−1∗​∣2 for 1<i≤n1<i\le n1<i≤n (proof of (1.6));
  2. ∣bj∗∣2≤2i−j∣bi∗∣2|b_j^*|^2\le 2^{i-j}|b_i^*|^2∣bj∗​∣2≤2i−j∣bi∗​∣2 for 1≤j≤i≤n1\le j\le i\le n1≤j≤i≤n (proof of (1.6));
  3. ∣bi∣2=∣bi∗∣2+∑j<iμij2∣bj∗∣2≤2i−1∣bi∗∣2|b_i|^2=|b_i^*|^2+\sum_{j<i}\mu_{ij}^2|b_j^*|^2\le 2^{i-1}|b_i^*|^2∣bi​∣2=∣bi∗​∣2+∑j<i​μij2​∣bj∗​∣2≤2i−1∣bi∗​∣2 (proof of (1.6));
  4. (1.7): ∣bj∣2≤2i−1∣bi∗∣2|b_j|^2\le 2^{i-1}|b_i^*|^2∣bj​∣2≤2i−1∣bi∗​∣2 for 1≤j≤i≤n1\le j\le i\le n1≤j≤i≤n;
  5. if x=∑lrlblx=\sum_l r_lb_lx=∑l​rl​bl​ with rl∈Zr_l\in\mathbb Zrl​∈Z and iii is the largest index with ri≠0r_i\ne0ri​=0, then ∣x∣2≥∣bi∗∣2|x|^2\ge|b_i^*|^2∣x∣2≥∣bi∗​∣2 (proof of (1.11), reused as (1.13));
  6. (1.11): ∣b1∣2≤2n−1∣x∣2|b_1|^2\le 2^{n-1}|x|^2∣b1​∣2≤2n−1∣x∣2 for every nonzero x∈Lx\in Lx∈L.

Companion statements

The rest of Proposition (1.6) and the remark after it: d(L)=∏i∣bi∗∣d(L)=\prod_i|b_i^*|d(L)=∏i​∣bi∗​∣ (proof of (1.6)); (1.8) d(L)≤∏i∣bi∣≤2n(n−1)/4d(L)d(L)\le\prod_i|b_i|\le 2^{n(n-1)/4}d(L)d(L)≤∏i​∣bi​∣≤2n(n−1)/4d(L); (1.9) ∣b1∣≤2(n−1)/4d(L)1/n|b_1|\le 2^{(n-1)/4}d(L)^{1/n}∣b1​∣≤2(n−1)/4d(L)1/n; and Hadamard's inequality (1.10) d(L)≤∏i∣bi∣d(L)\le\prod_i|b_i|d(L)≤∏i​∣bi​∣ for an arbitrary basis.

Significance

Proposition (1.11) says the first vector of a reduced basis approximates a shortest nonzero lattice vector within the factor 2(n−1)/22^{(n-1)/2}2(n−1)/2; (1.12) extends this to all of the first ttt basis vectors, so that ∣bj∣2|b_j|^2∣bj​∣2 is within 2n−12^{n-1}2n−1 of the jjj-th successive minimum of LLL (the remark after (1.12)). These are the guarantees on which the paper's factoring algorithm rests: in Section 2 a reduced basis of a lattice built from a ppp-adic factor yields, through (1.11) and (1.12), an irreducible factor of the polynomial. Inequality (1.9) gives simultaneous Diophantine approximation in polynomial time, and (1.8) bounds how far a reduced basis is from orthogonal.

All of these results are proved in the paper and in textbooks. Verified LLL developments exist in Isabelle/HOL (Bottesch et al., A verified LLL algorithm, AFP 2018), but Mathlib, the library this platform builds on, has neither the reduced-basis predicate of (1.4)–(1.5) nor these bounds. A Lean development produces a reusable definition layer for lattices with the paper's conventions, Gram–Schmidt length estimates, and Hadamard's inequality in determinant form, which the other missions of this series (the reduction algorithm and the factoring application) build on.

Difficulty

The estimates on Gram–Schmidt lengths are single-variable inductions once (1.5) has been rewritten using orthogonality. The step that does not follow from a direct estimate is (1.12): the vectors x1,…,xtx_1,\ldots,x_tx1​,…,xt​ are arbitrary independent lattice vectors with no relation to the basis order, so a bound on each ∣xj∣|x_j|∣xj​∣ by a single Gram–Schmidt length does not by itself say which bjb_jbj​ it controls. A naive argument that pairs xjx_jxj​ with bjb_jbj​ fails. The determinant statements need the link between Mathlib's matrix determinant of the columns bib_ibi​ and the Gram–Schmidt lengths, which Mathlib does not state in this form.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n) (abbreviated Vec n), a basis is a family b : Fin n → Vec n, the lattice is Submodule.span ℤ (Set.range b), and "basis for LLL" is linear independence over R\mathbb RR together with equality of that span with LLL. The vectors bi∗b_i^*bi∗​ are Mathlib's unnormalised InnerProductSpace.gramSchmidt, and μij\mu_{ij}μij​ is (1.3) verbatim. d(L)d(L)d(L) is the absolute determinant of the column matrix; it is not defined as ∏∣bi∗∣\prod|b_i^*|∏∣bi∗​∣, which would make the first companion statement true by definition. Section 1 begins "Let nnn be a positive integer", so every statement carries 0<n0<n0<n.

Lean indices run from 000 to n−1n-1n−1: the paper's bib_ibi​ is Lean's b ⟨i-1, _⟩, an exponent 2i−12^{i-1}2i−1 at paper index iii is 2i2^i2i at Lean index iii, and the pair (i−1,i)(i-1,i)(i−1,i) of (1.5) is (i,i+1)(i,i+1)(i,i+1). Exponents n(n−1)/4n(n-1)/4n(n−1)/4, (n−1)/4(n-1)/4(n−1)/4 and 1/n1/n1/n are real powers. The maximum in (1.12) is a Finset.sup' over the nonempty index set of the xjx_jxj​, and the statement is empty at t=0t=0t=0, as on the page.

Every statement about a reduced basis also assumes linear independence: the reducedness inequalities alone hold for degenerate dependent families, whose Gram–Schmidt vectors vanish, and would make the targets trivial. The goal does not assume (1.7), (1.13) or any ordering of the xjx_jxj​; those appear only as milestones. Proofs of the milestones and companions, and general lemmas on Gram–Schmidt and determinants that would belong in Mathlib, are welcome.

Selected references

  • A. K. Lenstra, H. W. Lenstra, Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261, 515–534, 1982. https://doi.org/10.1007/BF01457454
  • H. W. Lenstra, Jr., Integer programming with a fixed number of variables, Mathematics of Operations Research 8(4), 538–548, 1983. https://doi.org/10.1287/moor.8.4.538
  • R. Bottesch, J. Divasón, M. Haslbeck, S. Joosten, R. Thiemann, A. Yamada, A verified LLL algorithm, Archive of Formal Proofs, 2018. https://www.isa-afp.org/entries/LLL_Basis_Reduction.html
8 thms2 active usersReviewed
Discrete GeometryLinear OptimizationOperations Research·Captain: mikedeng1

Integer Programming with a Fixed Number of Variables 1: If B(p,r) ⊂ τK ⊂ B(p,R) with R/r ≤ c₁ and τK Misses the Lattice, Fewer Than 1 + c₁c₂√n Lattice Hyperplanes H + kbₙ Meet B(p,R)Research Paper

Motivation

The integer linear programming feasibility problem asks, for an integer m×nm\times nm×n matrix AAA and b∈Zmb\in\mathbb Z^mb∈Zm, whether some x∈Znx\in\mathbb Z^nx∈Zn satisfies Ax≤bAx\le bAx≤b. It is NP-complete, so no algorithm polynomial in the length of the data is expected. H. W. Lenstra, Jr. (Math. Oper. Res. 8 (1983) 538–548) showed that the picture changes when the number of variables nnn is fixed: the problem is then solvable in polynomial time. The proof is a short argument from the geometry of numbers, and it became the starting point of lattice methods in integer programming, including Kannan's improved algorithm and the later flatness-based branching schemes.

Lenstra's introduction (p. 538) describes the idea as transforming the problem into an equivalent one in which "either the existence of a vector x∈Znx \in \mathbb Z^nx∈Zn satisfying Ax≤bAx \le bAx≤b is obvious; or it is known that the last coordinate of any such xxx belongs to an interval whose length is bounded by a constant only depending on nnn." This mission formalizes the geometric statement behind that dichotomy, §1 of the paper.

Timeline. For n=2n = 2n=2, Hirschberg and Wong and Kannan gave polynomial algorithms in special cases, and Scarf treated the case n=2n=2n=2 completely; the case of general fixed nnn was conjectured by Hirschberg–Wong and Scarf (as recounted on p. 538). Lenstra's paper (received 1981, published 1983) settled the conjecture. Its lattice reduction step uses the algorithm of Lenstra, Lenstra and Lovász (1982). Kannan (1987) later reduced the dependence on nnn to nO(n)n^{O(n)}nO(n).

Setting

Work in Rn\mathbb R^nRn with the Euclidean length ∣⋅∣|\cdot|∣⋅∣, and write B(p,z)={x∈Rn:∣x−p∣≤z}B(p,z)=\{x\in\mathbb R^n : |x-p|\le z\}B(p,z)={x∈Rn:∣x−p∣≤z} for the closed ball with centre ppp and radius z>0z>0z>0.

A lattice is L=∑i=1nZbiL=\sum_{i=1}^n \mathbb Z b_iL=∑i=1n​Zbi​ for a basis b1,…,bnb_1,\dots,b_nb1​,…,bn​ of Rn\mathbb R^nRn. Its determinant d(L)=∣det⁡(b1,…,bn)∣d(L)=|\det(b_1,\dots,b_n)|d(L)=∣det(b1​,…,bn​)∣ (the bib_ibi​ as columns) is the volume of the parallelepiped ∑i[0,1) bi\sum_i[0,1)\,b_i∑i​[0,1)bi​ and does not depend on the basis. Hadamard's inequality (6) says d(L)≤∏i∣bi∣d(L)\le\prod_i|b_i|d(L)≤∏i​∣bi​∣. A basis is reduced in Lenstra's sense if, for a constant c2c_2c2​ depending only on nnn,

∏i=1n∣bi∣≤c2⋅d(L).(7)\prod_{i=1}^n |b_i| \le c_2\cdot d(L). \tag{7}i=1∏n​∣bi​∣≤c2​⋅d(L).(7)

Singling out bnb_nbn​, let H=∑i=1n−1RbiH=\sum_{i=1}^{n-1}\mathbb R b_iH=∑i=1n−1​Rbi​ be the hyperplane spanned by the other vectors, L′=∑i=1n−1ZbiL'=\sum_{i=1}^{n-1}\mathbb Z b_iL′=∑i=1n−1​Zbi​ the lattice inside it, and hhh the distance of bnb_nbn​ to HHH. Then L⊂⋃k∈Z(H+kbn)L\subset\bigcup_{k\in\mathbb Z}(H+kb_n)L⊂⋃k∈Z​(H+kbn​): the lattice lies on a family of parallel hyperplanes H+kbnH + kb_nH+kbn​ at successive distance hhh.

In the paper, K={x:Ax≤b}K=\{x : Ax\le b\}K={x:Ax≤b} is bounded with positive volume, and a linear map τ\tauτ makes it "round":

B(p,r)⊂τK⊂B(p,R)(3),R/r≤c1(4),B(p,r)\subset\tau K\subset B(p,R)\quad(3),\qquad R/r\le c_1\quad(4),B(p,r)⊂τK⊂B(p,R)(3),R/r≤c1​(4),

with c1c_1c1​ depending only on nnn. Then K∩Zn=∅K\cap\mathbb Z^n=\emptysetK∩Zn=∅ if and only if τK∩L=∅\tau K\cap L=\emptysetτK∩L=∅ for L=τZnL=\tau\mathbb Z^nL=τZn, a lattice with basis bi=τ(ei)b_i=\tau(e_i)bi​=τ(ei​).

Formalization targets

Goal (§1, p. 541)

Let b1,…,bnb_1,\dots,b_nb1​,…,bn​ be a basis with (7), numbered so that ∣bn∣=max⁡i∣bi∣|b_n|=\max_i|b_i|∣bn​∣=maxi​∣bi​∣, and let τK\tau KτK satisfy (3) and (4). Then

τK∩L≠∅ort−1<c1c2n,\tau K\cap L\neq\emptyset\quad\text{or}\quad t-1<c_1c_2\sqrt n,τK∩L=∅ort−1<c1​c2​n​,

where ttt is the number of hyperplanes H+kbnH+kb_nH+kbn​, k∈Zk\in\mathbb Zk∈Z, that meet B(p,R)B(p,R)B(p,R) (finiteness included).

Milestones, in the order the paper uses them

  1. LEMMA (8), p. 540: every xxx has y∈Ly\in Ly∈L with ∣x−y∣2≤14(∣b1∣2+⋯+∣bn∣2)|x-y|^2\le\frac14(|b_1|^2+\cdots+|b_n|^2)∣x−y∣2≤41​(∣b1​∣2+⋯+∣bn​∣2).
  2. (10), p. 540: if ∣bn∣|b_n|∣bn​∣ is maximal, ∣x−y∣≤12n ∣bn∣|x-y|\le\frac12\sqrt n\,|b_n|∣x−y∣≤21​n​∣bn​∣.
  3. (11), p. 540: d(L)=h⋅d(L′)d(L)=h\cdot d(L')d(L)=h⋅d(L′).
  4. (12), pp. 540–541: under (7), c2−1∣bn∣≤h≤∣bn∣c_2^{-1}|b_n|\le h\le|b_n|c2−1​∣bn​∣≤h≤∣bn​∣.
  5. p. 541: if B(p,r)⊂τKB(p,r)\subset\tau KB(p,r)⊂τK and τK∩L=∅\tau K\cap L=\emptysetτK∩L=∅, then r<12n ∣bn∣r<\frac12\sqrt n\,|b_n|r<21​n​∣bn​∣.
  6. p. 541: if precisely ttt hyperplanes H+kbnH+kb_nH+kbn​ meet B(p,R)B(p,R)B(p,R), then t−1≤2R/ht-1\le 2R/ht−1≤2R/h.

The goal leaves c1c_1c1​ and c2c_2c2​ free, so it remains valid for any reduction algorithm and any rounding procedure; the companion mission (Integer Programming with a Fixed Number of Variables 2) supplies c1=2n3/2c_1 = 2n^{3/2}c1​=2n3/2, and the LLL algorithm supplies c2=2n(n−1)/4c_2=2^{n(n-1)/4}c2​=2n(n−1)/4.

Significance

The result. The goal is the branching step of Lenstra's algorithm. It says that a lattice-point-free convex body that is well rounded is "flat" in the lattice direction dual to HHH: only boundedly many lattice hyperplanes meet it. The search for a lattice point in dimension nnn therefore reduces to fewer than 1+c1c2n1+c_1c_2\sqrt n1+c1​c2​n​ searches in dimension n−1n-1n−1, which with nnn fixed gives polynomial running time. Sharper forms of the same dichotomy, such as Kannan's bounds, are the basis of later lattice-based integer programming algorithms.

Formalizing it. The results are classical and proved on paper; to our knowledge none of the statements of §1 is machine-checked. Hadamard's inequality (6) is in Mathlib (Orientation.abs_volumeForm_apply_le). The published platform theorem KannanLattice.Core.exists_lattice_point_near_projection (Kannan 1987, Proposition 4.2) proves a stronger form of (8) and (10), with Gram–Schmidt lengths in place of ∣bi∣|b_i|∣bi​∣; for L=ZnL=\mathbb Z^nL=Zn, (10) is the published QFS.exists_lattice_mem_closedBall. What remains is the "base times height" identity (11) relating a full-rank determinant to the distance of a vector from a hyperplane, the spacing bound (12), the count of hyperplanes meeting a ball, and their assembly. This is one of the two geometric ingredients of Lenstra's polynomial algorithm; the algorithm itself and its running time are not formalized.

Difficulty

The argument is short on paper, and each step is "clear" there. The work lies in connecting three descriptions of the same geometry that Mathlib keeps apart: the determinant of a coordinate matrix (d(L)d(L)d(L)), the metric distance of a point to a subspace (hhh), and the (n−1)(n-1)(n−1)-dimensional volume of L′L'L′. Identity (11) needs exactly this bridge, and (12) needs Hadamard's inequality for the lower-dimensional lattice L′L'L′ inside a hyperplane of Rn\mathbb R^nRn, not for a full-rank matrix. Bounding the number of hyperplanes meeting a ball needs the normal direction of HHH and the fact that the hyperplanes are hhh apart along it. A tempting shortcut is to define hhh as the length of the last Gram–Schmidt vector and d(L)d(L)d(L) as the product of Gram–Schmidt lengths: that turns (11) into a tautology and is ruled out below.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), so norms are Euclidean and balls round; B(p,z)B(p,z)B(p,z) is Metric.closedBall p z with z>0z>0z>0 as a hypothesis where the paper writes a ball.
  • Where bnb_nbn​ is singled out, n=k+1n=k+1n=k+1, the basis is b : Fin (k+1) → ℝⁿ, bnb_nbn​ = b (Fin.last k) and b1,…,bn−1b_1,\dots,b_{n-1}b1​,…,bn−1​ = b ∘ Fin.castSucc. "Basis for LLL" is linear independence of the nnn vectors over R\mathbb RR, and LLL is the published KannanLattice.Core.lattice b, the Z\mathbb ZZ-span.
  • d(L)d(L)d(L) is the paper's definition, ∣det⁡∣|\det|∣det∣ of the column matrix (latDet). hhh is Metric.infDist from bnb_nbn​ to the span HHH. d(L′)d(L')d(L′), for which the paper writes no formula, is the published KannanLattice.Core.latticeDet (the product of Gram–Schmidt lengths of b1,…,bn−1b_1,\dots,b_{n-1}b1​,…,bn−1​, the (n−1)(n-1)(n−1)-volume of their parallelepiped).
  • The hyperplanes H+kbnH+kb_nH+kbn​ meeting B(p,R)B(p,R)B(p,R) are indexed by the set of integers hitIndices b p R; ttt is its cardinality, its finiteness is part of every conclusion (the cardinality of an infinite set is 000 in Lean), and t−1t-1t−1 is computed in R\mathbb RR.
  • The constants "only depending on nnn", c1c_1c1​ and c2c_2c2​, are arbitrary real numbers. The reducedness (7) is a hypothesis, and so is the maximality ∣bi∣≤∣bn∣|b_i|\le|b_n|∣bi​∣≤∣bn​∣, which enters (10), the radius bound and the goal only.
  • τK\tau KτK is an arbitrary set X⊆RnX\subseteq\mathbb R^nX⊆Rn satisfying (3); §1 never uses that KKK is a polyhedron or the map τ\tauτ, and every lattice is τZn\tau\mathbb Z^nτZn for τ(ei)=bi\tau(e_i)=b_iτ(ei​)=bi​. The paper's "for some p∈τKp\in\tau Kp∈τK" follows from (3).
  • The identity (11) is stated without (7), which the paper assumes in the surrounding sentence but does not use.
  • Ruled out: defining d(L)d(L)d(L) or hhh through Gram–Schmidt lengths (which makes (11) bookkeeping), dropping finiteness of the hyperplane count, and replacing the dichotomy "some lattice point lies in τK\tau KτK" by a statement about one computed lattice point.

Welcome contributions: the bridge between Matrix.det of a basis and products of Gram–Schmidt lengths (reusable for any lattice development), Hadamard's inequality for a family of fewer than nnn vectors, and the count of lattice hyperplanes meeting a ball.

Selected references

  • H. W. Lenstra, Jr., Integer Programming with a Fixed Number of Variables, Mathematics of Operations Research 8(4) (1983) 538–548. https://doi.org/10.1287/moor.8.4.538
  • A. K. Lenstra, H. W. Lenstra, Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • R. Kannan, Minkowski's convex body theorem and integer programming, Mathematics of Operations Research 12(3) (1987) 415–440. https://doi.org/10.1287/moor.12.3.415
10 thms2 active usersReviewed
🏆Completed
Combinatorics·Captain: mikedeng1

Explicit Expanders of Every Degree and Size 1: For Distinct Primes q₁, q₂, Every Large n Has an LPS Vertex Count Q(q₁, q₂, s, t) Between n and n + o(n)Research Paper

Motivation

An (n,d,λ)(n,d,\lambda)(n,d,λ)-graph is a ddd-regular graph on nnn vertices in which every eigenvalue of the adjacency matrix other than the top eigenvalue ddd has absolute value at most λ\lambdaλ. Graphs of this kind with λ\lambdaλ small compared with ddd are expanders. They are used in derandomization, error-correcting codes, sorting networks and many other constructions in theoretical computer science. A Ramanujan graph achieves λ≤2d−1\lambda\le 2\sqrt{d-1}λ≤2d−1​, which is asymptotically optimal.

The classical explicit Ramanujan graphs of Lubotzky, Phillips and Sarnak (LPS, 1988) exist only for special vertex counts, such as q(q2−1)/2q(q^2-1)/2q(q2−1)/2 for a prime qqq or the size of a quaternion group modulo mmm. N. Alon, in Explicit expanders of every degree and size (arXiv:2003.11673, 2020; Combinatorica 41, 2021), asks for explicit (n,d,λ)(n,d,\lambda)(n,d,λ)-graphs with λ≤(2+o(1))d\lambda\le(2+o(1))\sqrt dλ≤(2+o(1))d​ for every degree ddd and every number of vertices nnn. His Proposition 1.1 builds such graphs out of LPS graphs, and one ingredient is purely arithmetic. If the available vertex counts of an LPS family are dense enough, so that for every large nnn one is within a factor 1+o(1)1+o(1)1+o(1) of nnn, then a few vertices can be added or removed while keeping the spectral bound.

This mission formalizes that ingredient, Lemma 2.2 of the paper (p. 7). It concerns the vertex counts of the LPS graphs H(p,q1sq2t)H(p,q_1^sq_2^t)H(p,q1s​q2t​) for two fixed primes q1,q2q_1,q_2q1​,q2​ and all exponents s,t≥1s,t\ge1s,t≥1. With q1,q2q_1,q_2q1​,q2​ fixed, the construction needs no large primes, which is why Proposition 1.1 is strongly explicit for every fixed degree.

Setting

Fix natural numbers q1,q2q_1,q_2q1​,q2​. For natural numbers s,ts,ts,t define the LPS vertex count

Q(q1,q2,s,t)=q13(s−1) q23(t−1)⋅q1(q1−1)(q1+1)2⋅q2(q2−1)(q2+1)2.Q(q_1,q_2,s,t)=q_1^{3(s-1)}\,q_2^{3(t-1)}\cdot\frac{q_1(q_1-1)(q_1+1)}{2}\cdot\frac{q_2(q_2-1)(q_2+1)}{2}.Q(q1​,q2​,s,t)=q13(s−1)​q23(t−1)​⋅2q1​(q1​−1)(q1​+1)​⋅2q2​(q2​−1)(q2​+1)​.

When q1,q2q_1,q_2q1​,q2​ are distinct primes congruent to 111 modulo 4p4p4p and s,t≥1s,t\ge1s,t≥1, this is the number of vertices of the LPS Cayley graph H(p,q1sq2t)H(p,q_1^sq_2^t)H(p,q1s​q2t​) (§2.3, p. 6). Lemma 2.2 itself only requires q1,q2q_1,q_2q1​,q2​ to be distinct primes. Both fractions are integers, because q(q−1)(q+1)q(q-1)(q+1)q(q−1)(q+1) is a product of three consecutive integers.

The proof uses the real number α=log⁡q1/log⁡q2\alpha=\log q_1/\log q_2α=logq1​/logq2​, and the fractional part {x}=x−⌊x⌋∈[0,1)\{x\}=x-\lfloor x\rfloor\in[0,1){x}=x−⌊x⌋∈[0,1), written x mod 1x \bmod 1xmod1 in the paper.

Formalization targets

Goal: Lemma 2.2

For distinct primes q1,q2q_1,q_2q1​,q2​ there is a function g:N→Rg:\mathbb N\to\mathbb Rg:N→R with g(n)=o(n)g(n)=o(n)g(n)=o(n) such that for all sufficiently large nnn there are integers s,t≥1s,t\ge1s,t≥1 with

n≤Q(q1,q2,s,t)≤n+g(n).n\le Q(q_1,q_2,s,t)\le n+g(n).n≤Q(q1​,q2​,s,t)≤n+g(n).

Equivalently, the ratio between consecutive elements of {Q(q1,q2,s,t):s,t≥1}\{Q(q_1,q_2,s,t):s,t\ge1\}{Q(q1​,q2​,s,t):s,t≥1} tends to 111. The statement fixes no rate for ggg, matching the paper's o(n)o(n)o(n).

Milestones, in the order the proof of Lemma 2.2 uses them (p. 7)

  1. For distinct primes q1,q2q_1,q_2q1​,q2​, α=log⁡q1/log⁡q2\alpha=\log q_1/\log q_2α=logq1​/logq2​ is irrational.
  2. For irrational α\alphaα and every δ>0\delta>0δ>0 there is k1≥1k_1\ge1k1​≥1 with 0<{k1α}<δ0<\{k_1\alpha\}<\delta0<{k1​α}<δ.
  3. For distinct primes q1,q2q_1,q_2q1​,q2​ and every μ>0\mu>0μ>0 there are k1≥1k_1\ge1k1​≥1, k2≥0k_2\ge0k2​≥0 with
1≤q1k1q2k2≤1+μ.1\le \frac{q_1^{k_1}}{q_2^{k_2}}\le 1+\mu .1≤q2k2​​q1k1​​​≤1+μ.
  1. For distinct primes, μ>0\mu>0μ>0 and k1≥1k_1\ge1k1​≥1, if 1≤q1k1/q2k2≤1+μ1\le q_1^{k_1}/q_2^{k_2}\le1+\mu1≤q1k1​​/q2k2​​≤1+μ, then for s>k1s>k_1s>k1​ and t≥1t\ge1t≥1
1≤Q(q1,q2,s,t)Q(q1,q2,s−k1,t+k2)≤(1+μ)3.1\le\frac{Q(q_1,q_2,s,t)}{Q(q_1,q_2,s-k_1,t+k_2)}\le(1+\mu)^3 .1≤Q(q1​,q2​,s−k1​,t+k2​)Q(q1​,q2​,s,t)​≤(1+μ)3.

Significance

The result. Lemma 2.2 is the step of Proposition 1.1 that turns a family of Ramanujan graphs with sparse vertex counts into a family whose vertex counts approximate every large nnn up to a factor 1+o(1)1+o(1)1+o(1). The deviation from nnn can then be absorbed by the general packing argument of §2.1 of the paper. Without it, the construction would have to search for large primes depending on nnn, and the result would be explicit but not strongly explicit.

The formalization. The lemma is proved in the paper, in one paragraph. To our knowledge no machine-checked proof exists, and the platform has no statement of it. The only related platform item is the irrationality of log⁡2/log⁡3\log 2/\log 3log2/log3, the case q1=2q_1=2q1​=2, q2=3q_2=3q2​=3 of milestone 1. Formalizing the lemma requires a quantitative inhomogeneous step that the paper leaves implicit ("implying the desired result"). Its last sentence also contains a misprint that the formalization corrects (see below). The Diophantine milestones 1–3 are reusable for any argument about the multiplicative density of {q1aq2b}\{q_1^a q_2^b\}{q1a​q2b​}, for instance the ratio of consecutive elements of {2a3b}\{2^a3^b\}{2a3b}.

Difficulty

Each milestone is short. The difficulty is in making the paper's last sentence ("implying the desired result") into a proof. Taking sss or ttt large separately does not work: changing sss or ttt by one multiplies QQQ by q13q_1^3q13​ or q23q_2^3q23​, a fixed factor larger than 111, so the values obtained by varying one exponent leave gaps of a constant ratio. The bound must hold for every large nnn, not just along a subsequence, and the exponents must stay positive throughout. Milestone 2 is the classical fact that the multiples of an irrational number are dense modulo 111. It needs a pigeonhole argument, not just the irrationality.

Formalization scope

  • Representation. QQQ is a natural-number-valued Lean definition given by the explicit formula above, not the cardinality of a quaternion group. The graph-count interpretation needs the section's congruence conditions on p,q1,q2p,q_1,q_2p,q1​,q2​; Lemma 2.2 is an arithmetic statement for all distinct primes q1,q2q_1,q_2q1​,q2​. Every use of QQQ in the theorems has positive s,ts,ts,t, so natural-number subtraction s−1s-1s−1 is exact, and the division by 222 is exact since q(q−1)(q+1)q(q-1)(q+1)q(q−1)(q+1) is even. Ratios and the bound n+g(n)n+g(n)n+g(n) are computed in R\mathbb RR after casting. The logarithm is Real.log, and the fractional part is Int.fract.
  • o(n). The paper writes n≤Q≤n+o(n)n\le Q\le n+o(n)n≤Q≤n+o(n) for every large nnn. The goal states it literally: ∃g, g=o(n)\exists g,\ g=o(n)∃g, g=o(n) (Mathlib IsLittleO along atTop) and, eventually in nnn, ∃s,t≥1\exists s,t\ge1∃s,t≥1 with n≤Q≤n+g(n)n\le Q\le n+g(n)n≤Q≤n+g(n). This is equivalent to the form "for every μ>0\mu>0μ>0, every large nnn has s,t≥1s,t\ge1s,t≥1 with n≤Q≤(1+μ)nn\le Q\le(1+\mu)nn≤Q≤(1+μ)n". The paper's proof yields the second form, with the factor (1+μ)3(1+\mu)^3(1+μ)3 for arbitrary μ\muμ.
  • Misprint. The paper's last sentence compares Q(q1,q2,s,t)Q(q_1,q_2,s,t)Q(q1​,q2​,s,t) with Q(q1,q2,s−k1,t−k2)Q(q_1,q_2,s-k_1,t-k_2)Q(q1​,q2​,s−k1​,t−k2​) for s,t≥max⁡{k1,k2}s,t\ge\max\{k_1,k_2\}s,t≥max{k1​,k2​}. As printed the ratio is q13k1q23k2q_1^{3k_1}q_2^{3k_2}q13k1​​q23k2​​, which is not close to 111. Milestone 4 uses the intended pair (s−k1,t+k2)(s-k_1,t+k_2)(s−k1​,t+k2​), with s>k1s>k_1s>k1​ so that s−k1≥1s-k_1\ge1s−k1​≥1.
  • Ruling out a trivial reading. The lower bound n≤Q(q1,q2,s,t)n\le Q(q_1,q_2,s,t)n≤Q(q1​,q2​,s,t) alone holds for every nnn by taking sss large. The content of the goal is the upper bound with a sublinear excess, and s,ts,ts,t must be positive. In milestone 3 the condition k1≥1k_1\ge1k1​≥1 excludes the trivial witness k1=k2=0k_1=k_2=0k1​=k2​=0.
  • Out of scope. The derivation of QQQ as the vertex count of H(p,q1sq2t)H(p,q_1^sq_2^t)H(p,q1s​q2t​) (Hensel's lemma and the Chinese remainder theorem, pp. 6–7), Theorem 2.1 (the LPS graphs are Ramanujan, cited from Lubotzky–Phillips–Sarnak), Proposition 1.1, the §2.1 packing argument, and every running-time ("explicit", "strongly explicit") claim.
  • Infrastructure. Only Mathlib is needed: unique factorization for milestone 1, Int.fract and a pigeonhole or Dirichlet-approximation argument for milestone 2, and real exponentiation and asymptotics for the goal. Contributions of alternative proofs of milestone 2, for instance via Mathlib's Dirichlet approximation theorem, are welcome.

Selected references

  • N. Alon, Explicit expanders of every degree and size, arXiv:2003.11673v1, 2020; Combinatorica 41 (2021). https://arxiv.org/abs/2003.11673 , https://doi.org/10.1007/s00493-020-4429-x
  • A. Lubotzky, R. Phillips, P. Sarnak, Ramanujan graphs, Combinatorica 8 (1988) 261–277. https://doi.org/10.1007/BF02126799
  • S. Hoory, N. Linial, A. Wigderson, Expander graphs and their applications, Bull. AMS 43 (2006) 439–561. https://doi.org/10.1090/S0273-0979-06-01126-8
6 thms2 active usersReviewed
Group Theory·Captain: Lucas

The Mathieu group M23 is a Galois group over QResearch Paper

Motivation

The inverse Galois problem asks whether every finite group GGG occurs as the Galois group of a finite Galois extension of Q\mathbb{Q}Q. For finite simple groups, a large part of the problem was settled by the rigidity method (Shih, Fried, Belyi, Matzat, Thompson) and its refinements such as the braid-group method. Between 1984 and 1989 this machinery realized 25 of the 26 sporadic simple groups as Galois groups over Q\mathbb{Q}Q, in fact as Galois groups of regular extensions of Q(t)\mathbb{Q}(t)Q(t). The Mathieu group M23M_{23}M23​ was the single exception.

Timeline.

  • 1985–1987: Hoyden-Siedersleben and Häfner obtained regular M23M_{23}M23​-extensions of k(t)k(t)k(t) for k=Q(−23)k=\mathbb{Q}(\sqrt{-23})k=Q(−23​) and k=Q(−7)k=\mathbb{Q}(\sqrt{-7})k=Q(−7​), by passing through M24M_{24}M24​.
  • 1996: Granboulan constructed a regular M23M_{23}M23​-extension of k(t)k(t)k(t) for every field kkk over which a certain conic has a point; that conic has no rational point.
  • 2013: Elkies computed the four complex polynomials PPP of degree 23 with Gal(P(x)−t/C(t))≅M23\mathrm{Gal}(P(x)-t/\mathbb{C}(t))\cong M_{23}Gal(P(x)−t/C(t))≅M23​; each is defined over a quartic number field.
  • 2026: Huang, Jackson, Lee, Poonen, Pries and Zhang (arXiv:2608.08538) produced an explicit regular M23M_{23}M23​-extension of Q(t)\mathbb{Q}(t)Q(t) and explicit degree-23 polynomials over Q\mathbb{Q}Q with Galois group M23M_{23}M23​, completing the program for the sporadic groups.

Setting

S23S_{23}S23​ denotes the group of permutations of the 23 points {1,…,23}\{1,\dots,23\}{1,…,23}, acting on the left, so (στ)(x)=σ(τ(x))(\sigma\tau)(x)=\sigma(\tau(x))(στ)(x)=σ(τ(x)). The paper fixes three explicit permutations

g1=(1,11)(2,23)(3,8)(4,16)(5,21)(7,20)(15,19)(18,22),g_1=(1,11)(2,23)(3,8)(4,16)(5,21)(7,20)(15,19)(18,22),g1​=(1,11)(2,23)(3,8)(4,16)(5,21)(7,20)(15,19)(18,22), g2=(1,2,11,10,16,9,6,3,23,19,20,14,21,17,4,8,22,5,18,15,13,7,12),g_2=(1,2,11,10,16,9,6,3,23,19,20,14,21,17,4,8,22,5,18,15,13,7,12),g2​=(1,2,11,10,16,9,6,3,23,19,20,14,21,17,4,8,22,5,18,15,13,7,12), g3=(1,2,3,4,10,11,12,7,19,18,8,6,9,16,17,21,22,5,14,20,13,15,23),g_3=(1,2,3,4,10,11,12,7,19,18,8,6,9,16,17,21,22,5,14,20,13,15,23),g3​=(1,2,3,4,10,11,12,7,19,18,8,6,9,16,17,21,22,5,14,20,13,15,23),

and the Mathieu group M23M_{23}M23​ is the subgroup of S23S_{23}S23​ generated by g1g_1g1​ and g2g_2g2​. A GGG-extension of a field kkk is a Galois extension L/kL/kL/k together with an isomorphism Gal(L/k)≅G\mathrm{Gal}(L/k)\cong GGal(L/k)≅G. A finite extension LLL of Q(t)\mathbb{Q}(t)Q(t) is regular if it contains no nontrivial algebraic extension of Q\mathbb{Q}Q.

For a triple of conjugacy classes (C1,C2,C3)(C_1,C_2,C_3)(C1​,C2​,C3​) of M23M_{23}M23​, the set Σc\Sigma_cΣc​ consists of triples (h1,h2,h3)∈C1×C2×C3(h_1,h_2,h_3)\in C_1\times C_2\times C_3(h1​,h2​,h3​)∈C1​×C2​×C3​ with h1h2h3=1h_1h_2h_3=1h1​h2​h3​=1 that generate M23M_{23}M23​, and the Nielsen class Nic\mathrm{Ni}_cNic​ is the set of orbits of Σc\Sigma_cΣc​ under simultaneous conjugation by M23M_{23}M23​. The paper works with the classes C1=2C_1=2C1​=2, C2=23AC_2=23AC2​=23A, C3=23BC_3=23BC3​=23B, represented by g1,g2,g3g_1,g_2,g_3g1​,g2​,g3​.

Formalization targets

Goal (Theorem 1.1)

∃ K/Q finite Galois with Gal(K/Q)≅M23.\exists\ K/\mathbb{Q}\ \text{finite Galois with}\ \mathrm{Gal}(K/\mathbb{Q})\cong M_{23}.∃ K/Q finite Galois with Gal(K/Q)≅M23​.

Stronger forms

  • Theorem 1.3: there is a finite Galois extension L/Q(t)L/\mathbb{Q}(t)L/Q(t), regular over Q\mathbb{Q}Q, with Gal(L/Q(t))≅M23\mathrm{Gal}(L/\mathbb{Q}(t))\cong M_{23}Gal(L/Q(t))≅M23​.
  • Examples 1.2 and 3.7: two explicit monic degree-23 polynomials in Z[x]\mathbb{Z}[x]Z[x] whose splitting fields are M23M_{23}M23​-extensions of Q\mathbb{Q}Q, unramified outside {2,3,23}\{2,3,23\}{2,3,23} and {2,7,23}\{2,7,23\}{2,7,23} respectively.

Supporting milestones

Facts about M23M_{23}M23​ stated in §3 (order 10,200,96010{,}200{,}96010,200,960, simplicity, 4-transitivity, 17 conjugacy classes), the membership (g1,g2,g3)∈Σc(g_1,g_2,g_3)\in\Sigma_c(g1​,g2​,g3​)∈Σc​, the count ∣Nic∣=7|\mathrm{Ni}_c|=7∣Nic​∣=7, the Riemann–Hurwitz count of Lemma 3.1, the hyperbolic triangle of Lemma 3.2, and the group-theoretic step of Corollary 3.6 (M23M_{23}M23​ is not normal in any strictly larger subgroup of S23S_{23}S23​).

Significance

Theorem 1.1 removes the last sporadic exception: combined with earlier work, every sporadic simple group is the Galois group of a regular extension of Q(t)\mathbb{Q}(t)Q(t) (Corollary 1.4), and hence occurs as a Galois group over every number field, in infinitely many mutually independent ways.

The paper's proof is computer-assisted: Belyi maps were computed numerically and the final claims were certified in Magma and PARI/GP. No machine-checked proof in a proof assistant is known. A formal proof of the explicit-polynomial statements (Examples 1.2 and 3.7) would give an independent, kernel-checked certificate of Theorem 1.1. The group-theoretic milestones (order, simplicity, transitivity, class counts, the Nielsen count) are reusable for any later work on M23M_{23}M23​ or the other Mathieu groups.

Difficulty

The rigidity method fails for M23M_{23}M23​: for every GQG_{\mathbb{Q}}GQ​-stable triple of conjugacy classes the Nielsen class has size different from 111, so no rational point of a Hurwitz space is forced. The smallest positive size, ∣Nic∣=7|\mathrm{Ni}_c|=7∣Nic​∣=7 for {2,23A,23B}\{2,23A,23B\}{2,23A,23B}, leaves seven covers, and the fact that one of them has field of moduli Q\mathbb{Q}Q was found by explicit computation, with no conceptual explanation. Certifying that a particular degree-23 polynomial has Galois group exactly M23M_{23}M23​ requires both a lower bound (the group contains M23M_{23}M23​, for instance via cycle types and the classification of transitive groups of degree 23) and an upper bound (the group is contained in a conjugate of M23M_{23}M23​, for instance via resolvents or reduction modulo primes). Neither bound is a finite check inside current Mathlib.

Formalization scope

S23S_{23}S23​ is Equiv.Perm (Fin 23). The paper's point kkk corresponds to k - 1 : Fin 23, and permutations compose as functions, which matches the paper's left-action convention. M23M_{23}M23​ is defined as Subgroup.closure {g₁, g₂}, so it is not described up to isomorphism. Galois groups are groups of field automorphisms, K ≃ₐ[ℚ] K, and a GGG-extension is recorded as a group isomorphism with M23M_{23}M23​. Q(t)\mathbb{Q}(t)Q(t) is RatFunc ℚ. "Unramified outside SSS" for a number field is encoded as "every prime dividing the absolute discriminant lies in SSS", which is equivalent by Dedekind's discriminant theorem. The Nielsen class is the set of orbits of Σc\Sigma_cΣc​ under simultaneous conjugation. Hyperbolic angles in the Poincaré disk are defined through the hyperbolic law of cosines.

The geometric statements Lemma 3.3 and Proposition 3.5 concern the numerically computed curve XCX_{\mathbb{C}}XC​ and the polynomial F(T,V)F(T,V)F(T,V), which the paper does not print, so they are not milestones. Lemma 3.1 enters only through its Riemann–Hurwitz count.

Contributions are welcome on decidable certificates for permutation-group facts in Lean, on Galois-group certification for explicit polynomials, and on Hilbert irreducibility.

Selected references

  • X. Huang, B. Jackson, K.-H. Lee, B. Poonen, R. Pries, S. Zhang, The Mathieu group M23M_{23}M23​ is a Galois group over Q\mathbb{Q}Q, 2026. https://arxiv.org/abs/2608.08538
  • G. Malle, B. H. Matzat, Inverse Galois Theory, 2nd ed., Springer, 2018.
  • J.-P. Serre, Topics in Galois Theory, Jones and Bartlett, 1992.
  • N. D. Elkies, The complex polynomials P(x)P(x)P(x) with Gal(P(x)−t)≅M23\mathrm{Gal}(P(x)-t)\cong M_{23}Gal(P(x)−t)≅M23​, ANTS X, Open Book Series 1, 2013.
  • M. D. Fried, H. Völklein, The inverse Galois problem and rational points on moduli spaces, Math. Ann. 290 (1991), 771–800.
18 thms2 active usersReviewed
🏆Completed
Captain: xuanji

Every Odd Number Greater Than 1 is the Sum of at Most 351 PrimesResearch Paper

Motivation

Schnirelmann showed around 1930, by elementary means, that some absolute constant kkk makes every integer n>1n > 1n>1 a sum of at most kkk primes. For odd nnn:

  • Schnirelmann (1930s): some finite kkk, by elementary methods.
  • Vinogradov (1937): every sufficiently large odd integer is a sum of three primes.
  • Ramaré (1995): every even integer is a sum of at most six primes, so every odd n>1n > 1n>1 is a sum of at most seven. (Ann. Sc. Norm. Super. Pisa, 1995)
  • Tao (2014): at most five primes. (arXiv:1201.6656)
  • Helfgott (2013): every odd n>5n > 5n>5 is a sum of three primes. (arXiv:1312.7748)

The campaign's first proved value, 100 001100\,001100001, came from Schnirelmann's method with every constant written out. This entry records a sharper value, 351351351, from the same elementary circle of ideas.

Setting

A representation of nnn as a sum of at most kkk primes is a finite multiset of primes summing to nnn with at most kkk elements counted with multiplicity. The Schnirelmann density of A⊆Z≥0A \subseteq \mathbb{Z}_{\ge 0}A⊆Z≥0​ is σ(A)=inf⁡N≥1∣A∩{1,…,N}∣/N\sigma(A) = \inf_{N \ge 1} |A \cap \{1, \dots, N\}|/Nσ(A)=infN≥1​∣A∩{1,…,N}∣/N (Mathlib: schnirelmannDensity).

Formalization target

Goal

∀n∈N,n odd, n>1  ⟹  ∃ s multiset of primes, ∣s∣≤351, ∑s=n.\forall n \in \mathbb{N},\quad n \text{ odd},\ n > 1 \implies \exists\, s \text{ multiset of primes},\ |s| \le 351,\ \textstyle\sum s = n.∀n∈N,n odd, n>1⟹∃s multiset of primes, ∣s∣≤351, ∑s=n.

This is the campaign template with the value 351351351 filled in. The source proves the stronger statement that every odd n≥703n \ge 703n≥703 is a sum of exactly 351351351 primes; the at-most form for all odd n>1n > 1n>1 follows.

How the bound arises

It uses the same density estimate as the companion 485485485 entry, σ(A)≥1/175\sigma(A) \ge 1/175σ(A)≥1/175 for A=B+BA = B + BA=B+B with B={(p−3)/2:p odd prime}B = \{(p-3)/2 : p \text{ odd prime}\}B={(p−3)/2:p odd prime} (explicit Selberg sieve, weighted first moment, eighth moment of the singular-series factor, Hölder). It then replaces Schnirelmann's sumset inequality by Mann's theorem, σ(D+E)≥min⁡{1,σ(D)+σ(E)}\sigma(D + E) \ge \min\{1, \sigma(D) + \sigma(E)\}σ(D+E)≥min{1,σ(D)+σ(E)} for sets containing 000:

  1. Mann's theorem gives 175A=Z≥0175A = \mathbb{Z}_{\ge 0}175A=Z≥0​, so 350B=Z≥0350B = \mathbb{Z}_{\ge 0}350B=Z≥0​.
  2. For odd n≥3K=1053n \ge 3K = 1053n≥3K=1053, write (n−3K)/2(n - 3K)/2(n−3K)/2 as a sum of 350350350 elements of BBB and add one more 333, giving K=351K = 351K=351 primes.
  3. For 703≤n<1053703 \le n < 1053703≤n<1053, use n−2Kn - 2Kn−2K threes and 3K−n3K - n3K−n twos.

Significance

The bound is far weaker than Tao's 555 or Helfgott's 333, but it rests on an elementary argument with no "sufficiently large" threshold and no prime number theorem, so it is a realistic target for a complete formalization and a large step down from 100 001100\,001100001. Reusable components:

  1. Explicit Chebyshev-type lower bound for π(y)\pi(y)π(y).
  2. Explicit Selberg upper-bound sieve for r(s)r(s)r(s) with threshold e100e^{100}e100.
  3. The eighth-moment bound ∑s≤xC(s)8≤800 000 x\sum_{s \le x} C(s)^8 \le 800\,000\,x∑s≤x​C(s)8≤800000x.
  4. Mann's theorem (αβ\alpha\betaαβ theorem) on Schnirelmann density.

Formalization scope

The Lean statement is the campaign template verbatim with 351351351 in place of the value. Mathlib already has schnirelmannDensity, the Λ² Selberg sieve setup (Mathlib/NumberTheory/SelbergSieve.lean) and central-binomial bounds.

Selected references

  • P. Pollack, Not Always Buried Deep, AMS, 2009, Chapter 6, §6. https://www.pollack-math.net/NABDofficial.pdf
  • K. S. Kedlaya, Notes on Analytic Number Theory, Chapter 13, "The Selberg sieve". https://kskedlaya.org/ant/chap-selberg.html
  • O. Ramaré, On Šnirel'man's constant, Ann. Sc. Norm. Super. Pisa (4) 22 (1995), 645–706.
  • T. Tao, Every odd number greater than 1 is the sum of at most five primes, Math. Comp. 83 (2014). https://arxiv.org/abs/1201.6656
  • H. A. Helfgott, The ternary Goldbach conjecture is true, 2013. https://arxiv.org/abs/1312.7748
  • Explicit improvement of the 100 001100\,001100001 constant (unpublished AI-assisted calculation, October 2026). Source of the constant 351351351; not peer reviewed.
6 thms2 active usersReviewed
🏆Completed
Captain: xuanji

Every Odd Number Greater Than 1 is the Sum of at Most 485 PrimesResearch Paper

Motivation

Schnirelmann showed around 1930, by elementary means, that some absolute constant kkk makes every integer n>1n > 1n>1 a sum of at most kkk primes. For odd nnn:

  • Schnirelmann (1930s): some finite kkk, by elementary methods.
  • Vinogradov (1937): every sufficiently large odd integer is a sum of three primes.
  • Ramaré (1995): every even integer is a sum of at most six primes, so every odd n>1n > 1n>1 is a sum of at most seven. (Ann. Sc. Norm. Super. Pisa, 1995)
  • Tao (2014): at most five primes. (arXiv:1201.6656)
  • Helfgott (2013): every odd n>5n > 5n>5 is a sum of three primes. (arXiv:1312.7748)

The campaign's first proved value, 100 001100\,001100001, came from Schnirelmann's method with every constant written out. This entry records a sharper value, 485485485, from the same elementary circle of ideas.

Setting

A representation of nnn as a sum of at most kkk primes is a finite multiset of primes summing to nnn with at most kkk elements counted with multiplicity. The Schnirelmann density of A⊆Z≥0A \subseteq \mathbb{Z}_{\ge 0}A⊆Z≥0​ is σ(A)=inf⁡N≥1∣A∩{1,…,N}∣/N\sigma(A) = \inf_{N \ge 1} |A \cap \{1, \dots, N\}|/Nσ(A)=infN≥1​∣A∩{1,…,N}∣/N (Mathlib: schnirelmannDensity).

Formalization target

Goal

∀n∈N,n odd, n>1  ⟹  ∃ s multiset of primes, ∣s∣≤485, ∑s=n.\forall n \in \mathbb{N},\quad n \text{ odd},\ n > 1 \implies \exists\, s \text{ multiset of primes},\ |s| \le 485,\ \textstyle\sum s = n.∀n∈N,n odd, n>1⟹∃s multiset of primes, ∣s∣≤485, ∑s=n.

This is the campaign template with the value 485485485 filled in. The source proves the stronger statement that every odd n≥971n \ge 971n≥971 is a sum of exactly 485485485 primes; the at-most form for all odd n>1n > 1n>1 follows.

How the bound arises

It keeps the explicit Selberg sieve and Schnirelmann's original sumset inequality from the 100 001100\,001100001 entry, and improves only the density estimate:

  1. Lower sieve threshold. With z=s/(log⁡s)2z = \sqrt{s}/(\log s)^2z=s​/(logs)2 the sieve gives r(s)≤13 C(s) s/(log⁡s)2r(s) \le 13\,C(s)\,s/(\log s)^2r(s)≤13C(s)s/(logs)2 for even s≥e100s \ge e^{100}s≥e100, where C(s)=∏p∣s(1+p/(p−1)2)C(s) = \prod_{p \mid s}\bigl(1 + p/(p-1)^2\bigr)C(s)=∏p∣s​(1+p/(p−1)2).
  2. Weighted first moment. Counting over the whole triangle p+q≤xp + q \le xp+q≤x and weighting by (log⁡s)2/s(\log s)^2/s(logs)2/s gives ∑e100<s≤xr(s)(log⁡s)2/s≥43100x\sum_{e^{100} < s \le x} r(s)(\log s)^2/s \ge \tfrac{43}{100}x∑e100<s≤x​r(s)(logs)2/s≥10043​x for x≥e200x \ge e^{200}x≥e200.
  3. Eighth moment of CCC. An Euler-product estimate (primes 3,5,73, 5, 73,5,7 handled individually, the tail bounded at once) gives ∑s≤x, 2∣sC(s)8≤800 000 x\sum_{s \le x,\, 2 \mid s} C(s)^8 \le 800\,000\,x∑s≤x,2∣s​C(s)8≤800000x.
  4. Hölder instead of Cauchy–Schwarz. This yields #{s≤x:r(s)>0}≥x/345\#\{s \le x : r(s) > 0\} \ge x/345#{s≤x:r(s)>0}≥x/345 for x≥e200x \ge e^{200}x≥e200, and with Chebyshev's bound for smaller scales, σ(A)≥1/175\sigma(A) \ge 1/175σ(A)≥1/175 for A=B+BA = B + BA=B+B, B={(p−3)/2}B = \{(p-3)/2\}B={(p−3)/2}.
  5. Schnirelmann's inequality with m=121m = 121m=121 (since (174/175)121<1/2(174/175)^{121} < 1/2(174/175)121<1/2) gives 242A=Z≥0242A = \mathbb{Z}_{\ge 0}242A=Z≥0​, hence K=4m+1=485K = 4m + 1 = 485K=4m+1=485.

Only Chebyshev-type prime bounds, the Selberg upper-bound sieve, Hölder's inequality and Schnirelmann's inequality are used.

Significance

The bound is far weaker than Tao's 555 or Helfgott's 333, but it rests on an elementary argument with no "sufficiently large" threshold and no prime number theorem, so it is a realistic target for a complete formalization and a large step down from 100 001100\,001100001. Reusable components:

  1. Explicit Chebyshev-type lower bound for π(y)\pi(y)π(y).
  2. Explicit Selberg upper-bound sieve for r(s)r(s)r(s) with threshold e100e^{100}e100.
  3. The eighth-moment bound ∑s≤xC(s)8≤800 000 x\sum_{s \le x} C(s)^8 \le 800\,000\,x∑s≤x​C(s)8≤800000x.
  4. Schnirelmann's inequality σ(D+E)≥σ(D)+σ(E)−σ(D)σ(E)\sigma(D+E) \ge \sigma(D)+\sigma(E)-\sigma(D)\sigma(E)σ(D+E)≥σ(D)+σ(E)−σ(D)σ(E).

Formalization scope

The Lean statement is the campaign template verbatim with 485485485 in place of the value. Mathlib already has schnirelmannDensity, the Λ² Selberg sieve setup (Mathlib/NumberTheory/SelbergSieve.lean) and central-binomial bounds.

Selected references

  • P. Pollack, Not Always Buried Deep, AMS, 2009, Chapter 6, §6. https://www.pollack-math.net/NABDofficial.pdf
  • K. S. Kedlaya, Notes on Analytic Number Theory, Chapter 13, "The Selberg sieve". https://kskedlaya.org/ant/chap-selberg.html
  • O. Ramaré, On Šnirel'man's constant, Ann. Sc. Norm. Super. Pisa (4) 22 (1995), 645–706.
  • T. Tao, Every odd number greater than 1 is the sum of at most five primes, Math. Comp. 83 (2014). https://arxiv.org/abs/1201.6656
  • H. A. Helfgott, The ternary Goldbach conjecture is true, 2013. https://arxiv.org/abs/1312.7748
  • Explicit improvement of the 100 001100\,001100001 constant (unpublished AI-assisted calculation, October 2026). Source of the constant 485485485; not peer reviewed.
6 thms2 active usersReviewed
🏆Completed
Captain: xuanji

Every Odd Number Greater Than 1 is the Sum of at Most 973 PrimesResearch Paper

Motivation

Schnirelmann showed around 1930, by elementary means, that some absolute constant kkk makes every integer n>1n > 1n>1 a sum of at most kkk primes. For odd nnn:

  • Schnirelmann (1930s): some finite kkk, by elementary methods.
  • Vinogradov (1937): every sufficiently large odd integer is a sum of three primes.
  • Ramaré (1995): every even integer is a sum of at most six primes, so every odd n>1n > 1n>1 is a sum of at most seven. (Ann. Sc. Norm. Super. Pisa, 1995)
  • Tao (2014): at most five primes. (arXiv:1201.6656)
  • Helfgott (2013): every odd n>5n > 5n>5 is a sum of three primes. (arXiv:1312.7748)

The campaign's first proved value, 100 001100\,001100001, came from Schnirelmann's method with every constant written out. This entry records a sharper value, 973973973, from the same elementary circle of ideas.

Setting

A representation of nnn as a sum of at most kkk primes is a finite multiset of primes summing to nnn with at most kkk elements counted with multiplicity. The Schnirelmann density of A⊆Z≥0A \subseteq \mathbb{Z}_{\ge 0}A⊆Z≥0​ is σ(A)=inf⁡N≥1∣A∩{1,…,N}∣/N\sigma(A) = \inf_{N \ge 1} |A \cap \{1, \dots, N\}|/Nσ(A)=infN≥1​∣A∩{1,…,N}∣/N (Mathlib: schnirelmannDensity).

Formalization target

Goal

∀n∈N,n odd, n>1  ⟹  ∃ s multiset of primes, ∣s∣≤973, ∑s=n.\forall n \in \mathbb{N},\quad n \text{ odd},\ n > 1 \implies \exists\, s \text{ multiset of primes},\ |s| \le 973,\ \textstyle\sum s = n.∀n∈N,n odd, n>1⟹∃s multiset of primes, ∣s∣≤973, ∑s=n.

This is the campaign template with the value 973973973 filled in. The source proves the stronger statement that every odd n≥1947n \ge 1947n≥1947 is a sum of exactly 973973973 primes; the at-most form for all odd n>1n > 1n>1 follows.

How the bound arises

It keeps the explicit Selberg sieve and Schnirelmann's original sumset inequality from the 100 001100\,001100001 entry, and improves the density estimate:

  1. Lower sieve threshold. With z=s/(log⁡s)2z = \sqrt{s}/(\log s)^2z=s​/(logs)2 the sieve gives r(s)≤13 C(s) s/(log⁡s)2r(s) \le 13\,C(s)\,s/(\log s)^2r(s)≤13C(s)s/(logs)2 for even s≥e100s \ge e^{100}s≥e100.
  2. Weighted first moment of at least 43100x\tfrac{43}{100}x10043​x for x≥e200x \ge e^{200}x≥e200.
  3. Fourth moment of CCC. An Euler-product estimate gives ∑s≤x, 2∣sC(s)4≤400 x\sum_{s \le x,\, 2\mid s} C(s)^4 \le 400\,x∑s≤x,2∣s​C(s)4≤400x.
  4. Hölder then yields σ(A)≥1/350\sigma(A) \ge 1/350σ(A)≥1/350 for A=B+BA = B + BA=B+B, B={(p−3)/2}B = \{(p-3)/2\}B={(p−3)/2}.
  5. Schnirelmann's inequality with m=243m = 243m=243 (the least mmm with (349/350)m<1/2(349/350)^m < 1/2(349/350)m<1/2) gives K=4m+1=973K = 4m + 1 = 973K=4m+1=973.

Significance

The bound is far weaker than Tao's 555 or Helfgott's 333, but it rests on an elementary argument with no "sufficiently large" threshold and no prime number theorem, so it is a realistic target for a complete formalization and a large step down from 100 001100\,001100001. Reusable components:

  1. Explicit Chebyshev-type lower bound for π(y)\pi(y)π(y).
  2. Explicit Selberg upper-bound sieve for r(s)r(s)r(s).
  3. Moment bounds for the singular-series factor C(s)C(s)C(s).
  4. Schnirelmann's inequality σ(D+E)≥σ(D)+σ(E)−σ(D)σ(E)\sigma(D+E) \ge \sigma(D)+\sigma(E)-\sigma(D)\sigma(E)σ(D+E)≥σ(D)+σ(E)−σ(D)σ(E).

Formalization scope

The Lean statement is the campaign template verbatim with 973973973 in place of the value. Mathlib already has schnirelmannDensity, the Λ² Selberg sieve setup (Mathlib/NumberTheory/SelbergSieve.lean) and central-binomial bounds.

Selected references

  • P. Pollack, Not Always Buried Deep, AMS, 2009, Chapter 6, §6. https://www.pollack-math.net/NABDofficial.pdf
  • K. S. Kedlaya, Notes on Analytic Number Theory, Chapter 13, "The Selberg sieve". https://kskedlaya.org/ant/chap-selberg.html
  • O. Ramaré, On Šnirel'man's constant, Ann. Sc. Norm. Super. Pisa (4) 22 (1995), 645–706.
  • T. Tao, Every odd number greater than 1 is the sum of at most five primes, Math. Comp. 83 (2014). https://arxiv.org/abs/1201.6656
  • H. A. Helfgott, The ternary Goldbach conjecture is true, 2013. https://arxiv.org/abs/1312.7748
  • Explicit improvement of the 100 001100\,001100001 constant (unpublished AI-assisted calculation, October 2026). Source of the constant 973973973; not peer reviewed.
6 thms2 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 19.8899945 (Chudnovsky 1982)Research Paper

Motivation

The irrationality measure μ(π)\mu(\pi)μ(π) is the supremum of the μ\muμ for which ∣π−p/q∣<q−μ|\pi - p/q| < q^{-\mu}∣π−p/q∣<q−μ has infinitely many rational solutions p/qp/qp/q. Every irrational number has μ≥2\mu \ge 2μ≥2 (Dirichlet), almost every real number has μ=2\mu = 2μ=2, and it is conjectured that μ(π)=2\mu(\pi) = 2μ(π)=2. Known upper bounds:

  • Mahler (1953): 424242, the first proof that π\piπ is not a Liouville number.
  • Mignotte (1974): 20.620.620.6.
  • Chudnovsky (1982): 19.8899944…19.8899944\ldots19.8899944…
  • Rhin–Viola (1993): 14.79707414.79707414.797074.
  • Hata (1993): 8.016045…8.016045\ldots8.016045…
  • Salikhov (2008): 7.606308…7.606308\ldots7.606308…
  • Zeilberger–Zudilin (2020): 7.103205334137…7.103205334137\ldots7.103205334137…, the current record.

The campaign's first proved value is Mahler's 424242. This entry records Chudnovsky's bound.

Formalization target

The campaign template with the value 19.889994519.889994519.8899945 filled in: PiIrrationality.UpperBound (19.8899945 : ℝ), i.e. μ(π)≤19.8899945\mu(\pi) \le 19.8899945μ(π)≤19.8899945.

Value. The bound is quoted in the literature as 19.8899944…19.8899944\ldots19.8899944… (e.g. Hata 1993), a truncation. This entry rounds the last digit up to 19.889994519.889994519.8899945 so that the goal follows from the published constant.

How the bound arises

Chudnovsky determined the exact asymptotic behaviour of the Hermite-type contour integrals 12πi∮(n!z(z−1)⋯(z−n))kewz dz\frac{1}{2\pi i}\oint \left(\frac{n!}{z(z-1)\cdots(z-n)}\right)^k e^{wz}\,dz2πi1​∮(z(z−1)⋯(z−n)n!​)kewzdz behind Mahler's approximations, which sharpens the resulting exponent.

Significance

Each step down the list replaces Mahler's approximations with a sharper family. Formalizing 19.889994519.889994519.8899945 would build reusable explicit machinery: integral constructions of rational approximations to π\piπ, bounds on their common denominators via prime-number estimates, and the standard lemma turning a sequence of good approximations into an irrationality-measure bound.

Selected references

  • G. V. Chudnovsky, Hermite–Padé approximations to exponential functions and elementary estimates of the measure of irrationality of π\piπ, Lecture Notes in Math. 925, Springer (1982), 299–322.
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
2 thms2 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 20.6 (Mignotte 1974)Research Paper

Motivation

The irrationality measure μ(π)\mu(\pi)μ(π) is the supremum of the μ\muμ for which ∣π−p/q∣<q−μ|\pi - p/q| < q^{-\mu}∣π−p/q∣<q−μ has infinitely many rational solutions p/qp/qp/q. Every irrational number has μ≥2\mu \ge 2μ≥2 (Dirichlet), almost every real number has μ=2\mu = 2μ=2, and it is conjectured that μ(π)=2\mu(\pi) = 2μ(π)=2. Known upper bounds:

  • Mahler (1953): 424242, the first proof that π\piπ is not a Liouville number.
  • Mignotte (1974): 20.620.620.6.
  • Chudnovsky (1982): 19.8899944…19.8899944\ldots19.8899944…
  • Rhin–Viola (1993): 14.79707414.79707414.797074.
  • Hata (1993): 8.016045…8.016045\ldots8.016045…
  • Salikhov (2008): 7.606308…7.606308\ldots7.606308…
  • Zeilberger–Zudilin (2020): 7.103205334137…7.103205334137\ldots7.103205334137…, the current record.

The campaign's first proved value is Mahler's 424242. This entry records Mignotte's bound.

Formalization target

The campaign template with the value 20.620.620.6 filled in: PiIrrationality.UpperBound (20.6 : ℝ), i.e. μ(π)≤20.6\mu(\pi) \le 20.6μ(π)≤20.6.

Value. The paper's abstract states ∣π−p/q∣>q−20.6|\pi - p/q| > q^{-20.6}∣π−p/q∣>q−20.6 for all q≥2q \ge 2q≥2, which gives μ(π)≤20.6\mu(\pi) \le 20.6μ(π)≤20.6 exactly as stated. The paper also proves ∣π−p/q∣>q−20|\pi - p/q| > q^{-20}∣π−p/q∣>q−20 for q≥q0q \ge q_0q≥q0​ (explicit), so μ(π)≤20\mu(\pi) \le 20μ(π)≤20 follows from the same source; this entry uses the table value 20.620.620.6.

How the bound arises

Mignotte refined Mahler's method of explicit rational approximations to π\piπ (Hermite's approximation formulae for the exponential and logarithm) and sharpened the estimates that turn their size and denominators into an irrationality measure.

Significance

Each step down the list replaces Mahler's approximations with a sharper family. Formalizing 20.620.620.6 would build reusable explicit machinery: integral constructions of rational approximations to π\piπ, bounds on their common denominators via prime-number estimates, and the standard lemma turning a sequence of good approximations into an irrationality-measure bound.

Selected references

  • M. Mignotte, Approximations rationnelles de π\piπ et quelques autres nombres, Mém. Soc. Math. France 37 (1974), 121–132. https://doi.org/10.24033/msmf.139
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
2 thms2 active usersReviewed
🏆Completed
Captain: Lucas

Chebotarëv's Density Theorem (Stevenhagen–Lenstra 1996)Research Paper

Motivation

Given a monic polynomial fff with integer coefficients, one can reduce it modulo each prime ppp and factor it over the finite field Fp\mathbb F_pFp​. The way fff factors changes with ppp, and the question of how often each factorization pattern occurs has a precise answer: Chebotarëv's density theorem (1922). It is the common generalization of Dirichlet's theorem on primes in arithmetic progressions (1837) and a theorem of Frobenius (1880, published 1896), and it underlies a large part of algebraic number theory, for example the fact that a Galois extension of a number field is determined by the set of primes that split completely in it. This mission follows the elementary exposition of P. Stevenhagen and H. W. Lenstra, Jr. (Math. Intelligencer 18 (1996)), which states all three theorems over Q\mathbb QQ with a minimum of terminology.

Timeline.

  • 1837 — Dirichlet: primes are equidistributed (in analytic density) over the invertible residue classes modulo mmm.
  • 1880/1896 — Frobenius: the density of primes with a given decomposition type of fff modulo ppp equals the proportion of Galois group elements with that cycle pattern; he conjectures the sharper statement for conjugacy classes.
  • 1896 — de la Vallée-Poussin: Dirichlet's theorem for natural density.
  • 1922/1925 — Chebotarëv proves Frobenius's conjecture, without class field theory.
  • 1935 — Deuring's proof via Artin reciprocity, now the textbook route.

Setting

Let f∈Z[X]f\in\mathbb Z[X]f∈Z[X] be monic of degree nnn with nonzero discriminant Δ(f)\Delta(f)Δ(f), so that fff has nnn distinct complex zeros α1,…,αn\alpha_1,\dots,\alpha_nα1​,…,αn​. Let K=Q(α1,…,αn)K=\mathbb Q(\alpha_1,\dots,\alpha_n)K=Q(α1​,…,αn​) be its splitting field and G=Gal(K/Q)G=\mathrm{Gal}(K/\mathbb Q)G=Gal(K/Q) its Galois group. Every σ∈G\sigma\in Gσ∈G permutes the zeros; the lengths of the cycles (including cycles of length 1) form the cycle pattern of σ\sigmaσ, a partition of nnn.

For a prime p∤Δ(f)p\nmid\Delta(f)p∤Δ(f), the degrees of the irreducible factors of f mod pf \bmod pfmodp over Fp\mathbb F_pFp​ form the decomposition type of fff modulo ppp, again a partition of nnn.

A Frobenius substitution of ppp is an element σ∈G\sigma\in Gσ∈G such that, for some prime ideal Q\mathfrak QQ of the ring of integers OK\mathcal O_KOK​ lying over ppp,

σ(x)≡xp(modQ)for all x∈OK.\sigma(x)\equiv x^p \pmod{\mathfrak Q}\qquad\text{for all }x\in\mathcal O_K .σ(x)≡xp(modQ)for all x∈OK​.

For p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) these elements form a single conjugacy class of GGG, written σp\sigma_pσp​.

A set SSS of primes has (analytic, or Dirichlet) density δ\deltaδ if

∑p∈Sp−slog⁡1s−1⟶δ(s↓1),\frac{\sum_{p\in S}p^{-s}}{\log\frac{1}{s-1}}\longrightarrow\delta\qquad(s\downarrow 1),logs−11​∑p∈S​p−s​⟶δ(s↓1),

and natural density δ\deltaδ if #{p≤x:p∈S}/#{p≤x}→δ\#\{p\le x:p\in S\}/\#\{p\le x\}\to\delta#{p≤x:p∈S}/#{p≤x}→δ as x→∞x\to\inftyx→∞.

Formalization targets

Goal: Chebotarëv's density theorem

For every conjugacy class CCC of GGG,

the set {p prime:p∤Δ(f), σp∈C} has analytic density #C#G.\text{the set }\{p \text{ prime}: p\nmid\Delta(f),\ \sigma_p\in C\}\text{ has analytic density }\frac{\#C}{\#G}.the set {p prime:p∤Δ(f), σp​∈C} has analytic density #G#C​.

Milestones

  1. Theorem of Dirichlet: for m≥1m\ge1m≥1 and gcd⁡(a,m)=1\gcd(a,m)=1gcd(a,m)=1, the primes p≡a(modm)p\equiv a \pmod mp≡a(modm) have density 1/φ(m)1/\varphi(m)1/φ(m).
  2. A set of primes with natural density δ\deltaδ has analytic density δ\deltaδ.
  3. Galois theory of finite fields: for a squarefree g∈Fp[X]g\in\mathbb F_p[X]g∈Fp​[X], the cycle pattern of x↦xpx\mapsto x^px↦xp on the zeros of ggg equals the decomposition type of ggg.
  4. For p∤Δ(f)p\nmid\Delta(f)p∤Δ(f), the Frobenius substitutions of ppp form exactly one conjugacy class of GGG.
  5. For p∤Δ(f)p\nmid\Delta(f)p∤Δ(f), the cycle pattern of σp\sigma_pσp​ equals the decomposition type of fff modulo ppp.
  6. For f=Xm−1f=X^m-1f=Xm−1 and p∤mp\nmid mp∤m, σp(ζ)=ζp\sigma_p(\zeta)=\zeta^pσp​(ζ)=ζp for every primitive mmm-th root of unity ζ\zetaζ; that is, σp\sigma_pσp​ corresponds to p mod mp \bmod mpmodm under G≅(Z/mZ)×G\cong(\mathbb Z/m\mathbb Z)^\timesG≅(Z/mZ)×.
  7. Theorem of Frobenius: the primes p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) for which fff has a given decomposition type ttt have density #{σ∈G:cycle pattern t}/#G\#\{\sigma\in G:\text{cycle pattern }t\}/\#G#{σ∈G:cycle pattern t}/#G.

Significance

Chebotarëv's theorem shows that every conjugacy class of the Galois group occurs as a Frobenius class for infinitely many primes, with a predictable frequency. Its standard consequences include: the Frobenius elements are equidistributed; a Galois extension is determined by its completely split primes; if fff has a zero modulo almost every prime then fff is linear or reducible; prime ideals are equidistributed over ideal classes. The theorem is the first step in many arguments in arithmetic geometry (e.g. Serre's work on ℓ\ellℓ-adic representations).

The theorem is classical and proved; this mission is about formalizing it. Mathlib contains Frobenius elements in Galois extensions of Dedekind domains and Dirichlet's theorem in the form "infinitely many primes in each coprime residue class", but, to our knowledge, neither the density form of Dirichlet's theorem nor Frobenius's or Chebotarëv's density theorem.

Difficulty

The Galois-theoretic parts (milestones 3–6) are standard but require connecting Frobenius elements in OK\mathcal O_KOK​ with factorization of fff modulo ppp, including the fact that p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) forces ppp to be unramified in KKK. The analytic core is harder: one needs Dedekind zeta functions and LLL-functions of number fields and their behaviour at s=1s=1s=1. The reduction of the general case to the cyclotomic case (Chebotarëv's "crossing" with cyclotomic extensions) needs the density statement over an arbitrary number field as base, not only over Q\mathbb QQ; in particular, the statement over Q\mathbb QQ alone cannot be proved by induction on itself.

Formalization scope

All declarations live in the namespace ChebotarevDensity and share one definition file.

  • KKK is Mathlib's SplittingField of fff viewed in Q[X]\mathbb Q[X]Q[X]; GGG is Polynomial.Gal; Δ(f)\Delta(f)Δ(f) is Mathlib's Polynomial.discr.
  • A Frobenius substitution is expressed with Mathlib's IsArithFrobAt at some prime ideal of OK\mathcal O_KOK​ containing ppp; "σp∈C\sigma_p\in Cσp​∈C" means that some Frobenius substitution of ppp lies in CCC (for p∤Δ(f)p\nmid\Delta(f)p∤Δ(f) this is equivalent to all of them lying in CCC, by milestone 4).
  • The cycle pattern is Equiv.Perm.partition of the permutation induced on the complex zeros of fff; it includes fixed points.
  • The decomposition type is the multiset of degrees of the normalized (monic) irreducible factors of f mod pf \bmod pfmodp.
  • Analytic density uses ∑′p−s\sum' p^{-s}∑′p−s over the primes of SSS and the limit s→1+s\to1^+s→1+ within (1,∞)(1,\infty)(1,∞); natural density compares prime counts up to x∈Nx\in\mathbb Nx∈N.
  • The hypotheses Δ(f)≠0\Delta(f)\neq0Δ(f)=0 and "fff monic" are those of the source; the theorems are not vacuous, since e.g. f=Xm−1f=X^m-1f=Xm−1 satisfies them.

Welcome contributions: Dedekind zeta functions and Hecke LLL-functions at s=1s=1s=1, the density form of Dirichlet's theorem, unramifiedness of primes not dividing the discriminant, and the general number-field version of the theorem.

Selected references

  • P. Stevenhagen, H. W. Lenstra, Jr., Chebotarëv and his density theorem, Math. Intelligencer 18 (1996), no. 2, 26–37. doi:10.1007/BF03027290
  • N. Tschebotareff, Die Bestimmung der Dichtigkeit einer Menge von Primzahlen, welche zu einer gegebenen Substitutionsklasse gehören, Math. Ann. 95 (1925), 191–228. doi:10.1007/BF01206606
  • S. Lang, Algebraic Number Theory, Addison-Wesley, 1970, Chap. VIII.
  • J. Neukirch, Class Field Theory, Springer, 1986, Chap. V.
  • Chebotarev density theorem, Wikipedia. link
21 thms2 active usersReviewed
Algebraic Geometry·Captain: Lucas

Lam–Litt conjecture: algebraicity and integrality of solutions to algebraic ODEsOpen Problem

Motivation

A classical way to recognize an algebraic function is through the arithmetic of its Taylor coefficients. Eisenstein's theorem (1852) says that if a power series f∈Q[[z]]f\in\mathbb{Q}[[z]]f∈Q[[z]] is algebraic over Q[z]\mathbb{Q}[z]Q[z], only finitely many primes occur in the denominators of its coefficients. The converse fails in general: many transcendental power series have integer coefficients. Lam and Litt (arXiv:2501.13175) conjecture that the converse does hold for power series that solve an algebraic differential equation at a non-singular point, and that even a weak control on denominators — primes ppp may appear, but only after roughly ω(p)≫p\omega(p)\gg pω(p)≫p coefficients — already forces algebraicity.

For linear differential equations, the conjecture is a strengthening of the Grothendieck–Katz ppp-curvature conjecture, one of the central open problems about algebraic solutions of linear differential equations (arXiv:2501.13175). The bounded-denominator form is Problem 1 on Litt's list of open problems (problemsilike.com/1).

Timeline.

  • 1852 — Eisenstein: algebraic power series over Q\mathbb{Q}Q have bounded denominators (implication (1)⇒(2) below).
  • 1970s — Grothendieck and Katz: the ppp-curvature conjecture for linear differential equations.
  • 2025 — Lam and Litt formulate the conjecture for (possibly non-linear) algebraic differential equations and prove it for many equations and initial conditions of algebro-geometric interest, including Picard–Fuchs equations at initial conditions corresponding to cycle classes, and isomonodromy equations such as Painlevé VI and the Schlesinger system at initial conditions corresponding to Picard–Fuchs equations (arXiv:2501.13175).

Setting

Let f=∑k≥0akzk∈Q[[z]]f=\sum_{k\ge0}a_kz^k\in\mathbb{Q}[[z]]f=∑k≥0​ak​zk∈Q[[z]] be a formal power series with rational coefficients and write f(i)f^{(i)}f(i) for its iii-th formal derivative. Let g∈Q(z,y0,…,yn−1)g\in\mathbb{Q}(z,y_0,\dots,y_{n-1})g∈Q(z,y0​,…,yn−1​) be a rational function in n+1n+1n+1 variables. The series fff solves the algebraic ODE defined by ggg if

f(n)(z)=g(z,f(z),f′(z),…,f(n−1)(z))f^{(n)}(z)=g\bigl(z,f(z),f'(z),\dots,f^{(n-1)}(z)\bigr)f(n)(z)=g(z,f(z),f′(z),…,f(n−1)(z))

and ggg is defined at (0,f(0),…,f(n−1)(0))\bigl(0,f(0),\dots,f^{(n-1)}(0)\bigr)(0,f(0),…,f(n−1)(0)). Concretely, g=p/qg=p/qg=p/q for polynomials p,qp,qp,q with q(0,f(0),…,f(n−1)(0))≠0q\bigl(0,f(0),\dots,f^{(n-1)}(0)\bigr)\neq0q(0,f(0),…,f(n−1)(0))=0 and f(n)⋅q(z,f,…,f(n−1))=p(z,f,…,f(n−1))f^{(n)}\cdot q(z,f,\dots,f^{(n-1)})=p(z,f,\dots,f^{(n-1)})f(n)⋅q(z,f,…,f(n−1))=p(z,f,…,f(n−1)).

For N∈NN\in\mathbb{N}N∈N, Z[1/N]⊆Q\mathbb{Z}[1/N]\subseteq\mathbb{Q}Z[1/N]⊆Q is the subring generated by 1/N1/N1/N. For a function ω\omegaω from the primes to Z\mathbb{Z}Z, the coefficients of fff are ω\omegaω-integral if for every prime ppp the numbers a0,…,aω(p)a_0,\dots,a_{\omega(p)}a0​,…,aω(p)​ lie in Z(p)\mathbb{Z}_{(p)}Z(p)​ (denominators prime to ppp); ω\omegaω is superlinear if ω(p)/p→∞\omega(p)/p\to\inftyω(p)/p→∞.

Formalization targets

Goal: the Lam–Litt conjecture

For fff solving an algebraic ODE as above, the following are equivalent:

(1) f is algebraic over Q[z];(2) ∃N, ∀k, ak∈Z[1/N];(3) ∃ ω superlinear with (ak) ω-integral.\text{(1) } f \text{ is algebraic over } \mathbb{Q}[z];\qquad \text{(2) } \exists N,\ \forall k,\ a_k\in\mathbb{Z}[1/N];\qquad \text{(3) } \exists\,\omega \text{ superlinear with } (a_k) \ \omega\text{-integral}.(1) f is algebraic over Q[z];(2) ∃N, ∀k, ak​∈Z[1/N];(3) ∃ω superlinear with (ak​) ω-integral.

Milestones

  • (1)⇒(2), Eisenstein's theorem (no ODE hypothesis needed).
  • (2)⇒(3), elementary (no ODE hypothesis needed).
  • (3)⇒(2), open.
  • (2)⇒(1), open; Litt's Problem 1.

Together the four milestones imply the goal; the last two are the open content of the conjecture.

Significance

A proof would give an arithmetic criterion for algebraicity of solutions of arbitrary algebraic differential equations, and, for linear equations, would imply the Grothendieck–Katz ppp-curvature conjecture (arXiv:2501.13175). Lam and Litt draw algebro-geometric consequences from the cases they prove.

For formalization: the conjecture is open, so the goal and the two open milestones are research targets. Eisenstein's theorem is a classical result; formalizing it is concrete, self-contained work. The implication (2)⇒(3) is elementary. The cases proved by Lam and Litt are candidates for further milestones.

Difficulty

Integrality of coefficients alone does not detect algebraicity: there are transcendental power series with integer coefficients that satisfy linear differential equations, such as ∑k(2kk)2zk\sum_k\binom{2k}{k}^2z^k∑k​(k2k​)2zk. Its equation is singular at z=0z=0z=0, which the non-singularity hypothesis on ggg excludes; the conjecture asserts that at non-singular points such examples cannot occur. Even for linear equations the statement contains the Grothendieck–Katz conjecture, which is open in general.

Formalization scope

  • Power series are PowerSeries ℚ with the formal derivative; rational functions are the fraction field of MvPolynomial (Fin (n + 1)) ℚ, where variable 0 is zzz and variable i + 1 is f(i)f^{(i)}f(i).
  • The ODE hypothesis is existential: some representation g=p/qg=p/qg=p/q with qqq nonzero at the initial point and f(n)q(… )=p(… )f^{(n)}q(\dots)=p(\dots)f(n)q(…)=p(…) as power series. This non-singularity requirement is essential and must not be dropped.
  • Algebraicity is IsAlgebraic (Polynomial ℚ) f, i.e. over Q[z]\mathbb{Q}[z]Q[z] (equivalently over Q(z)\mathbb{Q}(z)Q(z)).
  • Z[1/N]\mathbb{Z}[1/N]Z[1/N] is the subalgebra of Q\mathbb{Q}Q generated by 1/N1/N1/N; since 1/0=01/0=01/0=0 in Lean, N=0N=0N=0 gives Z\mathbb{Z}Z.
  • ω\omegaω takes values in Z\mathbb{Z}Z; negative values impose no condition at that prime. Superlinearity is the limit ω(p)/p→∞\omega(p)/p\to\inftyω(p)/p→∞ along the primes.
  • The goal is a List.TFAE of the three conditions.

Useful infrastructure: formal derivatives and substitution for power series, algebraic power series and their coefficient arithmetic (Eisenstein), and ppp-adic valuations of coefficients. Formalizations of Eisenstein's theorem and of the special cases proved by Lam and Litt are welcome.

Selected references

  • Y. H. J. Lam, D. Litt, Algebraicity and integrality of solutions to differential equations, arXiv preprint, 2025. https://arxiv.org/abs/2501.13175
  • D. Litt, Problem 1, problems list. https://www.problemsilike.com/1
  • G. Eisenstein, Über eine allgemeine Eigenschaft der Reihen-Entwicklungen aller algebraischen Funktionen, Bericht der Königl. Preuss. Akademie der Wissenschaften zu Berlin, 1852.
  • Formal Conjectures project, FormalConjectures/LittProblems/1.lean. https://github.com/google-deepmind/formal-conjectures
6 thms2 active usersReviewed
Captain: Lucas

Brocard's Problem: n! + 1 = m²Open Problem

Motivation

Brocard's problem asks for all natural numbers nnn such that n!+1n! + 1n!+1 is a perfect square. Henri Brocard raised the question in 1876 and again in 1885, and Srinivasa Ramanujan independently posed it in 1913 in the Journal of the Indian Mathematical Society. Only three solutions are known, and the problem is listed as Erdős problem #398 (erdosproblems.com/398). It is one of the simplest-looking Diophantine equations mixing a multiplicative object (the factorial) with an additive shift, and it is a standard test case for conjectures such as the abc conjecture.

Timeline

  • 1876, 1885 — Brocard asks whether n!+1=m2n! + 1 = m^2n!+1=m2 has solutions other than n=4,5,7n = 4, 5, 7n=4,5,7.
  • 1913 — Ramanujan poses the same question (Question 469, J. Indian Math. Soc.).
  • 1993 — Overholt shows that, conditionally on (a weak form of) the abc conjecture, the equation has only finitely many solutions (Wikipedia summary).
  • 2000 — Berndt and Galway report a computer search finding no solutions other than n=4,5,7n = 4, 5, 7n=4,5,7 for n<109n < 10^9n<109.
  • Later searches — the search bound was extended further (Matson, to 101210^{12}1012; Epstein and Glickman, to 101510^{15}1015), again without new solutions.

No unconditional proof of finiteness is known.

Setting

For a natural number nnn, the factorial is n!=1⋅2⋯nn! = 1 \cdot 2 \cdots nn!=1⋅2⋯n, with 0!=10! = 10!=1. A Brown number pair is a pair (n,m)(n, m)(n,m) of natural numbers with

n!+1=m2.n! + 1 = m^2 .n!+1=m2.

The three known pairs are (4,5)(4, 5)(4,5), (5,11)(5, 11)(5,11) and (7,71)(7, 71)(7,71), since 25=5225 = 5^225=52, 121=112121 = 11^2121=112 and 5041=7125041 = 71^25041=712.

For the conditional milestone, the radical rad⁡(N)\operatorname{rad}(N)rad(N) of a natural number NNN is the product of the distinct primes dividing NNN. The abc conjecture asserts: for every ε>0\varepsilon > 0ε>0 there is Kε>0K_\varepsilon > 0Kε​>0 such that for all positive integers a,b,ca, b, ca,b,c with gcd⁡(a,b)=1\gcd(a, b) = 1gcd(a,b)=1 and a+b=ca + b = ca+b=c,

c<Kε rad⁡(abc)1+ε.c < K_\varepsilon \, \operatorname{rad}(abc)^{1+\varepsilon}.c<Kε​rad(abc)1+ε.

Formalization targets

Goal — Brocard's problem

{(n,m)∈N2:n!+1=m2}={(4,5), (5,11), (7,71)}.\{(n, m) \in \mathbb{N}^2 : n! + 1 = m^2\} = \{(4, 5),\ (5, 11),\ (7, 71)\}.{(n,m)∈N2:n!+1=m2}={(4,5), (5,11), (7,71)}.

This says both that the three known pairs are solutions and that there are no others.

Milestones

  1. Known solutions: 4!+1=524! + 1 = 5^24!+1=52, 5!+1=1125! + 1 = 11^25!+1=112, 7!+1=7127! + 1 = 71^27!+1=712.
  2. Berndt–Galway search bound: if n<109n < 10^9n<109 and n!+1=m2n! + 1 = m^2n!+1=m2, then n∈{4,5,7}n \in \{4, 5, 7\}n∈{4,5,7}.
  3. Overholt (conditional finiteness): if the abc conjecture holds, then {(n,m):n!+1=m2}\{(n, m) : n! + 1 = m^2\}{(n,m):n!+1=m2} is finite.

Significance

A resolution would settle a question open since 1876 and would be one of the rare complete solutions of a factorial Diophantine equation of this kind. The conditional finiteness result is a standard illustration of how the abc conjecture controls equations of the form n!+A=m2n! + A = m^2n!+A=m2.

For the formalization, the known-solutions milestone is a finite computation. The search-bound milestone is a large verified computation; a machine-checked certificate for it would be a reusable artifact. The conditional finiteness milestone formalizes a published argument that assumes the abc conjecture as a hypothesis. The goal itself is an open problem; none of these statements is known to have a machine-checked proof on this platform at the time of drafting.

Difficulty

Congruence obstructions cannot rule out large solutions: for every modulus MMM and every n≥Mn \ge Mn≥M one has n!≡0(modM)n! \equiv 0 \pmod Mn!≡0(modM), so n!+1≡1=12(modM)n! + 1 \equiv 1 = 1^2 \pmod Mn!+1≡1=12(modM) is a square modulo MMM. Local arguments alone therefore cannot close the problem. The known finiteness argument depends on the abc conjecture, which is itself unproved in the standard form used here. Computer searches only give lower bounds on any further solution.

Formalization scope

  • Numbers are natural numbers (ℕ); mmm ranges over N\mathbb{N}N, so the sign of mmm is not an issue. The factorial is Mathlib's Nat.factorial, with 0!=10! = 10!=1.
  • The goal is stated as an equality of sets of ordered pairs in N×N\mathbb{N} \times \mathbb{N}N×N, so it cannot be satisfied by proving only one inclusion.
  • The radical is defined as the product over the prime factors of NNN (so rad⁡(0)=rad⁡(1)=1\operatorname{rad}(0) = \operatorname{rad}(1) = 1rad(0)=rad(1)=1; the value at 000 never enters since a,b,c>0a, b, c > 0a,b,c>0).
  • The abc conjecture is a Prop-valued definition used as a hypothesis in the conditional milestone; it is not asserted anywhere. The exponent 1+ε1 + \varepsilon1+ε is a real power.
  • Overholt's published result assumes only a weak form of abc; the milestone assumes the standard form, which implies the weak form, so the milestone is a consequence of the published result.
  • All declarations live in the namespace Brocard.

Selected references

  • H. Brocard, Question 166, Nouv. Corresp. Math. 2 (1876), 287; Nouv. Ann. Math. (3) 4 (1885), 391.
  • S. Ramanujan, Question 469, J. Indian Math. Soc. 5 (1913), 59.
  • M. Overholt, The Diophantine equation n!+1=m2n! + 1 = m^2n!+1=m2, Bull. London Math. Soc. 25 (1993), 104.
  • B. C. Berndt and W. F. Galway, On the Brocard–Ramanujan Diophantine equation n!+1=m2n! + 1 = m^2n!+1=m2, Ramanujan J. 4 (2000), 41–42.
  • Erdős problem #398: https://www.erdosproblems.com/398
  • Brocard's problem, Wikipedia: https://en.wikipedia.org/wiki/Brocard%27s_problem
  • Formal Conjectures (Google DeepMind): https://github.com/google-deepmind/formal-conjectures
135 thms2 active usersReviewed
🏆Completed
ProbabilityQuantum InformationTheoretical Computer Science·Captain: mikedeng1

Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer 4: The Discrete Logarithm Circuit Gives a Good Output with Probability at Least 1/480Research Paper

Motivation

The discrete logarithm problem modulo a prime asks, given a prime ppp, a generator ggg of the multiplicative group modulo ppp, and a nonzero residue xxx, for the exponent rrr with gr≡x(modp)g^r\equiv x \pmod pgr≡x(modp). Its presumed classical hardness underlies Diffie–Hellman key exchange, ElGamal encryption and the Digital Signature Algorithm. The best classical algorithm known when Shor wrote, Gordon's adaptation of the number field sieve, runs in time exp⁡(O((log⁡p)1/3(log⁡log⁡p)2/3))\exp(O((\log p)^{1/3}(\log\log p)^{2/3}))exp(O((logp)1/3(loglogp)2/3)).

In §6 of Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer (SIAM J. Comput. 26(5), 1997; doi:10.1137/S0097539795293172, arXiv:quant-ph/9508027), Shor gave a quantum algorithm that uses two modular exponentiations and two quantum Fourier transforms and outputs, with constant probability, a pair from which rrr can be computed. The quantitative core of that analysis is a single number: the circuit produces a "good" output with probability at least 1/4801/4801/480. This mission formalizes that bound and the three estimates it is assembled from.

Setting

Let ppp be a prime and ggg a generator of (Z/pZ)×(\mathbb Z/p\mathbb Z)^\times(Z/pZ)×, so that 1,g,…,gp−21,g,\dots,g^{p-2}1,g,…,gp−2 are all the nonzero residues. Fix the unknown rrr with 0≤r<p−10\le r<p-10≤r<p−1 and put x=grx=g^rx=gr. Let q=2lq=2^lq=2l be the power of 222 with p<q<2pp<q<2pp<q<2p.

The Fourier matrix AqA_qAq​ is the q×qq\times qq×q matrix with entries (Aq)a,c=q−1/2exp⁡(2πi ac/q)(A_q)_{a,c}=q^{-1/2}\exp(2\pi i\,ac/q)(Aq​)a,c​=q−1/2exp(2πiac/q) for 0≤a,c<q0\le a,c<q0≤a,c<q (§4, eq. (4.1)). Rows index input basis vectors and columns output basis vectors.

The algorithm uses three registers: two holding numbers 0≤a,b<q0\le a,b<q0≤a,b<q and one holding a nonzero residue modulo ppp. It starts from the state

1p−1∑a=0p−2∑b=0p−2∣a,b,gax−b (mod p)⟩(6.1)\frac{1}{p-1}\sum_{a=0}^{p-2}\sum_{b=0}^{p-2}|a,b,g^ax^{-b}\ (\mathrm{mod}\ p)\rangle \qquad (6.1)p−11​a=0∑p−2​b=0∑p−2​∣a,b,gax−b (mod p)⟩(6.1)

(preFourierState), applies AqA_qAq​ to each of the first two registers (finalState), and measures all three registers. The probability of observing ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ is the squared modulus of its amplitude (outcomeProb).

For integers zzz and q>0q>0q>0, the symmetric residue {z}q\{z\}_q{z}q​ is the residue of zzz modulo qqq in (−q/2,q/2](-q/2,q/2](−q/2,q/2] (symmRes). Put

T=rc+d−rp−1{c(p−1)}q.T=rc+d-\frac{r}{p-1}\{c(p-1)\}_q .T=rc+d−p−1r​{c(p−1)}q​.

An observed state ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ is good (IsGood) when

∣{T}q∣≤12(6.10)and∣{c(p−1)}q∣≤q/12(6.11).|\{T\}_q|\le\tfrac12 \quad (6.10) \qquad\text{and}\qquad |\{c(p-1)\}_q|\le q/12 \quad (6.11).∣{T}q​∣≤21​(6.10)and∣{c(p−1)}q​∣≤q/12(6.11).

Goodness depends only on (c,d)(c,d)(c,d).

Formalization targets

Goal: a good output with probability at least 1/4801/4801/480 (§6, p. 1504)

∑0≤c,d<q(c,d) good ∑y∈(Z/p)×Pr⁡[c,d,y] ≥ 1480.\sum_{\substack{0\le c,d<q\\ (c,d)\ \text{good}}}\ \sum_{y\in(\mathbb Z/p)^\times}\Pr[c,d,y]\ \ge\ \frac1{480}.0≤c,d<q(c,d) good​∑​ y∈(Z/p)×∑​Pr[c,d,y] ≥ 4801​.

The constant is the one the page carries forward. The goal fixes no threshold on ppp: it is stated for every prime ppp that admits a power of two strictly between ppp and 2p2p2p.

Milestones

  1. The output distribution, eq. (6.4). For 0≤k<p−10\le k<p-10≤k<p−1,
Pr⁡[c,d,gk]=∣1(p−1)q∑0≤a,b≤p−2a−rb≡k (p−1)exp⁡(2πiq(ac+bd))∣2.\Pr[c,d,g^k]=\left|\frac{1}{(p-1)q}\sum_{\substack{0\le a,b\le p-2\\ a-rb\equiv k\ (p-1)}}\exp\Bigl(\frac{2\pi i}{q}(ac+bd)\Bigr)\right|^2 .Pr[c,d,gk]=​(p−1)q1​0≤a,b≤p−2a−rb≡k (p−1)​∑​exp(q2πi​(ac+bd))​2.
  1. Each good state is likely, eq. (6.17). If (c,d)(c,d)(c,d) is good, then Pr⁡[c,d,y]≥1/(20q2)\Pr[c,d,y]\ge 1/(20q^2)Pr[c,d,y]≥1/(20q2) for every yyy.
  2. Many good pairs (p. 1504). At least q/12q/12q/12 pairs (c,d)(c,d)(c,d) are good.
  3. Each good ccc is likely (p. 1504). If (c,d)(c,d)(c,d) is good for some ddd, then ∑d′,yPr⁡[c,d′,y]≥(p−1)/(20q2)≥1/(40q)\sum_{d',y}\Pr[c,d',y]\ge(p-1)/(20q^2)\ge1/(40q)∑d′,y​Pr[c,d′,y]≥(p−1)/(20q2)≥1/(40q).

Significance

The result. The bound 1/4801/4801/480 is what turns the circuit into an algorithm. Repeating the circuit O(1)O(1)O(1) times in expectation yields a good output, and from a good pair (c,d)(c,d)(c,d) one reads off an equation that determines rrr modulo divisors of p−1p-1p−1 (§6, eqs. (6.18)–(6.20)). Together with the quantum Fourier transform circuit and reversible modular exponentiation, this places the discrete logarithm modulo a prime in quantum polynomial time. Every later analysis of quantum attacks on discrete-logarithm cryptography starts from this success probability or a sharpened version of it.

Formalizing it. The result has been proved since 1994–1997 and is textbook material; it is not open. As far as is known, no machine-checked proof of Shor's discrete-logarithm analysis exists. The paper's proof of eq. (6.17) replaces a sum by an integral with an error term O(W/(pq))O(W/(pq))O(W/(pq)) whose constant is not given, yet states 1/(20q2)1/(20q^2)1/(20q2) for every prime. A formal proof must therefore either control that error explicitly or find another argument, and so settles a point the paper leaves informal. Numerically, the smallest value of q2Pr⁡[c,d,y]q^2\Pr[c,d,y]q2Pr[c,d,y] over good states is about 0.490.490.49 for all primes p<90p<90p<90, so the unconditional claim is not in doubt for small ppp. The page also contains two small slips, recorded under Formalization scope; a complete development pins down exactly what is true.

Difficulty

The exponential sum (6.4) runs over pairs (a,b)(a,b)(a,b) satisfying a congruence modulo p−1p-1p−1, while the phases are taken modulo qqq. The two moduli are unrelated: qqq is a power of two and p−1p-1p−1 is arbitrary. Eliminating aaa through the congruence introduces a floor function ⌊(br+k)/(p−1)⌋\lfloor(br+k)/(p-1)\rfloor⌊(br+k)/(p−1)⌋, and the resulting phase is not linear in bbb. The obvious estimate treats the sum as a geometric series in bbb and bounds it by its first-order phase; this fails because the floor term perturbs every phase by an amount of size up to ∣{c(p−1)}q∣|\{c(p-1)\}_q|∣{c(p−1)}q​∣. Condition (6.11) only keeps this perturbation within π/6\pi/6π/6 of the main phase; it does not remove it. The per-state bound must survive this perturbation uniformly in ppp, rrr and kkk, including small primes where the paper's integral approximation gives no explicit control.

The count of good pairs needs a separate argument about how often a multiple c(p−1)c(p-1)c(p−1) lies within q/12q/12q/12 of a multiple of qqq when gcd⁡(p−1,q)\gcd(p-1,q)gcd(p−1,q) is large.

Formalization scope

  • States are functions Fin q × Fin q × (ZMod p)ˣ → ℂ. The first two registers range over {0,…,q−1}\{0,\dots,q-1\}{0,…,q−1}; the third over the units modulo ppp.
  • Matrix convention. Following §2, rows are inputs, so the amplitude of ∣c,d,y⟩|c,d,y\rangle∣c,d,y⟩ after the transforms is ∑a,bψ(a,b,y)(Aq)a,c(Aq)b,d\sum_{a,b}\psi(a,b,y)(A_q)_{a,c}(A_q)_{b,d}∑a,b​ψ(a,b,y)(Aq​)a,c​(Aq​)b,d​. finalState is defined this way from (6.1) and AqA_qAq​. It is not typed in as the closed form (6.3) or (6.4). A formalization that defined the final state by (6.4) directly would make milestone 1 trivial, and is ruled out.
  • Probability of a basis state is the squared norm of its amplitude, with no normalization hypothesis.
  • Parameters. ppp is prime (Fact p.Prime). The generator is encoded as orderOf g = p - 1. r<p−1r<p-1r<p−1 is a parameter, with x=grx=g^rx=gr. qqq is given by q = 2 ^ l together with p<q<2pp<q<2pp<q<2p. No large-ppp threshold is added anywhere.
  • Arithmetic. x−bx^{-b}x−b is x⁻¹ ^ b in the unit group. p−1p-1p−1 is computed in Z\mathbb ZZ and R\mathbb RR inside TTT and the congruences, and as natural-number subtraction only where p≥2p\ge2p≥2 makes it exact. TTT is real.
  • Condition (6.10) is stated as "some integer jjj has ∣T−jq∣≤12|T-jq|\le\frac12∣T−jq∣≤21​". Because q≥4q\ge4q≥4, this is equivalent to the page's form with jjj the closest integer to T/qT/qT/q.
  • Not formalized. The preparation of (6.1) by testing and restarting is not formalized; the state (6.1) is taken as displayed. The printed test "whether the number is less than ppp" should read p−1p-1p−1, as the sums in (6.1) show. Also out of scope: the recovery of rrr (eqs. (6.18)–(6.20)), the repetition count "480t480t480t", and all running-time claims.
  • Printed slips.
    • The page asserts that for each ccc there is exactly one ddd satisfying (6.10). At a tie {T}q=±12\{T\}_q=\pm\frac12{T}q​=±21​ there can be two such ddd. Milestone 3 states only the count, which needs at least one.
    • The page's intermediate bound "at least p/(240q)p/(240q)p/(240q)" should be (p−1)/(240q)(p-1)/(240q)(p−1)/(240q). The conclusion 1/4801/4801/480 is unaffected, since qqq and 2p2p2p are both even and so q≤2(p−1)q\le 2(p-1)q≤2(p−1). Only 1/4801/4801/480 is stated.

Needed infrastructure: finite exponential sums and their modulus, the symmetric residue and its basic properties, and counting multiples in residue classes of Z/q\mathbb Z/qZ/q. The exponential-sum estimates of milestones 1 and 2 are reusable in the order-finding analysis of §5 of the same paper. Proofs of any milestone, of the normalization ∑Pr⁡=1\sum\Pr=1∑Pr=1, and of auxiliary lemmas about symmRes are welcome.

Selected references

  • P. W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, SIAM J. Comput. 26(5):1484–1509, 1997. https://doi.org/10.1137/S0097539795293172 (preprint: https://arxiv.org/abs/quant-ph/9508027)
  • D. M. Gordon, Discrete logarithms in GF(p) using the number field sieve, SIAM J. Discrete Math. 6(1):124–138, 1993. https://doi.org/10.1137/0406010
  • W. Diffie and M. E. Hellman, New directions in cryptography, IEEE Trans. Inform. Theory 22(6):644–654, 1976. https://doi.org/10.1109/TIT.1976.1055638
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2000. https://doi.org/10.1017/CBO9780511976667
11 thms2 active usersReviewed
🏆Completed
ProbabilityTheoretical Computer Science·Captain: mikedeng1

Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer 2: Factoring from a Random ResidueResearch Paper

Motivation

Shor's 1997 paper (SIAM J. Comput. 26(5), arXiv:quant-ph/9508027) gives a polynomial-time quantum algorithm for factoring integers. The quantum computer does not factor directly: it finds the multiplicative order of an element modulo nnn. The step from order finding to factoring is classical and randomized, and goes back to Miller's 1976 work on primality testing (G. L. Miller, Riemann's hypothesis and tests for primality, J. Comput. System Sci. 13 (1976)). Every account of Shor's algorithm, and every resource estimate for breaking RSA with a quantum computer, depends on this reduction succeeding with a constant probability per trial. This mission formalizes that probability bound as Shor states it on p. 1498 of the published paper.

Setting

Let n>1n > 1n>1 be an odd integer with prime factorization

n=∏i=1kpiαi,n = \prod_{i=1}^{k} p_i^{\alpha_i},n=i=1∏k​piαi​​,

so kkk is the number of distinct prime factors of nnn, all odd. The unit group (Z/nZ)×(\mathbb{Z}/n\mathbb{Z})^\times(Z/nZ)× consists of the residues coprime to nnn; it has φ(n)\varphi(n)φ(n) elements, where φ\varphiφ is Euler's totient function.

For a unit xxx the order r=ord⁡n(x)r = \operatorname{ord}_n(x)r=ordn​(x) is the least positive integer with xr≡1(modn)x^r \equiv 1 \pmod nxr≡1(modn). For each iii the local order rir_iri​ is the order of x mod piαix \bmod p_i^{\alpha_i}xmodpiαi​​, taken modulo the full prime power, not modulo pip_ipi​. For a positive integer mmm, ν2(m)\nu_2(m)ν2​(m) denotes the exponent of the largest power of 222 dividing mmm.

The reduction is: choose xxx uniformly at random from (Z/nZ)×(\mathbb{Z}/n\mathbb{Z})^\times(Z/nZ)×, obtain its order rrr (from the quantum subroutine), and compute

g(x)=gcd⁡(xr/2−1, n).g(x) = \gcd\bigl(x^{r/2} - 1,\ n\bigr).g(x)=gcd(xr/2−1, n).

The procedure yields a nontrivial factor at xxx when rrr is even and 1<g(x)<n1 < g(x) < n1<g(x)<n. In Lean this event is ShorAlgorithms.Reduction.successEvent n u for u : (ZMod n)ˣ, and rir_iri​ is localOrder n u p for p ∈ n.primeFactors.

Formalization targets

Goal: the success probability

Pr⁡x∈(Z/n)×[r even and 1<gcd⁡(xr/2−1,n)<n]  ≥  1−12k−1.\Pr_{x \in (\mathbb{Z}/n)^\times}\bigl[r \text{ even and } 1 < \gcd(x^{r/2}-1, n) < n\bigr] \;\ge\; 1 - \frac{1}{2^{k-1}}.x∈(Z/n)×Pr​[r even and 1<gcd(xr/2−1,n)<n]≥1−2k−11​.

It is stated for every odd n>1n > 1n>1. For a prime power (k=1k = 1k=1) the bound is 000, so the statement says nothing there; it is informative exactly when nnn is not a prime power, as the paper remarks. The constant is sharp: for n=21n = 21n=21 exactly 666 of the 121212 units succeed, so 1−1/2k1 - 1/2^{k}1−1/2k in place of 1−1/2k−11 - 1/2^{k-1}1−1/2k−1 would be false.

Milestones, in the order the page uses them

  1. Success criterion. If rrr is even and xr/2≢−1(modn)x^{r/2} \not\equiv -1 \pmod nxr/2≡−1(modn), then 1<gcd⁡(xr/2−1,n)<n1 < \gcd(x^{r/2}-1, n) < n1<gcd(xr/2−1,n)<n.
  2. Order is the lcm. r=lcm⁡(r1,…,rk)r = \operatorname{lcm}(r_1, \dots, r_k)r=lcm(r1​,…,rk​).
  3. Failure forces agreement. For odd nnn, if the procedure fails at xxx, then ν2(r1)=⋯=ν2(rk)\nu_2(r_1) = \cdots = \nu_2(r_k)ν2​(r1​)=⋯=ν2​(rk​).
  4. At most half per odd prime power. For an odd prime ppp and α≥1\alpha \ge 1α≥1, at most φ(pα)/2\varphi(p^\alpha)/2φ(pα)/2 units modulo pαp^\alphapα have order with a prescribed 2-adic valuation.
  5. All agree rarely. The units for which ν2(r1)=⋯=ν2(rk)\nu_2(r_1) = \cdots = \nu_2(r_k)ν2​(r1​)=⋯=ν2​(rk​) number at most φ(n)/2k−1\varphi(n)/2^{k-1}φ(n)/2k−1.

Significance

The result. The bound turns an order-finding oracle into a factoring algorithm: when nnn is odd and not a prime power, each trial succeeds with probability at least 1/21/21/2, so ttt independent trials all fail with probability at most 2−t2^{-t}2−t. Even numbers and prime powers are split classically, as the paper notes, so the bound completes the reduction from factoring to order finding. The same criterion — a square root of 111 other than ±1\pm 1±1 splits nnn — underlies the Miller–Rabin test and several classical factoring methods.

Formalizing it. The mathematics is classical and proved; the paper gives a sketch of one paragraph. This mission writes out the sketch as machine-checked statements over Mathlib's ZMod, including the probabilistic step, which in the paper is an informal appeal to the Chinese remainder theorem and "50% probability of agreeing with the previous ones". Mathlib already has the needed ingredients (cyclicity of (Z/pα)×(\mathbb{Z}/p^\alpha)^\times(Z/pα)× for odd ppp, ZMod.chineseRemainder, ZMod.card_units_eq_totient), but not the reduction or its probability bound.

Difficulty

The success criterion (milestone 1) is elementary. The substance is the counting. The obvious route — treating the ν2(ri)\nu_2(r_i)ν2​(ri​) as independent and each "equal to the previous one with probability 1/21/21/2" — needs both a precise product decomposition of the unit group modulo nnn into the unit groups modulo piαip_i^{\alpha_i}piαi​​, compatible with the local orders, and the count in a cyclic group of even order of the elements whose order has a given 2-adic valuation. The informal phrase "at most a 50% probability of agreeing with the previous ones" hides a conditioning argument over k−1k - 1k−1 coordinates that has to be done by an explicit cardinality bound. A second pitfall is milestone 3: its converse direction and its forward direction use oddness of nnn in different places, and modulo a power of 222 the argument breaks because −1≡1(mod2)-1 \equiv 1 \pmod 2−1≡1(mod2).

Formalization scope

  • Sample space. Uniform on (ZMod n)ˣ; probabilities are stated in cleared-denominator form, (1−2−(k−1)) φ(n)≤#{successes}(1 - 2^{-(k-1)})\,\varphi(n) \le \#\{\text{successes}\}(1−2−(k−1))φ(n)≤#{successes} in R\mathbb{R}R, with the count as Nat.card of a subtype. Non-units have no multiplicative order and are not sampled.
  • The gcd. xr/2x^{r/2}xr/2 is represented by its least nonnegative residue .val, which is at least 111 for a unit when n>1n > 1n>1, so the natural-number subtraction in val - 1 never truncates. r/2r/2r/2 is natural-number division, used only under Even r.
  • kkk. n.primeFactors.card, at least 111 for n>1n > 1n>1, so k - 1 does not truncate. Since nnn is odd this equals the page's "number of distinct odd prime factors".
  • Local orders. The order of the image of xxx in ZMod (p ^ n.factorization p) under the reduction homomorphism.
  • Hypotheses. The goal assumes exactly nnn odd and n>1n > 1n>1. It does not assume "not a prime power": that clause in the paper describes when the bound is useful. Milestones 1 and 2 do not assume nnn odd, because they do not need it; milestones 3 and 5 do.
  • No trivialization. Counting over all of ZMod n instead of the units would put non-units (with junk order 000) into the denominator; the goal counts over (ZMod n)ˣ and divides by φ(n)\varphi(n)φ(n). The goal's constant is the paper's 1−1/2k−11 - 1/2^{k-1}1−1/2k−1, which is attained, so it cannot be weakened into a triviality without changing the theorem.
  • Welcome contributions. A reusable counting lemma for elements of prescribed 2-adic order in a finite cyclic group; the transfer of ZMod.chineseRemainder to unit groups and to local orders; and proofs of the milestones in any order.

Selected references

  • P. W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, SIAM J. Comput. 26(5):1484–1509, 1997. https://doi.org/10.1137/S0097539795293172 (preprint arXiv:quant-ph/9508027, https://arxiv.org/abs/quant-ph/9508027)
  • G. L. Miller, Riemann's hypothesis and tests for primality, J. Comput. System Sci. 13(3):300–317, 1976. https://doi.org/10.1016/S0022-0000(76)80043-8
  • D. E. Knuth, The Art of Computer Programming, Vol. 2: Seminumerical Algorithms, 2nd ed., Addison-Wesley, 1981.
  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford University Press, 1979 (Theorem 121, Chinese remainder theorem).
8 thms2 active usersReviewed
AlgebraAlgebraic Geometry·Captain: vatsj

Milnor conjecture (Voevodsky 2003), formalizedResearch Paper

Motivation

For a field FFF, two invariants built from very different data turn out to carry the same mod-2 information. One is Milnor K-theory KnM(F)K^M_n(F)KnM​(F), defined by generators and relations from the multiplicative group F×F^\timesF× alone. The other is Galois cohomology Hn(F,Z/2)H^n(F,\mathbb{Z}/2)Hn(F,Z/2), the continuous cohomology of the absolute Galois group of FFF. In 1970 Milnor considered a natural map KnM(F)/2→Hn(F,Z/2)K^M_n(F)/2 \to H^n(F,\mathbb{Z}/2)KnM​(F)/2→Hn(F,Z/2) in all degrees, verified that it is an isomorphism for several classes of fields, and remarked that he knew of no field where it fails (Milnor 1970). The statement that it is always an isomorphism when char⁡F≠2\operatorname{char} F \neq 2charF=2 became known as the Milnor conjecture. Its companion conjecture on quadratic forms was later deduced from it (Orlov–Vishik–Voevodsky 2007). Together they identify the graded Witt ring of quadratic forms, Galois cohomology mod 2, and K∗M(F)/2K^M_*(F)/2K∗M​(F)/2.

Timeline. The attributions below follow the introduction of Voevodsky 2003.

  • 1970: Milnor considers the map KnM(F)/2→Hn(F,Z/2)K^M_n(F)/2 \to H^n(F,\mathbb{Z}/2)KnM​(F)/2→Hn(F,Z/2) in all degrees and gives classes of fields where it is an isomorphism (Milnor 1970).
  • Bass–Tate (published 1973): the Kummer classes satisfy the Steinberg relation, so the Kummer map extends to a ring homomorphism on K∗M(F)K^M_*(F)K∗M​(F) (Bass–Tate 1973).
  • Degrees 0 and 1: the map is an isomorphism, by Kummer theory and Hilbert's Theorem 90.
  • 1981: Merkurjev proves degree 2 with 222 as the coefficient prime.
  • 1982: Merkurjev and Suslin extend degree 2 to every prime ℓ\ellℓ (Merkurjev–Suslin 1982).
  • Degree 3, ℓ=2\ell = 2ℓ=2: proved by Merkurjev–Suslin and, independently, by Rost.
  • 2003: Voevodsky proves all degrees, in every characteristic ≠2\neq 2=2 (Voevodsky 2003, Cor. 7.5), using the motivic Steenrod operations constructed in Voevodsky 2003b. This work was cited for his 2002 Fields Medal.
  • 2011: the analogue for odd primes, the Bloch–Kato conjecture, is proved (Voevodsky 2011); a book-length account is Haesemeyer–Weibel 2019.

Setting

Let FFF be a field with 2≠02 \neq 02=0 in FFF.

Milnor K-theory. For n≥0n \ge 0n≥0, KnM(F)K^M_n(F)KnM​(F) is the quotient of the nnn-fold tensor power (F×)⊗n(F^\times)^{\otimes n}(F×)⊗n, taken over Z\mathbb{Z}Z with F×F^\timesF× written additively, by the subgroup generated by the pure tensors a1⊗⋯⊗ana_1\otimes\cdots\otimes a_na1​⊗⋯⊗an​ in which some adjacent pair satisfies ai+ai+1=1a_i + a_{i+1} = 1ai​+ai+1​=1. This is the degree-nnn part of T(F×)/IT(F^\times)/IT(F×)/I, where III is the two-sided ideal generated by a⊗(1−a)a\otimes(1-a)a⊗(1−a). The class of a1⊗⋯⊗ana_1\otimes\cdots\otimes a_na1​⊗⋯⊗an​ is the symbol {a1,…,an}\{a_1,\dots,a_n\}{a1​,…,an​}. In particular K0M(F)=ZK^M_0(F) = \mathbb{Z}K0M​(F)=Z and K1M(F)=F×K^M_1(F) = F^\timesK1M​(F)=F×. In Lean these are MilnorK F n and symbol a for a : Fin n → Fˣ.

Galois cohomology. Let FsepF^{\mathrm{sep}}Fsep be a separable closure and GF=Gal⁡(Fsep/F)G_F = \operatorname{Gal}(F^{\mathrm{sep}}/F)GF​=Gal(Fsep/F) the absolute Galois group, a profinite group under the Krull topology. Hn(F,Z/2)H^n(F,\mathbb{Z}/2)Hn(F,Z/2) is the continuous cohomology Hctsn(GF,Z/2)H^n_{\mathrm{cts}}(G_F,\mathbb{Z}/2)Hctsn​(GF​,Z/2) with trivial action, computed from GFG_FGF​-invariant continuous homogeneous cochains. In Lean this is H F n, Mathlib's continuousCohomology n of the trivial representation.

The Galois symbol. For a∈F×a \in F^\timesa∈F× fix a∈Fsep\sqrt a \in F^{\mathrm{sep}}a​∈Fsep. The Kummer character χa:GF→Z/2\chi_a : G_F \to \mathbb{Z}/2χa​:GF​→Z/2 is χa(σ)=0\chi_a(\sigma) = 0χa​(σ)=0 if σ(a)=a\sigma(\sqrt a) = \sqrt aσ(a​)=a​ and 111 otherwise. It is a continuous homomorphism representing the Kummer class δa∈H1\delta a \in H^1δa∈H1. The Galois symbol of (a1,…,an)(a_1,\dots,a_n)(a1​,…,an​) is the class of the homogeneous cocycle

(x0,…,xn) ⟼ ∏j=1n(χaj(xj)−χaj(xj−1)),(x_0,\dots,x_n)\ \longmapsto\ \prod_{j=1}^{n}\bigl(\chi_{a_j}(x_j)-\chi_{a_j}(x_{j-1})\bigr),(x0​,…,xn​) ⟼ j=1∏n​(χaj​​(xj​)−χaj​​(xj−1​)),

the homogeneous form of (σ1,…,σn)↦χa1(σ1)⋯χan(σn)(\sigma_1,\dots,\sigma_n) \mapsto \chi_{a_1}(\sigma_1)\cdots\chi_{a_n}(\sigma_n)(σ1​,…,σn​)↦χa1​​(σ1​)⋯χan​​(σn​), i.e. the cup product δa1∪⋯∪δan\delta a_1\cup\cdots\cup\delta a_nδa1​∪⋯∪δan​. In Lean this is galoisSymbol a.

Formalization targets

Goal: the Milnor conjecture (Voevodsky 2003, Corollary 7.5)

For every field FFF with char⁡F≠2\operatorname{char} F \neq 2charF=2 and every n≥0n \ge 0n≥0 there is a homomorphism

φ:KnM(F)→Hn(F,Z/2),φ{a1,…,an}=δa1∪⋯∪δan,\varphi : K^M_n(F) \to H^n(F,\mathbb{Z}/2),\qquad \varphi\{a_1,\dots,a_n\} = \delta a_1\cup\cdots\cup\delta a_n,φ:KnM​(F)→Hn(F,Z/2),φ{a1​,…,an​}=δa1​∪⋯∪δan​,

which is surjective and whose kernel is exactly 2 KnM(F)2\,K^M_n(F)2KnM​(F).

Since symbols generate KnM(F)K^M_n(F)KnM​(F), such a φ\varphiφ is unique; it is the norm residue homomorphism. The statement is therefore equivalent to KnM(F)/2≅Hn(F,Z/2)K^M_n(F)/2 \cong H^n(F,\mathbb{Z}/2)KnM​(F)/2≅Hn(F,Z/2) via the norm residue map. Its existence, i.e. the fact that the Steinberg relations map to zero, is part of the claim.

Significance

The result itself. The theorem gives a presentation of mod-2 Galois cohomology by generators and relations: every class is a sum of cup products of degree-one classes, and every relation among such products comes from Steinberg relations and multiples of 2. With Orlov–Vishik–Voevodsky 2007 it yields Milnor's conjecture on quadratic forms, which classifies quadratic forms up to Witt equivalence by their Galois-cohomological invariants.

Formalizing it. The theorem is proved but not formalized. At the time of writing, Mathlib has neither Milnor K-theory nor cup products in group or continuous cohomology, and has Hilbert 90 only for finite Galois extensions. This mission's definitions provide a sorry-free Galois symbol in Mathlib's continuous cohomology, which already makes the degree 0 and degree 1 cases (Kummer theory) meaningful targets. A complete development would formalize the IHES proof, including motivic cohomology with Z/2\mathbb{Z}/2Z/2 coefficients and the motivic Steenrod algebra. No part of that is currently available in Lean. Related existing work: on this platform, a graded cup product (groupCohomology.exists_isGradedCupProduct) and a Kummer theory and Hilbert 90 for level-constant cocycles have been formalized on top of Mathlib's discrete groupCohomology. The cup product is for discrete groups, and the Kummer and Hilbert 90 results use finite-level hypotheses in place of continuity, so none of them transfers directly to continuousCohomology.

Difficulty

Degrees 0 and 1 follow from Kummer theory and Hilbert 90. Degree 2 is Merkurjev's theorem, whose proof goes through the K-theory of Severi–Brauer varieties. No argument internal to Galois cohomology or K-theory of fields is known in higher degrees. The known proof reformulates the statement as a vanishing theorem for motivic cohomology of fields, the "Hilbert 90" property for weight nnn. It then argues by induction on nnn through geometry over FFF: splitting varieties of symbols (Pfister quadrics), their motives, and cohomology operations on motivic cohomology. Each of these is a substantial theory, none of it exists in Mathlib, and the induction passes through statements about arbitrary smooth varieties, not only fields.

Formalization scope

Scope. The target is the Milnor conjecture, i.e. the prime 222 with coefficients Z/2≅μ2\mathbb{Z}/2 \cong \mu_2Z/2≅μ2​. The Bloch–Kato conjecture for odd primes is out of scope.

Conventions.

  • The field is F : Type, universe 0. Mathlib's continuousCohomology requires the coefficient module to live in the universe of the group. For FFF in a higher universe this forces ULift (ZMod 2), for which the needed Module and ContinuousSMul instances are not available as global instances. Universe polymorphism is not part of this mission. It does not follow by plain transport, since a field in a higher universe need not be isomorphic to any field in Type; one route is a limit argument, using that both sides commute with directed unions of fields and that every field is the directed union of its countable subfields, each isomorphic to a field in Type.
  • The hypothesis char⁡F≠2\operatorname{char} F \neq 2charF=2 is [NeZero (2 : F)].
  • HnH^nHn is Mathlib's continuousCohomology, built from homogeneous cochains, with Z/2\mathbb{Z}/2Z/2 as a trivial representation of GFG_FGF​ with the Krull topology.
  • KnM(F)K^M_n(F)KnM​(F) is defined one degree at a time, not as a graded ring.
  • "Kernel =2KnM= 2K^M_n=2KnM​" means φ(x)=0  ⟺  ∃y, x=2y\varphi(x)=0 \iff \exists y,\ x = 2yφ(x)=0⟺∃y, x=2y.

Ruling out trivializations. The Galois symbol is not a free parameter. It is a fixed, sorry-free definition, and the existence of φ\varphiφ with the prescribed values on symbols is part of the goal. Neither can be chosen to make the statement vacuous.

Route. Reductions should follow Voevodsky 2003 together with Voevodsky 2003b. That route avoids resolution of singularities and works in every characteristic ≠2\neq 2=2. The following rely on resolution of singularities (or on characteristic-0 reductions) and should not be used as inputs:

  • Mazza–Voevodsky–Weibel (MVW 2006), results 16.24, 16.25 and 20.1, and the cdh-topology and compactly-supported-motive material;
  • the original Suslin–Voevodsky paper relating Bloch–Kato to Beilinson–Lichtenbaum (Suslin–Voevodsky 2000); use Haesemeyer–Weibel 2019, Chapter 2, instead;
  • Haesemeyer–Weibel Part II, and their reduction to characteristic 0 (Lemma 1.3);
  • Voevodsky's 1995–96 preprints on the Milnor conjecture.

Infrastructure needed and reusable. A complete development needs:

  • the ring structure on K∗M(F)K^M_*(F)K∗M​(F) (cf. Carlier's KMilnorWitt for Milnor–Witt K-theory);
  • cup products in continuous cohomology;
  • Hilbert 90 for profinite Galois groups;
  • Galois cohomology as étale cohomology of Spec⁡F\operatorname{Spec} FSpecF;
  • the Nisnevich topology;
  • presheaves with transfers, motivic complexes and motivic cohomology;
  • motivic Steenrod operations;
  • motives of Pfister quadrics.

Most of this is reusable well beyond the mission. The homogeneous-cochain construction in the definition files, which turns an invariant continuous cocycle Gn+1→MG^{n+1}\to MGn+1→M into a class in Mathlib's continuousCohomology, applies to any locally compact group with trivial coefficients. Contributions of any of these components, and of the degree 0 and 1 cases, are welcome.

Selected references

  • V. Voevodsky, Motivic cohomology with Z/2\mathbb{Z}/2Z/2-coefficients, Publ. Math. IHÉS 98 (2003), 59–104. https://doi.org/10.1007/s10240-003-0010-6
  • V. Voevodsky, Reduced power operations in motivic cohomology, Publ. Math. IHÉS 98 (2003), 1–57. https://doi.org/10.1007/s10240-003-0009-z
  • J. Milnor, Algebraic K-theory and quadratic forms, Invent. Math. 9 (1970), 318–344. https://doi.org/10.1007/BF01425486
  • H. Bass, J. Tate, The Milnor ring of a global field, in Algebraic K-theory II, Lecture Notes in Math. 342, Springer, 1973. https://doi.org/10.1007/BFb0073733
  • A. S. Merkurjev, A. A. Suslin, K-cohomology of Severi–Brauer varieties and the norm residue homomorphism, Math. USSR Izv. 21 (1983). https://doi.org/10.1070/IM1983v021n02ABEH001793
  • D. Orlov, A. Vishik, V. Voevodsky, An exact sequence for K∗M/2K^M_*/2K∗M​/2 with applications to quadratic forms, Ann. of Math. 165 (2007), 1–13. https://doi.org/10.4007/annals.2007.165.1
  • V. Voevodsky, On motivic cohomology with Z/l\mathbb{Z}/lZ/l-coefficients, Ann. of Math. 174 (2011), 401–438. https://doi.org/10.4007/annals.2011.174.1.11
  • C. Haesemeyer, C. Weibel, The Norm Residue Theorem in Motivic Cohomology, Annals of Math. Studies 200, Princeton, 2019. https://doi.org/10.1515/9780691189635
  • C. Mazza, V. Voevodsky, C. Weibel, Lecture Notes on Motivic Cohomology, Clay Math. Monographs 2, AMS, 2006. https://www.claymath.org/wp-content/uploads/2022/03/Motivic-Cohomology.pdf
  • A. Suslin, V. Voevodsky, Bloch–Kato conjecture and motivic cohomology with finite coefficients, in The Arithmetic and Geometry of Algebraic Cycles, NATO Sci. Ser. C 548, Kluwer, 2000. https://doi.org/10.1007/978-94-011-4098-0_5
14 thms2 active usersReviewed
Algebra·Captain: tomasz

Philippon: Multiplicity estimates in commutative algebraic groupsResearch Paper

Why multiplicity estimates matter

Formalization status, 10 October 2026: all eight milestones are complete. Both corrected addenda are Proved. The subgroup upper Hilbert estimate has an accepted proof with eight Proved inputs and no Open dependencies (submission 07198c4c-ea10-4c9a-89b8-b4a5319c40b5). Together with the accepted sharp contact-rank and ambient lower Hilbert bounds, this discharges every dependency of the corrected converse. The corrected 26-part full-paper goal remains Open, with exactly two frontier leaves: quadratic parameter-stalk germs and the local complex model for the closure action. The common-shift forward conclusion, quadratic first-input addition hypothesis in the converse, all constants and degree thresholds, and all 24 unaffected goal clauses are unchanged. The separately published Chardin theorem in arbitrary characteristic remains Open; it is no longer required by this mission proof.

An auxiliary polynomial in a transcendence proof is constructed to vanish to high order at many points. A multiplicity estimate limits how often that can happen without a geometric reason: a positive-dimensional algebraic subgroup can make the apparent vanishing conditions dependent. Such estimates are used to turn analytic approximations into algebraic-independence conclusions. The theory applies to products of commutative algebraic groups with both archimedean and nonarchimedean analytic directions.

The mission's objective is a faithful formalization of the complete 1986 paper, Patrice Philippon's Lemmes de zéros dans les groupes algébriques commutatifs, including every theorem, corollary, proposition, lemma, definition, and mathematical supporting claim. All results remain required whether or not a current application uses them. Necessary source corrections are explicit and their counterexamples remain part of the completion goal. The author's 1987 corrections are applied transparently, and the addendum's additional results are recorded separately (original, errata and addenda).

Groups, analytic directions, and geometric degree

Let K be the complex field or the completed algebraic closure of the field of ℓ-adic numbers for a prime ℓ, as in the source. Let G be a product of finitely many commutative algebraic groups G₁,…,Gᵣ over K, with each factor embedded as a quasi-projective variety in a projective space. Write n for the sum of their dimensions. A point of the product embedding has one block of homogeneous coordinates for each factor.

A nonzero multihomogeneous polynomial P has a degree Dᵢ in its i-th block of coordinates. Its zeros define a hypersurface of the ambient product of projective spaces. An analytic subgroup A is locally parametrized by an analytic homomorphism from a finite-dimensional additive K-space. The order of P along A at a group point g is the vanishing order of P after composing local projective coordinates with the translated parametrization. This definition must be independent of the choice of nonzero local coordinate representatives.

Let Σ be a finite set of group points containing the identity. Its n-fold sumset Σ(n) consists of all sums of n, not necessarily distinct, elements of Σ; Σ(0) is the singleton identity. For a connected algebraic subgroup H, the integer s is the analytic codimension of A∩H in A. The expression |(Σ+H)/H| counts distinct H-cosets meeting Σ. Codimension concerns the analytic tangent dimension; it does not assert that the point-set intersection is finite.

The source's Hilbert degree form ℋ(V;D₁,…,Dᵣ) is (dim V)! times the highest homogeneous part of the multigraded Hilbert–Samuel polynomial of the projective closure of V, evaluated at the degrees. It must be constructed from the coordinate ring, rather than supplied as an arbitrary numerical function. For one projective factor it is deg(V)D^(dim V). These definitions are fixed in §§2–3 of the original paper.

Formalization targets

The completion target is all results of the paper, with an aggregate goal that requires their individual formal statements. Theorem 2.1 is one milestone within that target. For each fixed family of embedded group factors, it chooses positive integers cᵢ, each depending only on its corresponding embedding. These constants precede the analytic subgroup, the finite sampling set, the polynomial degrees, the polynomial, and the contact parameter T. If P has order at least nT+1 along A at every point of Σ(n), there is a connected algebraic subgroup H with

(T+ss) ∣(Σ+H)/H∣ H(H;D1,…,Dr)≤H(G;c1D1,…,crDr).\binom{T+s}{s}\, |(\Sigma+H)/H|\, \mathcal H(H;D_1,\ldots,D_r) \leq \mathcal H(G;c_1D_1,\ldots,c_rD_r).(sT+s​)∣(Σ+H)/H∣H(H;D1​,…,Dr​)≤H(G;c1​D1​,…,cr​Dr​).

The same H is contained in a translate of the zero locus of P on G and is incompletely defined by equations of multidegrees at most (c₁D₁,…,cᵣDᵣ): it is an irreducible component of the common zero locus in G of equations with those degree bounds. Both geometric conclusions are part of the target. A formalization retaining only the displayed numerical inequality would omit part of the original result.

The 1986 paper has 13 numbered results. Section 2 contains Theorem 2.1 and Corollaries 2.2–2.3, including the one-dimensional analytic result and the result for disjoint group factors. Section 3 contains Lemmas 3.1–3.2, Proposition 3.3 and Lemma 3.4. Section 4 contains Propositions 4.3–4.4, Lemmas 4.5–4.6 and Proposition 4.7. Section 5 contains Lemma 5.1. Every clause of these statements belongs to the mission.

Definitions 3.5, 4.1 and 4.2, the unnumbered setup, the internal Facts A–E, the counterexample after Proposition 3.3, and the mathematical claims in remarks also require coverage. Source numbers and page references identify the correspondence between the prose and Lean declarations. The two 1987 addendum targets are explicitly corrected variants. The forward statement assumes ambient connectedness and allows one common shift v∈Gv\in Gv∈G, so g+v+H⊆{P=0}∩Gg+v+H\subseteq\{P=0\}\cap Gg+v+H⊆{P=0}∩G for every sampled ggg, with the same connected subgroup HHH satisfying incomplete definition and the full coset-count inequality. Its embedding-dependent constants are chosen before the sample and polynomial. This is not an exact transcription of the printed strengthening. The converse assumes ambient connectedness and explicit local addition formulas of degree at most two in the first input for every embedded factor. Its subgroup may remain disconnected; the degree threshold, constant 1/(4nn!)1/(4^n n!)1/(4nn!), and polynomial nonzero somewhere on GGG are unchanged. All original sampling and contact assumptions remain. No desired estimate is encoded as a geometric assumption.

Eight milestones and the completion goal

The completion goal is PhilipponMultiplicity.paper_results_corrected_erratum, a conjunction of 26 concrete propositions. This is a collection goal requiring the source statements and the additional mathematical claims in the coverage record. It is separate from the paper's original Theorem 2.1, which remains individually named and reusable.

The mission has eight milestones; seven are currently Proved:

SourceMilestoneStatus
Theorem 2.1General multiplicity estimate, with every geometric and numerical conclusion.Proved
Corollary 2.2One-dimensional analytic-subgroup consequence.Proved
Corollary 2.3Consequence for disjoint group factors and sampling grids.Proved
Proposition 3.3Multigraded intersection bounds, including the multiplicity-sensitive bound.Proved
Proposition 4.7Binomial lower bound for contact multiplicity.Proved
Lemma 5.1Stabilizer construction and the geometric counting estimate.Proved
1987 addendum, p. 398Corrected common-shift vanishing in a connected ambient group.Proved
1987 addendum, p. 398Connected converse with first-input addition degree at most two.Open

The full statement package has 27 compiled theorem statements: all thirteen numbered results, both addenda, eleven supporting or correction targets, and the aggregate goal. The fourteen original admission-free definition bundles and one erratum supplement supply their actual geometric and algebraic objects. All 41 original statement and definition items have independent blind readbacks. The eight milestones above retain their existing identities.

The supporting clauses include Hilbert-polynomial existence, primary components and Facts A–E; the geometric interpretation of mixed degree; the actual counterexample after Proposition 3.3; translation operators and their comparison with intrinsic ideals; contact invariance; translation-invariance and embedding remarks; the component/stabilizer construction; counting estimates; and the exact Masser–Wüstholz Theorem I consequence claimed on p.361. Proof-internal recursive ideals and tangent/exponential arguments belong to their corresponding theorem proofs.

Source corrections are visible for review. Lemma 3.1 and Corollary 2.2 require positive equation degrees; explicit zero-degree counterexamples are required goal clauses. Both addenda require positive ambient dimension; the goal also requires their dimension-zero counterexamples. The three-generator ideal printed on p.370 is nonradical, contrary to the printed word “prime”; its valid degree-four versus length-six counterexample is preserved, together with an explicit nilpotent witness. Connectedness is stated in the translation-invariance and Lange reembedding remarks. These are mathematical corrections documented during the source comparison, beyond the author's 1987 errata. They are not silent changes to the source.

Existing completed proofs and all 24 unaffected goal clauses are retained. The corrected forward addendum is Proved. The repaired converse and the replacement collection goal remain Open; two general geometry lemmas also remain on the frontier. The existing proved local-algebra references remain reusable ingredients.

What a completed formalization enables

The output is a reusable development of the paper's multigraded commutative algebra, translation and differential operators, geometric multiplicity theory, and zero estimates. All source results are required for completion. A downstream Weierstrass application can consume a specialization of Theorem 2.1; its needs do not determine the scope or completion of this mission (example application).

These are established mathematical results whose proofs are being formalized. The complete original Theorem 2.1 has an accepted proof. The selected Weierstrass application uses individually named Philippon results, with its application-specific model and subgroup bridges proved in the Senthil mission. The remaining general results stay required even though that application is complete.

The foundational difficulty

Vanishing conditions need not be independent: many can occur on the same component or on translates with a nontrivial stabilizer. Counting coefficients of P therefore does not bound their total multiplicity. The development needs geometric degree for actual components, multiplicities measured by lengths of localized quotient rings, and uniform control of translations in fixed projective embeddings.

Proposition 3.3 supplies multigraded intersection bounds, Proposition 4.7 controls contact multiplicity, and Lemma 5.1 connects the stabilizer to the geometric counting estimate. These three results and Theorem 2.1 now have checked proofs. The remaining corollaries, general geometric and analytic claims, examples and addenda are independent deliverables. Application-specific contact results do not discharge the remaining general statements.

Formalization scope

The declarations use the namespace PhilipponMultiplicity. Source statements retain their conclusions, constants, quantifier order, and complex or ℓ-adic scope, with the visible boundary and wording corrections listed above. Intermediate specializations are labelled as such and do not discharge a more general source result. Natural-number and zero-degree conventions have been compared with the original scans; the discovered failures and corrected hypotheses are recorded explicitly for human review. Corrections and inferred conventions must be documented rather than silently changing the source.

The required definitions include embedded commutative algebraic groups and their connected subgroups; products of projective spaces and multihomogeneous coordinate rings; analytic local homomorphisms and intrinsic contact order; multigraded Hilbert polynomials and their degree forms; local component lengths; and finite coset counts. No model may assume the desired multiplicity inequality, hide it as a structure field, or replace geometric degree by an unconstrained function.

The 26 individual target statements, replacement collection goal, original definition bundles, and erratum supplement compile in Lean 4.33.1 with Mathlib revision 0df444a360eaa60ab8c11dca51a86af692955474. Source comparisons and independent readbacks document the fixed statements and their explicit corrections. The goal remains the concrete 26-part full-paper collection. The completed proofs supply reusable Hilbert theory, primary-component multiplicities, polynomial differential operators, bounded translation atlases and the Section 5 construction. Contributions to the remaining targets, including results unused by Senthil, complete the original scope.

The previous aggregate, original sampled-translates addendum, and original converse remain available with their prior submissions and disproofs. The replacement statements changed the mission goal explicitly before proofs were supplied. The corrected common-shift forward statement has since received an accepted proof.

Selected references

  • P. Philippon, Lemmes de zéros dans les groupes algébriques commutatifs, Bulletin de la Société Mathématique de France 114 (1986), 355–383. DOI and original paper.
  • P. Philippon, Errata et addenda à « Lemmes de zéros dans les groupes algébriques commutatifs », Bulletin de la Société Mathématique de France 115 (1987), 397–398. DOI and addendum.
  • Senthil Kumar K, Algebraic independence of values of Weierstrass elliptic and zeta functions, Proceedings of the Edinburgh Mathematical Society (2026), including Robert Tubbs's appendix. DOI.
296 thms2 active users
🏆Completed
AlgebraArithmetic Geometry·Captain: Lucas

Lectures on Analytic Geometry I: Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​ is a principal ideal domainTextbook

Motivation

Rings of arithmetic power series — power series with integer coefficients that converge on a disc of radius close to 111 — sit between algebra and analysis: an element has both archimedean zeros, in the complex disc, and non-archimedean ones, at ppp-adic points. Harbater (Convergent arithmetic power series, Amer. J. Math. 106 (1984), 801–846, DOI 10.2307/2374325) showed that a well-chosen ring of such series is a principal ideal domain and identified its prime ideals; the same ring is the arithmetic model of the closed disc of radius rrr in the adic space Spa(Z[[T]])\mathrm{Spa}(\mathbb{Z}[[T]])Spa(Z[[T]]).

The result was put to work in Clausen–Scholze's Lectures on Analytic Geometry (Lecture VII), where Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​ supplies a two-term presentation of the real numbers as a condensed abelian group: for 0<r′<r<10 < r' < r < 10<r′<r<1 there is an exact sequence 0→Z((T))r→fr′Z((T))r→R→00 \to \mathbb{Z}((T))_r \xrightarrow{f_{r'}} \mathbb{Z}((T))_r \to \mathbb{R} \to 00→Z((T))r​fr′​​Z((T))r​→R→0, whose existence rests on the principality of the kernel of evaluation at r′r'r′. The quantitative refinement of that sequence (Propositions 7.2 and 7.3 of the notes) is what produces the ℓp\ell^pℓp-norms in the analytic ring structure on R\mathbb{R}R.

Setting

Fix a real number rrr with 0<r<10 < r < 10<r<1. An integral Laurent series is a family of integers (an)n∈Z(a_n)_{n \in \mathbb{Z}}(an​)n∈Z​ whose support is bounded below, written f=∑n≫−∞anTnf = \sum_{n \gg -\infty} a_n T^nf=∑n≫−∞​an​Tn; these form the ring Z((T))\mathbb{Z}((T))Z((T)) under coefficientwise addition and the Cauchy product.

Define

Z((T))>r  =  { ∑n≫−∞anTn  ∣  ∃ s>r, ∣an∣ s n→n→∞0 }  ⊆  Z((T)).\mathbb{Z}((T))_{>r} \;=\; \Big\{\, \sum_{n \gg -\infty} a_n T^n \;\Big|\; \exists\, s > r,\ |a_n|\, s^{\,n} \xrightarrow[n \to \infty]{} 0 \,\Big\} \;\subseteq\; \mathbb{Z}((T)).Z((T))>r​={n≫−∞∑​an​Tn​∃s>r, ∣an​∣snn→∞​0}⊆Z((T)).

Concretely, fff lies in Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​ when the associated Laurent expansion converges on some punctured disc {0<∣y∣<s}\{0 < |y| < s\}{0<∣y∣<s} with s>rs > rs>r strictly larger than rrr — an overconvergence condition. For xxx a real or complex number, f(x)=∑nanx nf(x) = \sum_{n} a_n x^{\,n}f(x)=∑n​an​xn denotes the evaluation, whenever the family is summable.

Two features distinguish this ring from the classical Tate algebra. The coefficients are integers, not elements of a complete field, so reduction modulo a prime ppp is available and produces Fp((T))\mathbb{F}_p((T))Fp​((T)). And the condition is an overconvergence condition: the radius sss is required to be strictly larger than rrr, which is what makes the ring behave like the ring of functions on a closed disc rather than an open one.

Formalization targets

Goal

0<r<1  ⟹  Z((T))>r is a principal ideal domain.0 < r < 1 \;\Longrightarrow\; \mathbb{Z}((T))_{>r} \text{ is a principal ideal domain.}0<r<1⟹Z((T))>r​ is a principal ideal domain.

The ring is a subring of the domain Z((T))\mathbb{Z}((T))Z((T)), so integrality is automatic and the content of the goal is that every ideal is generated by one element.

The prime ideals (context, not a formalization target here)

Theorem 7.1 of the source also classifies the nonzero primes: kernels of evaluation at a complex xxx with 0<∣x∣≤r0 < |x| \le r0<∣x∣≤r (up to conjugation); the ideals (p)(p)(p) for ppp prime; and kernels of evaluation at a topologically nilpotent unit xxx of a finite extension of Qp\mathbb{Q}_pQp​ (up to Galois conjugacy). The milestones below formalize the parts of the classification that the principality proof actually consumes — surjectivity of the three evaluation maps, and principality of the archimedean kernels — and leave the full classification statement for a later mission in this series.

Significance

The result itself. Principality gives, for each point of the closed disc, a single equation cutting it out; that is exactly what the presentation 0→Z((T))r→Z((T))r→R→00 \to \mathbb{Z}((T))_r \to \mathbb{Z}((T))_r \to \mathbb{R} \to 00→Z((T))r​→Z((T))r​→R→0 needs. Downstream, that presentation is the input to the computation of measures on R\mathbb{R}R in the analytic-ring formalism, and the reason ℓp\ell^pℓp-spaces with p<1p < 1p<1 appear there at all. Without it, one has no finite free resolution of R\mathbb{R}R by rings of arithmetic functions, and the structure results of Lectures VI–VII of the source lose their computational base.

Formalizing it. The mathematics is classical and fully proved; nothing here is open. What is missing is a machine-checked version. Mathlib has Hahn series, Laurent series, complex analysis on discs, and the ppp-adic numbers, but nothing about arithmetic overconvergent series: not the ring itself, not the greedy expansions that make real evaluation surjective, not the invertibility criterion. Each milestone below is a self-contained piece of that missing theory, reusable outside this mission.

Difficulty

The obvious approach — Weierstrass preparation, as for the Tate algebra K⟨T⟩K\langle T\rangleK⟨T⟩ over a complete field KKK — does not apply: the coefficient ring Z\mathbb{Z}Z is not a field, and no single valuation controls it. An element of Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​ must be divided simultaneously by archimedean generators (complex zeros in the disc) and ppp-adic ones, with the quotient required to stay integral and still overconvergent. Two steps carry the weight and fail for naive reasons:

  • Producing an integral generator for the kernel of evaluation at a real or complex xxx: one first needs a real polynomial g∈1+TnR[T]g \in 1 + T^n\mathbb{R}[T]g∈1+TnR[T] with xxx as its only zero in {0<∣y∣≤r}\{0 < |y| \le r\}{0<∣y∣≤r}, then a correction series hhh with small coefficients such that ghghgh has integer coefficients. Neither factor alone is integral.
  • Showing that an element of 1+TZ[[T]]1 + T\mathbb{Z}[[T]]1+TZ[[T]] with no zero in the closed disc of radius rrr is invertible in the ring: the inverse is integral for formal reasons, but its overconvergence is an analytic statement about the absence of zeros.

Finiteness — that a nonzero element lies in only finitely many of the listed maximal ideals — mixes the identity theorem for holomorphic functions with a ppp-adic Weierstrass argument, which is why the reduction and ppp-adic surjectivity milestones are prerequisites rather than side remarks.

Formalization scope

The ambient ring is Mathlib's LaurentSeries ℤ (Hahn series over Z\mathbb{Z}Z indexed by Z\mathbb{Z}Z), and Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​ is given as a set of such series, cut out by the decay condition ∣an∣s n→0|a_n| s^{\,n} \to 0∣an​∣sn→0 as n→+∞n \to +\inftyn→+∞ for some s>rs > rs>r. Evaluations are unordered sums over Z\mathbb{Z}Z; where a statement asserts a value of an evaluation, summability is asserted alongside it, so the junk value of a divergent sum cannot be exploited.

Because the carrier is a set, the goal theorem is stated for an arbitrary subring of Z((T))\mathbb{Z}((T))Z((T)) whose underlying set is Z((T))>r\mathbb{Z}((T))_{>r}Z((T))>r​. That form would be vacuous if no such subring existed, which is precisely why the first milestone asserts its existence; the two together carry the intended content, and the mission is not considered advanced by the goal alone.

Milestone 6 formalizes only the case K=QpK = \mathbb{Q}_pK=Qp​ of part (3) of the source theorem (topologically nilpotent units of proper finite extensions of Qp\mathbb{Q}_pQp​ are out of scope, since Mathlib lacks the ambient theory of such extensions). Milestone 3 drops the "with multiplicity one" clause of the source and asserts only that the zero set in the punctured closed disc is {x}\{x\}{x}.

A complete development will need: closure of the decay condition under the Cauchy product; summability of evaluations on the closed disc; the identity theorem for the induced holomorphic functions; greedy xxx-adic expansions of real numbers with bounded integer digits; and ppp-adic expansions in the lattice generated by a topologically nilpotent unit. Contributions of any of these, as standalone lemmas, are welcome.

Selected references

  • D. Harbater, Convergent arithmetic power series, American Journal of Mathematics 106 (1984), 801–846. DOI 10.2307/2374325
  • P. Scholze (joint with D. Clausen), Lectures on Analytic Geometry, Bonn, 2019/20; Lecture VII, Theorem 7.1. PDF
  • P. Scholze (joint with D. Clausen), Lectures on Condensed Mathematics, Bonn, 2019. PDF
9 thms2 active usersReviewed
PreviousPage 4 of 7Next

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me