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
Captain: Lucas

Iwasawa Main Conjecture over Q (Mazur–Wiles)Research Paper

Motivation

The main conjecture of Iwasawa theory is an identity between two objects attached to an odd prime ppp and the tower of cyclotomic fields Q(ζpn+1)\mathbb{Q}(\zeta_{p^{n+1}})Q(ζpn+1​): an algebraic object built from the ppp-parts of their ideal class groups, and an analytic object, the Kubota–Leopoldt ppp-adic LLL-function, which interpolates special values of Dirichlet LLL-functions (generalized Bernoulli numbers). It was formulated by Iwasawa, partly by analogy with Weil's description of the zeta function of a curve over a finite field through the action of Frobenius on its Jacobian: the group Γ\GammaΓ plays the role of Frobenius, the inverse limit of class groups plays the role of the Jacobian, and the ppp-adic LLL-function plays the role of the zeta function.

Timeline:

  • 1932–1976. Herbrand proved that if the ωi\omega^iωi-part of the ppp-class group of Q(ζp)\mathbb{Q}(\zeta_p)Q(ζp​) is nontrivial then p∣Bp−ip \mid B_{p-i}p∣Bp−i​; Ribet (1976) proved the converse using modular forms. Both directions are consequences of the main conjecture.
  • 1964–1969. Iwasawa constructed the ppp-adic LLL-functions as power series and formulated the conjecture (Iwasawa 1969); he proved it for primes satisfying the Kummer–Vandiver conjecture.
  • 1984. Mazur and Wiles proved the main conjecture over Q\mathbb{Q}Q for all odd primes (Mazur–Wiles 1984), modelling the proof on Ribet's.
  • 1990. Wiles extended it to totally real fields (Wiles 1990); Rubin later gave a proof over Q\mathbb{Q}Q via Thaine's method and Kolyvagin's Euler systems.

Setting

Fix an algebraic closure Q‾\overline{\mathbb{Q}}Q​ and a prime ppp. For n≥0n \ge 0n≥0 let Fn=Q(μpn+1)⊂Q‾F_n = \mathbb{Q}(\mu_{p^{n+1}}) \subset \overline{\mathbb{Q}}Fn​=Q(μpn+1​)⊂Q​ (Lean: F p n), and let AnA_nAn​ (Lean: A p n) be the ppp-primary part of the ideal class group of FnF_nFn​; by class field theory An≅Hn=Gal(Ln/Fn)A_n \cong H_n = \mathrm{Gal}(L_n/F_n)An​≅Hn​=Gal(Ln​/Fn​), with LnL_nLn​ the ppp-Hilbert class field of FnF_nFn​. The Iwasawa module is

H∞=lim←⁡nAn,H_\infty = \varprojlim_n A_n,H∞​=nlim​​An​,

the inverse limit along the norm maps An+1→AnA_{n+1} \to A_nAn+1​→An​ (Lean: Hinf p). It is a Zp\mathbb{Z}_pZp​-module with a continuous action of Gal(Q‾/Q)\mathrm{Gal}(\overline{\mathbb{Q}}/\mathbb{Q})Gal(Q​/Q) through Gal(F∞/Q)\mathrm{Gal}(F_\infty/\mathbb{Q})Gal(F∞​/Q), F∞=⋃nFnF_\infty = \bigcup_n F_nF∞​=⋃n​Fn​. Put V=H∞⊗ZpQpV = H_\infty \otimes_{\mathbb{Z}_p} \mathbb{Q}_pV=H∞​⊗Zp​​Qp​ (Lean: V p).

The cyclotomic character sends σ\sigmaσ to the unique c∈Zp×c \in \mathbb{Z}_p^\timesc∈Zp×​ with σ(ζ)=ζc\sigma(\zeta) = \zeta^cσ(ζ)=ζc for every ppp-power root of unity ζ\zetaζ. The subgroup Δ≅(Z/p)×\Delta \cong (\mathbb{Z}/p)^\timesΔ≅(Z/p)× consists of the elements whose character ccc is a (p−1)(p-1)(p−1)-st root of unity, and on Δ\DeltaΔ the Teichmüller character is ω(σ)=c\omega(\sigma) = cω(σ)=c. Let ViV_iVi​ be the ωi\omega^iωi-eigenspace of Δ\DeltaΔ on VVV (Lean: eigenspace p i). Let Γ=Gal(F∞/F0)≅1+pZp\Gamma = \mathrm{Gal}(F_\infty/F_0) \cong 1 + p\mathbb{Z}_pΓ=Gal(F∞​/F0​)≅1+pZp​, let γ\gammaγ be a topological generator, and let u∈1+pZpu \in 1 + p\mathbb{Z}_pu∈1+pZp​ be its cyclotomic character: γ(ζ)=ζu\gamma(\zeta) = \zeta^uγ(ζ)=ζu. Let hp(ωi,T)=det⁡(T−(γ−1)∣Vi)h_p(\omega^i, T) = \det(T - (\gamma - 1) \mid V_i)hp​(ωi,T)=det(T−(γ−1)∣Vi​), the characteristic polynomial of γ\gammaγ on ViV_iVi​ written in the Iwasawa variable T=γ−1T = \gamma - 1T=γ−1 (Lean: charPoly p i γ).

On the analytic side, Bk,χ=pk−1∑a=1pχ(a)Bk(a/p)B_{k,\chi} = p^{k-1}\sum_{a=1}^{p} \chi(a) B_k(a/p)Bk,χ​=pk−1∑a=1p​χ(a)Bk​(a/p) is the generalized Bernoulli number of a character χ\chiχ modulo ppp. The Kubota–Leopoldt ppp-adic LLL-function satisfies Lp(ωj,1−k)=−Bk,ωj−k/kL_p(\omega^j, 1-k) = -B_{k,\omega^{j-k}}/kLp​(ωj,1−k)=−Bk,ωj−k​/k for k≥1k \ge 1k≥1, and Gp(ωj,T)∈Zp[[T]]G_p(\omega^j, T) \in \mathbb{Z}_p[[T]]Gp​(ωj,T)∈Zp​[[T]] is the power series with Gp(ωj,us−1)=Lp(ωj,s)G_p(\omega^j, u^s - 1) = L_p(\omega^j, s)Gp​(ωj,us−1)=Lp​(ωj,s) (Lean: IsIwasawaPowerSeries p u j G).

Formalization targets

Goal: the main conjecture (Mazur–Wiles)

For every odd integer i≢1(modp−1)i \not\equiv 1 \pmod{p-1}i≡1(modp−1),

(hp(ωi,T))=(Gp(ω1−i,T))as ideals of Zp[[T]].\big(h_p(\omega^i, T)\big) = \big(G_p(\omega^{1-i}, T)\big) \quad \text{as ideals of } \mathbb{Z}_p[[T]].(hp​(ωi,T))=(Gp​(ω1−i,T))as ideals of Zp​[[T]].

Milestones

  1. Existence and uniqueness of Gp(ωj,T)∈Zp[[T]]G_p(\omega^j, T) \in \mathbb{Z}_p[[T]]Gp​(ωj,T)∈Zp​[[T]] for even j≢0(modp−1)j \not\equiv 0 \pmod{p-1}j≡0(modp−1) (Iwasawa).
  2. VVV is a finite-dimensional Qp\mathbb{Q}_pQp​-vector space (Iwasawa), so hp(ωi,T)h_p(\omega^i,T)hp​(ωi,T) is defined.
  3. hp(ωi,T)h_p(\omega^i, T)hp​(ωi,T) has coefficients in Zp\mathbb{Z}_pZp​.
  4. The Herbrand–Ribet theorem: for odd 3≤i≤p−23 \le i \le p-23≤i≤p−2, the ωi\omega^iωi-part of A0A_0A0​ is nontrivial iff p∣Bp−ip \mid B_{p-i}p∣Bp−i​.

Significance

The main conjecture describes the Galois-module structure of the class groups in the whole cyclotomic tower by ppp-adic LLL-functions. The Herbrand–Ribet theorem and the Gras conjecture follow quickly from it, and its generalizations (totally real fields, CM fields, elliptic curves and modular forms, the latter by Skinner–Urban) feed into results on the Birch–Swinnerton-Dyer conjecture. The theorem has been proved (Mazur–Wiles 1984); no machine-checked proof is known. A formal proof requires Iwasawa's structure theory of Λ\LambdaΛ-modules, the construction of ppp-adic LLL-functions, and either the Eisenstein-ideal argument of Mazur–Wiles or Rubin's Euler-system argument. Each of these is reusable well beyond this mission.

Difficulty

One divisibility can be reduced, via the analytic class number formula, to the other. The hard direction is to show that the characteristic ideal of the class-group side is divisible by the ppp-adic LLL-function. Stickelberger's theorem gives only annihilation, not the characteristic ideal. Divisibility needs a construction of many unramified abelian ppp-extensions: Ribet's method with Galois representations attached to cusp forms congruent to Eisenstein series, or Kolyvagin–Rubin Euler systems. Neither is in Mathlib today.

Formalization scope

  • FnF_nFn​ is the intermediate field of AlgebraicClosure ℚ generated by the roots of Xpn+1−1X^{p^{n+1}} - 1Xpn+1−1. The groups AnA_nAn​ are the ppp-primary components of ClassGroup (𝓞 (F p n)); the norm maps come from Ideal.relNorm, and the Galois action comes from mapping ideals. The Hilbert class field does not appear: the source's own identification Hn≅AnH_n \cong A_nHn​≅An​ is used.
  • H∞H_\inftyH∞​ is the Zp\mathbb{Z}_pZp​-submodule of norm-compatible sequences in ∏nAn\prod_n A_n∏n​An​. Each finite ppp-group AnA_nAn​ is a Zp\mathbb{Z}_pZp​-module through Zp→Z/pe\mathbb{Z}_p \to \mathbb{Z}/p^{e}Zp​→Z/pe.
  • A Galois element σ\sigmaσ acts on H∞H_\inftyH∞​ by restricting the componentwise action, and γ−1\gamma - 1γ−1 acts on ViV_iVi​ by restriction. The definitions check that these restrictions are possible: a stability or finite-dimensionality hypothesis is tested, with 000 as the fallback value. These hypotheses always hold, but proving them is left to solvers. In particular hp=0h_p = 0hp​=0 if ViV_iVi​ were infinite-dimensional, so the goal includes finite-dimensionality and cannot hold for degenerate reasons.
  • γ\gammaγ and uuu are both quantified, linked by "uuu is the cyclotomic character of γ\gammaγ" and "uuu topologically generates 1+pZp1 + p\mathbb{Z}_p1+pZp​". GpG_pGp​ is stated existentially: the goal asserts that a power series with the interpolation property exists and generates the same ideal as hph_php​. Such a series is unique (Milestone 1).
  • hp∈Qp[T]h_p \in \mathbb{Q}_p[T]hp​∈Qp​[T] is compared with Gp∈Zp[[T]]G_p \in \mathbb{Z}_p[[T]]Gp​∈Zp​[[T]] through its unique preimage in Zp[T]\mathbb{Z}_p[T]Zp​[T].
  • Generalized Bernoulli numbers are taken modulo ppp, including for the trivial character. This builds in the Euler factor 1−pk−11 - p^{k-1}1−pk−1 and makes the source's formula Lp(ωi,1−k)=−Bk(ωi−k)/kL_p(\omega^i, 1-k) = -B_k(\omega^{i-k})/kLp​(ωi,1−k)=−Bk​(ωi−k)/k correct for every k≥1k \ge 1k≥1.

Selected references

  • B. Mazur, A. Wiles, Class fields of abelian extensions of Q\mathbb{Q}Q, Invent. Math. 76 (1984), 179–330. https://doi.org/10.1007/BF01388599
  • K. Iwasawa, On ppp-adic LLL-functions, Ann. of Math. 89 (1969), 198–205. https://doi.org/10.2307/1970817
  • A. Wiles, The Iwasawa conjecture for totally real fields, Ann. of Math. 131 (1990), 493–540. https://doi.org/10.2307/1971468
  • L. C. Washington, Introduction to Cyclotomic Fields, 2nd ed., GTM 83, Springer, 1997.
  • S. Lang, Cyclotomic Fields I and II, GTM 121, Springer, 1990.
  • Wikipedia, Main conjecture of Iwasawa theory, https://en.wikipedia.org/w/index.php?title=Main_conjecture_of_Iwasawa_theory&oldid=1367440598
7 thms1 active userReviewed
Arithmetic Geometry·Captain: Lucas

Finiteness of the Selmer group of an elliptic curveTextbook

Motivation

The Selmer group is the main computable invariant attached to the rational points of an elliptic curve (more generally, of an abelian variety) over a number field. J. W. S. Cassels named it in honour of E. S. Selmer, whose numerical work on the curves ax3+by3+cz3=0ax^3+by^3+cz^3=0ax3+by3+cz3=0 exposed the limits of descent methods (Selmer 1951). For an elliptic curve EEE over a number field KKK and an integer n≥1n\ge 1n≥1, the nnn-Selmer group Sel(n)(E/K)\mathrm{Sel}^{(n)}(E/K)Sel(n)(E/K) is a finite group, computable in principle, which contains E(K)/nE(K)E(K)/nE(K)E(K)/nE(K) and whose remaining part is the nnn-torsion of the Tate–Shafarevich group Ш(E/K)\text{Ш}(E/K)Ш(E/K). Finiteness of the Selmer group is the cohomological core of the weak Mordell–Weil theorem, and hence of the Mordell–Weil theorem that E(K)E(K)E(K) is finitely generated.

Timeline.

  • 1951–1954: Selmer studies rational points on cubic curves by two descents and states a conjecture on the number of generators detected by a second descent (Selmer 1951; Selmer 1954).
  • 1959–1962: Cassels, in the series Arithmetic on curves of genus 1, introduces the name "Selmer group" and studies its relation with the Tate–Šafarevič group (Cassels 1962).
  • 1994: Greenberg extends the notion to ppp-adic Galois representations and motives in Iwasawa theory.

Setting

Let KKK be a number field with algebraic closure Kˉ\bar KKˉ and absolute Galois group GK=Gal(Kˉ/K)G_K=\mathrm{Gal}(\bar K/K)GK​=Gal(Kˉ/K), a profinite group with its Krull topology. Let EEE be an elliptic curve over KKK, given by a Weierstrass equation, and let n≥1n\ge1n≥1. For a field L⊇KL\supseteq KL⊇K write E(L)E(L)E(L) for the group of LLL-points and E(Lˉ)[n]E(\bar L)[n]E(Lˉ)[n] for the nnn-torsion of E(Lˉ)E(\bar L)E(Lˉ); the group GLG_LGL​ acts on both.

For a topological group GGG acting on an abelian group MMM (regarded as discrete), the continuous first cohomology H1(G,M)H^1(G,M)H1(G,M) is the group of locally constant maps c:G→Mc:G\to Mc:G→M with c(gh)=c(g)+g c(h)c(gh)=c(g)+g\,c(h)c(gh)=c(g)+gc(h), modulo the maps g↦gm−mg\mapsto gm-mg↦gm−m.

For each place vvv of KKK (finite or infinite), let KvK_vKv​ be the completion, GKv=Gal(Kˉv/Kv)G_{K_v}=\mathrm{Gal}(\bar K_v/K_v)GKv​​=Gal(Kˉv​/Kv​), and fix a KKK-embedding Kˉ↪Kˉv\bar K\hookrightarrow\bar K_vKˉ↪Kˉv​; it induces the restriction GKv→GKG_{K_v}\to G_KGKv​​→GK​ and H1(GK,E[n])→H1(GKv,E[n])H^1(G_K,E[n])\to H^1(G_{K_v},E[n])H1(GK​,E[n])→H1(GKv​​,E[n]). The local Kummer map is

κv:E(Kv)/nE(Kv)→H1(GKv,E(Kˉv)[n]),P↦[σ↦σQ−Q],nQ=P.\kappa_v: E(K_v)/nE(K_v)\to H^1(G_{K_v},E(\bar K_v)[n]),\qquad P\mapsto[\sigma\mapsto \sigma Q-Q],\quad nQ=P.κv​:E(Kv​)/nE(Kv​)→H1(GKv​​,E(Kˉv​)[n]),P↦[σ↦σQ−Q],nQ=P.

The nnn-Selmer group is

Sel(n)(E/K)=⋂vker⁡(H1(GK,E(Kˉ)[n])→H1(GKv,E(Kˉv)[n])/im κv),\mathrm{Sel}^{(n)}(E/K)=\bigcap_v \ker\Big(H^1(G_K,E(\bar K)[n])\to H^1(G_{K_v},E(\bar K_v)[n])/\mathrm{im}\,\kappa_v\Big),Sel(n)(E/K)=v⋂​ker(H1(GK​,E(Kˉ)[n])→H1(GKv​​,E(Kˉv​)[n])/imκv​),

and the Tate–Shafarevich group Ш(E/K)\text{Ш}(E/K)Ш(E/K) is the set of classes in H1(GK,E(Kˉ))H^1(G_K,E(\bar K))H1(GK​,E(Kˉ)) whose restriction to every GKvG_{K_v}GKv​​ is trivial.

Formalization targets

Goal

Sel(n)(E/K) is finite(n≥1).\mathrm{Sel}^{(n)}(E/K)\ \text{is finite}\qquad(n\ge1).Sel(n)(E/K) is finite(n≥1).

Milestones

  1. The local identification H1(GKv,E[n])/im κv≅H1(GKv,E)[n]H^1(G_{K_v},E[n])/\mathrm{im}\,\kappa_v\cong H^1(G_{K_v},E)[n]H1(GKv​​,E[n])/imκv​≅H1(GKv​​,E)[n], stated as: im κv\mathrm{im}\,\kappa_vimκv​ is the kernel of H1(GKv,E[n])→H1(GKv,E)H^1(G_{K_v},E[n])\to H^1(G_{K_v},E)H1(GKv​​,E[n])→H1(GKv​​,E), and the image of that map is the nnn-torsion H1(GKv,E)[n]H^1(G_{K_v},E)[n]H1(GKv​​,E)[n].
  2. The exact sequence 0→E(K)/nE(K)→Sel(n)(E/K)→Ш(E/K)[n]→00\to E(K)/nE(K)\to\mathrm{Sel}^{(n)}(E/K)\to\text{Ш}(E/K)[n]\to00→E(K)/nE(K)→Sel(n)(E/K)→Ш(E/K)[n]→0.
  3. Ш(E/K)[n]\text{Ш}(E/K)[n]Ш(E/K)[n] is finite.
  4. The weak Mordell–Weil theorem: E(K)/nE(K)E(K)/nE(K)E(K)/nE(K) is finite.

Significance

The result. Finiteness of Sel(n)(E/K)\mathrm{Sel}^{(n)}(E/K)Sel(n)(E/K) gives, through the exact sequence, finiteness of E(K)/nE(K)E(K)/nE(K)E(K)/nE(K) (weak Mordell–Weil) and of Ш(E/K)[n]\text{Ш}(E/K)[n]Ш(E/K)[n]. Combined with the theory of heights it yields the Mordell–Weil theorem. The Selmer group is also the object that descent algorithms compute, and the starting point of Iwasawa-theoretic and Bloch–Kato generalisations.

Formalizing it. The finiteness theorem is classical (see e.g. Silverman, Ch. X). A complete development produces continuous Galois cohomology of elliptic curves over number fields, the Kummer sequence, local conditions at all places, and a formal weak Mordell–Weil theorem for arbitrary number fields and arbitrary nnn.

Difficulty

The group H1(GK,E[n])H^1(G_K,E[n])H1(GK​,E[n]) itself is infinite, so finiteness can only come from the local conditions, and conditions at all places must be used. The essential input is global arithmetic: the finiteness of the class group and the finite generation of the unit group of a ring of SSS-integers of a finite extension of KKK. The local analysis (behaviour of the Kummer image at places of good reduction not dividing nnn) and the profinite cohomology must both be built for elliptic curves before that input can be applied.

Formalization scope

  • EEE is a WeierstrassCurve K with [E.IsElliptic]; KKK is a NumberField. The source treats an isogeny f:A→Bf:A\to Bf:A→B of abelian varieties; this mission specialises to elliptic curves and to the isogeny f=[n]f=[n]f=[n], n≥1n\ge1n≥1.
  • GLG_LGL​ is Field.absoluteGaloisGroup L with its Krull topology. H1H^1H1 is defined from scratch as locally constant 1-cocycles modulo coboundaries (discrete coefficients).
  • Places: finite places are the height-one primes vvv of OK\mathcal O_KOK​ with completion v.adicCompletion K; infinite places are InfinitePlace K with completion w.Completion. Restriction uses a fixed embedding Kˉ→Kˉv\bar K\to\bar K_vKˉ→Kˉv​ chosen by IsAlgClosed.lift.
  • Sel(n)(E/K)\mathrm{Sel}^{(n)}(E/K)Sel(n)(E/K) and Ш(E/K)\text{Ш}(E/K)Ш(E/K) are subsets of the cohomology groups. The local condition at vvv asks that some representative cocycle restrict exactly to σ↦σQ−Q\sigma\mapsto\sigma Q-Qσ↦σQ−Q with nQ∈E(Kv)nQ\in E(K_v)nQ∈E(Kv​); this is equivalent to the source's condition because QQQ may be shifted by an nnn-torsion point.
  • The source's exact sequence prints Sel(2)\mathrm{Sel}^{(2)}Sel(2) and Ш(A/K)\text{Ш}(A/K)Ш(A/K); the formal statement uses the standard form with Sel(n)\mathrm{Sel}^{(n)}Sel(n) and Ш(E/K)[n]\text{Ш}(E/K)[n]Ш(E/K)[n].
  • The finiteness of all of Ш(E/K)\text{Ш}(E/K)Ш(E/K) (conjectural) and effective computability are not part of the mission.
  • Contributions welcome: Galois descent for points, the Kummer sequence, unramified cohomology classes, finiteness of SSS-unit and class-group quotients.

Selected references

  • E. S. Selmer, The Diophantine equation ax3+by3+cz3=0ax^3+by^3+cz^3=0ax3+by3+cz3=0, Acta Math. 85 (1951), 203–362. https://doi.org/10.1007/BF02395746
  • E. S. Selmer, A conjecture concerning rational points on cubic curves, Math. Scand. 2 (1954), 49–54. https://doi.org/10.7146/math.scand.a-10394
  • J. W. S. Cassels, Arithmetic on curves of genus 1. III. The Tate–Šafarevič and Selmer groups, Proc. London Math. Soc. (3) 12 (1962), 259–296. https://doi.org/10.1112/plms/s3-12.1.259
  • J. H. Silverman, The Arithmetic of Elliptic Curves, 2nd ed., GTM 106, Springer, 2009, Chapter X. https://doi.org/10.1007/978-0-387-09494-6
  • Wikipedia, Selmer group (revision 1370673670). https://en.wikipedia.org/w/index.php?title=Selmer_group&oldid=1370673670
8 thms1 active userReviewed
Captain: Lucas

Riemann–von Mangoldt Formula (Wikipedia): Counting Zeros of the Riemann Zeta FunctionTextbook

Motivation

The nontrivial zeros of the Riemann zeta function ζ(s)\zeta(s)ζ(s) control the distribution of the prime numbers: the explicit formula expresses the error in the prime number theorem as a sum over these zeros. Almost every quantitative argument about primes therefore needs to know how many zeros there are up to a given height. The Riemann–von Mangoldt formula answers this question, and it is used throughout analytic number theory: in explicit prime-counting estimates, in zero-density arguments, in numerical verifications of the Riemann hypothesis, and in the study of the spacing of zeros.

Timeline.

  • 1859: Riemann states, without proof, that the number of zeros up to height TTT is about T2πlog⁡T2π−T2π\frac{T}{2\pi}\log\frac{T}{2\pi}-\frac{T}{2\pi}2πT​log2πT​−2πT​, with a relative error of order 1/T1/T1/T ("On the Number of Primes Less Than a Given Magnitude").
  • 1905: von Mangoldt proves the formula with error O(log⁡T)O(\log T)O(logT).
  • 1918: Backlund makes the error explicit for T>2T>2T>2, with constants 0.1370.1370.137, 0.4430.4430.443, 4.3504.3504.350 (Acta Math. 41).
  • Conditional refinements: under the Lindelöf hypothesis the error is o(log⁡T)o(\log T)o(logT), and under the Riemann hypothesis it is O(log⁡T/log⁡log⁡T)O(\log T/\log\log T)O(logT/loglogT) (Titchmarsh, Theorems 13.6(A) and 14.13).
  • 2022: Hasanalizade, Shen and Wong improve the explicit constants to 0.10380.10380.1038, 0.25730.25730.2573, 9.36759.36759.3675 for T≥eT\ge eT≥e (J. Number Theory 235, Corollary 1.2).
  • The analogous formula N(T,χ)=Tπlog⁡qT2πe+O(log⁡qT)N(T,\chi)=\frac{T}{\pi}\log\frac{qT}{2\pi e}+O(\log qT)N(T,χ)=πT​log2πeqT​+O(logqT) holds for Dirichlet LLL-functions of primitive characters (Davenport, Multiplicative Number Theory, Ch. 16).

Setting

The Riemann zeta function ζ(s)=∑n≥1n−s\zeta(s)=\sum_{n\ge1}n^{-s}ζ(s)=∑n≥1​n−s, defined for Re⁡s>1\operatorname{Re}s>1Res>1, extends to a meromorphic function on C\mathbb CC with a single pole at s=1s=1s=1. Its zeros with positive imaginary part all lie in the critical strip 0<Re⁡s<10<\operatorname{Re}s<10<Res<1. For real TTT, the zero-counting function is

N(T)=#{ρ: ζ(ρ)=0, 0<Re⁡ρ<1, 0<Im⁡ρ≤T},N(T)=\#\{\rho:\ \zeta(\rho)=0,\ 0<\operatorname{Re}\rho<1,\ 0<\operatorname{Im}\rho\le T\},N(T)=#{ρ: ζ(ρ)=0, 0<Reρ<1, 0<Imρ≤T},

where each zero is counted with its multiplicity. The main term is

M(T)=T2πlog⁡T2π−T2π=T2πlog⁡T2πe.M(T)=\frac{T}{2\pi}\log\frac{T}{2\pi}-\frac{T}{2\pi}=\frac{T}{2\pi}\log\frac{T}{2\pi e}.M(T)=2πT​log2πT​−2πT​=2πT​log2πeT​.

For a positive integer qqq and a Dirichlet character χ\chiχ modulo qqq, L(s,χ)L(s,\chi)L(s,χ) is the analytic continuation of ∑n≥1χ(n)n−s\sum_{n\ge1}\chi(n)n^{-s}∑n≥1​χ(n)n−s, and N(T,χ)N(T,\chi)N(T,χ) counts, with multiplicity, its zeros ρ\rhoρ with 0<Re⁡ρ<10<\operatorname{Re}\rho<10<Reρ<1 and −T≤Im⁡ρ≤T-T\le\operatorname{Im}\rho\le T−T≤Imρ≤T. The Lindelöf hypothesis asserts ζ(12+it)=O(tε)\zeta(\tfrac12+it)=O(t^{\varepsilon})ζ(21​+it)=O(tε) for every ε>0\varepsilon>0ε>0, and the Riemann hypothesis asserts that every nontrivial zero has real part 12\tfrac1221​.

Formalization targets

Goal: the Riemann–von Mangoldt formula

N(T)=T2πlog⁡T2π−T2π+O(log⁡T)(T→∞).N(T)=\frac{T}{2\pi}\log\frac{T}{2\pi}-\frac{T}{2\pi}+O(\log T)\qquad(T\to\infty).N(T)=2πT​log2πT​−2πT​+O(logT)(T→∞).

This asserts only the shape of the asymptotics, with no numerical constants, so it remains valid however the explicit constants are later improved.

Explicit forms (each implies the goal)

  • Backlund: for T>2T>2T>2, ∣N(T)−M(T)−78∣<0.137log⁡T+0.443log⁡log⁡T+4.350\left|N(T)-M(T)-\frac78\right|<0.137\log T+0.443\log\log T+4.350​N(T)−M(T)−87​​<0.137logT+0.443loglogT+4.350.
  • Hasanalizade–Shen–Wong: for T≥eT\ge eT≥e, ∣N(T)−M(T)∣≤0.1038log⁡T+0.2573log⁡log⁡T+9.3675\left|N(T)-M(T)\right|\le0.1038\log T+0.2573\log\log T+9.3675∣N(T)−M(T)∣≤0.1038logT+0.2573loglogT+9.3675.

Conditional refinements

  • Under the Lindelöf hypothesis: N(T)=M(T)+o(log⁡T)N(T)=M(T)+o(\log T)N(T)=M(T)+o(logT).
  • Under the Riemann hypothesis: N(T)=M(T)+O ⁣(log⁡Tlog⁡log⁡T)N(T)=M(T)+O\!\left(\frac{\log T}{\log\log T}\right)N(T)=M(T)+O(loglogTlogT​).

Dirichlet LLL-functions

For every primitive character χ\chiχ modulo qqq and T≥2T\ge2T≥2, uniformly in qqq and χ\chiχ:

N(T,χ)=Tπlog⁡qT2πe+O(log⁡qT).N(T,\chi)=\frac{T}{\pi}\log\frac{qT}{2\pi e}+O(\log qT).N(T,χ)=πT​log2πeqT​+O(logqT).

Significance

The result itself. The formula shows that the zeros up to height TTT number about T2πlog⁡T\frac{T}{2\pi}\log T2πT​logT, and that their mean spacing at height TTT is 2π/log⁡T2\pi/\log T2π/logT. It is the normalisation behind pair-correlation statistics, the input that turns zero-free regions into error terms for the prime number theorem, and the bound that makes sums over zeros in the explicit formula converge. Explicit forms such as Backlund's and Hasanalizade–Shen–Wong's are what numerical work uses: they convert a verified count of zeros up to a height into rigorous statements about primes.

Formalizing it. All the targets are classical, proved theorems; none of them is open. What remains is a machine-checked development: the zero-counting function for Mathlib's riemannZeta, the asymptotic formula, its explicit and conditional forms, and the Dirichlet LLL-function analogue. The platform already contains a related dyadic-window statement for N(T,2T)N(T,2T)N(T,2T) that is conditional on Stirling-type hypotheses. This mission targets the unconditional cumulative count N(T)N(T)N(T) in its standard form.

Difficulty

The obvious approach counts zeros with the argument principle around the rectangle with vertices −1-1−1, 222, 2+iT2+iT2+iT, −1+iT-1+iT−1+iT, using the completed function ξ(s)\xi(s)ξ(s). The contributions of the Gamma factor and of the right-hand edge are routine. The step that does not go through directly is the top edge: one must show that the change in arg⁡ζ(σ+iT)\arg\zeta(\sigma+iT)argζ(σ+iT) along 12≤σ≤2\tfrac12\le\sigma\le221​≤σ≤2 is O(log⁡T)O(\log T)O(logT). A naive bound on ∣ζ∣|\zeta|∣ζ∣ gives no control of the argument. The classical arguments bound the number of sign changes of Re⁡ζ\operatorname{Re}\zetaReζ on the segment (Backlund's trick via Jensen's formula), or use the Hadamard product with a local zero count. Both need growth estimates for ζ\zetaζ in the strip, Stirling's formula for complex Γ\GammaΓ, and a careful treatment of TTT that is the ordinate of a zero. For the explicit bounds, every one of these steps must be carried out with numerical constants. The conditional refinements need the Selberg-type analysis of S(T)=1πarg⁡ζ(12+iT)S(T)=\frac1\pi\arg\zeta(\tfrac12+iT)S(T)=π1​argζ(21​+iT).

Formalization scope

  • ζ\zetaζ is Mathlib's riemannZeta, L(s,χ)L(s,\chi)L(s,χ) is DirichletCharacter.LFunction, primitivity is DirichletCharacter.IsPrimitive, and the Riemann hypothesis is Mathlib's RiemannHypothesis.
  • N(T)N(T)N(T) (zetaZeroCount) and N(T,χ)N(T,\chi)N(T,χ) (dirichletZeroCount) are finite sums of multiplicities (analyticOrderNatAt) over the zeros in the open critical strip, with imaginary part in (0,T](0,T](0,T] and [−T,T][-T,T][−T,T] respectively. Zeros on the line Im⁡s=T\operatorname{Im}s=TIms=T are counted.
  • The finiteness of each zero set is not assumed. A finsum over an infinite set would be 000, so a solver must prove finiteness.
  • Asymptotic statements use Asymptotics.IsBigO / IsLittleO along Filter.atTop. The Lindelöf hypothesis is the one-sided form ζ(12+it)=O(tε)\zeta(\tfrac12+it)=O(t^\varepsilon)ζ(21​+it)=O(tε) as t→+∞t\to+\inftyt→+∞, which is equivalent to the two-sided form by conjugate symmetry.
  • Decimal constants are exact rationals. Backlund's bound uses +78+\tfrac78+87​, as in Backlund's paper. The source article prints −78-\tfrac78−87​, which appears to be a typo.
  • Reusable infrastructure includes: the argument principle on rectangles, Jensen-type zero counts in discs, Stirling's formula for log⁡Γ\log\GammalogΓ in vertical strips, convexity bounds for ζ\zetaζ in the critical strip, and local zero-count lemmas. Contributions of any of these as separate lemmas are welcome.

Selected references

  • B. Riemann, Ueber die Anzahl der Primzahlen unter einer gegebenen Grösse, Monatsberichte der Berliner Akademie, 1859.
  • H. von Mangoldt, Zur Verteilung der Nullstellen der Riemannschen Funktion ξ(t), Math. Ann. 60 (1905) 1–19.
  • R. J. Backlund, Über die Nullstellen der Riemannschen Zetafunktion, Acta Math. 41 (1918) 345–375.
  • E. C. Titchmarsh, The Theory of the Riemann Zeta-Function, 2nd ed. (rev. D. R. Heath-Brown), Oxford, 1986. Theorems 9.4, 13.6(A), 14.13.
  • H. Davenport, Multiplicative Number Theory, 3rd ed., GTM 74, Springer, 2000. Chapter 16.
  • E. Hasanalizade, Q. Shen, P.-J. Wong, Counting zeros of the Riemann zeta function, J. Number Theory 235 (2022) 219–241. https://doi.org/10.1016/j.jnt.2021.06.032
  • Wikipedia, Riemann–von Mangoldt formula, revision 1362774495. https://en.wikipedia.org/w/index.php?title=Riemann–von_Mangoldt_formula&oldid=1362774495
7 thms1 active userReviewed
AlgebraTheoretical Computer Science·Captain: mikedeng1

Fast Polynomial Factorization and Modular Composition 2: Multimodular Reduction with Primes up to 16 log N and Kronecker Lifting Correctly Evaluate Multivariate Polynomials over (ℤ/rℤ)[Z]/(E(Z))Research Paper

Motivation

Multivariate multipoint evaluation asks for the values f(α0),…,f(αN−1)f(\alpha_0),\dots,f(\alpha_{N-1})f(α0​),…,f(αN−1​) of a polynomial f(X0,…,Xm−1)f(X_0,\dots,X_{m-1})f(X0​,…,Xm−1​) over a ring RRR, with individual degrees at most d−1d-1d−1, at NNN given points of RmR^mRm. Kedlaya and Umans showed that, over finite fields and rings (Z/rZ)[Z]/(E(Z))(\mathbb Z/r\mathbb Z)[Z]/(E(Z))(Z/rZ)[Z]/(E(Z)), this problem can be solved in time nearly linear in the input size dm+mNd^m + mNdm+mN, for m≤do(1)m \le d^{o(1)}m≤do(1) (Kedlaya–Umans 2008, §4). Through their reduction of modular composition, the computation of f(g(X)) mod h(X)f(g(X)) \bmod h(X)f(g(X))modh(X), to multipoint evaluation (§3 of the same paper), this gives the first nearly-linear-time algorithm for modular composition over finite fields. That in turn gives the fastest known algorithms for factoring univariate polynomials over Fq\mathbb F_qFq​, with O(n1.5+o(1)log⁡1+o(1)q+n1+o(1)log⁡2+o(1)q)O(n^{1.5+o(1)}\log^{1+o(1)} q + n^{1+o(1)}\log^{2+o(1)} q)O(n1.5+o(1)log1+o(1)q+n1+o(1)log2+o(1)q) bit operations for a randomized algorithm on degree-nnn polynomials (abstract and §8).

Timeline. Brent and Kung (1978) gave the O(n(ω+1)/2)O(n^{(\omega+1)/2})O(n(ω+1)/2) baby-step/giant-step algorithm for modular composition (J. ACM 25). Huang and Pan (1997) improved the exponent using fast rectangular matrix multiplication. Kaltofen and Shoup (1998) introduced the factoring framework that the factoring application builds on (Math. Comp. 67). Kedlaya and Umans (2008, SIAM J. Comput. 2011) gave the multimodular algorithm formalized here, together with an algebraic algorithm for small characteristic.

Setting

Let r≥1r \ge 1r≥1 and write Z/rZ\mathbb Z/r\mathbb ZZ/rZ for the integers modulo rrr. Every element of Z/rZ\mathbb Z/r\mathbb ZZ/rZ has a lift, its representative in {0,…,r−1}\{0,\dots,r-1\}{0,…,r−1}. For f∈(Z/rZ)[X0,…,Xm−1]f \in (\mathbb Z/r\mathbb Z)[X_0,\dots,X_{m-1}]f∈(Z/rZ)[X0​,…,Xm−1​], f~∈Z[X0,…,Xm−1]\tilde f \in \mathbb Z[X_0,\dots,X_{m-1}]f~​∈Z[X0​,…,Xm−1​] replaces each coefficient by its lift; α~∈Zm\tilde\alpha \in \mathbb Z^mα~∈Zm lifts a point coordinatewise.

Algorithm MULTIMODULAR with degree parameter ddd and t≥1t \ge 1t≥1 rounds takes fff (degree at most d−1d-1d−1 in each variable) and a point α\alphaα. It lists the primes p1,…,pkp_1,\dots,p_kp1​,…,pk​ at most ℓ=16log⁡(dm(r−1)md)\ell = 16\log(d^m(r-1)^{md})ℓ=16log(dm(r−1)md), reduces f~\tilde ff~​ and α~\tilde\alphaα~ modulo each php_hph​, and evaluates the reductions fh(αh)∈Fphf_h(\alpha_h) \in \mathbb F_{p_h}fh​(αh​)∈Fph​​. It does this directly when t=1t = 1t=1, and by recursion with t−1t-1t−1 rounds otherwise. It then returns, reduced modulo rrr, the unique integer in {0,…,p1⋯pk−1}\{0,\dots,p_1\cdots p_k - 1\}{0,…,p1​⋯pk​−1} congruent to fh(αh)f_h(\alpha_h)fh​(αh​) modulo every php_hph​.

Let E(Z)∈(Z/rZ)[Z]E(Z) \in (\mathbb Z/r\mathbb Z)[Z]E(Z)∈(Z/rZ)[Z] be monic of degree eee and R=(Z/rZ)[Z]/(E(Z))R = (\mathbb Z/r\mathbb Z)[Z]/(E(Z))R=(Z/rZ)[Z]/(E(Z)). The lift of x∈Rx \in Rx∈R is its representative of degree at most e−1e-1e−1, with coefficients lifted to {0,…,r−1}\{0,\dots,r-1\}{0,…,r−1}, an element of Z[Z]\mathbb Z[Z]Z[Z]. Put

M=dm(e(r−1))(d−1)m+1+1,r′=M(e−1)dm+1.M = d^m\bigl(e(r-1)\bigr)^{(d-1)m+1} + 1,\qquad r' = M^{(e-1)dm+1}.M=dm(e(r−1))(d−1)m+1+1,r′=M(e−1)dm+1.

Algorithm MULTIMODULAR-FOR-EXTENSION-RING runs in four steps.

  1. Lift f∈R[X0,…,Xm−1]f \in R[X_0,\dots,X_{m-1}]f∈R[X0​,…,Xm−1​] and α∈Rm\alpha \in R^mα∈Rm to Z[Z]\mathbb Z[Z]Z[Z].
  2. Substitute Z=MZ = MZ=M and reduce modulo r′r'r′.
  3. Run MULTIMODULAR over Z/r′Z\mathbb Z/r'\mathbb ZZ/r′Z, obtaining β\betaβ.
  4. Form the polynomial Q(Z)Q(Z)Q(Z) whose coefficients are the base-MMM digits of β\betaβ, and return QQQ reduced modulo rrr and E(Z)E(Z)E(Z).

Formalization targets

Goal: Theorem 4.4 (correctness)

For EEE monic of degree e≥1e \ge 1e≥1, m≥1m \ge 1m≥1, d≥2d \ge 2d≥2, t≥1t \ge 1t≥1, every f∈R[X0,…,Xm−1]f \in R[X_0,\dots,X_{m-1}]f∈R[X0​,…,Xm−1​] of degree at most d−1d-1d−1 in each variable, and every α∈Rm\alpha \in R^mα∈Rm:

MULTIMODULAR-FOR-EXTENSION-RINGd(f,α,t)=f(α).\mathrm{MULTIMODULAR\text{-}FOR\text{-}EXTENSION\text{-}RING}_d(f,\alpha,t) = f(\alpha).MULTIMODULAR-FOR-EXTENSION-RINGd​(f,α,t)=f(α).

Milestones

In the order the paper's proofs use them:

  1. Lemma 2.4. For every integer N≥2N \ge 2N≥2, ∏p≤16log⁡Np>N\displaystyle\prod_{p \le 16\log N} p > Np≤16logN∏​p>N.
  2. Magnitude bound (proof of Theorem 4.2). 0≤f~(α~)≤dm(r−1)md<p1⋯pk0 \le \tilde f(\tilde\alpha) \le d^m(r-1)^{md} < p_1\cdots p_k0≤f~​(α~)≤dm(r−1)md<p1​⋯pk​.
  3. Theorem 4.2 (correctness). MULTIMODULARd(f,α,r,t)=f(α)\mathrm{MULTIMODULAR}_d(f,\alpha,r,t) = f(\alpha)MULTIMODULARd​(f,α,r,t)=f(α) over Z/rZ\mathbb Z/r\mathbb ZZ/rZ.
  4. Coefficient bound (proof of Theorem 4.4). f~(α~)∈Z[Z]\tilde f(\tilde\alpha) \in \mathbb Z[Z]f~​(α~)∈Z[Z] has degree at most (e−1)dm(e-1)dm(e−1)dm and coefficients in {0,…,M−1}\{0,\dots,M-1\}{0,…,M−1}.
  5. Coincidence (proof of Theorem 4.4). The digit polynomial QQQ of fˉ(αˉ)\bar f(\bar\alpha)fˉ​(αˉ) equals f~(α~)\tilde f(\tilde\alpha)f~​(α~), and the reduction of f~(α~)\tilde f(\tilde\alpha)f~​(α~) modulo rrr and E(Z)E(Z)E(Z) is f(α)f(\alpha)f(α).

Significance

The result makes multivariate multipoint evaluation exact and fast over every finite ring of the form (Z/rZ)[Z]/(E(Z))(\mathbb Z/r\mathbb Z)[Z]/(E(Z))(Z/rZ)[Z]/(E(Z)), which includes every finite field Fq\mathbb F_qFq​. Combined with the paper's reduction from modular composition (Theorem 3.1) it yields modular composition of degree-nnn polynomials over Fq\mathbb F_qFq​ in n1+o(1)log⁡1+o(1)qn^{1+o(1)}\log^{1+o(1)} qn1+o(1)log1+o(1)q bit operations (§7). That is the step on which the paper's improvements to univariate polynomial factorization, irreducibility testing and minimal-polynomial computation rest (§§7–8). The same algorithm gives a data structure answering polynomial-evaluation queries in time polylogarithmic in the degree (§5).

The theorem is proved in the paper; nothing in it is open. As far as is known, no part of it has been machine-checked. This mission formalizes the correctness of both algorithms exactly as the paper defines them, step for step, including the Chinese-remainder recombination, the explicit prime threshold 16log⁡N16\log N16logN, and the base-MMM digit recovery. Lemma 2.4 is an explicit Chebyshev-type lower bound on the primorial, valid for all N≥2N \ge 2N≥2, and is reusable independently of this mission.

Difficulty

The recursion itself is routine. Two points carry the content. The first is the explicit prime threshold: the algorithm uses only primes up to 16log⁡N16\log N16logN, so its correctness depends on the explicit inequality of Lemma 2.4 for every N≥2N \ge 2N≥2, not on an asymptotic prime-number estimate. The small cases are part of the claim. The second is the extension-ring step: the integer β\betaβ produced over Z/r′Z\mathbb Z/r'\mathbb ZZ/r′Z must determine the polynomial f~(α~)∈Z[Z]\tilde f(\tilde\alpha) \in \mathbb Z[Z]f~​(α~)∈Z[Z] exactly. That needs simultaneous control of its degree and of every coefficient, against the specific constants MMM and r′r'r′. A bound on f~(α~)\tilde f(\tilde\alpha)f~​(α~) evaluated at a point does not by itself suffice.

Formalization scope

Lean represents Z/rZ\mathbb Z/r\mathbb ZZ/rZ as ZMod r with r≥1r \ge 1r≥1 (NeZero r, excluding ZMod 0 = ℤ), polynomials as MvPolynomial (Fin m) _ with variables indexed 0,…,m−10,\dots,m-10,…,m−1, and RRR as AdjoinRoot E for a monic E with 1≤1 \le1≤ E.natDegree. "Degree at most d−1d-1d−1 in each variable" is ∀ i, f.degreeOf i ≤ d - 1. log⁡\loglog is the natural logarithm; the paper does not fix a base, and the natural log is the strongest reading of Lemma 2.4. The primes p≤xp \le xp≤x for real xxx are the primes p≤⌊x⌋p \le \lfloor x\rfloorp≤⌊x⌋. Each algorithm is defined for a single evaluation point, since the paper processes the NNN points independently. The leaf t=1t = 1t=1 evaluates fhf_hfh​ at αh\alpha_hαh​ directly; that value is what Theorem 4.1's FFT algorithm outputs. r′r'r′ is M(e−1)dm+1M^{(e-1)dm+1}M(e−1)dm+1 as printed on p. 15; p. 16 prints M(e−1)(d−1)m+1M^{(e-1)(d-1)m+1}M(e−1)(d−1)m+1.

The hypotheses d≥2d \ge 2d≥2 and m≥1m \ge 1m≥1 are not written in the paper but are needed. For r=2r = 2r=2, d=1d = 1d=1, f=1f = 1f=1 the threshold ℓ\ellℓ is 000, no prime is used, and MULTIMODULAR returns 000. For m=0m = 0m=0 the inequality dm(r−1)(d−1)m+1≤dm(r−1)mdd^m(r-1)^{(d-1)m+1} \le d^m(r-1)^{md}dm(r−1)(d−1)m+1≤dm(r−1)md and the degree bound (e−1)dm(e-1)dm(e−1)dm both fail.

Only correctness is formalized. Every running-time bound in Theorems 4.1, 4.2, 4.4 and Corollaries 4.3, 4.5 is out of scope. The Chinese-remainder step and the digit step are defined from the residues and from β\betaβ alone: an algorithm that evaluates f~(α~)\tilde f(\tilde\alpha)f~​(α~) in Z\mathbb ZZ and reduces it, or that computes f(α)f(\alpha)f(α) in RRR directly, would make the theorems trivial and is not the algorithm stated here.

Needed infrastructure: explicit primorial lower bounds (Mathlib has primorial and Chebyshev's θ\thetaθ), the Chinese remainder theorem for several moduli (ZMod.prodEquivPi), bounds on evaluations of polynomials with nonnegative coefficients, and uniqueness of base-MMM representations of polynomials. Lemma 2.4 and the base-MMM uniqueness are reusable beyond this mission. Proofs of any milestone are welcome, as are alternative proofs of Lemma 2.4.

Selected references

  • K. S. Kedlaya, C. Umans, Fast polynomial factorization and modular composition, Dagstuhl Seminar Proceedings 08381 (version of Aug. 31, 2008). http://drops.dagstuhl.de/opus/volltexte/2008/1777 — published in SIAM J. Comput. 40(6), 2011, https://doi.org/10.1137/08073408X.
  • R. P. Brent, H. T. Kung, Fast algorithms for manipulating formal power series, J. ACM 25(4), 1978. https://doi.org/10.1145/322092.322099
  • E. Kaltofen, V. Shoup, Subquadratic-time factoring of polynomials over finite fields, Math. Comp. 67, 1998. https://doi.org/10.1090/S0025-5718-98-00944-2
  • J. von zur Gathen, J. Gerhard, Modern Computer Algebra, Cambridge University Press, 1999. https://doi.org/10.1017/CBO9781139856065
8 thms1 active userReviewed
Probability·Captain: Xiang Huang

Normality of πOpen Problem

Motivation

A real number is normal in base bbb when every block of kkk base-bbb digits occurs in its expansion with limiting frequency b−kb^{-k}b−k, exactly as it would in a sequence of independent uniformly random digits. It is normal (absolutely normal) when it is normal in every base b≥2b\ge 2b≥2. Whether the classical constants of analysis, above all π\piπ, are normal is one of the oldest open questions linking number theory and probability: it asks whether a number defined by geometry has digits that are statistically indistinguishable from random ones.

Timeline.

  • 1909. Borel introduces normality and proves that Lebesgue-almost every real number is normal in every base (Borel 1909). The proof is non-constructive and gives no explicit example.
  • 1933. Champernowne gives the first explicit normal numbers. The best known is 0.123456789101112…0.123456789101112\ldots0.123456789101112…, the positive integers written one after another, which is normal in base ten (Champernowne 1933, Theorems I–IV). He conjectures that 0.235711131719…0.235711131719\ldots0.235711131719…, built from the primes, is also normal.
  • 1946. Copeland and Erdős prove that 0.a1a2a3…0.a_1a_2a_3\ldots0.a1​a2​a3​… is normal in base bbb for every increasing sequence of positive integers ana_nan​ that contains more than NθN^\thetaNθ terms up to NNN for every θ<1\theta<1θ<1 and all large NNN. This settles Champernowne's conjecture for the primes (Copeland–Erdős 1946).
  • 1997–2001. The Bailey–Borwein–Plouffe formula computes binary digits of π\piπ without the earlier ones (BBP 1997). Bailey and Crandall reduce the base-2 normality of π\piπ to a conjecture on a specific discrete dynamical system (Bailey–Crandall 2001). The conjecture remains open.
  • 2002. Becher and Figueira give a computable absolutely normal number (Becher–Figueira 2002).

Large-scale digit computations of π\piπ are statistically consistent with normality. No base is known in which π\piπ is normal, and it is not even known that any particular digit occurs infinitely often in its decimal expansion.

Setting

A digit sequence is a function s:N→Ns:\mathbb N\to\mathbb Ns:N→N; s0s_0s0​ is the first digit after the point. A word is a finite list w=(w0,…,wk−1)w=(w_0,\dots,w_{k-1})w=(w0​,…,wk−1​) of naturals. For N∈NN\in\mathbb NN∈N, the occurrence count count(s,w,N)\mathrm{count}(s,w,N)count(s,w,N) is the number of positions i<Ni<Ni<N with si+j=wjs_{i+j}=w_jsi+j​=wj​ for every j<kj<kj<k. Overlapping occurrences each count.

The sequence sss is normal in base bbb (IsNormalSeq b s) if, for every word www with all entries <b<b<b,

lim⁡N→∞count(s,w,N)N=b−∣w∣.\lim_{N\to\infty}\frac{\mathrm{count}(s,w,N)}{N}=b^{-|w|}.N→∞lim​Ncount(s,w,N)​=b−∣w∣.

The nnn-th base-bbb digit of a real xxx after the point is

digitb(x,n)=⌊x b n+1⌋ mod b.\mathrm{digit}_b(x,n)=\lfloor x\,b^{\,n+1}\rfloor \bmod b .digitb​(x,n)=⌊xbn+1⌋modb.

The real xxx is normal in base bbb (IsNormalReal b x) if n↦digitb(x,n)n\mapsto \mathrm{digit}_b(x,n)n↦digitb​(x,n) is normal in base bbb. Two remarks:

  • The integer part of xxx plays no role.
  • For a rational number with two expansions, the floor selects the one not ending in repeated (b−1)(b-1)(b−1)'s.

Formalization targets

Goal: π\piπ is normal

∀ b∈N,b≥2 ⟹ π is normal in base b.\forall\, b\in\mathbb N,\quad b\ge 2\ \Longrightarrow\ \pi \text{ is normal in base } b.∀b∈N,b≥2 ⟹ π is normal in base b.

This is the conjecture in its standard form, normality in every base. The base-ten case is the special case b=10b=10b=10.

Milestones

None are listed. No decomposition of this problem into intermediate statements is known that would be a faithful attack path, and the mission does not invent one. Proposals for intermediate targets are welcome in the discussion; see the contributions listed under Formalization scope.

The known theorems of the subject (Champernowne's constructions, the Copeland–Erdős theorem, Borel's theorem) concern numbers built to be normal or almost every number; they are not steps toward π\piπ and are kept in the separate mission Explicit normal numbers: Champernowne and Copeland–Erdős.

Significance

A proof that π\piπ is normal in base bbb would give every finite digit pattern a definite limiting frequency in its expansion. It would be the first normality result for a classical constant not built to be normal. Every known normal number is constructed digit by digit (Champernowne, Copeland–Erdős, Sierpiński, Becher–Figueira) or shown to exist by a measure argument (Borel). Even the base-2 case would settle the Bailey–Crandall programme for π\piπ.

Formalization status. The goal is open mathematics. The definitions it is stated with are published and are shared with the mission Explicit normal numbers: Champernowne and Copeland–Erdős, where Champernowne's theorems and the Copeland–Erdős theorem have machine-checked proofs.

Difficulty

The constructive results all prove normality from the digit-by-digit description of the number. In particular, the Copeland–Erdős block criterion needs the expansion to be an explicit concatenation of blocks. π\piπ has no such description. Its known series (Machin-type formulas, BBP) give digits as values of exponential sums, and no known method controls the joint distribution of long digit blocks of such values.

Borel's theorem does not help: it only says that the exceptional set is null, and gives no criterion for deciding whether a given number lies in it. Neither high-precision digit statistics nor irrationality measures for π\piπ imply normality.

Formalization scope

All declarations live in the namespace Normal and use the definition bundle Normal_Core:

  • count, IsNormalSeq, digit, IsNormalReal;
  • ofDigits b s =∑nsnb−(n+1)=\sum_n s_n b^{-(n+1)}=∑n​sn​b−(n+1);
  • the concatenation operators flatten, digitsBE, concatDigits;
  • the Champernowne and Copeland–Erdős constants.

Committed conventions:

  • Digits are read after the point, with the floor convention above.
  • Frequencies are limits of real quotients.
  • Words of every length k≥0k\ge0k≥0 are quantified, with entries <b<b<b.
  • The goal ranges over all natural bases b≥2b\ge2b≥2. The degenerate bases 000 and 111 are excluded by hypothesis, not by convention.

The definitions agree with Borel's, and the mission does not admit a trivialising reading. A real number is not normal merely because it is irrational, and the empty word imposes only the trivial condition.

The bundle also contains a verbatim copy of the integer-arithmetic definition IsNormal from xiangyazi24/agafonov; its equivalence with IsNormalSeq is proved on the platform (Normal.isNormalSeq_iff_isNormal), so results stated in either form transfer.

Welcome contributions:

  • Borel's theorem, via the strong law of large numbers or a Chernoff bound for digit blocks;
  • equivalent characterisations of normality, such as Wall's criterion by uniform distribution of bnx mod 1b^n x \bmod 1bnxmod1 and the reduction from all words to aligned blocks;
  • conditional reductions, such as the Bailey–Crandall hypothesis implying base-2 normality of π\piπ.

Selected references

  • É. Borel, Les probabilités dénombrables et leurs applications arithmétiques, Rend. Circ. Mat. Palermo 27 (1909), 247–271. https://doi.org/10.1007/BF03019651
  • D. G. Champernowne, The construction of decimals normal in the scale of ten, J. London Math. Soc. 8 (1933), 254–260. https://doi.org/10.1112/jlms/s1-8.4.254
  • A. H. Copeland and P. Erdős, Note on normal numbers, Bull. Amer. Math. Soc. 52 (1946), 857–860. https://doi.org/10.1090/S0002-9904-1946-08657-7
  • D. Bailey, P. Borwein and S. Plouffe, On the rapid computation of various polylogarithmic constants, Math. Comp. 66 (1997), 903–913. https://doi.org/10.1090/S0025-5718-97-00856-9
  • D. H. Bailey and R. E. Crandall, On the random character of fundamental constant expansions, Experiment. Math. 10 (2001), 175–190. https://doi.org/10.1080/10586458.2001.10504441
  • V. Becher and S. Figueira, An example of a computable absolutely normal number, Theoret. Comput. Sci. 270 (2002), 947–958. https://doi.org/10.1016/S0304-3975(01)00170-0
2 thms1 active userReviewed
Numerical AnalysisOptimization·Captain: mikedeng1

Nonsmooth Optimization via Quasi-Newton Methods III: The Secant Method on |x| Generates the Alternating Binary Expansion of x₀Research Paper

Motivation

Quasi-Newton methods such as BFGS were designed for smooth objectives, yet in practice they are routinely run on nonsmooth functions and they often work well there: on many nonsmooth problems the iterates converge to a minimizer at a linear rate, measured against the total number of function evaluations. Lewis and Overton (Math. Program. 141 (2013) 135–163) set out to explain this behaviour. Almost nothing about it is proved, so they analyse the simplest cases in detail.

The very simplest case is the subject of this mission: minimizing the absolute value f(x)=∣x∣f(x)=|x|f(x)=∣x∣ on the real line. In dimension one the quasi-Newton update is completely determined by the secant equation, so the method is the classical secant method, combined with a bisection-type Armijo–Wolfe line search. Even here the behaviour is far from obvious. Steepest descent on ∣x∣|x|∣x∣ needs about (log⁡2(1/ϵ))2/2(\log_2(1/\epsilon))^2/2(log2​(1/ϵ))2/2 function trials to reach accuracy ϵ\epsilonϵ, because the closer the iterate is to zero, the more bisections its fixed-size step needs. The secant method needs only about log⁡2(1/ϵ)\log_2(1/\epsilon)log2​(1/ϵ), the cost of bisection. Lewis and Overton show that the iterates of the secant method trace out an expansion of the starting point as an alternating sum of powers of two, which accounts exactly for the number of trials.

Setting

The objective is f(x)=∣x∣f(x)=|x|f(x)=∣x∣ on R\mathbb RR, with gradient sgn⁡(x)\operatorname{sgn}(x)sgn(x) at every x≠0x\ne0x=0.

The line search (Algorithm 4.6, p. 147). Given two tests on steps t>0t>0t>0, an Armijo test AAA and a Wolfe test WWW, the line search starts with α=0\alpha=0α=0, β=+∞\beta=+\inftyβ=+∞ and t=1t=1t=1. Each trial examines the current ttt. If A(t)A(t)A(t) fails, it sets β←t\beta\leftarrow tβ←t. Otherwise, if W(t)W(t)W(t) fails, it sets α←t\alpha\leftarrow tα←t. Otherwise it stops and returns ttt. The next trial step is (α+β)/2(\alpha+\beta)/2(α+β)/2 when β<+∞\beta<+\inftyβ<+∞ and 2α2\alpha2α otherwise. So the line search doubles until the step is bracketed, then bisects.

The tests of §5.1. At an iterate xkx_kxk​ with direction pkp_kpk​ (where pkxk<0p_kx_k<0pk​xk​<0), take the line search objective h(t)=∣xk+tpk∣−∣xk∣h(t)=|x_k+tp_k|-|x_k|h(t)=∣xk​+tpk​∣−∣xk​∣, the Armijo parameter c1=0c_1=0c1​=0, and replace the differentiability check by a termination rule. The conditions become

A(t): t<−2xkpk,W(t): t≥−xkpk.A(t):\ t<-\frac{2x_k}{p_k},\qquad W(t):\ t\ge-\frac{x_k}{p_k}.A(t): t<−pk​2xk​​,W(t): t≥−pk​xk​​.

The secant method. Start at x0x_0x0​ with H0=1H_0=1H0​=1. At step kkk set pk=−Hksgn⁡(xk)p_k=-H_k\operatorname{sgn}(x_k)pk​=−Hk​sgn(xk​), let tkt_ktk​ be the step returned by the line search, and put xk+1=xk+tkpkx_{k+1}=x_k+t_kp_kxk+1​=xk​+tk​pk​. If xk+1=0x_{k+1}=0xk+1​=0 the method terminates at the minimizer. Otherwise Hk+1H_{k+1}Hk+1​ is the solution of the secant equation Hk+1yk=tkpkH_{k+1}y_k=t_kp_kHk+1​yk​=tk​pk​ with yk=sgn⁡(xk+1)−sgn⁡(xk)y_k=\operatorname{sgn}(x_{k+1})-\operatorname{sgn}(x_k)yk​=sgn(xk+1​)−sgn(xk​). The kkk-th line search takes NkN_kNk​ trials. The trial points z0,z1,…z_0,z_1,\dotsz0​,z1​,… of all line searches, listed in order, give the function trial values ∣zj∣|z_j|∣zj​∣.

Alternating binary expansions. For x>0x>0x>0, an alternating binary expansion is a length m∈{0,1,2,… }∪{∞}m\in\{0,1,2,\dots\}\cup\{\infty\}m∈{0,1,2,…}∪{∞} and integers a0<a1<⋯a_0<a_1<\cdotsa0​<a1​<⋯ (with m+1m+1m+1 terms when m<∞m<\inftym<∞) such that

x=∑j=0m(−1)j2−aj.x=\sum_{j=0}^{m}(-1)^j2^{-a_j}.x=j=0∑m​(−1)j2−aj​.

It is canonical if either m∈{0,∞}m\in\{0,\infty\}m∈{0,∞} or its last gap satisfies am≥am−1+2a_m\ge a_{m-1}+2am​≥am−1​+2.

Rates (p. 141). A sequence τk→μ\tau_k\to\muτk​→μ is Q-linear with rate rrr if ∣τk+1−μ∣/∣τk−μ∣→r|\tau_{k+1}-\mu|/|\tau_k-\mu|\to r∣τk+1​−μ∣/∣τk​−μ∣→r. A sequence υk\upsilon_kυk​ is R-linear with rate rrr if ∣υk−μ∣≤∣τk−μ∣|\upsilon_k-\mu|\le|\tau_k-\mu|∣υk​−μ∣≤∣τk​−μ∣ for all kkk, for some τ\tauτ converging to μ\muμ Q-linearly with rate rrr.

Formalization targets

Goal: Theorem 5.2, secant part (pp. 152–153)

Let x0>0x_0>0x0​>0 have the canonical expansion x0=∑j=0m(−1)j2−ajx_0=\sum_{j=0}^m(-1)^j2^{-a_j}x0​=∑j=0m​(−1)j2−aj​. Then the secant method from x0x_0x0​ with H0=1H_0=1H0​=1 satisfies

xk=∑j=km(−1)j2−aj(0≤k≤m),N0=1+∣a0∣,Nk=ak−ak−1 (1≤k<m).x_k=\sum_{j=k}^{m}(-1)^j2^{-a_j}\quad(0\le k\le m),\qquad N_0=1+|a_0|,\qquad N_k=a_k-a_{k-1}\ (1\le k<m).xk​=j=k∑m​(−1)j2−aj​(0≤k≤m),N0​=1+∣a0​∣,Nk​=ak​−ak−1​ (1≤k<m).

If m<∞m<\inftym<∞, the method terminates at zero after finitely many trials. If m=∞m=\inftym=∞, the function trial values ∣zj∣|z_j|∣zj​∣ converge to 000 R-linearly with rate 12\tfrac1221​. All four conclusions are exact: the iterates are equal to the tails of the expansion, and the trial counts are equalities.

Milestones

  1. §5.1, pp. 151–152. The tests AAA and WWW give ∣xk+1∣<∣xk∣|x_{k+1}|<|x_k|∣xk+1​∣<∣xk​∣ and xkxk+1<0x_kx_{k+1}<0xk​xk+1​<0 whenever xk≠0≠xk+1x_k\ne0\ne x_{k+1}xk​=0=xk+1​.
  2. §5.1, p. 152. For any H0>0H_0>0H0​>0: Hk+1=∣xk+1−xk∣/2H_{k+1}=|x_{k+1}-x_k|/2Hk+1​=∣xk+1​−xk​∣/2 and pk+1=−∣xk+1−xk∣2sgn⁡(xk+1)p_{k+1}=-\tfrac{|x_{k+1}-x_k|}{2}\operatorname{sgn}(x_{k+1})pk+1​=−2∣xk+1​−xk​∣​sgn(xk+1​), and the iterates alternate in sign.
  3. Theorem 5.2, first sentence. Every x>0x>0x>0 has a canonical alternating binary expansion, and it is unique.
  4. §5.1, p. 153. The worked example x0=4/7x_0=4/7x0​=4/7: x2j=4/(7⋅8j)x_{2j}=4/(7\cdot8^j)x2j​=4/(7⋅8j), x2j+1=−3/(7⋅8j)x_{2j+1}=-3/(7\cdot8^j)x2j+1​=−3/(7⋅8j), with trial counts 1,1,2,1,2,…1,1,2,1,2,\dots1,1,2,1,2,….

Significance

The theorem gives a complete description of a quasi-Newton method on a nonsmooth function, in the one setting where the description is exact. It identifies each iterate, counts every function evaluation, and decides termination. Two things follow. After aka_kak​ trials the error is below 2−ak2^{-a_k}2−ak​, so accuracy ϵ\epsilonϵ costs about log⁡2(1/ϵ)\log_2(1/\epsilon)log2​(1/ϵ) trials, compared with the quadratic count for steepest descent. The analysis also shows that choosing the Armijo parameter c1=0c_1=0c1​=0 is harmless for ∣x∣|x|∣x∣, which the paper contrasts with the tilted function max⁡{x,−ux}\max\{x,-ux\}max{x,−ux}. The R-linear rate 12\tfrac1221​ of all trial values is the one-dimensional instance of the rates the paper observes numerically for BFGS on the Euclidean norm in higher dimensions (§5.2). Those rates remain unexplained.

The result is proved on paper: in Lewis–Overton, with the detailed analysis attributed to the companion report [31]. To our knowledge none of it has been formalized. This mission produces a machine-checked account of an algorithm as executed: a bisection line search counted trial by trial, a secant update, and the number-theoretic fact that this process computes an alternating binary expansion. It also states and fixes the two places where the printed text is inaccurate (see Formalization scope).

Difficulty

The first line search is easy to analyse directly: with p0=−1p_0=-1p0​=−1 it returns the unique power of two in [x0,2x0)[x_0,2x_0)[x0​,2x0​). The difficulty starts with the second. The step returned by Algorithm 4.6 depends on the whole bisection history, and the new direction depends on the previous step through the secant update. The statement therefore has to be proved by an induction that carries an exact invariant. That invariant ties xkx_kxk​, pkp_kpk​ and the line-search bracket to the tail of the expansion, and the trial count to the gap ak−ak−1a_k-a_{k-1}ak​−ak−1​.

A natural first attempt is to describe each line search as "returns the power of two in the Armijo–Wolfe interval". That does not determine the trial count: the count depends on where the bisection starts and in which order it halves, and it uses the specific directions pkp_kpk​. The R-linear statement adds a further layer. Trial values inside one line search are not monotone, so the dominating Q-linear sequence has to be built over the global trial index, across line searches of different lengths.

The uniqueness half is elementary but needs care. Without canonicity it is false, and a finite expansion has to be told apart from an infinite one.

Formalization scope

  • Line search as executed. Algorithm 4.6 is the iteration itself, on states (α,β,t)(\alpha,\beta,t)(α,β,t) with β∈\beta\inβ∈ WithTop ℝ. A trial count is the index of the first trial passing both tests, plus one. Every statement about trial counts also asserts that the line search terminates, so the junk value of an empty stopping set cannot be used. The step tkt_ktk​ is not defined as a closed form: that is what the theorem proves.
  • The run. The secant run is a recursion on (xk,Hk)(x_k,H_k)(xk​,Hk​), frozen once xk=0x_k=0xk​=0. The division defining Hk+1H_{k+1}Hk+1​ is meaningful only when sgn⁡xk+1≠sgn⁡xk\operatorname{sgn}x_{k+1}\ne\operatorname{sgn}x_ksgnxk+1​=sgnxk​, which milestone 1 guarantees. The function trial values are ∣zj∣|z_j|∣zj​∣ for the trial points of all line searches in order, without ∣x0∣|x_0|∣x0​∣; adding it does not affect R-linear convergence.
  • Expansions. The length is m∈m\inm∈ ℕ∞, the exponents are a : ℕ → ℤ (negative when x0>1x_0>1x0​>1), and the powers 2−aj2^{-a_j}2−aj​ are integer powers. The series is a HasSum whose terms beyond mmm vanish. Indices start at 000, as printed.
  • Rates. Q-linear convergence requires the ratio to be defined (τk≠μ\tau_k\ne\muτk​=μ for all kkk). R-linear convergence is exactly the p. 141 definition, domination by a Q-linear sequence, not a bound C2−jC2^{-j}C2−j.
  • Corrections to the printed text. (i) Uniqueness of the expansion is false as printed: 1=20=21−201=2^0=2^1-2^01=20=21−20. Every statement uses canonical expansions, which are unique and are the ones the method follows. (ii) "Arbitrary x0x_0x0​" becomes x0>0x_0>0x0​>0, since the expansion is defined only for positive numbers; x0<0x_0<0x0​<0 is the mirror image. (iii) "For all k<mk<mk<m" in the trial count is read as 1≤k<m1\le k<m1≤k<m, because k=0k=0k=0 is the separate clause 1+∣a0∣1+|a_0|1+∣a0​∣. (iv) In the 4/74/74/7 example the printed pattern swaps the one-trial and two-trial line searches, contradicting the preceding sentence and Theorem 5.2; the milestone states the corrected counts N2j=2N_{2j}=2N2j​=2, N2j+1=1N_{2j+1}=1N2j+1​=1 (j≥1j\ge1j≥1).
  • No trivial reading. The hypotheses are satisfiable for every x0>0x_0>0x0​>0 (milestone 3), and the conclusions are equalities about the algorithm's own iterates and trial counts. A formalization in which the line search returns its own answer by definition, or in which the iterates are only bounded, would not prove the theorem.

The development needs only Mathlib's real analysis, tsum/HasSum and filters. The expansion definitions and the R-linear predicate can be reused for other rate statements. Contributions are welcome on the line-search invariant, the trial-count lemmas, and the existence and uniqueness of the canonical expansion.

Selected references

  • A. S. Lewis, M. L. Overton, Nonsmooth optimization via quasi-Newton methods, Mathematical Programming Ser. A 141 (2013) 135–163. https://doi.org/10.1007/s10107-012-0514-2
  • A. S. Lewis, M. L. Overton, Nonsmooth optimization via BFGS, technical report (reference [31] of the paper, the detailed analysis of the secant method on ∣x∣|x|∣x∣), 2008. http://www.cs.nyu.edu/overton/papers/pdffiles/bfgs_inexactLS.pdf (URL as printed in the paper)
  • J. Nocedal, S. J. Wright, Numerical Optimization, 2nd ed., Springer, 2006 (secant equation, Armijo–Wolfe conditions). https://doi.org/10.1007/978-0-387-40065-5
7 thms1 active userReviewed
Group TheoryTheoretical Computer Science·Captain: mikedeng1

New Techniques for Noninteractive Zero-Knowledge 3: The Subgroup-Decision (BGN) Commitment Is Perfectly Binding and Extractable, with a Perfectly Sound, Witness-Indistinguishable 0/1 ProofResearch Paper

Motivation

A non-interactive zero-knowledge (NIZK) proof lets a prover convince a verifier that a statement is true by sending a single message, without revealing why it is true. NIZK proofs are a basic building block of public-key cryptography: chosen-ciphertext secure encryption, signature schemes and secure multi-party computation all use them. Groth, Ostrovsky and Sahai, New Techniques for Noninteractive Zero-Knowledge (J. ACM 59(3), 2012; conference versions at Eurocrypt 2006 and Crypto 2006), built the first NIZK proofs for all of NP that are perfectly sound and the first NIZK arguments that are perfectly zero-knowledge, using bilinear groups.

The construction rests on a single primitive, the homomorphic proof commitment: a commitment scheme with two kinds of keys (perfectly binding and perfectly hiding) together with a short non-interactive proof that a commitment contains 000 or 111. Section 4 of the paper instantiates this primitive in a bilinear group of composite order n=pqn = pqn=pq, building on the encryption scheme of Boneh, Goh and Nissim (TCC 2005); Section 5 gives a second instantiation in prime-order groups. Theorem 2 states that the composite-order scheme of Figure 1 has all the required properties. This mission formalizes the part of Theorem 2 that is an exact mathematical statement.

Timeline: Boneh, Goh and Nissim (2005) introduced the subgroup decision assumption and the encryption gmhrg^m h^rgmhr in groups of order pqpqpq. Groth, Ostrovsky and Sahai (Eurocrypt 2006) used it for perfect NIZK; the simple 0/1 proof π=(g2m−1hr)r\pi = (g^{2m-1}h^r)^rπ=(g2m−1hr)r used in Figure 1 is due to an observation of Boyen and Waters (Eurocrypt 2006), as the paper's footnote 7 records. The journal version (2012) presents both instantiations through the abstract notion of a homomorphic proof commitment.

Setting

A BGN bilinear group is a tuple (p,q,G,GT,e,g)(p, q, \mathbb G, \mathbb G_T, e, g)(p,q,G,GT​,e,g) where p<qp < qp<q are primes, G\mathbb GG and GT\mathbb G_TGT​ are finite commutative groups of order n=pqn = pqn=pq, e:G×G→GTe : \mathbb G \times \mathbb G \to \mathbb G_Te:G×G→GT​ is bilinear (e(ua,vb)=e(u,v)abe(u^a, v^b) = e(u, v)^{ab}e(ua,vb)=e(u,v)ab for all u,v∈Gu, v \in \mathbb Gu,v∈G, a,b∈Za, b \in \mathbb Za,b∈Z), ggg generates G\mathbb GG, and e(g,g)e(g, g)e(g,g) generates GT\mathbb G_TGT​.

The commitment key is ck=(n,G,GT,e,g,h)ck = (n, \mathbb G, \mathbb G_T, e, g, h)ck=(n,G,GT​,e,g,h) for an element h∈Gh \in \mathbb Gh∈G of one of two kinds:

  • a perfectly binding key has h=gpxh = g^{px}h=gpx with xxx a unit modulo qqq, so hhh has order qqq; the extraction key is qqq;
  • a perfectly hiding key has h=gxh = g^xh=gx with xxx a unit modulo nnn, so hhh generates G\mathbb GG; the trapdoor is xxx.

The commitment to a message mmm with randomizer r∈Znr \in \mathbb Z_nr∈Zn​ is com(m;r)=gmhr\mathrm{com}(m; r) = g^m h^rcom(m;r)=gmhr. The trapdoor opening is Topenx(m,r,m′)=r−(m′−m)/x mod n\mathrm{Topen}_x(m, r, m') = r - (m'-m)/x \bmod nTopenx​(m,r,m′)=r−(m′−m)/xmodn. The 0/1 proof for a commitment c=gmhrc = g^m h^rc=gmhr is π=P01(m,r)=(g2m−1hr)r\pi = P_{01}(m, r) = (g^{2m-1} h^r)^rπ=P01​(m,r)=(g2m−1hr)r, and the verifier V01V_{01}V01​ accepts (c,π)(c, \pi)(c,π) when e(c,cg−1)=e(h,π)e(c, cg^{-1}) = e(h, \pi)e(c,cg−1)=e(h,π). The extractor Ext\mathrm{Ext}Ext computes cqc^qcq and searches for mmm with cq=(gq)mc^q = (g^q)^mcq=(gq)m.

Formalization targets

Goal: the exact part of Theorem 2

For every BGN bilinear group, the scheme above satisfies:

(homomorphic, either key)com(m1+m2;r1+r2)=com(m1;r1) com(m2;r2),(perfect binding)com(m1;r1)=com(m2;r2)⇒m1≡m2(modp),(trapdoor opening)com(m2;Topenx(m1,r1,m2))=com(m1;r1),(opening indistinguishability)r1 uniform⇒Topenx(m1,r1,m2) uniform,(completeness, either key)m∈{0,1}⇒V01(com(m;r),P01(m,r)),(soundness)V01(c,π)⇒∃ m∈{0,1},r:c=com(m;r),(witness indistinguishability)com(m;r0)=com(1−m;r1)⇒P01(m,r0)=P01(1−m,r1),(extractability)m∈{0,1}⇒Ext(com(m;r))=m,\begin{aligned} &\text{(homomorphic, either key)} && \mathrm{com}(m_1+m_2; r_1+r_2) = \mathrm{com}(m_1; r_1)\,\mathrm{com}(m_2; r_2),\\ &\text{(perfect binding)} && \mathrm{com}(m_1; r_1) = \mathrm{com}(m_2; r_2) \Rightarrow m_1 \equiv m_2 \pmod p,\\ &\text{(trapdoor opening)} && \mathrm{com}(m_2; \mathrm{Topen}_x(m_1, r_1, m_2)) = \mathrm{com}(m_1; r_1),\\ &\text{(opening indistinguishability)} && r_1 \text{ uniform} \Rightarrow \mathrm{Topen}_x(m_1, r_1, m_2) \text{ uniform},\\ &\text{(completeness, either key)} && m \in \{0,1\} \Rightarrow V_{01}(\mathrm{com}(m; r), P_{01}(m, r)),\\ &\text{(soundness)} && V_{01}(c, \pi) \Rightarrow \exists\, m \in \{0,1\}, r : c = \mathrm{com}(m; r),\\ &\text{(witness indistinguishability)} && \mathrm{com}(m; r_0) = \mathrm{com}(1-m; r_1) \Rightarrow P_{01}(m, r_0) = P_{01}(1-m, r_1),\\ &\text{(extractability)} && m \in \{0,1\} \Rightarrow \mathrm{Ext}(\mathrm{com}(m; r)) = m, \end{aligned}​(homomorphic, either key)(perfect binding)(trapdoor opening)(opening indistinguishability)(completeness, either key)(soundness)(witness indistinguishability)(extractability)​​com(m1​+m2​;r1​+r2​)=com(m1​;r1​)com(m2​;r2​),com(m1​;r1​)=com(m2​;r2​)⇒m1​≡m2​(modp),com(m2​;Topenx​(m1​,r1​,m2​))=com(m1​;r1​),r1​ uniform⇒Topenx​(m1​,r1​,m2​) uniform,m∈{0,1}⇒V01​(com(m;r),P01​(m,r)),V01​(c,π)⇒∃m∈{0,1},r:c=com(m;r),com(m;r0​)=com(1−m;r1​)⇒P01​(m,r0​)=P01​(1−m,r1​),m∈{0,1}⇒Ext(com(m;r))=m,​

with binding, soundness and extractability on binding keys, and trapdoor opening and witness indistinguishability on hiding keys.

Milestones

The milestones follow the proof of Theorem 2 (p. 9) and Figure 1 (p. 10): the homomorphic property; perfect binding; the extraction identity cq=(gq)mc^q = (g^q)^mcq=(gq)m; the trapdoor identity gmhr=gm′hr−(m′−m)/xg^m h^r = g^{m'} h^{r-(m'-m)/x}gmhr=gm′hr−(m′−m)/x and the uniqueness of openings on a hiding key; the completeness display e(c,cg−1)=e(g,g)m(m−1)e(hr,g2m−1hr)=e(h,π)e(c, cg^{-1}) = e(g,g)^{m(m-1)} e(h^r, g^{2m-1}h^r) = e(h, \pi)e(c,cg−1)=e(g,g)m(m−1)e(hr,g2m−1hr)=e(h,π); the decomposition of every element as gmhrg^m h^rgmhr on a binding key; the step "e(g,g)m(m−1)e(g,g)^{m(m-1)}e(g,g)m(m−1) of order 111 or qqq implies m≡0m \equiv 0m≡0 or 1(modp)1 \pmod p1(modp)"; perfect soundness; and the uniqueness of the proof on a hiding key, which gives witness indistinguishability.

Significance

Theorem 2 is one of the two instantiations on which every exact result of the paper rests. Plugged into the Circuit-SAT construction of Section 6, the binding-key properties give a perfectly sound NIZK proof and a perfect proof of knowledge for every NP relation, and the hiding-key properties give a perfect zero-knowledge NIZK argument. The same composite-order techniques underlie later pairing-based proof systems, notably the Groth–Sahai proofs.

The paper's proof is about one page of group computations and has, as far as the planning of this series found, no machine-checked counterpart. The mission produces a reusable model of composite-order bilinear groups and of the BGN commitment, and checks details the paper leaves implicit: the message space Zp\mathbb Z_pZp​ versus exponents taken modulo nnn, the role of the non-degeneracy of eee, and the order arguments behind soundness.

Difficulty

Each property is elementary on its own, but soundness is not a plain computation: the verifier only sees ccc and π\piπ, and the conclusion asks for an opening of ccc with message in {0,1}\{0, 1\}{0,1} from a single pairing equation. An argument that only manipulates the equation symbolically cannot reach it; the statement depends on the orders of elements in GT\mathbb G_TGT​, on e(g,g)e(g,g)e(g,g) generating GT\mathbb G_TGT​ (with a degenerate pairing soundness is false), and on ppp and qqq being distinct primes. A second subtlety is that a message is only determined modulo ppp by a commitment under a binding key, while the conclusion asks for a message that is exactly 000 or 111 in Zn\mathbb Z_nZn​.

Formalization scope

  • G\mathbb GG, GT\mathbb G_TGT​ are finite commutative groups with Fintype.card = p * q; eee is a homomorphism G →* G →* GT, which is exactly bilinearity; ggg generates G\mathbb GG and e(g,g)e(g,g)e(g,g) generates GT\mathbb G_TGT​ (both as hypotheses of the structure BGNSetup).
  • Messages and randomizers are elements of ZMod n; gag^aga is ggg to the representative of aaa in {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1}. The paper's message space is Zp\mathbb Z_pZp​, but gmg^mgm is not well defined for m∈Zpm \in \mathbb Z_pm∈Zp​ in a group of order pqpqpq; binding and extraction therefore compare messages modulo ppp.
  • Keys are described by the support of the key generators; each "probability 111 for every adversary" property is stated for every key in that support and every adversary choice. Trapdoor opening indistinguishability is an equality of probability mass functions. The prover is deterministic, so witness indistinguishability is equality of proofs, and non-erasure witness indistinguishability holds with the empty proof randomness.
  • Not formalized: the subgroup decision assumption (Definition 1), key indistinguishability, the clause "if the subgroup decision assumption holds", the randomized generator GBGN\mathcal G_{\mathrm{BGN}}GBGN​ and its efficiency, and the elliptic-curve example on p. 9.
  • A trivializing formalization is ruled out: soundness is stated only for binding keys h=gpxh = g^{px}h=gpx with xxx a unit modulo qqq, with the non-degeneracy of eee as a hypothesis, and the extractor is an exhaustive search over Zp\mathbb Z_pZp​, not a test that presupposes m∈{0,1}m \in \{0,1\}m∈{0,1}.
  • The model of composite-order bilinear groups is reusable for other BGN-based results. Proofs of any milestone are welcome; the trapdoor and homomorphism identities are good first targets.

Selected references

  • J. Groth, R. Ostrovsky, A. Sahai, New Techniques for Noninteractive Zero-Knowledge, Journal of the ACM 59(3), Article 11, 2012. https://doi.org/10.1145/2220357.2220358
  • D. Boneh, E.-J. Goh, K. Nissim, Evaluating 2-DNF Formulas on Ciphertexts, TCC 2005, LNCS 3378, pp. 325–341. https://doi.org/10.1007/978-3-540-30576-7_18
  • X. Boyen, B. Waters, Compact Group Signatures Without Random Oracles, Eurocrypt 2006, LNCS 4004, pp. 427–444. https://doi.org/10.1007/11761679_26
  • T. P. Pedersen, Non-Interactive and Information-Theoretic Secure Verifiable Secret Sharing, Crypto 1991, LNCS 576, pp. 129–140. https://doi.org/10.1007/3-540-46766-1_9
  • J. Groth, A. Sahai, Efficient Non-interactive Proof Systems for Bilinear Groups, Eurocrypt 2008, LNCS 4965, pp. 415–432. https://doi.org/10.1007/978-3-540-78967-3_24
13 thms1 active userReviewed
Mathematical Logic·Captain: marwahaha

Single-fold Diophantine representationsOpen Problem

Motivation

A Diophantine representation translates membership in a computably enumerable set into solvability of one polynomial equation. The source asks whether the entire auxiliary witness can always be made unique. The source is OpenAI's September 2026 manuscript.

Setting

A single-fold representation uses an integer polynomial evaluated at natural-number inputs and witnesses. An input belongs to the represented set exactly when a witness makes the polynomial zero, and any two complete witnesses at the same input must coincide.

Formalization targets

a∈S ⟺ ∃w∈Nm: P(a,w)=0,P(a,w)=P(a,v)=0 ⟹ w=v.a\in S\ \Longleftrightarrow\ \exists w\in\mathbb N^m:\ P(a,w)=0,\qquad P(a,w)=P(a,v)=0\ \Longrightarrow\ w=v.a∈S ⟺ ∃w∈Nm: P(a,w)=0,P(a,w)=P(a,v)=0 ⟹ w=v.

The proposition MainStatement holds, which asserts a single-fold Diophantine representation result with positive lengths. For every n ≥ 1 and every set S of n-tuples of natural numbers that is recursively enumerable (the predicate a ∈ S is REPred, i.e. semi-decidable), there exist m ≥ 1 and an integer polynomial P in the n input variables and m witness variables such that P represents S. Here evaluation takes natural-number inputs a and witnesses w, casts them to integers, and evaluates P over ℤ. Representation means that for every input a, first, a lies in S exactly when some witness w ∈ ℕ^m satisfies P(a,w)=0, and second, any two witnesses w and v with P(a,w)=0 and P(a,v)=0 are equal. So there is exactly one witness for members of S and none for nonmembers, and the uniqueness condition is imposed on every input a, with all witness coordinates included in w.

The goal is OAI.SingleFold.main.

Significance

The target strengthens mere existential representation by enforcing uniqueness across every auxiliary coordinate. It covers all recursively enumerable sets of positive-length natural tuples. The manuscript presents a mathematical argument; the attached goal currently has status Open, so the requested contribution is a Lean proof of the displayed formal target.

Difficulty

Encoding a computation with extra witnesses can introduce many choices that do not affect the represented input. Every such auxiliary choice must be controlled, rather than leaving hidden coordinates outside the uniqueness assertion.

Formalization scope

The input length and witness length are positive naturals. REPred expresses recursive enumerability. Polynomial coefficients and evaluation are integral, while variables range over naturals cast into the integers. The goal is existential and does not require one fixed universal polynomial.

The shared definitions are supplied by SingleFold. The target uses Lean 4.33.1 with the pinned Mathlib environment. Contributions should preserve the existing statement and develop reusable supporting lemmas in its definitions.

Selected references

  • OpenAI, Single-fold Diophantine representations, preprint, September 2026. Manuscript.
  • OpenAI, accompanying Lean statement. Pinned source.
2 thms1 active userReviewed
Graph Theory·Captain: marwahaha

Bounded-Step Walks on Gaussian PrimesOpen Problem

Motivation

A planar prime walk can go around a gap that would block a walk on a line. The Gaussian moat problem therefore asks for an obstruction to every possible bounded-step route through distinct Gaussian primes. The source manuscript presents the surrounding research claim.

Setting

A Gaussian prime is an irreducible element of ℤ[i]. For D ∈ ℝ, two distinct primes are adjacent when their Euclidean distance is at most D. A component contains every prime reachable by a finite path.

Formalization target

Prove the conjunction

no injective infinite D-step prime walk exists,∀D  ∃B  ∀p, ∣component⁡D(p)∣≤B.\text{no injective infinite D-step prime walk exists},\qquad\forall D\;\exists B\;\forall p,\ |\operatorname{component}_D(p)|\le B.no injective infinite D-step prime walk exists,∀D∃B∀p, ∣componentD​(p)∣≤B.

The second clause also bounds the length of every finite injective D-step prime chain by B and asserts component finiteness.

The selected formal target is OAI.GaussianMoat.fullMain.

Significance and status

The same B must work for every starting prime at a fixed step bound. The theorem makes no numerical claim about this bound. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Showing that each component is finite does not give a uniform bound across starting points. Every route in two dimensions and primes on the axes remain within the quantification.

Formalization scope

The formal graph uses Mathlib Gaussian integers and complex Euclidean distance. Step bounds range over all real numbers. MainEndpoint and UniformEndpoint are both mandatory clauses of fullMain. Only that published target and its definitions are supplied.

Selected references

  • OpenAI, Bounded-Step Walks on Gaussian Primes, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
2 thms1 active userReviewed
Analysis·Captain: marwahaha

An unconditional first moment for cubic Gauss sumsOpen Problem

Motivation

Cubic Gauss sums oscillate even after normalization. Their first moment asks whether this cancellation retains a precise lower-order bias when averaged over arithmetic primes. The source manuscript presents the surrounding research claim.

Setting

Work in the Eisenstein integers ℤ[ω], with ω=exp(2πi/3). A primary prime p is a prime element congruent to one modulo three. N(p)=|p|², G(p) is the normalized cubic Gauss sum, and c*=(2π)^(2/3)/(3Γ(2/3)).

Formalization target

At the real sharp cutoff X, establish

∑p primary primeN(p)≤XG(p)=65c∗X5/6log⁡X+o ⁣(X5/6log⁡X).\sum_{\substack{p\text{ primary prime}\\N(p)\le X}}G(p)=\frac65c_*\frac{X^{5/6}}{\log X}+o\!\left(\frac{X^{5/6}}{\log X}\right).p primary primeN(p)≤X​∑​G(p)=56​c∗​logXX5/6​+o(logXX5/6​).

The two supporting targets compare each fixed angular mode to its explicit model and give cancellation for every nonzero mode.

The selected formal target is OAI.CubicFirstMoment.patterson_firstMoment.

Significance and status

The coefficient and scale specify the first moment, rather than only an order-of-magnitude estimate. Both conjugate prime elements are included when they satisfy the primary-prime predicate. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Pointwise estimates on G(p) do not isolate the X^(5/6)/log X bias. The error must be little-o at that scale with the exact arithmetic normalization.

Formalization scope

The published definitions use residue-class representatives, the cubic residue symbol, the trace exponential phase, and complex-valued cutoff sums. Little-o is taken as real X tends to positive infinity. Angular modes are integers held fixed before the limit.

Selected references

  • OpenAI, An unconditional first moment for cubic Gauss sums, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
4 thms1 active userReviewed
Dynamical Systems·Captain: marwahaha

Equidistribution of Prime-Degree Torus Packets with Arbitrary Local TypeOpen Problem

Motivation

Closed diagonal orbits encode lattices in totally real number fields. Their distribution tests whether arithmetic families fill the space of unimodular lattices as their discriminants grow. The source manuscript presents the surrounding research claim.

Setting

For a fixed prime n=d+1 ≥ 5, Xₙ is the quotient of SLₙ(ℝ) by its integral lattice subgroup. A packet consists of normalized full lattices of one local homothety type, including the specified sign translates. Its measure averages orbital probabilities with orbit-volume weights.

Formalization target

For any sequence of totally real degree-n fields and full lattices whose multiplier discriminants tend to infinity, prove

∃ν,ν is Haar probability,μi⇒ν,\exists\nu,\quad\nu\text{ is Haar probability},\qquad\mu_i\Rightarrow\nu,∃ν,ν is Haar probability,μi​⇒ν,

and tightness of the entire family {μᵢ}. Weak convergence uses every bounded continuous real test function and includes the probability normalization of every μᵢ.

The selected formal target is OAI.DukePrimeDegree.prime_degree_packet_measure_equidistribution_unconditional.

Significance and status

The conclusion addresses arbitrary local types and includes absence of escape of mass. The fixed-Haar formulation is also available as a supporting target. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Convergence on compactly supported tests alone would not establish the requested probability convergence on a noncompact quotient. The packet normalization and tightness must be justified uniformly through the discriminant limit.

Formalization scope

The source definitions use completed lattices over ℤₚ, diagonal-flow period covolumes and volume-weighted sums over distinct orbits. The theorem fixes prime degree at least five and allows both fields and local types to vary. Both published formulations and their shared definitions are referenced.

Selected references

  • OpenAI, Equidistribution of Prime-Degree Torus Packets with Arbitrary Local Type, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
3 thms1 active userReviewed
Analysis·Captain: marwahaha

Uniform exclusion of Landau–Siegel zerosOpen Problem

Motivation

Real zeros of Dirichlet L-functions close to one obstruct uniform estimates for primes in arithmetic progressions. A conductor-independent logarithmic gap is the precise quantitative issue addressed here. The source manuscript presents the surrounding research claim.

Setting

A Dirichlet character χ modulo an integer q is primitive, nonprincipal, and real-valued when its complex values have zero imaginary part. Its analytically continued L-function is denoted L(s,χ). The zero β is real and lies strictly between zero and one; log is the natural logarithm.

Formalization target

Prove that one positive real constant works for every allowed modulus, character and zero:

∃c>0  ∀q≥3,L(β,χ)=0, 0<β<1⟹c≤(1−β)log⁡q.\exists c>0\;\forall q\ge3,\quad L(\beta,\chi)=0,\ 0<\beta<1\Longrightarrow c\le(1-\beta)\log q.∃c>0∀q≥3,L(β,χ)=0, 0<β<1⟹c≤(1−β)logq.

The constant must be independent of q and χ.

The selected formal target is OAI.SiegelZeros.WeightedTorusJets.exists_absolute_real_zero_gap.

Significance and status

This is the uniform zero-gap conclusion itself, not a statement for a bounded family of conductors. The source dated October 1, 2026 states this as its principal result. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

A bound whose constant varies with the character cannot establish this quantifier order. The arithmetic and analytic estimates must retain one positive constant across every conductor and every real primitive character.

Formalization scope

The goal uses Mathlib’s actual Dirichlet characters and L-functions over ℂ, with q : ℕ, a nonzero instance and q ≥ 3. Both available published formulations are referenced. The second formulation merely groups the zero hypotheses differently and is not presented as an independent milestone. The manuscript’s interpolation and determinant lemmas have no supplied published theorem IDs and are not attached as milestones.

Selected references

  • OpenAI, Uniform exclusion of Landau–Siegel zeros, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
2 thms1 active userReviewed
CombinatoricsHarmonic Analysis·Captain: wurtle

A power saving for square-difference-free setsResearch Paper

Motivation: how large can a set avoid square differences?

A set A⊆{1,…,N}A\subseteq\{1,\dots,N\}A⊆{1,…,N} is square-difference-free if no two of its elements differ by a perfect square m2m^2m2 with m≥1m\ge1m≥1. The Furstenberg–Sárközy theorem says such sets have density tending to zero; the question is how fast. Writing s(N)s(N)s(N) for the largest size of a square-difference-free subset of {1,…,N}\{1,\dots,N\}{1,…,N}, the problem is a prototype for polynomial patterns in dense sets: it is the simplest case of finding differences in the image of a polynomial, and it is the model problem on which Fourier-analytic, ergodic and density-increment methods for polynomial configurations are tested. A long-standing gap separates the upper bounds, which until recently saved only a power of log⁡N\log NlogN (with a slowly growing exponent), from the lower bounds, which are powers N0.73…N^{0.73\ldots}N0.73… and beyond. Whether a fixed power saving s(N)≤CN1−cs(N)\le CN^{1-c}s(N)≤CN1−c holds was posed explicitly by Green and Sawhney.

Background and timeline

  • 1977–1978 — Answering a question of Lovász, Furstenberg (J. Analyse Math. 1977, Theorem 1.2) and Sárközy (Acta Math. Hungar. 1978) independently prove s(N)=o(N)s(N)=o(N)s(N)=o(N); Sárközy's bound is N/(log⁡N)1/3+o(1)N/(\log N)^{1/3+o(1)}N/(logN)1/3+o(1).
  • 1984 — Ruzsa constructs square-difference-free sets of size ≫N0.7330…\gg N^{0.7330\ldots}≫N0.7330… (Period. Math. Hungar. 1984).
  • 1988 — Pintz, Steiger and Szemerédi prove s(N)≪N/(log⁡N)clog⁡log⁡log⁡log⁡Ns(N)\ll N/(\log N)^{c\log\log\log\log N}s(N)≪N/(logN)cloglogloglogN (J. LMS 1988).
  • 2008/2015 — Beigel and Gasarch (arXiv:0804.4892) and Lewko (Electron. J. Combin. 2015) improve the lower exponent to 0.7334…0.7334\ldots0.7334….
  • 2022 — Bloom and Maynard prove s(N)≪N/(log⁡N)clog⁡log⁡log⁡Ns(N)\ll N/(\log N)^{c\log\log\log N}s(N)≪N/(logN)clogloglogN (Compos. Math. 2022).
  • 2024/2025 — Green and Sawhney prove s(N)≪Nexp⁡(−clog⁡N)s(N)\ll N\exp(-c\sqrt{\log N})s(N)≪Nexp(−clogN​) and ask for a fixed power saving (arXiv:2411.17448, Theorem 1.1 and §1.1).
  • 2026 — Adajar et al. extend the arithmetic level-ddd approach to intersective polynomials (arXiv:2605.16216); Krachun pushes the lower exponent past 3/43/43/4, to 0.7527…0.7527\ldots0.7527… (arXiv:2608.01325).
  • 2026 — The OpenAI preprint A power saving for square-difference-free sets (OpenAI Math Release, September 24, 2026) claims s(N)≤CN1−cs(N)\le CN^{1-c}s(N)≤CN1−c with absolute constants. It has not been peer reviewed and its theorem is not formally verified.

Setting

For a positive integer NNN write [N]={1,…,N}[N]=\{1,\dots,N\}[N]={1,…,N}. A set A⊆[N]A\subseteq[N]A⊆[N] is square-difference-free if

(A−A)∩{m2:m∈N, m≥1}=∅,(A-A)\cap\{m^2 : m\in\mathbb N,\ m\ge1\}=\varnothing,(A−A)∩{m2:m∈N, m≥1}=∅,

that is, a−b≠m2a-b\neq m^2a−b=m2 for all a,b∈Aa,b\in Aa,b∈A and all integers m≥1m\ge1m≥1. (Differences are taken in Z\mathbb ZZ; a−b=0a-b=0a−b=0 is allowed since 000 is excluded from the squares.)

In Lean (namespace OAI.SquareDifference), sets are Finset ℤ contained in Finset.Icc 1 N, and IsSquareDifferenceFree A states a - b ≠ (m : ℤ)^2 for all a b ∈ A and m : ℕ with 1 ≤ m.

Formalization targets

Goal: a fixed power saving (Theorem 1.1)

There are absolute constants c>0c>0c>0 and C<∞C<\inftyC<∞ such that for every integer N≥1N\ge1N≥1 and every square-difference-free A⊆[N]A\subseteq[N]A⊆[N],

∣A∣≤C N1−c.|A|\le C\,N^{1-c}.∣A∣≤CN1−c.

Equivalently, every subset of [N][N][N] with more than CN1−cCN^{1-c}CN1−c elements contains two elements differing by a nonzero perfect square. The Lean goal is published on the platform with status Open. The statement fixes no numerical value of ccc, so any improvement of the exponent leaves the goal unchanged.

Significance

The result itself. Every earlier upper bound saved less than any fixed power of NNN; the best, due to Green and Sawhney, saved exp⁡(−clog⁡N)\exp(-c\sqrt{\log N})exp(−clogN​). A fixed power saving changes the nature of the problem: it shows that the extremal exponent lim sup⁡log⁡s(N)/log⁡N\limsup \log s(N)/\log Nlimsuplogs(N)/logN lies strictly below 111, so both upper and lower bounds are now polynomial and the remaining question is the value of the exponent, now known to lie between 0.7527…0.7527\ldots0.7527… and 1−c1-c1−c. As an immediate consequence (Remark 1.2 of the source), the graph on [N][N][N] joining integers differing by a square has chromatic number at least C−1NcC^{-1}N^cC−1Nc, a polynomial bound for the square-difference coloring problem.

Formalizing it. The statement is elementary and self-contained, involving only finite sets of integers. The proof combines a graph/tuple reformulation, reflection-positivity (chessboard) inequalities for a finite-field probability law, and an induction with fixed finite constructions. A formal proof would certify an argument whose constants are explicitly noted to be extremely small and not computed.

Difficulty

Density-increment arguments, starting from Sárközy's circle-method proof, gain a constant factor of density at each step but lose a power of the length of the progression on which they pass, so after the log⁡(1/α)\log(1/\alpha)log(1/α) increments needed the saving is only logarithmic or quasi-logarithmic. The Green–Sawhney level-ddd approach controls the relevant rational Fourier coefficients through hypercontractivity but still gives only exp⁡(−clog⁡N)\exp(-c\sqrt{\log N})exp(−clogN​). A power saving requires an argument whose loss does not compound with the number of iterations — a single estimate that converts square-difference-freeness into a polynomial density loss.

Formalization scope

  • Sets are Finset ℤ inside Finset.Icc 1 N and N≥1N\ge1N≥1 is a natural number; the bound is uniform in NNN.
  • The constants are existentially quantified before NNN and AAA; c>0c>0c>0 is required and CCC is a real number. The power N1−cN^{1-c}N1−c is the real power.
  • Differences a−ba-ba−b are in Z\mathbb ZZ and the excluded squares are m2m^2m2 with m≥1m\ge1m≥1, so only nonzero squares are forbidden; differences in either order are covered because both a−ba-ba−b and b−ab-ab−a are tested.
  • Needed infrastructure: Fourier analysis on Z/pZ\mathbb Z/p\mathbb ZZ/pZ and on [N][N][N], reflection-positivity/chessboard estimates, and graph-norm inequalities. Reusable pieces include a chessboard-estimate library and finite-field Fourier tools.

Selected references

  • H. Furstenberg, Ergodic behavior of diagonal measures and a theorem of Szemerédi on arithmetic progressions, J. Analyse Math. 31 (1977). https://doi.org/10.1007/BF02813304
  • A. Sárközy, On difference sets of sequences of integers. I, Acta Math. Acad. Sci. Hungar. 31 (1978). https://doi.org/10.1007/BF01896079
  • I. Z. Ruzsa, Difference sets without squares, Period. Math. Hungar. 15 (1984). https://doi.org/10.1007/BF02454169
  • J. Pintz, W. L. Steiger and E. Szemerédi, On sets of natural numbers whose difference set contains no squares, J. London Math. Soc. 37 (1988). https://doi.org/10.1112/jlms/s2-37.2.219
  • R. Beigel and W. Gasarch, Square-difference-free sets of size Ω(n0.7334…)\Omega(n^{0.7334\ldots})Ω(n0.7334…), arXiv:0804.4892 (2008). https://arxiv.org/abs/0804.4892v3
  • M. Lewko, An improved lower bound related to the Furstenberg–Sárközy theorem, Electron. J. Combin. 22 (2015). https://doi.org/10.37236/4656
  • T. F. Bloom and J. Maynard, A new upper bound for sets with no square differences, Compos. Math. 158 (2022). https://doi.org/10.1112/S0010437X22007679
  • B. Green and M. Sawhney, New bounds for the Furstenberg–Sárközy theorem, arXiv:2411.17448 (2025). https://arxiv.org/abs/2411.17448v2
  • D. Krachun, Square-difference-free sets beyond the three-quarter barrier, arXiv:2608.01325 (2026). https://arxiv.org/abs/2608.01325v1
  • OpenAI, A power saving for square-difference-free sets, OpenAI Math Release preprint, September 24, 2026 (Theorem 1.1, p. 2). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-power-saving-for-square-difference-free-sets-September-24-2026/paper.pdf
2 thms1 active userReviewed
AlgebraCombinatorics·Captain: wurtle

The circulant Hadamard conjectureResearch Paper

Motivation

A Hadamard matrix of order nnn is an n×nn\times nn×n matrix with entries ±1\pm1±1 whose rows are mutually orthogonal, HHT=nInHH^{\mathsf T}=nI_nHHT=nIn​. Such matrices are extremal for Hadamard's determinant bound and are used throughout coding theory, experimental design and signal processing. Imposing a circulant structure, where every row is a cyclic shift of the first, links the problem to cyclic difference sets and to binary sequences with ideal periodic autocorrelation. The order-4 example with first row (−1,1,1,1)(-1,1,1,1)(−1,1,1,1) is easy to find; the circulant Hadamard conjecture, traditionally attributed to Ryser (1963), asserts that apart from the trivial order 1 there are no others.

The question is closely tied to Barker sequences, binary sequences with the smallest possible aperiodic autocorrelations, which are used as radar pulse-compression codes. Only lengths 2,3,4,5,7,11,132,3,4,5,7,11,132,3,4,5,7,11,13 are known, and the long-standing Barker-sequence conjecture says there are no others.

Timeline

  • 1961. Turyn and Storer prove that Barker sequences of odd length greater than 13 do not exist, and relate even-length Barker sequences to vanishing periodic autocorrelations (doi:10.1090/S0002-9939-1961-0125026-2).
  • 1963. Ryser's monograph Combinatorial Mathematics records the circulant Hadamard problem (doi:10.5948/UPO9781614440147).
  • 1965. Turyn, using cyclotomic character sums, shows that any order greater than four must be 4u24u^24u2 with uuu odd and not a prime power (doi:10.2140/pjm.1965.15.319).
  • 1999–2016. B. Schmidt's field descent (doi:10.1090/S0894-0347-99-00298-2) and the work of Leung and Schmidt (2005, 2012, 2016) give much stronger arithmetic restrictions (doi:10.1007/s10623-011-9493-1, doi:10.1016/j.jcta.2015.11.005).
  • 2016. Schmidt and Willms give a new proof of the odd-length Barker classification (doi:10.1007/s10623-015-0104-4).
  • 2017. Logan and Mossinghoff exclude all but 4,489 candidate orders 4<n≤4⋅10304<n\le4\cdot10^{30}4<n≤4⋅1030 using double Wieferich prime pairs.
  • 2024. Steinerberger shows that approximately orthogonal sign circulants exist in every order (doi:10.1007/s10623-024-01430-w), so the exact equality is essential.

Several complete proofs have been claimed (Oh-Hashi 2016, Orozco López 2019, Morris 2023, Gallardo 2024, Manjhi–Kumar 2025). The source of this mission is an OpenAI preprint dated September 23, 2026, which proves the conjecture by an argument with cyclotomic character values over the group ring Z[i][Cu2]\mathbb Z[i][C_{u^2}]Z[i][Cu2​].

Setting

A real n×nn\times nn×n matrix HHH is circulant if there is a function h:Z/nZ→Rh:\mathbb Z/n\mathbb Z\to\mathbb Rh:Z/nZ→R with Hij=h(j−i)H_{ij}=h(j-i)Hij​=h(j−i), indices taken modulo nnn. It is a sign Hadamard matrix if every entry is 111 or −1-1−1 and

HHT=n In.HH^{\mathsf T}=n\,I_n.HHT=nIn​.

For a circulant sign matrix with first row hhh, the periodic autocorrelations are Ph(t)=∑jhjhj+tP_h(t)=\sum_{j}h_jh_{j+t}Ph​(t)=∑j​hj​hj+t​; the Hadamard condition says Ph(t)=0P_h(t)=0Ph​(t)=0 for 1≤t<n1\le t<n1≤t<n.

A Barker sequence of length nnn is a∈{−1,1}na\in\{-1,1\}^na∈{−1,1}n with aperiodic autocorrelations

Ca(t)=∑j=0n−t−1ajaj+t,∣Ca(t)∣≤1(1≤t<n).C_a(t)=\sum_{j=0}^{n-t-1}a_ja_{j+t},\qquad |C_a(t)|\le1\quad(1\le t<n).Ca​(t)=j=0∑n−t−1​aj​aj+t​,∣Ca​(t)∣≤1(1≤t<n).

Formalization targets

Goal: Theorem 1.1

For n≥1:∃ a real circulant Hadamard matrix of order n  ⟺  n∈{1,4}.\text{For } n\ge1:\quad \exists\ \text{a real circulant Hadamard matrix of order } n\iff n\in\{1,4\}.For n≥1:∃ a real circulant Hadamard matrix of order n⟺n∈{1,4}.

The Lean statement OAI.CirculantHadamard.exists_iff_order_one_or_four is open on the platform.

Milestone: Corollary 1.2, even case

a∈{−1,1}n Barker, n≥1 even ⟹ n∈{2,4}.a\in\{-1,1\}^n\ \text{Barker},\ n\ge1\ \text{even}\ \Longrightarrow\ n\in\{2,4\}.a∈{−1,1}n Barker, n≥1 even ⟹ n∈{2,4}.

Combined with the classical odd-length classification, this gives the Barker length list {2,3,4,5,7,11,13}\{2,3,4,5,7,11,13\}{2,3,4,5,7,11,13}.

Significance

Theorem 1.1 closes a problem open since the early 1960s and, through the even-length reduction, completes the classification of Barker-sequence lengths. Equivalently, it shows that cyclic difference sets with parameters (4u2, 2u2−u, u2−u)(4u^2,\,2u^2-u,\,u^2-u)(4u2,2u2−u,u2−u) exist only for u=1u=1u=1. It also explains, in a single statement, the computational evidence of Logan and Mossinghoff and the arithmetic restrictions of Turyn and of Leung–Schmidt.

The result is proved in an OpenAI preprint that has not been peer reviewed; given the number of earlier claimed proofs, an independent machine-checked proof would be especially valuable. No formal proof of either statement exists; the formalization would also produce reusable group-ring and cyclotomic machinery.

Difficulty

The orthogonality condition is a norm equation hh∗=nhh^*=nhh∗=n in the group ring Z[Cn]\mathbb Z[C_n]Z[Cn​], and every character sends hhh to a cyclotomic integer of absolute value n\sqrt nn​. Classical arguments use such character values one at a time, through factorization of ideals in cyclotomic fields, and stop at the case n=4u2n=4u^2n=4u2 with uuu odd and divisible by several primes. The obstruction must combine information from all prime divisors of uuu simultaneously and use the fact that the coefficients are signs, not arbitrary integers; norm equations alone do have solutions at these orders.

Formalization scope

  • RealMatrix n := Matrix (Fin n) (Fin n) ℝ; IsCirculant H asks for h : Fin n → ℝ with H i j = h (j - i), where subtraction in Fin n is modular.
  • IsSignHadamard H is entrywise IsSign (equal to 111 or −1-1−1) together with H * H.transpose = (n : ℝ) • 1.
  • The goal assumes 0 < n, matching the paper's "positive integer nnn".
  • The Barker milestone uses integer sequences Fin n → ℤ with IsSign entries and aperiodic h k = Σ_{j<n-k} h_j h_{j+k}, bounded by 111 in absolute value for 0<k<n0<k<n0<k<n.

A complete development needs group rings of finite cyclic groups, characters and cyclotomic integers, localization at primes above ppp, and Kronecker's theorem that an algebraic integer all of whose conjugates have absolute value one is a root of unity. Contributions formalizing Proposition 2.2 (the order restriction n=4u2n=4u^2n=4u2, uuu odd), Lemma 3.1 (character comparison) and Proposition 3.4 (alternating character products are roots of unity of odd order) are welcome.

Selected references

  • OpenAI, The circulant Hadamard conjecture, preprint, September 23, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/The-circulant-Hadamard-conjecture-September-23-2026/paper.pdf
  • H. J. Ryser, Combinatorial Mathematics, Carus Mathematical Monographs, 1963. https://doi.org/10.5948/UPO9781614440147
  • R. J. Turyn, Character sums and difference sets, Pacific J. Math., 1965. https://doi.org/10.2140/pjm.1965.15.319
  • R. Turyn, J. Storer, On binary sequences, Proc. Amer. Math. Soc., 1961. https://doi.org/10.1090/S0002-9939-1961-0125026-2
  • B. Schmidt, Cyclotomic integers and finite geometry, J. Amer. Math. Soc., 1999. https://doi.org/10.1090/S0894-0347-99-00298-2
  • K. H. Leung, B. Schmidt, New restrictions on possible orders of circulant Hadamard matrices, Des. Codes Cryptogr., 2012. https://doi.org/10.1007/s10623-011-9493-1
  • K.-U. Schmidt, J. Willms, Barker sequences of odd length, Des. Codes Cryptogr., 2016. https://doi.org/10.1007/s10623-015-0104-4
  • B. Logan, M. J. Mossinghoff, Double Wieferich pairs and circulant Hadamard matrices, J. Combin. Math. Combin. Comput., 2017.
  • S. Steinerberger, A note on approximate Hadamard matrices, Des. Codes Cryptogr., 2024. https://doi.org/10.1007/s10623-024-01430-w
2 thms1 active userReviewed
Combinatorics·Captain: wurtle

Quantitative Superexponential Bounds for van der Waerden NumbersResearch Paper

Motivation

Van der Waerden's theorem (1927) says that for every number of colours rrr and every length kkk, every rrr-colouring of a long enough interval of integers contains a monochromatic arithmetic progression of length kkk. The van der Waerden number Wr(k)W_r(k)Wr​(k) is the least such interval length. Its upper bounds were for a long time not even primitive recursive (Shelah 1988 gave the first primitive recursive bound; Gowers 2001 gave a tower-type bound), while lower bounds stayed close to exponential, W2(k)≳2kW_2(k)\gtrsim 2^kW2​(k)≳2k. Erdős asked whether W2(k)1/k→∞W_2(k)^{1/k}\to\inftyW2​(k)1/k→∞, i.e. whether the growth is genuinely faster than any exponential. Lower bounds on Wr(k)W_r(k)Wr​(k) correspond to long colourings with no monochromatic progression and are a central quantitative question in Ramsey theory.

Timeline

  • 1927. Van der Waerden proves finiteness of Wr(k)W_r(k)Wr​(k).
  • 1952 and 1962. Erdős–Rado (doi:10.1112/plms/s3-2.1.417) and Schmidt (doi:10.1215/S0012-7094-62-02914-9) obtain early exponential-type lower bounds.
  • 1968. Berlekamp proves W2(p+1)>p 2pW_2(p+1)>p\,2^pW2​(p+1)>p2p for primes ppp by an algebraic construction (doi:10.4153/CMB-1968-047-7).
  • 1975. Erdős and Lovász introduce the local lemma, a standard tool for such colourings.
  • 1980. Erdős asks for lim⁡kW2(k)1/k=∞\lim_k W_2(k)^{1/k}=\inftylimk​W2​(k)1/k=∞ (doi:10.1016/S0167-5060(08)70697-6).
  • 1990. Szabó proves W2(k)≥2k/kεW_2(k)\ge 2^k/k^{\varepsilon}W2​(k)≥2k/kε (doi:10.1002/rsa.3240010307).
  • 2016. Kozik and Shabanov prove Wr(k)≥βrk−1W_r(k)\ge\beta r^{k-1}Wr​(k)≥βrk−1 uniformly (doi:10.1016/j.jctb.2015.09.004).
  • 2025. Hunter improves the exponential base for fixed r≥5r\ge5r≥5 (doi:10.1007/s11856-025-2735-0).
  • 2026. Fox and Hunter prove superexponential growth for three colours, W3(k)>2klog⁡∗k/4W_3(k)>2^{k\log^*k/4}W3​(k)>2klog∗k/4 (arXiv:2606.02541); Campos, Fox and Schildkraut prove W2(k)≥(1−o(1))k2k−1W_2(k)\ge(1-o(1))k2^{k-1}W2​(k)≥(1−o(1))k2k−1 (arXiv:2608.20824).

For two colours, superexponential growth had not been established. The source of this mission, an OpenAI preprint dated September 23, 2026, claims a bound of the form kcklog⁡rk^{ck\log r}kcklogr uniformly in r≥2r\ge2r≥2.

Setting

For positive integers r,kr,kr,k, Wr(k)W_r(k)Wr​(k) is the least positive integer NNN such that every map {1,…,N}→{1,…,r}\{1,\dots,N\}\to\{1,\dots,r\}{1,…,N}→{1,…,r} is constant on some progression

a, a+d, …, a+(k−1)d,a,d≥1,a+(k−1)d≤N.a,\ a+d,\ \dots,\ a+(k-1)d,\qquad a,d\ge1,\quad a+(k-1)d\le N.a, a+d, …, a+(k−1)d,a,d≥1,a+(k−1)d≤N.

Colourings may use fewer than rrr colours.

Formalization targets

Goal: Theorem 1.1

There is an absolute K0K_0K0​ such that for every k≥K0k\ge K_0k≥K0​ and every r≥2r\ge2r≥2,

Wr(k) > k c k⌊log⁡2r⌋,c=10−5.W_r(k)\ >\ k^{\,c\,k\lfloor\log_2 r\rfloor},\qquad c=10^{-5}.Wr​(k) > kck⌊log2​r⌋,c=10−5.

In particular Wr(k)1/k→∞W_r(k)^{1/k}\to\inftyWr​(k)1/k→∞ for each fixed r≥2r\ge2r≥2. The constant ccc is the paper's and is not optimized. The Lean statement OAI.QuantitativeVanDerWaerden.uniform_lower_bound is open on the platform.

Significance

The theorem gives a quantitative positive answer to Erdős's superexponential-growth question for two colours, and is stronger than the statement W2(k)/2k→∞W_2(k)/2^k\to\inftyW2​(k)/2k→∞ settled by Campos–Fox–Schildkraut. It is uniform in the number of colours with a single threshold K0K_0K0​, which complements the Fox–Hunter bounds that require many colours relative to kkk. The bound is still far from the best upper bounds, which are tower-type.

The result is claimed in an OpenAI preprint; it has not been peer reviewed and no machine-checked proof exists. A formal proof would certify an explicit colouring construction together with a probabilistic (local-lemma) argument.

Difficulty

Random colourings with the local lemma give only Wr(k)≳rk/poly(k)W_r(k)\gtrsim r^{k}/\mathrm{poly}(k)Wr​(k)≳rk/poly(k): the number of kkk-term progressions in [N][N][N] is of order N2N^2N2, and each is monochromatic with probability r1−kr^{1-k}r1−k, which caps the length at exponential size. Algebraic constructions such as Berlekamp's gain only a factor ppp. A superexponential bound needs colourings with structure that kills most progressions deterministically, while the remaining progressions are few enough to be destroyed randomly, uniformly down to two colours.

Formalization scope

  • MonoAP c k a d: the colour of a+jda+jda+jd equals the colour of aaa for j<kj<kj<k; HasMonoAP c k N: some d>0d>0d>0 with a+(k−1)d<Na+(k-1)d<Na+(k−1)d<N.
  • IsRamsey α k N: every colouring ℕ → α has a monochromatic kkk-AP in {0,…,N−1}\{0,\dots,N-1\}{0,…,N−1} (equivalent to the paper's [N][N][N] after a shift).
  • W r k is the sInf of positive Ramsey NNN for colours Fin r. If no such NNN existed this would be 000 and the goal's strict inequality would fail, so the goal implicitly includes van der Waerden's theorem.
  • The exponent uses Nat.log 2 r =⌊log⁡2r⌋=\lfloor\log_2 r\rfloor=⌊log2​r⌋ and the real constant 1/100000.

A complete development needs van der Waerden's theorem (or at least finiteness), a finite asymmetric local lemma, and the paper's explicit adaptive-mesh colourings and counting of affine signatures. Contributions formalizing Lemma 4.1 (finite asymmetric local lemma) or Theorem 6.3 (a cyclic two-colouring) are welcome.

Selected references

  • OpenAI, Quantitative Superexponential Bounds for van der Waerden Numbers, preprint, September 23, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Quantitative-Superexponential-Bounds-for-van-der-Waerden-Numbers-September-23-2026/paper.pdf
  • P. Erdős, A survey of problems in combinatorial number theory, Ann. Discrete Math., 1980. https://doi.org/10.1016/S0167-5060(08)70697-6
  • E. R. Berlekamp, A construction for partitions which avoid long arithmetic progressions, Canad. Math. Bull., 1968. https://doi.org/10.4153/CMB-1968-047-7
  • Z. Szabó, An application of Lovász' local lemma: a new lower bound for the van der Waerden number, Random Structures Algorithms, 1990. https://doi.org/10.1002/rsa.3240010307
  • J. Kozik, D. Shabanov, Improved algorithms for colorings of simple hypergraphs and applications, J. Combin. Theory Ser. B, 2016. https://doi.org/10.1016/j.jctb.2015.09.004
  • J. Fox, Z. Hunter, Three-color van der Waerden numbers grow super-exponentially, preprint, 2026. https://arxiv.org/abs/2606.02541
  • M. Campos, J. Fox, C. Schildkraut, A new lower bound for two-color van der Waerden numbers, preprint, 2026. https://arxiv.org/abs/2608.20824
  • S. Shelah, Primitive recursive bounds for van der Waerden numbers, J. Amer. Math. Soc., 1988. https://doi.org/10.1090/S0894-0347-1988-0929498-X
  • W. T. Gowers, A new proof of Szemerédi's theorem, Geom. Funct. Anal., 2001. https://doi.org/10.1007/s00039-001-0332-9
2 thms1 active userReviewed
Captain: wurtle

Positive lower density of large prime gapsResearch Paper

Motivation

Let pnp_npn​ be the nnn-th prime and dn=pn+1−pnd_n=p_{n+1}-p_ndn​=pn+1​−pn​ the nnn-th gap. By the prime number theorem the average gap near ppp is about log⁡p\log plogp. A great deal is known about how large individual gaps can be, but much less about how often large gaps occur. A natural question is whether, for each fixed CCC, a positive proportion of all gaps exceed Clog⁡pnC\log p_nClogpn​. Erdős and Prachar (1962) asked a closely related question about the sequence pn/np_n/npn​/n: do the indices where it increases have positive lower density?

Background

  • 1931. Westzynthius proves that dn/log⁡pnd_n/\log p_ndn​/logpn​ is unbounded.
  • 1935, 1938. Erdős and Rankin construct quantitatively larger gaps (doi:10.1093/qmath/os-6.1.124, doi:10.1112/jlms/s1-13.4.242).
  • 1962. Erdős and Prachar ask whether the indices with pn/n<pn+1/(n+1)p_n/n<p_{n+1}/(n+1)pn​/n<pn+1​/(n+1) have positive lower density (doi:10.1007/BF02992930).
  • 1965. Bombieri and A. I. Vinogradov prove the distribution theorem for primes in progressions on average (doi:10.1112/S0025579300005313).
  • 1976. Gallagher derives Poisson statistics for primes in short intervals from a uniform Hardy–Littlewood hypothesis (doi:10.1112/S0025579300016442).
  • 2005, 2015. Goldston–Yıldırım's divisor-sum correlations and Maynard's multidimensional sieve give the weight technology later used for gaps (arXiv:math/0504336, doi:10.4007/annals.2015.181.1.7).
  • 2010. Bazzanella, Languasco and Zaccagnini obtain positive proportions of prime-start intervals for thresholds below 0.5790.5790.579, and distinguish counting gaps from counting interval starts (doi:10.1090/S0002-9947-09-05009-0).
  • 2016, 2018. Ford, Green, Konyagin and Tao, and Maynard, independently improve the Erdős–Rankin bound; their joint work follows (doi:10.4007/annals.2016.183.3.4, doi:10.4007/annals.2016.183.3.3, doi:10.1090/jams/876).

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

Setting

  • p1=2<p2=3<⋯p_1=2<p_2=3<\cdotsp1​=2<p2​=3<⋯ are the primes in order, and dn=pn+1−pnd_n=p_{n+1}-p_ndn​=pn+1​−pn​.
  • For A⊆{1,2,… }A\subseteq\{1,2,\dots\}A⊆{1,2,…}, the lower asymptotic density is d‾(A)=lim inf⁡N→∞∣A∩[1,N]∣/N\underline d(A)=\liminf_{N\to\infty}|A\cap[1,N]|/Nd​(A)=liminfN→∞​∣A∩[1,N]∣/N.
  • All logarithms are natural.

Formalization targets

Goal: Theorem 1.1 and Corollary 1.2

For every fixed real C>0C>0C>0 there are c(C)>0c(C)>0c(C)>0 and N0(C)N_0(C)N0​(C) with

#{1≤n≤N: pn+1−pn>Clog⁡pn} ≥ c(C) N(N≥N0(C)),\#\{1\le n\le N:\ p_{n+1}-p_n>C\log p_n\}\ \ge\ c(C)\,N\qquad(N\ge N_0(C)),#{1≤n≤N: pn+1​−pn​>Clogpn​} ≥ c(C)N(N≥N0​(C)),

and

d‾({n≥1: pnn<pn+1n+1})>0.\underline d\Bigl(\Bigl\{n\ge1:\ \frac{p_n}{n}<\frac{p_{n+1}}{n+1}\Bigr\}\Bigr)>0.d​({n≥1: npn​​<n+1pn+1​​})>0.

The Lean statement OAI.Problem344.large_gaps_and_ratio_density is the conjunction of these two claims and is open on the platform.

Significance

Theorem 1.1 says that gaps of size Clog⁡pC\log pClogp are not rare for any fixed CCC: they occupy a positive proportion of the indices up to every large NNN. This is a statement about the frequency of large gaps, not about the size of the largest one, and it does not follow from the Erdős–Rankin or Ford–Green–Konyagin–Maynard–Tao constructions. Corollary 1.2 answers the Erdős–Prachar question: since pn/n<pn+1/(n+1)p_n/n<p_{n+1}/(n+1)pn​/n<pn+1​/(n+1) is equivalent to dn>pn/n∼log⁡pnd_n>p_n/n\sim\log p_ndn​>pn​/n∼logpn​, it follows from Theorem 1.1 with C=2C=2C=2. The constants are not made explicit.

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

Difficulty

Counting gaps differs from counting empty intervals: a single very long gap contains many starting points of prime-free intervals, so a positive proportion of empty intervals can come from a sparse set of gaps. Results of the latter kind (Bazzanella–Languasco–Zaccagnini, Tao's empty-interval argument) therefore do not give gap counts. The proof needs a sieve weight that makes a prime in (m,m+h](m,m+h](m,m+h] likely while making (m+h,m+2h](m+h,m+2h](m+h,m+2h] almost surely prime-free, and then a multiplicity argument (the last prime before the empty interval is selected by at most hhh values of mmm) to convert weighted interval mass into a count of distinct gaps. Making the second interval nearly empty requires an alternating family of divisor-sum squares whose adjacent dimensions nearly cancel.

Formalization scope

  • prime n = Nat.nth Nat.Prime (n - 1), so prime 1 = 2; largeGapIndices C N filters Finset.Icc 1 N by C * log (prime n) < prime (n+1) - prime n in ℝ.
  • lowerAsymptoticDensity A = sSup {d | ∃ N0, ∀ N ≥ N0, d ≤ initialCount A N / N}, which equals the liminf because the ratios lie in [0,1][0,1][0,1].
  • ratioIncreaseIndices = {n | 1 ≤ n ∧ prime n / n < prime (n+1) / (n+1)} in ℝ.
  • The first clause quantifies over all real C>0C>0C>0, with ccc and N0N_0N0​ depending on CCC.

A complete development needs the prime number theorem, the Bombieri–Vinogradov theorem, smooth Goldston–Yıldırım/Maynard divisor-sum correlations, and averages of the Hardy–Littlewood singular series. These are widely reusable. Contributions formalizing Proposition 2.1 (weights for adjacent intervals), Proposition 3.1 (moment identities and a detector bound), Proposition 4.2 (cancellation between high dimensions), Proposition 5.1 (uniform mixed moments) and Lemma 5.4 (singular series in boxes) are welcome.

Selected references

  • OpenAI, Positive lower density of large prime gaps, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Positive-lower-density-of-large-prime-gaps-September-25-2026/main.pdf
  • P. Erdős, K. Prachar, Sätze und Probleme über pk/kp_k/kpk​/k, Abh. Math. Sem. Univ. Hamburg, 1962. https://doi.org/10.1007/BF02992930
  • D. Bazzanella, A. Languasco, A. Zaccagnini, Prime numbers in logarithmic intervals, Trans. Amer. Math. Soc., 2010. https://doi.org/10.1090/S0002-9947-09-05009-0
  • J. Maynard, Small gaps between primes, Ann. of Math., 2015. https://doi.org/10.4007/annals.2015.181.1.7
  • D. A. Goldston, C. Y. Yıldırım, Small gaps between primes I, preprint, 2005. https://arxiv.org/abs/math/0504336
  • K. Ford, B. Green, S. Konyagin, J. Maynard, T. Tao, Long gaps between primes, J. Amer. Math. Soc., 2018. https://doi.org/10.1090/jams/876
  • P. X. Gallagher, On the distribution of primes in short intervals, Mathematika, 1976. https://doi.org/10.1112/S0025579300016442
  • E. Bombieri, On the large sieve, Mathematika, 1965. https://doi.org/10.1112/S0025579300005313
  • R. A. Rankin, The difference between consecutive prime numbers, J. London Math. Soc., 1938. https://doi.org/10.1112/jlms/s1-13.4.242
2 thms1 active userReviewed
Captain: wurtle

An asymptotic formula for the number of totientsResearch Paper

Motivation

Euler's totient φ(n)\varphi(n)φ(n) counts the integers in {1,…,n}\{1,\dots,n\}{1,…,n} coprime to nnn. Many integers share a totient, and most integers are not totients at all, so counting the distinct values of φ\varphiφ is much harder than counting integers with a given factorization. Let

V={φ(n):n≥1},V(x)=#{v∈V:v≤x}.\mathcal V=\{\varphi(n):n\ge1\},\qquad V(x)=\#\{v\in\mathcal V: v\le x\}.V={φ(n):n≥1},V(x)=#{v∈V:v≤x}.

The size of V(x)V(x)V(x) was studied by Pillai, Erdős, Hall, Pomerance, Maier and Ford over most of the twentieth century; Ford's 1998 estimate determines V(x)V(x)V(x) up to a bounded multiplicative factor but leaves open whether V(x)V(x)V(x) has an asymptotic equivalent, and Erdős and Hall's question whether V(cx)/V(x)→cV(cx)/V(x)\to cV(cx)/V(x)→c.

This mission asks for a formal proof of the explicit asymptotic formula and the Erdős–Hall regular-variation property, as stated in an OpenAI preprint dated September 25, 2026 (source). The preprint has not been peer reviewed and its claims have not been independently verified; on the platform the Lean goal is open.

Background

  • 1929 — Pillai proves that totients have density zero (Bull. AMS 35, 1929).
  • 1935 — Erdős shows V(x)≪εx/(log⁡x)1−εV(x)\ll_\varepsilon x/(\log x)^{1-\varepsilon}V(x)≪ε​x/(logx)1−ε via the normal number of prime factors of p−1p-1p−1 (Q. J. Math. 1935); later lower bounds use semiprimes (1945).
  • 1976 — Erdős and Hall obtain a lower factor exp⁡{a(log⁡3x)2}\exp\{a(\log_3x)^2\}exp{a(log3​x)2} and ask whether V(cx)/V(x)→cV(cx)/V(x)\to cV(cx)/V(x)→c (Mathematika 1976).
  • 1986–1988 — Pomerance brings the upper bound to the same scale (Acta Arith. 1986); Maier and Pomerance determine the leading constant C0=0.8178…C_0=0.8178\ldotsC0​=0.8178… in V(x)=xlog⁡xexp⁡{(C0+o(1))(log⁡3x)2}V(x)=\frac{x}{\log x}\exp\{(C_0+o(1))(\log_3x)^2\}V(x)=logxx​exp{(C0​+o(1))(log3​x)2} (Acta Arith. 1988).
  • 1998 — Ford determines V(x)V(x)V(x) up to a bounded factor and proves V(cx)−V(x)≍cV(x)V(cx)-V(x)\asymp_cV(x)V(cx)−V(x)≍c​V(x) (Ramanujan J. 1998).
  • September 2026 — The OpenAI preprint claims an explicit asymptotic equivalent and V(cx)/V(x)→cV(cx)/V(x)\to cV(cx)/V(x)→c (Theorem 2.1, p. 4).

Setting

Logarithms are natural and log⁡j\log_jlogj​ is the jjj-fold iterate. For j≥1j\ge1j≥1 let aj=(j+1)log⁡(j+1)−jlog⁡j−1a_j=(j+1)\log(j+1)-j\log j-1aj​=(j+1)log(j+1)−jlogj−1, let ρ∈(0,1)\rho\in(0,1)ρ∈(0,1) be the unique root of ∑j≥1ajρj=1\sum_{j\ge1}a_j\rho^j=1∑j≥1​aj​ρj=1, and set

λ=log⁡(1/ρ),γ=(∑j≥1jajρj)−1,g0=1,  gj=∑d=1jadgj−d.\lambda=\log(1/\rho),\qquad \gamma=\Bigl(\sum_{j\ge1}ja_j\rho^j\Bigr)^{-1},\qquad g_0=1,\ \ g_j=\sum_{d=1}^ja_dg_{j-d}.λ=log(1/ρ),γ=(j≥1∑​jaj​ρj)−1,g0​=1,  gj​=d=1∑j​ad​gj−d​.

For large xxx put B=log⁡2xB=\log_2xB=log2​x, m=⌊(log⁡B−log⁡2B)/λ⌋m=\lfloor(\log B-\log_2B)/\lambda\rfloorm=⌊(logB−log2​B)/λ⌋, the phase θ=(log⁡B−log⁡2B)/λ−m∈[0,1)\theta=(\log B-\log_2B)/\lambda-m\in[0,1)θ=(logB−log2​B)/λ−m∈[0,1), and Gm=Bm/(m!∏i≤mgi)G_m=B^m/(m!\prod_{i\le m}g_i)Gm​=Bm/(m!∏i≤m​gi​); the factor xlog⁡xGm\frac{x}{\log x}G_mlogxx​Gm​ is Ford's counting scale.

For each HHH the preprint defines an explicit arithmetic coefficient AH(f;s)A_H(f;s)AH​(f;s), s∈[0,1)s\in[0,1)s∈[0,1), from a finite set of "tail witnesses" (tuples of primes QhQ_hQh​, P≤h<HP\le h<HP≤h<H, and a cofactor aaa, subject to explicit size and recurrence constraints, P=⌊log⁡log⁡H⌋P=\lfloor\log\log H\rfloorP=⌊loglogH⌋) by inclusion–exclusion over witnesses with a common totient ddd, weighted by f(ℓ(d)/d)/df(\ell(d)/d)/df(ℓ(d)/d)/d (formula (2.8), p. 5). Here ℓ(v)=min⁡{n≥1:φ(n)=v}\ell(v)=\min\{n\ge1:\varphi(n)=v\}ℓ(v)=min{n≥1:φ(n)=v} is the least preimage, and A(f;s)=lim⁡H→∞AH(f;s)A(f;s)=\lim_{H\to\infty}A_H(f;s)A(f;s)=limH→∞​AH​(f;s) when the limit exists. The coefficient is defined without reference to VVV.

Formalization targets

Milestone: nonnegativity of the approximants (Theorem 2.1, p. 4)

AH(1;s)≥0A_H(1;s)\ge0AH​(1;s)≥0 for s∈[0,1)s\in[0,1)s∈[0,1).

Goal: Theorem 2.1 (p. 4)

AH(1;⋅)→A(1;⋅)A_H(1;\cdot)\to A(1;\cdot)AH​(1;⋅)→A(1;⋅) uniformly on [0,1)[0,1)[0,1), with 0<inf⁡sA(1;s)≤sup⁡sA(1;s)<∞0<\inf_sA(1;s)\le\sup_sA(1;s)<\infty0<infs​A(1;s)≤sups​A(1;s)<∞, and

V(x)∼xlog⁡x Gm A(1;θ),V(cx)V(x)⟶c(c>0 fixed).V(x)\sim\frac{x}{\log x}\,G_m\,A(1;\theta),\qquad \frac{V(cx)}{V(x)}\longrightarrow c\quad(c>0\ \text{fixed}).V(x)∼logxx​Gm​A(1;θ),V(x)V(cx)​⟶c(c>0 fixed).

Further milestones: least preimages (Theorem 2.2, p. 6)

For k≥1k\ge1k≥1 let Nk(x)=#{v∈V:v≤x, kx<ℓ(v)≤(k+1)x}N_k(x)=\#\{v\in\mathcal V:v\le x,\ kx<\ell(v)\le(k+1)x\}Nk​(x)=#{v∈V:v≤x, kx<ℓ(v)≤(k+1)x} and fk(r)=min⁡{1,k+1r}−min⁡{1,kr}f_k(r)=\min\{1,\tfrac{k+1}r\}-\min\{1,\tfrac kr\}fk​(r)=min{1,rk+1​}−min{1,rk​}. Then AH(fk;⋅)A_H(f_k;\cdot)AH​(fk​;⋅) converges uniformly and Nk(x)=xlog⁡xGm(A(fk;θ)+o(1))N_k(x)=\frac{x}{\log x}G_m(A(f_k;\theta)+o(1))Nk​(x)=logxx​Gm​(A(fk​;θ)+o(1)); if some totient ddd has ℓ(d)>kd\ell(d)>kdℓ(d)>kd then inf⁡sA(fk;s)>0\inf_sA(f_k;s)>0infs​A(fk​;s)>0 and Nk(x)≍V(x)N_k(x)\asymp V(x)Nk​(x)≍V(x), and otherwise Nk≡0N_k\equiv0Nk​≡0 and A(fk;⋅)≡0A(f_k;\cdot)\equiv0A(fk​;⋅)≡0. The positive alternative holds for k=1,2k=1,2k=1,2.

Significance

The result itself. The formula replaces Ford's bounded uncertainty by an explicit function of the phase θ\thetaθ, built from finite arithmetic data, and answers the Erdős–Hall question: VVV is regularly varying of index 111. Theorem 2.2 answers, in weighted form, Erdős's question on how least preimages are distributed in intervals (kx,(k+1)x](kx,(k+1)x](kx,(k+1)x], reducing it to the existence of a "seed" totient with ℓ(d)>kd\ell(d)>kdℓ(d)>kd. Whether such seeds exist for every kkk (equivalently, whether ℓ(d)/d\ell(d)/dℓ(d)/d is unbounded) is not settled by the preprint.

Formalizing it. This is analytic number theory at full strength: Ford's structure theorems for totient preimages, sieve bounds for two or three linear forms in shifted primes, simplex volume computations and an inclusion–exclusion limit. Mathlib has the totient and the prime number theorem in some forms but not these sieve and distribution results. The definitions in this mission (the renewal root ρ\rhoρ, the witnesses, AHA_HAH​) are explicit and can be checked independently of any proof.

Difficulty

Counting integers nnn with a typical factorization is a volume computation, but V(x)V(x)V(x) counts values, and different nnn can have the same totient. The preprint must show that, outside a negligible set, distinct long prime prefixes give distinct values (Proposition 5.1, p. 22, and Proposition 5.3, p. 27), which needs a uniform comparison estimate for products of shifted primes (Proposition 4.2, p. 17), while short discrete tails that may collide are kept exactly and handled by inclusion–exclusion (Lemma 6.4, p. 30). The limits are taken in a specific order (x→∞x\to\inftyx→∞ with HHH fixed, then H→∞H\to\inftyH→∞), and no continuity of s↦A(1;s)s\mapsto A(1;s)s↦A(1;s) is available, so all errors must be uniform in the phase.

Formalization scope

  • IsTotient v means v=φ(n)v=\varphi(n)v=φ(n) for some n≥1n\ge1n≥1; V x counts totients in {1,…,⌊x⌋}\{1,\dots,\lfloor x\rfloor\}{1,…,⌊x⌋}; ell v is Nat.find of the least preimage (junk value 000 for non-totients, never used on them).
  • rho is the sInf of roots in (0,1)(0,1)(0,1) of ∑j≥0aj+1zj+1=1\sum_{j\ge0}a_{j+1}z^{j+1}=1∑j≥0​aj+1​zj+1=1; the root is unique, so this is the source's ρ\rhoρ.
  • AH H f s is formula (2.8) with finsum over totients ddd and over nonempty finite sets TTT of witnesses with φ(w)=d\varphi(w)=dφ(w)=d; the witness set is finite for each HHH, so the finsums are genuine finite sums. A f s is limUnder atTop; the goal asserts uniform convergence, so the junk value is never used.
  • mainTerm x = x / log x * G x (m x) * A 1 (theta x); asymptotic equivalence is Tendsto (V x / mainTerm x) atTop (𝓝 1).
  • The milestone coefficient_nonnegative is stated for every HHH, while the source states it for sufficiently large HHH; for small HHH the witness set is empty or the inclusion–exclusion is still a probability, so this is a harmless strengthening.
  • companion_zero_case restates alternative (ii) of Theorem 2.2 in a separate definition file (TotientCompanionZero) with identical definitions.

Selected references

  • OpenAI, An asymptotic formula for the number of totients, OpenAI Math Release preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/An-asymptotic-formula-for-the-number-of-totients-September-25-2026/An-asymptotic-formula-for-the-number-of-totients-September-25-2026.pdf
  • S. S. Pillai, On some functions connected with φ(n), Bull. Amer. Math. Soc. 35 (1929), 832–836. https://www.ams.org/journals/bull/1929-35-06/S0002-9904-1929-04799-2/S0002-9904-1929-04799-2.pdf
  • P. Erdős, On the normal number of prime factors of p−1 and some related problems concerning Euler's φ-function, Q. J. Math. 6 (1935). https://doi.org/10.1093/qmath/os-6.1.205
  • P. Erdős, R. R. Hall, Distinct values of Euler's φ-function, Mathematika 23 (1976). https://doi.org/10.1112/S0025579300006100
  • C. Pomerance, On the distribution of the values of Euler's function, Acta Arith. 47 (1986). https://doi.org/10.4064/aa-47-1-63-70
  • H. Maier, C. Pomerance, On the number of distinct values of Euler's φ-function, Acta Arith. 49 (1988). https://doi.org/10.4064/aa-49-3-263-275
  • K. Ford, The distribution of totients, Ramanujan J. 2 (1998), 67–151; revised arXiv:1104.3264. https://arxiv.org/abs/1104.3264v2
2 thms1 active userReviewed
Captain: wurtle

A quadratic bound for Jacobsthal's functionResearch Paper

Motivation

For a positive integer nnn, Jacobsthal's function j(n)j(n)j(n) is the least mmm such that every run of mmm consecutive integers contains an integer coprime to nnn. Equivalently, j(n)−1j(n)-1j(n)−1 is the longest interval that can be covered by choosing one residue class modulo each prime divisor of nnn (the classes 0 mod p0\bmod p0modp shifted by the interval's start). Its maximum over integers with at most kkk prime divisors,

h(k)=max⁡{j(n): ω(n)≤k},h(k)=\max\{j(n):\ \omega(n)\le k\},h(k)=max{j(n): ω(n)≤k},

governs how long a stretch can be sieved out by kkk primes. It is linked to gaps between consecutive primes (long covered intervals produce large prime gaps, as in the Erdős–Rankin and Ford–Green–Konyagin–Maynard–Tao constructions) and to the limits of the linear sieve. Jacobsthal asked, and Erdős recorded, whether h(k)≪k2h(k)\ll k^2h(k)≪k2.

Background

  • 1960. Jacobsthal begins a series of papers on this function.
  • 1962. Erdős records Jacobsthal's question h(k)≪k2h(k)\ll k^2h(k)≪k2 and notes Brun's bound h(k)≪kC0h(k)\ll k^{C_0}h(k)≪kC0​ (doi:10.7146/math.scand.a-10523).
  • 1971. Iwaniec's error-term estimate for the linear sieve gives order k2log⁡2kk^2\log^2kk2log2k for the first kkk primes (doi:10.4064/aa-19-1-1-30).
  • 1977. Vaughan proves the uniform bound j(n)≪ω(n)2log⁡(2ω(n))j(n)\ll\omega(n)^2\log(2\omega(n))j(n)≪ω(n)2log(2ω(n)) and explains the exponent 2 by the linear sieve's square-root restriction (doi:10.1017/S0013091500026560).
  • 1978. Iwaniec proves h(k)≪k2log⁡2kh(k)\ll k^2\log^2kh(k)≪k2log2k for arbitrary prime sets (doi:10.1515/dema-1978-0121).
  • 2012. Hajdu and Saradha disprove Jacobsthal's primorial-extremality conjecture: j(P24)=234<236=h(24)j(P_{24})=234<236=h(24)j(P24​)=234<236=h(24) (doi:10.1090/S0025-5718-2012-02581-6).
  • 2015, 2019. Costello–Watts and Ziller compute bounds and exact values for small kkk (doi:10.1090/S0025-5718-2014-02896-2).
  • 2018. Ford, Green, Konyagin, Maynard and Tao give the lower bound j(Pk)≫k(log⁡k)2log⁡log⁡log⁡klog⁡log⁡kj(P_k)\gg k(\log k)^2\frac{\log\log\log k}{\log\log k}j(Pk​)≫k(logk)2loglogklogloglogk​ (doi:10.1090/jams/876).

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

Setting

  • ω(n)\omega(n)ω(n) is the number of distinct prime divisors of nnn, with ω(1)=0\omega(1)=0ω(1)=0.
  • For n≥1n\ge1n≥1, j(n)j(n)j(n) is the least m≥1m\ge1m≥1 such that for every integer aaa, one of a,a+1,…,a+m−1a,a+1,\dots,a+m-1a,a+1,…,a+m−1 is coprime to nnn (note gcd⁡(0,n)=n\gcd(0,n)=ngcd(0,n)=n).
  • h(k)=sup⁡{j(n):n≥1, ω(n)≤k}h(k)=\sup\{j(n):n\ge1,\ \omega(n)\le k\}h(k)=sup{j(n):n≥1, ω(n)≤k} for k≥1k\ge1k≥1. All logarithms are natural.

Formalization targets

Milestone: quadratic bound (Jacobsthal's question)

∃C>0 ∀k≥1:h(k)≤C k2.\exists C>0\ \forall k\ge1:\quad h(k)\le C\,k^2.∃C>0 ∀k≥1:h(k)≤Ck2.

Goal: Theorem 1.1

∃C>0 ∀k≥1:h(k)≤C k2(log⁡log⁡(3k))2.\exists C>0\ \forall k\ge1:\quad h(k)\le C\,\frac{k^2}{(\log\log(3k))^2}.∃C>0 ∀k≥1:h(k)≤C(loglog(3k))2k2​.

Both are stated in Lean as the existence, for each kkk, of a length mmm satisfying IsJacobsthalBound k m with the displayed size bound. The goal OAI.Erdos970.Erdos970Final.erdos_970_iterated_log is open on the platform.

Significance

Theorem 1.1 answers Jacobsthal's question affirmatively, uniformly over all prime sets and interval positions, and removes the logarithmic losses in the bounds of Vaughan and Iwaniec, going slightly below the quadratic scale. It shows that the linear sieve can be pushed to its limiting parameter s=2s=2s=2, where the lower sieve function vanishes, by retaining a boundary contribution. The gap to the best lower bound (roughly k(log⁡k)2k(\log k)^2k(logk)2) remains large; Vaughan suggested j(n)≪εω(n)1+εj(n)\ll_\varepsilon\omega(n)^{1+\varepsilon}j(n)≪ε​ω(n)1+ε.

The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists. The constant CCC is not made explicit.

Difficulty

The linear sieve gives a lower bound for the number of uncovered integers only when the sieving range is below the square root of the interval length, which is exactly where the exponent 2 comes from; at the critical parameter the main term of the lower-bound sieve vanishes, so the standard argument yields nothing and a log⁡2k\log^2klog2k loss appears. One must keep the boundary term that the leading linear-sieve calculation discards, and then show that the actual prescribed residue classes do not deviate much from a reference calculation. Positivity of the reference calculation alone does not suffice: the comparison requires an inverse estimate for a witnessing edge of a decreasing-prime tree, variance bounds, and stopping-time counts for hard endpoints.

Formalization scope

  • IsJacobsthalBound k m: for every n : ℕ with 0 < n and n.primeFactors.card ≤ k, and every a : ℤ, some i < m has (a + i).natAbs.Coprime n.
  • JacobsthalQuadratic: ∃ C > 0, ∀ k > 0, ∃ m, IsJacobsthalBound k m ∧ m ≤ C k^2.
  • JacobsthalIteratedLog: the same with bound C k^2 / (log (log (3k)))^2; for k≥1k\ge1k≥1 the denominator is positive.
  • The two targets live in separate definition files that both define IsJacobsthalBound identically.

A complete development needs the fundamental lemma of the sieve, Buchstab-type functions of the linear sieve, prime number theorem estimates in short ranges and progressions, the additive large sieve, a lattice-point count on plane curves, and renewal-type arguments for a continuous path process. Contributions formalizing Theorem 1.2 (the quantitative covering estimate), Lemma 2.1 (fundamental lemma of the sieve), Proposition 6.3 (positive reference margin), Proposition 8.2 (inverse estimate for an edge) and Corollary 9.3 are welcome.

Selected references

  • OpenAI, A quadratic bound for Jacobsthal's function, preprint, September 25, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/A-quadratic-bound-for-Jacobsthals-function-September-25-2026/paper.pdf
  • P. Erdős, On the integers relatively prime to n and on a number-theoretic function considered by Jacobsthal, Math. Scand., 1962. https://doi.org/10.7146/math.scand.a-10523
  • R. C. Vaughan, On the order of magnitude of Jacobsthal's function, Proc. Edinburgh Math. Soc., 1977. https://doi.org/10.1017/S0013091500026560
  • H. Iwaniec, On the problem of Jacobsthal, Demonstratio Math., 1978. https://doi.org/10.1515/dema-1978-0121
  • H. Iwaniec, On the error term in the linear sieve, Acta Arith., 1971. https://doi.org/10.4064/aa-19-1-1-30
  • L. Hajdu, N. Saradha, Disproof of a conjecture of Jacobsthal, Math. Comp., 2012. https://doi.org/10.1090/S0025-5718-2012-02581-6
  • K. Ford, B. Green, S. Konyagin, J. Maynard, T. Tao, Long gaps between primes, J. Amer. Math. Soc., 2018. https://doi.org/10.1090/jams/876
  • F. Costello, P. Watts, An upper bound on Jacobsthal's function, Math. Comp., 2015. https://doi.org/10.1090/S0025-5718-2014-02896-2
  • J. Friedlander, H. Iwaniec, Opera de Cribro, AMS, 2010. https://doi.org/10.1090/coll/057
2 thms1 active userReviewed
Captain: wurtle

Squarefree values of quartics and power-free values of polynomialsResearch Paper

Motivation: when is a polynomial value free of high powers?

An integer aaa is kkk-power-free if no prime power pkp^kpk divides it (zero is never kkk-power-free). For a fixed integer polynomial fff one expects f(n)f(n)f(n) to be kkk-power-free for a positive proportion of integers nnn, given by an Euler product of local densities, as soon as no prime kkkth power divides every value of fff. The heuristic is a sieve: discard the nnn with pk∣f(n)p^k\mid f(n)pk∣f(n) for each prime ppp. Small primes are handled by the Chinese remainder theorem; the problem lies with primes ppp larger than the range of nnn, where f(n)f(n)f(n) can be divisible by pkp^kpk only if it has an unusually large square-full part. The case k=d−2k=d-2k=d−2, where d=deg⁡fd=\deg fd=degf, is the first exponent left open by classical methods. Its best-known instance is the squarefreeness of n4+2n^4+2n4+2, singled out by Erdős in 1953 and again in his 1965 survey.

Timeline

  • 1933 — Ricci proves the density asymptotic when k≥dk\ge dk≥d (Rend. Circ. Mat. Palermo 57).
  • 1953 — Erdős proves infinitely many (d−1)(d-1)(d−1)-power-free values for d≥3d\ge3d≥3 and singles out the unresolved squarefreeness of n4+2n^4+2n4+2 (J. London Math. Soc.).
  • 1967 — Hooley obtains the asymptotic at exponent k=d−1k=d-1k=d−1 (Mathematika 14).
  • 1976 — Nair proves the asymptotic for k≥(2−12)dk\ge(\sqrt2-\tfrac12)dk≥(2​−21​)d, which reaches k=d−2k=d-2k=d−2 for d≥24d\ge24d≥24 (Mathematika 23).
  • 1998 — Granville shows that the abcabcabc conjecture implies the predicted squarefree density for every separable polynomial without a fixed square divisor (IMRN 1998).
  • 2006 — Heath-Brown's affine determinant method gives k≥(3d+2)/4k\ge(3d+2)/4k≥(3d+2)/4, reaching k=d−2k=d-2k=d−2 for d≥10d\ge10d≥10.
  • 2011 — Browning, combining this with Salberger's global determinant method, reaches k≥(3d+1)/4k\ge(3d+1)/4k≥(3d+1)/4, hence k=d−2k=d-2k=d−2 for d≥9d\ge9d≥9 (Arch. Math. 96); Xiao gives a published reproof (IMRN 2017).
  • 2013–2015 — Heath-Brown treats binomials xd+cx^d+cxd+c for k≥(5d+3)/9k\ge(5d+3)/9k≥(5d+3)/9 (Q. J. Math. 64); Reuss obtains a power-saving error at k=d−1k=d-1k=d−1 (Bull. LMS 47).
  • 2026 — An OpenAI preprint, Squarefree values of quartics and power-free values of polynomials (OpenAI Math Release, September 24, 2026), claims the case k=d−2k=d-2k=d−2 for all degrees 4≤d≤84\le d\le 84≤d≤8, including squarefree values of every admissible irreducible quartic. It has not been peer reviewed, and its proof is not formally verified.

Setting

Let f∈Z[x]f\in\mathbb Z[x]f∈Z[x] be irreducible over Q\mathbb QQ, of degree ddd, and let k≥2k\ge2k≥2. Define

ρf(q)=#{a∈Z/qZ: f(a)≡0(modq)},Sf,k(X)=#{1≤n≤X: f(n) is k-power-free}.\rho_f(q)=\#\{a\in\mathbb Z/q\mathbb Z:\ f(a)\equiv0\pmod q\},\qquad S_{f,k}(X)=\#\{1\le n\le X:\ f(n)\text{ is $k$-power-free}\}.ρf​(q)=#{a∈Z/qZ: f(a)≡0(modq)},Sf,k​(X)=#{1≤n≤X: f(n) is k-power-free}.

The local admissibility condition is ρf(pk)<pk\rho_f(p^k)<p^kρf​(pk)<pk for every prime ppp: no prime kkkth power divides all values of fff. The predicted density is

cf,k=∏p(1−ρf(pk)pk).c_{f,k}=\prod_p\Bigl(1-\frac{\rho_f(p^k)}{p^k}\Bigr).cf,k​=p∏​(1−pkρf​(pk)​).

Formalization targets

Goal: power-free values at exponent d−2d-2d−2 in every degree d≥4d\ge4d≥4 (Corollary 1.2)

Let f∈Z[x]f\in\mathbb Z[x]f∈Z[x] be irreducible over Q\mathbb QQ with d=deg⁡f≥4d=\deg f\ge4d=degf≥4, put k=d−2k=d-2k=d−2, and assume ρf(pk)<pk\rho_f(p^k)<p^kρf​(pk)<pk for every prime ppp. Then the Euler product converges,

cf,k>0,Sf,k(X)=cf,kX+of(X)(X→∞).c_{f,k}>0,\qquad S_{f,k}(X)=c_{f,k}X+o_f(X)\quad(X\to\infty).cf,k​>0,Sf,k​(X)=cf,k​X+of​(X)(X→∞).

For 4≤d≤84\le d\le 84≤d≤8 this is the paper's new Theorem 1.1; for d≥9d\ge9d≥9 it follows from Browning's theorem. Already the case d=4d=4d=4 (squarefree values of quartics such as n4+2n^4+2n4+2 and n4+1n^4+1n4+1) is new. The goal statement is published on the platform with status Open.

Significance

The result itself. The theorem closes the exponent k=d−2k=d-2k=d−2 for every degree, answering Erdős's question about n4+2n^4+2n4+2 and giving the first unconditional squarefree-density theorem for an arbitrary admissible irreducible quartic. No primitivity or sign condition on fff is required. The same large-prime estimate also gives densities for separable products and simultaneous power-freeness of several polynomials (Corollary 1.3).

Formalizing it. The statement is elementary, but its proof uses number-field factorization, the unit theorem, determinant methods for counting points on surfaces and curves, and explicit Hilbert-function computations. None of these components is machine-checked. A formal proof would certify a result that the literature had only reached conditionally (on abcabcabc) or in higher degrees. The finite-prime sieve and the deduction of the density from a large-prime tail bound are reusable for other power-free-value problems.

Difficulty

The sieve over primes p≤Xp\le Xp≤X is routine. The obstacle is the primes p>Xp>Xp>X: one must show that very few n∈(X,2X]n\in(X,2X]n∈(X,2X] have pk∣f(n)p^k\mid f(n)pk∣f(n) for some such ppp (Proposition 1.4, with a power saving X1−δX^{1-\delta}X1−δ). Counting solutions of f(n)=ypkf(n)=yp^kf(n)=ypk as integer points on the surface f(x)=yzkf(x)=yz^kf(x)=yzk with determinant methods succeeds only when ppp is large; in the intermediate range the point counts are too weak, and the existing determinant bounds stop exactly at k≥(3d+1)/4k\ge(3d+1)/4k≥(3d+1)/4.

Formalization scope

  • fff is a Polynomial ℤ whose image in Polynomial ℚ is irreducible, with natDegree ≥ 4; the exponent is f.natDegree - 2 (at least 222, so the natural-number subtraction is harmless).
  • PowerFree k a says no prime ppp has pk∣ap^k\mid apk∣a, so a=0a=0a=0 is not power-free, matching the source convention; negative values are allowed.
  • ρf(q)\rho_f(q)ρf​(q) counts a∈{0,…,q−1}a\in\{0,\dots,q-1\}a∈{0,…,q−1} with q∣f(a)q\mid f(a)q∣f(a); Sf,k(X)S_{f,k}(X)Sf,k​(X) counts 1≤n≤⌊X⌋1\le n\le\lfloor X\rfloor1≤n≤⌊X⌋ over real XXX.
  • The density constant is a tprod over Nat.Primes; the goal asserts Multipliable explicitly, so the constant is not a junk value, together with cf,k>0c_{f,k}>0cf,k​>0 and Sf,k(X)−cf,kX=o(X)S_{f,k}(X)-c_{f,k}X=o(X)Sf,k​(X)−cf,k​X=o(X).
  • No height or uniformity in fff is asserted, matching the source.
  • Needed infrastructure: algebraic number fields and ideal factorization, the unit theorem, Hensel lifting, determinant-method point counting, and an Euler-product sieve. The d≥9d\ge9d≥9 case also needs Browning's theorem (in Xiao's formulation), itself unformalized.

Selected references

  • G. Ricci, Ricerche aritmetiche sui polinomi, Rend. Circ. Mat. Palermo 57 (1933). https://doi.org/10.1007/BF03017586
  • P. Erdős, Arithmetical properties of polynomials, J. London Math. Soc. 28 (1953). https://doi.org/10.1112/jlms/s1-28.4.416
  • C. Hooley, On the power free values of polynomials, Mathematika 14 (1967). https://doi.org/10.1112/S002557930000797X
  • M. Nair, Power free values of polynomials, Mathematika 23 (1976). https://doi.org/10.1112/S0025579300008779
  • A. Granville, ABC allows us to count squarefrees, IMRN 1998. https://doi.org/10.1155/S1073792898000592
  • T. D. Browning, Power-free values of polynomials, Arch. Math. 96 (2011). https://doi.org/10.1007/s00013-011-0224-7
  • S. Y. Xiao, Power-free values of binary forms and the global determinant method, IMRN 2017. https://doi.org/10.1093/imrn/rnw165
  • D. R. Heath-Brown, Power-free values of polynomials, Q. J. Math. 64 (2013). https://doi.org/10.1093/qmath/har030
  • T. Reuss, Power-free values of polynomials, Bull. London Math. Soc. 47 (2015). https://doi.org/10.1112/blms/bdu116
  • OpenAI, Squarefree values of quartics and power-free values of polynomials, OpenAI Math Release preprint, September 24, 2026 (Theorem 1.1, p. 2; Corollary 1.2, p. 4). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Squarefree-values-of-quartics-and-power-free-values-of-polynomials-September-24-2026/manuscript.pdf
2 thms1 active userReviewed
Combinatorics·Captain: wurtle

The additive indecomposability of the primesResearch Paper

Motivation

Goldbach-type problems ask which sets are sumsets of primes. The inverse Goldbach problem, due to Ostmann (1956), reverses the question: can the set of primes itself, up to finitely many changes, be written as a sumset A+B={a+b:a∈A, b∈B}A+B=\{a+b:a\in A,\ b\in B\}A+B={a+b:a∈A, b∈B} with both AAA and BBB having at least two elements? Ostmann conjectured that it cannot: the primes are asymptotically additively indecomposable. The problem is a clean test of how much additive structure the primes can carry, and it connects sieve theory (the primes avoid one residue class modulo each prime) with inverse questions for the large sieve.

Background

  • 1954–1955. Hornfeck proves early restrictions on additive decompositions of the primes (doi:10.1007/BF01187376).
  • 1956. Ostmann formulates the conjecture in his treatise on additive number theory (doi:10.1007/978-3-662-11030-0).
  • 1964. Laffer and Mann show that a hypothetical decomposition must have two infinite summands (doi:10.2140/pjm.1964.14.547).
  • 1988–1996. Pomerance, Sárközy and Stewart, and Hofmann and Wolke, obtain sieve restrictions on the summands (doi:10.2140/pjm.1988.133.363, doi:10.1007/BF01189097).
  • 2001. Elsholtz combines the large and larger sieves to put both counting functions near the square-root scale and rules out decompositions into three nontrivial summands (doi:10.1112/S0025579300014406).
  • 2014–2016. Green and Harper show that an inverse large-sieve conjecture would imply Ostmann's conjecture (arXiv:1311.6176); Elsholtz and Harper sharpen the binary counting bounds (doi:10.1090/S0002-9947-2014-06384-8); Shao proves a finite ternary obstruction (doi:10.1353/ajm.2016.0038).
  • 2020–2026. Hanson, then Croot, Mao and Yip, and Croot, Mao, Pohoata and Yip prove partial inverse theorems for the large sieve and derive further necessary conditions on a hypothetical decomposition (doi:10.1017/S0305004118000518, arXiv:2510.08862, arXiv:2607.15311).

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

Setting

Let N0={0,1,2,… }\mathbb N_0=\{0,1,2,\dots\}N0​={0,1,2,…} and let PPP be the set of positive primes. For A,B⊆N0A,B\subseteq\mathbb N_0A,B⊆N0​ the sumset is A+B={a+b:a∈A, b∈B}A+B=\{a+b:a\in A,\ b\in B\}A+B={a+b:a∈A, b∈B}. Two sets are asymptotically equal if their symmetric difference X△Y=(X∖Y)∪(Y∖X)X\triangle Y=(X\setminus Y)\cup(Y\setminus X)X△Y=(X∖Y)∪(Y∖X) is finite. A decomposition is nontrivial if ∣A∣≥2|A|\ge2∣A∣≥2 and ∣B∣≥2|B|\ge2∣B∣≥2; the trivial decompositions {0}+P\{0\}+P{0}+P are excluded.

Formalization targets

Goal: Theorem 1.1 (Ostmann's conjecture)

A,B⊆N0, ∣A∣≥2, ∣B∣≥2 ⟹ (A+B)△P is infinite.A,B\subseteq\mathbb N_0,\ |A|\ge2,\ |B|\ge2\ \Longrightarrow\ (A+B)\triangle P\ \text{is infinite}.A,B⊆N0​, ∣A∣≥2, ∣B∣≥2 ⟹ (A+B)△P is infinite.

Milestone: Theorem 2.3 (two infinite summands)

There are no infinite A,B⊆N0 with (A+B)△P finite.\text{There are no infinite }A,B\subseteq\mathbb N_0\text{ with }(A+B)\triangle P\text{ finite}.There are no infinite A,B⊆N0​ with (A+B)△P finite.

Theorem 2.3 is the core of the proof; Lemma 2.2 reduces Theorem 1.1 to it by a short sieve argument.

The goal OAI.Ostmann.inverseGoldbach is open on the platform.

Significance

Theorem 1.1 resolves Ostmann's conjecture. The conclusion controls both requirements of an eventual decomposition: if ∣A∣,∣B∣≥2|A|,|B|\ge2∣A∣,∣B∣≥2 and A+BA+BA+B contains every sufficiently large prime, then A+BA+BA+B contains infinitely many composite numbers. The proof does not go through the general inverse large-sieve conjecture of Green and Harper; it uses the simultaneous residue restrictions together with coverage of every large prime directly.

The result is proved in an OpenAI preprint, which has not been peer reviewed. No machine-checked proof exists. The statement is elementary, so the formal target is short; the difficulty is entirely in the proof.

Difficulty

Counting alone cannot work: sieve bounds put A(x)A(x)A(x) and B(x)B(x)B(x) near x\sqrt xx​, which is compatible with the lower bound A(x)B(x)≫x/log⁡xA(x)B(x)\gg x/\log xA(x)B(x)≫x/logx forced by covering the primes. The known necessary conditions (large intersections with quadratic images) fall short of the near-containment that Green and Harper's conditional route requires. The proof must turn the local information (modulo each prime ppp, the images of AAA and −B-B−B are disjoint) into a global contradiction: it rules out correlations with translated multiplicative characters of every order, compares a positive sumset statistic with its average over the primes, and handles residue indicators with no prescribed algebraic form via a finite-field comparison of binary trees. The paper runs to about 80 pages.

Formalization scope

  • primes = {n : ℕ | Nat.Prime n}; sumset A B is Mathlib's pointwise A + B on Set ℕ.
  • A.Nontrivial means AAA has two distinct elements.
  • InverseGoldbach asserts Set.Infinite (sumset A B ∆ primes); TwoInfiniteSummandsImpossible uses EventuallyPrimeSumset A B := ∃ N, ∀ n ≥ N, n ∈ A + B ↔ n.Prime, which is equivalent to a finite symmetric difference.
  • OAI.Ostmann.main is the same statement as the goal without the definition file and is included as a reference item.

A complete development needs the additive large sieve (Montgomery–Vaughan), Gallagher's larger sieve, Mertens-type estimates, character sums over finite fields including the quadratic large sieve, prime number theorems in progressions with the exceptional character, and Fourier analysis on Fp\mathbb F_pFp​. Contributions formalizing Lemma 2.1 (fixed shifts), Lemma 2.2 (finite summands), Lemma 2.4 (square-root bounds), Proposition 3.1, Corollary 4.2 (mixed-character decorrelation), Proposition 5.1 and Lemma 6.1 (tree comparison) are welcome.

Selected references

  • OpenAI, The additive indecomposability of the primes, preprint, September 24, 2026. https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/the-additive-indecomposability-of-the-primes-September-24-2026/paper.pdf
  • H.-H. Ostmann, Additive Zahlentheorie. Erster Teil, Springer, 1956. https://doi.org/10.1007/978-3-662-11030-0
  • W. B. Laffer, H. B. Mann, Decomposition of sets of group elements, Pacific J. Math., 1964. https://doi.org/10.2140/pjm.1964.14.547
  • C. Elsholtz, The inverse Goldbach problem, Mathematika, 2001. https://doi.org/10.1112/S0025579300014406
  • B. Green, A. J. Harper, Inverse questions for the large sieve, Geom. Funct. Anal., 2014. https://doi.org/10.1007/s00039-014-0288-1
  • C. Elsholtz, A. J. Harper, Additive decompositions of sets with restricted prime factors, Trans. Amer. Math. Soc., 2015. https://doi.org/10.1090/S0002-9947-2014-06384-8
  • X. Shao, On an inverse ternary Goldbach problem, Amer. J. Math., 2016. https://doi.org/10.1353/ajm.2016.0038
  • B. Hanson, Additive correlation and the inverse problem for the large sieve, Math. Proc. Cambridge Philos. Soc., 2020. https://doi.org/10.1017/S0305004118000518
  • E. Croot, J. Mao, C. Pohoata, C. H. Yip, A sharp inverse theorem for the quadratic large sieve, preprint, 2026. https://arxiv.org/abs/2607.15311
  • H. L. Montgomery, R. C. Vaughan, The large sieve, Mathematika, 1973. https://doi.org/10.1112/S0025579300004708
4 thms1 active userReviewed
Probability·Captain: wurtle

The joint Dickman law for consecutive integersResearch Paper

Motivation: largest prime factors of neighbouring integers

Let P+(n)P^+(n)P+(n) be the largest prime factor of an integer n≥2n\ge2n≥2. The classical theory of smooth numbers (Dickman 1930, Ramaswami 1949, de Bruijn 1951) shows that log⁡P+(n)/log⁡n\log P^+(n)/\log nlogP+(n)/logn has a limiting distribution: the proportion of n≤Xn\le Xn≤X with P+(n)≤XaP^+(n)\le X^aP+(n)≤Xa tends to ρ(1/a)\rho(1/a)ρ(1/a), where ρ\rhoρ is the Dickman function. Multiplicative structure of nnn and of n+1n+1n+1 is expected to be independent, since consecutive integers share no prime factor, but proving independence of such "additive shifts" of multiplicative data is the core difficulty of the Chowla/Elliott circle of problems. Erdős and Pomerance (1978) asked whether P+(n)P^+(n)P+(n) and P+(n+1)P^+(n+1)P+(n+1) are asymptotically independent with Dickman marginals, and, as a consequence, whether P+(n)<P+(n+1)P^+(n)<P^+(n+1)P+(n)<P+(n+1) holds for exactly half of all nnn (a comparison question usually attributed to Erdős and Turán).

Timeline

  • 1930–1951 — Dickman, Ramaswami and de Bruijn establish the one-variable law #{n≤X:P+(n)≤Xa}/X→ρ(1/a)\#\{n\le X: P^+(n)\le X^a\}/X\to\rho(1/a)#{n≤X:P+(n)≤Xa}/X→ρ(1/a).
  • 1978 — Erdős and Pomerance formulate the joint independence problem, prove that each ordering of P+(n),P+(n+1)P^+(n),P^+(n+1)P+(n),P+(n+1) has lower natural density at least 0.00990.00990.0099, and show that P+(n)/P+(n+1)P^+(n)/P^+(n+1)P+(n)/P+(n+1) rarely lies in (X−δ,Xδ)(X^{-\delta},X^{\delta})(X−δ,Xδ) (Aequationes Math. 17 (1978)).
  • 2005 — de la Bretèche, Pomerance and Tenenbaum raise the lower density to 0.055440.055440.05544 (and 0.058660.058660.05866 via an observation of Fouvry).
  • 2017–2018 — Wang obtains 0.10630.10630.1063 and 0.13560.13560.1356.
  • 2018 — Teräväinen proves the joint Dickman law in logarithmic density, and logarithmic density 1/21/21/2 for the ordering (Forum Math. Sigma 6 (2018)).
  • 2019 — Tao and Teräväinen obtain the joint law for ordinary averages outside an exceptional set of scales of logarithmic density zero (Algebra Number Theory 13 (2019)).
  • 2021 — Wang proves the ordinary joint law conditionally on the Elliott–Halberstam conjecture for friable integers (J. Number Theory 223).
  • 2022 — Jiang, Lü and Wang prove averaged-over-shift versions (Adv. Math. 409).
  • 2025–2026 — Lü and Wang reach lower density 0.20170.20170.2017; Yang reaches 0.2800.2800.280 (arXiv:2607.16032); Tao and Teräväinen give a quantitative joint law outside exceptional scales (arXiv:2512.01739).
  • 2026 — An OpenAI preprint, The joint Dickman law for consecutive integers (OpenAI Math Release, September 24, 2026), claims the unconditional joint law in ordinary natural density at every scale. It has not been peer reviewed, and its proof is not formally verified.

Setting

For n≥2n\ge2n≥2, P+(n)P^+(n)P+(n) is the largest prime dividing nnn. The Dickman function ρ:[0,∞)→R\rho:[0,\infty)\to\mathbb Rρ:[0,∞)→R is the continuous function with

ρ(u)=1 (0≤u≤1),uρ′(u)=−ρ(u−1) (u>1),\rho(u)=1\ (0\le u\le1),\qquad u\rho'(u)=-\rho(u-1)\ (u>1),ρ(u)=1 (0≤u≤1),uρ′(u)=−ρ(u−1) (u>1),

equivalently ρ(u)=1−∫1uρ(t−1) dtt\rho(u)=1-\int_1^u \rho(t-1)\,\frac{dt}{t}ρ(u)=1−∫1u​ρ(t−1)tdt​ for u≥1u\ge1u≥1. For a property PPP of integers and real X>0X>0X>0, the natural density at scale XXX is

realDensity(P,X)=1X #{2≤n≤X: P(n)}.\mathrm{realDensity}(P,X)=\frac1X\,\#\{2\le n\le X:\ P(n)\}.realDensity(P,X)=X1​#{2≤n≤X: P(n)}.

Formalization targets

Goal: the joint Dickman law (Theorem 1.1)

For every fixed a,b∈(0,1)a,b\in(0,1)a,b∈(0,1),

lim⁡X→∞1X#{2≤n≤X: P+(n)≤na, P+(n+1)≤nb}=ρ(1/a) ρ(1/b),\lim_{X\to\infty}\frac1X\#\{2\le n\le X:\ P^+(n)\le n^a,\ P^+(n+1)\le n^b\}=\rho(1/a)\,\rho(1/b),X→∞lim​X1​#{2≤n≤X: P+(n)≤na, P+(n+1)≤nb}=ρ(1/a)ρ(1/b),

with XXX running over all reals and ordinary, unweighted counting. The goal statement is published on the platform with status Open.

Milestones: equal ordering densities (Corollary 1.2)

lim⁡X→∞1X#{2≤n≤X: P+(n)<P+(n+1)}=12,lim⁡X→∞1X#{2≤n≤X: P+(n+1)<P+(n)}=12.\lim_{X\to\infty}\frac1X\#\{2\le n\le X:\ P^+(n)<P^+(n+1)\}=\tfrac12, \qquad \lim_{X\to\infty}\frac1X\#\{2\le n\le X:\ P^+(n+1)<P^+(n)\}=\tfrac12 .X→∞lim​X1​#{2≤n≤X: P+(n)<P+(n+1)}=21​,X→∞lim​X1​#{2≤n≤X: P+(n+1)<P+(n)}=21​.

Significance

The result itself. Theorem 1.1 says that, in natural density, log⁡P+(n)/log⁡n\log P^+(n)/\log nlogP+(n)/logn and log⁡P+(n+1)/log⁡n\log P^+(n+1)/\log nlogP+(n+1)/logn are independent with Dickman marginals. It settles the Erdős–Pomerance independence question positively, removes the logarithmic weighting of Teräväinen's theorem and the exceptional scales of Tao–Teräväinen, and implies the Erdős–Turán comparison: because the limiting marginal is continuous, the product law gives no mass to the diagonal, so each strict ordering has density 1/21/21/2 (Corollary 1.2). Previous unconditional work only gave lower natural densities, never the existence of the density.

Formalizing it. The goal is a clean density statement about elementary objects, but its proof combines Matomäki–Radziwiłł short-interval estimates, sieve bounds, a divisor amplifier, graph comparison and cut-norm sampling. No part of this argument is machine-checked. Even the one-variable Dickman law (the marginal case) is not in Mathlib, and would be a reusable milestone in its own right.

Difficulty

Independence of nnn and n+1n+1n+1 is a binary correlation problem for multiplicative data, of the same nature as the two-point Chowla conjecture. Tao's entropy-decrement and logarithmic-averaging method handles such correlations only with weight 1/n1/n1/n, or at almost all scales; the step that fails for ordinary density is ruling out a positive correlation along a sparse sequence of scales. The indicator 1P+(n)≤na\mathbf 1_{P^+(n)\le n^a}1P+(n)≤na​ is also not multiplicative, so short-interval theorems for multiplicative functions do not apply to it directly.

Formalization scope

  • Nat.maxPrimeFac n (largest element of the prime factor list, a faithful backport of the Mathlib definition) represents P+(n)P^+(n)P+(n); its junk values at 0,10,10,1 are irrelevant since counting starts at n=2n=2n=2.
  • realDensity P X is #{n ∈ [2, ⌊X⌋] : P n} / X as a real number, and limits are Tendsto … atTop over real XXX, matching "the limit over all real XXX".
  • The thresholds are P+(n)≤naP^+(n)\le n^aP+(n)≤na with real powers (n:ℝ)^a, and the hypotheses 0<a<10<a<10<a<1, 0<b<10<b<10<b<1 are explicit.
  • ρ\rhoρ is constructed by iterating the delay integral equation stepApprox and evaluating the ⌈u⌉\lceil u\rceil⌈u⌉-th iterate at uuu; this agrees with the Dickman function on [0,∞)[0,\infty)[0,∞), which is the only range used (1/a,1/b>11/a,1/b>11/a,1/b>1). A wrong ρ\rhoρ would make the goal false, so this definition is part of what solvers should check.
  • Needed infrastructure: the one-variable Dickman law, Selberg–Delange and sieve estimates, short-interval mean values of multiplicative functions, and profinite/Haar-measure compactness arguments. Contributions formalizing the smooth-number marginal or the deduction of Corollary 1.2 from Theorem 1.1 are welcome.

Selected references

  • K. Dickman, On the frequency of numbers containing prime factors of a certain relative magnitude, Ark. Mat. Astr. Fys. 22A (1930).
  • N. G. de Bruijn, On the number of positive integers ≤x\le x≤x and free of prime factors >y>y>y, Proc. KNAW Ser. A 54 (1951). https://research.tue.nl/en/publications/on-the-number-of-positive-integers-leq-x-and-free-of-prime-factor/
  • P. Erdős and C. Pomerance, On the largest prime factors of nnn and n+1n+1n+1, Aequationes Math. 17 (1978), 311–321. https://www.renyi.hu/~p_erdos/1978-29.pdf
  • J. Teräväinen, On binary correlations of multiplicative functions, Forum Math. Sigma 6 (2018), e10. https://doi.org/10.1017/fms.2018.10
  • T. Tao and J. Teräväinen, The structure of correlations of multiplicative functions at almost all scales, with applications to the Chowla and Elliott conjectures, Algebra Number Theory 13 (2019). https://doi.org/10.2140/ant.2019.13.2103
  • K. Matomäki and M. Radziwiłł, Multiplicative functions in short intervals, Ann. of Math. 183 (2016). https://doi.org/10.4007/annals.2016.183.3.6
  • T. Tao and J. Teräväinen, Quantitative correlations and some problems on prime factors of consecutive integers, preprint (2026). https://arxiv.org/abs/2512.01739
  • OpenAI, The joint Dickman law for consecutive integers, OpenAI Math Release preprint, September 24, 2026 (Theorem 1.1 and Corollary 1.2, p. 2). https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/The-joint-Dickman-law-for-consecutive-integers-September-24-2026/paper.pdf
4 thms1 active userReviewed
Discrete GeometryTheoretical Computer Science·Captain: mikedeng1

On Lattices, Learning with Errors, Random Linear Codes, and Cryptography 6: The Smoothing Parameter Satisfies η_ε(L) ≥ √(ln(1/ε)/π)/λ₁(L*) ≥ √(ln(1/ε)/π)·λ_n(L)/nResearch Paper

Motivation

The learning with errors (LWE) problem underlies much of post-quantum public-key cryptography, and its hardness rests on Regev's reduction from worst-case lattice problems to LWE (Regev, J. ACM 2009). Every step of that reduction is calibrated by the smoothing parameter ηϵ(L)\eta_\epsilon(L)ηϵ​(L) of Micciancio and Regev (SIAM J. Comput. 2007): the Gaussian width above which a discrete Gaussian on a lattice behaves like a continuous one. The approximation factors of the reduction are stated in terms of ηϵ(L)\eta_\epsilon(L)ηϵ​(L), and they are converted into factors for the standard lattice problems (GapSVP, SIVP) by comparing ηϵ(L)\eta_\epsilon(L)ηϵ​(L) with the successive minima of LLL and of its dual.

Upper bounds on ηϵ(L)\eta_\epsilon(L)ηϵ​(L) (Lemmas 2.11 and 2.12 of the paper, from Micciancio–Regev) say the smoothing parameter is not too large. Claim 2.13 is the matching lower bound: the smoothing parameter cannot be much smaller than 1/λ1(L∗)1/\lambda_1(L^*)1/λ1​(L∗), and hence than λn(L)/n\lambda_n(L)/nλn​(L)/n. The second comparison goes through Banaszczyk's transference theorem (Banaszczyk, Math. Ann. 296 (1993)), 1≤λ1(L)λn(L∗)≤n1 \le \lambda_1(L)\lambda_n(L^*) \le n1≤λ1​(L)λn​(L∗)≤n, which relates the geometry of a lattice to that of its dual.

This mission formalizes Claim 2.13 from the published J. ACM article (Article 34, 2009), together with the steps of its proof and the transference theorem it cites. The paper's main theorem, Theorem 3.1, is a quantum reduction about efficient algorithms; it is outside this series of missions.

Setting

Work in Rn\mathbb{R}^nRn, n≥1n \ge 1n≥1, with the Euclidean norm ∥⋅∥\|\cdot\|∥⋅∥ and inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩. A lattice L⊂RnL \subset \mathbb{R}^nL⊂Rn is the set of integer combinations of nnn linearly independent vectors. Its dual is

L∗={y∈Rn:⟨x,y⟩∈Z for all x∈L},L^* = \{y \in \mathbb{R}^n : \langle x, y\rangle \in \mathbb{Z} \text{ for all } x \in L\},L∗={y∈Rn:⟨x,y⟩∈Z for all x∈L},

again a lattice, with (L∗)∗=L(L^*)^* = L(L∗)∗=L.

The successive minima used here are λ1(L)\lambda_1(L)λ1​(L), the length of a shortest nonzero vector of LLL, and λn(L)\lambda_n(L)λn​(L), the least rrr such that LLL contains nnn linearly independent vectors of length at most rrr.

For s>0s > 0s>0 the Gaussian function is ρs(x)=exp⁡(−π∥x/s∥2)\rho_s(x) = \exp(-\pi\|x/s\|^2)ρs​(x)=exp(−π∥x/s∥2) (Eq. (4)), and for a countable set AAA, ρs(A)=∑x∈Aρs(x)\rho_s(A) = \sum_{x\in A}\rho_s(x)ρs​(A)=∑x∈A​ρs​(x). In particular ρ1/s(y)=exp⁡(−πs2∥y∥2)\rho_{1/s}(y) = \exp(-\pi s^2\|y\|^2)ρ1/s​(y)=exp(−πs2∥y∥2).

For ϵ>0\epsilon > 0ϵ>0 the smoothing parameter ηϵ(L)\eta_\epsilon(L)ηϵ​(L) is the smallest sss such that ρ1/s(L∗∖{0})≤ϵ\rho_{1/s}(L^*\setminus\{0\}) \le \epsilonρ1/s​(L∗∖{0})≤ϵ (Definition 2.10).

Formalization targets

Goal: Claim 2.13 (p. 34:20)

For any lattice LLL and any ϵ>0\epsilon > 0ϵ>0,

ηϵ(L)  ≥  ln⁡1/ϵπ⋅1λ1(L∗)  ≥  ln⁡1/ϵπ⋅λn(L)n.\eta_\epsilon(L) \;\ge\; \sqrt{\frac{\ln 1/\epsilon}{\pi}}\cdot\frac{1}{\lambda_1(L^*)} \;\ge\; \sqrt{\frac{\ln 1/\epsilon}{\pi}}\cdot\frac{\lambda_n(L)}{n}.ηϵ​(L)≥πln1/ϵ​​⋅λ1​(L∗)1​≥πln1/ϵ​​⋅nλn​(L)​.

Both inequalities of the chain are part of the goal. The asymptotic "In particular" sentence of the claim (ϵ(n)=o(1)\epsilon(n) = o(1)ϵ(n)=o(1), large enough nnn) is not.

Milestones, in attack order

  1. The remark after Definition 2.10 (p. 34:19). The map s↦ρ1/s(L∗∖{0})s \mapsto \rho_{1/s}(L^*\setminus\{0\})s↦ρ1/s​(L∗∖{0}) is continuous and strictly decreasing on (0,∞)(0,\infty)(0,∞), tends to ∞\infty∞ as s→0s \to 0s→0 and to 000 as s→∞s \to \inftys→∞, and ϵ↦ηϵ(L)\epsilon \mapsto \eta_\epsilon(L)ϵ↦ηϵ​(L) is its inverse; in particular ρ1/ηϵ(L)(L∗∖{0})=ϵ\rho_{1/\eta_\epsilon(L)}(L^*\setminus\{0\}) = \epsilonρ1/ηϵ​(L)​(L∗∖{0})=ϵ.
  2. The display of the proof of Claim 2.13 (p. 34:20). For s=ηϵ(L)s = \eta_\epsilon(L)s=ηϵ​(L) and v∈L∗v \in L^*v∈L∗ of length λ1(L∗)\lambda_1(L^*)λ1​(L∗),
ϵ=ρ1/s(L∗∖{0})≥ρ1/s(v)=exp⁡(−π(sλ1(L∗))2).\epsilon = \rho_{1/s}(L^*\setminus\{0\}) \ge \rho_{1/s}(v) = \exp\bigl(-\pi(s\lambda_1(L^*))^2\bigr).ϵ=ρ1/s​(L∗∖{0})≥ρ1/s​(v)=exp(−π(sλ1​(L∗))2).
  1. Lemma 2.3, Banaszczyk's transference theorem (p. 34:18). For any nnn-dimensional lattice LLL,
1≤λ1(L)⋅λn(L∗)≤n.1 \le \lambda_1(L)\cdot\lambda_n(L^*) \le n .1≤λ1​(L)⋅λn​(L∗)≤n.

Significance

The result. Claim 2.13 shows that the smoothing parameter for a negligible ϵ\epsilonϵ exceeds every constant multiple of 1/λ1(L∗)1/\lambda_1(L^*)1/λ1​(L∗) and of λn(L)/n\lambda_n(L)/nλn​(L)/n. Together with the upper bound ηϵ(L)≤ln⁡(2n(1+1/ϵ))/π λn(L)\eta_\epsilon(L) \le \sqrt{\ln(2n(1+1/\epsilon))/\pi}\,\lambda_n(L)ηϵ​(L)≤ln(2n(1+1/ϵ))/π​λn​(L) of Lemma 2.12, it locates ηϵ(L)\eta_\epsilon(L)ηϵ​(L) within a polynomial factor of λn(L)\lambda_n(L)λn​(L). This is what lets the reduction's guarantees, phrased in ηϵ(L)\eta_\epsilon(L)ηϵ​(L), be read as approximation factors for SIVP and GapSVP. The transference theorem is used throughout the geometry of numbers and in lattice-based cryptography to pass between a lattice and its dual.

Formalizing it. The claim and its proof are classical and short, but neither is machine-checked. The mission produces formal definitions of the dual lattice, the successive minima λ1\lambda_1λ1​, λn\lambda_nλn​ and the smoothing parameter on EuclideanSpace ℝ (Fin n), a proof that Definition 2.10 is well posed, and a statement of Banaszczyk's transference theorem. The upper bound of the transference theorem is a substantial result in its own right (the paper cites it without proof), and a formal proof of it would be reusable well beyond this mission.

Difficulty

The first inequality of the goal is elementary once the smoothing parameter is known to be attained, with ρ1/η(L∗∖{0})=ϵ\rho_{1/\eta}(L^*\setminus\{0\}) = \epsilonρ1/η​(L∗∖{0})=ϵ exactly. That step is not a formality: it needs the continuity and strict monotonicity of an infinite lattice sum in the scale parameter, and the fact that a shortest nonzero dual vector exists, both of which rest on the discreteness of L∗L^*L∗.

The second inequality is a single line in the paper, "by Lemma 2.3", but it uses the upper bound of Banaszczyk's theorem, applied to the dual lattice. The easy lower bound 1≤λ1(L)λn(L∗)1 \le \lambda_1(L)\lambda_n(L^*)1≤λ1​(L)λn​(L∗) does not suffice, and a Minkowski-type argument gives a bound worse than linear in nnn. Applying the lemma to L∗L^*L∗ also needs L∗L^*L∗ to be a lattice with dual LLL.

Formalization scope

  • Rn\mathbb{R}^nRn is EuclideanSpace ℝ (Fin n). A lattice is L : Submodule ℤ _ with [DiscreteTopology L] [IsZLattice ℝ L]. The dual is LinearMap.BilinForm.dualSubmodule (innerₗ _) L.
  • Every theorem assumes 0<n0 < n0<n: the paper's lattices are nnn-dimensional with n≥1n \ge 1n≥1. This is the only added hypothesis.
  • Gaussian sums are real tsums. They are summable over discrete subgroups, so no summability hypotheses are added.
  • ηϵ(L)\eta_\epsilon(L)ηϵ​(L), λ1\lambda_1λ1​ and λn\lambda_nλn​ are infima (sInf). The paper's "smallest" is the attainment proved in milestones 1 and 2, not built into the definition. λ1\lambda_1λ1​ and λn\lambda_nλn​ are defined for every Z\mathbb{Z}Z-submodule, so they apply to L∗L^*L∗ without extra instances.
  • For ϵ≥1\epsilon \ge 1ϵ≥1 the paper's ln⁡(1/ϵ)/π\sqrt{\ln(1/\epsilon)/\pi}ln(1/ϵ)/π​ is the square root of a non-positive number; Lean's Real.sqrt gives 000 there and the goal reduces to true statements. No hypothesis ϵ<1\epsilon < 1ϵ<1 is added, since the page says "any ϵ>0\epsilon > 0ϵ>0".
  • The goal is a conjunction of both inequalities of the chain, not only the outer comparison ηϵ(L)≥ln⁡(1/ϵ)/π λn(L)/n\eta_\epsilon(L) \ge \sqrt{\ln(1/\epsilon)/\pi}\,\lambda_n(L)/nηϵ​(L)≥ln(1/ϵ)/π​λn​(L)/n, which would be weaker. Lemma 2.3 states both bounds; stating only the easy lower bound would leave the goal's second inequality without its milestone.
  • No printed statement needed correction.

Contributions welcome: the attainment of λ1\lambda_1λ1​ and λn\lambda_nλn​ for IsZLattice (and for the dual), the identity (L∗)∗=L(L^*)^* = L(L∗)∗=L in this setting, continuity and monotonicity of Gaussian lattice sums, and above all Banaszczyk's transference theorem.

Selected references

  • O. Regev, On Lattices, Learning with Errors, Random Linear Codes, and Cryptography, J. ACM 56(6), Article 34, 2009. https://doi.org/10.1145/1568318.1568324
  • W. Banaszczyk, New bounds in some transference theorems in the geometry of numbers, Math. Ann. 296, 625–635, 1993. https://doi.org/10.1007/BF01445125
  • D. Micciancio, O. Regev, Worst-case to average-case reductions based on Gaussian measures, SIAM J. Comput. 37(1), 267–302, 2007. https://doi.org/10.1137/S0097539705447360
7 thms1 active userReviewed
AlgebraTheoretical Computer Science·Captain: mikedeng1

Factoring Polynomials with Rational Coefficients III: A Reduced Basis of the Lattice of Multiples of h mod p^k Finds the Irreducible Factor h₀ = gcd(b₁, …, b_t)Research Paper

Motivation

Factoring a polynomial with rational coefficients into irreducible factors is one of the basic tasks of computer algebra. Before 1982 the standard method (Berlekamp's algorithm modulo a small prime, Hensel lifting, then recombination of the ppp-adic factors, as in Zassenhaus's approach) could take exponential time, because the number of ways to recombine modular factors grows exponentially with the number of factors. A. K. Lenstra, H. W. Lenstra, Jr. and L. Lovász gave the first deterministic polynomial-time algorithm for factoring primitive polynomials in Z[X]\mathbb Z[X]Z[X] (Math. Ann. 261, 1982). Its key idea is to replace recombination by a search for a short vector in a lattice, and the lattice basis reduction algorithm introduced for that purpose (the LLL algorithm) has since become a standard tool in number theory, cryptanalysis and integer programming.

Section 2 of the paper, Factors and Lattices, is the bridge between the two halves: it shows that an irreducible factor of fff can be read off from a reduced basis of a lattice built from a ppp-adic factor of fff. This mission formalizes that section.

Timeline. Mignotte (1974) bounded the coefficients of a factor of an integer polynomial in terms of the polynomial itself. A. K. Lenstra (Mathematisch Centrum report IW 190/81, 1981, Theorem 2) proved the weaker statement that, under the same conditions, a short lattice vector has a nontrivial gcd with fff. LLL (1982) proved the sharper Propositions (2.7), (2.13) and (2.16) used here, which pin down the irreducible factor h0h_0h0​ itself.

Setting

For g=∑iaiXig=\sum_i a_iX^ig=∑i​ai​Xi with real coefficients, the length of ggg is ∣g∣=(∑iai2)1/2|g|=(\sum_i a_i^2)^{1/2}∣g∣=(∑i​ai2​)1/2. For a positive integer qqq, (g mod q)(g\bmod q)(gmodq) is the polynomial over Z/qZ\mathbb Z/q\mathbb ZZ/qZ obtained by reducing every coefficient modulo qqq.

Throughout, ppp is a prime number, kkk a positive integer, and f∈Z[X]f\in\mathbb Z[X]f∈Z[X] a polynomial of degree n>0n>0n>0. A polynomial h∈Z[X]h\in\mathbb Z[X]h∈Z[X] is fixed with

  • (2.1) hhh has leading coefficient 111;
  • (2.2) (h mod pk)(h\bmod p^k)(hmodpk) divides (f mod pk)(f\bmod p^k)(fmodpk) in (Z/pkZ)[X](\mathbb Z/p^k\mathbb Z)[X](Z/pkZ)[X];
  • (2.3) (h mod p)(h\bmod p)(hmodp) is irreducible in Fp[X]\mathbb F_p[X]Fp​[X];
  • (2.4) (h mod p)2(h\bmod p)^2(hmodp)2 does not divide (f mod p)(f\bmod p)(fmodp) in Fp[X]\mathbb F_p[X]Fp​[X].

Write l=deg⁡hl=\deg hl=degh, so 0<l≤n0<l\le n0<l≤n. Proposition (2.5) shows that fff has an irreducible factor h0∈Z[X]h_0\in\mathbb Z[X]h0​∈Z[X] with (h mod p)∣(h0 mod p)(h\bmod p)\mid(h_0\bmod p)(hmodp)∣(h0​modp), unique up to sign; this is the factor the section recovers.

Fix an integer m≥lm\ge lm≥l. The lattice LLL is the set of polynomials g∈Z[X]g\in\mathbb Z[X]g∈Z[X] of degree at most mmm such that (h mod pk)(h\bmod p^k)(hmodpk) divides (g mod pk)(g\bmod p^k)(gmodpk). Identifying ∑i=0maiXi\sum_{i=0}^m a_iX^i∑i=0m​ai​Xi with (a0,…,am)∈Rm+1(a_0,\dots,a_m)\in\mathbb R^{m+1}(a0​,…,am​)∈Rm+1, LLL is a lattice of rank m+1m+1m+1 with basis {pkXi:0≤i<l}∪{hXj:0≤j≤m−l}\{p^kX^i:0\le i<l\}\cup\{hX^j:0\le j\le m-l\}{pkXi:0≤i<l}∪{hXj:0≤j≤m−l} and determinant pklp^{kl}pkl.

A basis b1,…,bm+1b_1,\dots,b_{m+1}b1​,…,bm+1​ of LLL is reduced if its Gram–Schmidt data bi∗b_i^*bi∗​, μij=(bi,bj∗)/(bj∗,bj∗)\mu_{ij}=(b_i,b_j^*)/(b_j^*,b_j^*)μij​=(bi​,bj∗​)/(bj∗​,bj∗​) satisfy ∣μij∣≤12|\mu_{ij}|\le\frac12∣μij​∣≤21​ for j<ij<ij<i and ∣bi∗+μi i−1bi−1∗∣2≥34∣bi−1∗∣2|b_i^*+\mu_{i\,i-1}b_{i-1}^*|^2\ge\frac34|b_{i-1}^*|^2∣bi∗​+μii−1​bi−1∗​∣2≥43​∣bi−1∗​∣2 for 1<i≤m+11<i\le m+11<i≤m+1.

Formalization targets

Goal: Proposition (2.16)

Assume

(2.14)pkl>2mn/2(2mm)n/2∣f∣m+n,\text{(2.14)}\qquad p^{kl}>2^{mn/2}\binom{2m}{m}^{n/2}|f|^{m+n},(2.14)pkl>2mn/2(m2m​)n/2∣f∣m+n,

that b1,…,bm+1b_1,\dots,b_{m+1}b1​,…,bm+1​ is a reduced basis of LLL, and that some jjj satisfies

(2.17)∣bj∣<(pkl/∣f∣m)1/n.\text{(2.17)}\qquad |b_j|<\big(p^{kl}/|f|^m\big)^{1/n}.(2.17)∣bj​∣<(pkl/∣f∣m)1/n.

If ttt is the largest such jjj, then

deg⁡h0=m+1−t,h0=gcd⁡(b1,…,bt),\deg h_0=m+1-t,\qquad h_0=\gcd(b_1,\dots,b_t),degh0​=m+1−t,h0​=gcd(b1​,…,bt​),

and (2.17) holds for all 1≤j≤t1\le j\le t1≤j≤t.

Milestones

  1. (2.5): existence and uniqueness of h0h_0h0​, and for g∣fg\mid fg∣f the equivalence of (h mod p)∣(g mod p)(h\bmod p)\mid(g\bmod p)(hmodp)∣(gmodp), (h mod pk)∣(g mod pk)(h\bmod p^k)\mid(g\bmod p^k)(hmodpk)∣(gmodpk) and h0∣gh_0\mid gh0​∣g.
  2. (2.11): inside the proof of (2.7), the elements of M={λf+μb}M=\{\lambda f+\mu b\}M={λf+μb} of degree below e+le+le+l lie in pkZ[X]p^k\mathbb Z[X]pkZ[X].
  3. (2.7): if b∈Lb\in Lb∈L and pkl>∣f∣m∣b∣np^{kl}>|f|^m|b|^npkl>∣f∣m∣b∣n then h0∣bh_0\mid bh0​∣b.
  4. Mignotte's bound: a divisor ggg of fff with deg⁡g≤m\deg g\le mdegg≤m has ∣g∣≤(2mm)1/2∣f∣|g|\le\binom{2m}{m}^{1/2}|f|∣g∣≤(m2m​)1/2∣f∣.
  5. (2.13): under (2.14), deg⁡h0≤m\deg h_0\le mdegh0​≤m if and only if ∣b1∣<(pkl/∣f∣m)1/n|b_1|<(p^{kl}/|f|^m)^{1/n}∣b1​∣<(pkl/∣f∣m)1/n.
  6. (2.18): #J≤m+1−deg⁡h1\#J\le m+1-\deg h_1#J≤m+1−degh1​ for linearly independent bjb_jbj​ divisible by h1h_1h1​.
  7. (2.19): if deg⁡h0≤m\deg h_0\le mdegh0​≤m, then {1,…,m+1−deg⁡h0}⊂J\{1,\dots,m+1-\deg h_0\}\subset J{1,…,m+1−degh0​}⊂J.

Companion items: the basis of LLL and d(L)=pkld(L)=p^{kl}d(L)=pkl (2.6), and the remark that for t=1t=1t=1 the vector b1b_1b1​ is itself an irreducible factor of fff.

Significance

Proposition (2.16) is what makes the factoring algorithm of Sect. 3 correct: running the reduction for increasing mmm, the first mmm for which (2.15) holds produces h0h_0h0​ by one gcd computation, and repeating on f/h0f/h_0f/h0​ factors fff completely. Together with the polynomial running time of basis reduction (missions I and II of this series), it yields the polynomial-time factoring theorem (3.6). Proposition (2.7) on its own is a general principle, often reused: a polynomial that is divisible by hhh modulo pkp^kpk and has small norm relative to pklp^{kl}pkl must share the factor h0h_0h0​ with fff.

All results here are proved in the paper and standard in textbooks (e.g. von zur Gathen and Gerhard, Modern Computer Algebra). To our knowledge there is no machine-checked proof of (2.7), (2.13) or (2.16) in Lean or Mathlib. Mathlib has Hensel-type lemmas and the Mahler measure, including a coefficient-wise Mignotte bound and Landau's inequality, but not the ℓ2\ell^2ℓ2 form of Mignotte's bound used here, nor any of the lattice statements. A Lean development of this section would be the algebraic core of a verified LLL factoring theorem.

Difficulty

The obvious argument for (2.7) is to bound the resultant of fff and bbb: it is divisible by pklp^{kl}pkl when they share a factor modulo pkp^kpk, and bounded by ∣f∣m∣b∣n|f|^m|b|^n∣f∣m∣b∣n by Hadamard. That argument gives only gcd⁡(f,b)≠1\gcd(f,b)\ne1gcd(f,b)=1, the weaker version of [8], not that h0h_0h0​ divides bbb. The paper's sharper statement needs a lattice MMM of combinations λf+μb\lambda f+\mu bλf+μb, the projection to its top coefficients, and the congruence argument (2.11) that forces the low-degree elements of MMM into pkZ[X]p^k\mathbb Z[X]pkZ[X]; formalizing it requires determinant and Hadamard bounds for a lattice of rank n+m′−2en+m'-2en+m′−2e inside a space of polynomials.

Mignotte's ℓ2\ell^2ℓ2 bound needs the Mahler measure and the inequality ∣g∣≤(2dd)1/2M(g)|g|\le\binom{2d}{d}^{1/2}M(g)∣g∣≤(d2d​)1/2M(g), which is not the coefficient-wise form available in Mathlib. The step (2.19) needs Proposition (1.12) on reduced bases, which is the goal of mission I. The final part of (2.16) needs the primitivity of the basis vectors, which depends on LLL being exactly the set of multiples of hhh modulo pkp^kpk of degree at most mmm.

Formalization scope

Polynomials are Polynomial ℤ; (g mod q)(g\bmod q)(gmodq) is g.map (Int.castRingHom (ZMod q)); ∣g∣|g|∣g∣ is the square root of the sum of the squares of the coefficients over the support. Degrees are natDegree, except in (2.11), where degree with values in WithBot ℕ keeps deg⁡0=−∞\deg 0=-\inftydeg0=−∞ as on the page. A polynomial of degree at most mmm is identified with its coefficient vector in EuclideanSpace ℝ (Fin (m + 1)). Linear independence of b1,…,bm+1b_1,\dots,b_{m+1}b1​,…,bm+1​ is over R\mathbb RR on coefficient vectors; "basis for LLL" means in LLL, independent, and spanning LLL over Z\mathbb ZZ. Gram–Schmidt vectors are Mathlib's unnormalised InnerProductSpace.gramSchmidt.

Indices are 0-based: the paper's b1b_1b1​ is b 0. The index ttt of (2.16) is kept as the paper's 1-based value, 1≤t≤m+11\le t\le m+11≤t≤m+1, so deg⁡h0=m+1−t\deg h_0=m+1-tdegh0​=m+1−t appears unchanged. The powers 2mn/22^{mn/2}2mn/2, (2mm)n/2\binom{2m}{m}^{n/2}(m2m​)n/2, (2mm)1/2\binom{2m}{m}^{1/2}(m2m​)1/2 and (⋅)1/n(\cdot)^{1/n}(⋅)1/n are real powers with real exponents.

The standing assumptions are hypotheses of every item that involves ppp, kkk or hhh: ppp prime, k≥1k\ge1k≥1, deg⁡f>0\deg f>0degf>0, (2.1)–(2.4), m≥lm\ge lm≥l. Mignotte's bound (which assumes only f≠0f\ne0f=0) and (2.18) (pure linear algebra on polynomials of degree at most mmm) do not need them. The factor h0h_0h0​ is any irreducible h0∈Z[X]h_0\in\mathbb Z[X]h0​∈Z[X] with h0∣fh_0\mid fh0​∣f and (h mod p)∣(h0 mod p)(h\bmod p)\mid(h_0\bmod p)(hmodp)∣(h0​modp). A gcd is stated by its universal property (divides each, and every common divisor divides it), which determines it up to sign. Two milestones are stated slightly more generally than the page: Mignotte's bound for every divisor of degree at most mmm, and (2.18) for every nonzero common divisor h1h_1h1​.

The goal does not assume (2.7), (2.13), Mignotte's bound, (2.18) or (2.19); these are milestones. A trivial formalization in which h0h_0h0​ is an arbitrary divisor of fff, or in which "reduced basis" is asserted of a family that need not be a basis of LLL, is ruled out by the definitions.

Needed infrastructure: Hensel-type arguments over Z/pkZ\mathbb Z/p^k\mathbb ZZ/pkZ, Gauss's lemma, the Mahler measure, Hadamard's inequality, and Proposition (1.12) on reduced bases. The lattice determinant results and the ℓ2\ell^2ℓ2 Mignotte bound are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs of the missing Mathlib infrastructure.

Selected references

  • A. K. Lenstra, H. W. Lenstra, Jr., L. Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982), 515–534. https://doi.org/10.1007/BF01457454
  • M. Mignotte, An inequality about factors of polynomials, Math. Comp. 28 (1974), 1153–1157 (reference [10] of the paper).
  • D. E. Knuth, The Art of Computer Programming, Vol. 2, Seminumerical Algorithms, Addison-Wesley, 1981, Exercise 4.6.2.20 (reference [7] of the paper).
  • A. K. Lenstra, Lattices and factorization of polynomials, Report IW 190/81, Mathematisch Centrum, Amsterdam, 1981 (reference [8] of the paper; its Theorem 2 is the weaker form of (2.7)).
  • J. von zur Gathen, J. Gerhard, Modern Computer Algebra, 3rd ed., Cambridge University Press, 2013, Ch. 16 (textbook treatment).
9 thms1 active userReviewed
Captain: Lucas

Brocard's Conjecture: Four Primes Between Consecutive Prime SquaresOpen Problem

Motivation

For n≥1n \ge 1n≥1 let pnp_npn​ denote the nnn-th prime. Brocard's conjecture, named after Henri Brocard, asserts that for every n≥2n \ge 2n≥2 there are at least four primes strictly between pn2p_n^2pn2​ and pn+12p_{n+1}^2pn+12​ (Wikipedia). It belongs to the family of "primes between consecutive squares" problems together with Legendre's conjecture, and it is a concrete, elementary-looking question about short-interval prime distribution that remains open.

Timeline

  • Early 20th century — Brocard states the conjecture.
  • 2023 — L. A. Ferreira (arXiv:2307.08725) proves that the conjecture holds for all sufficiently large nnn.

Setting

Primes are listed in increasing order. In the Lean development the list is 0-indexed: Nat.nth Nat.Prime k is the kkk-th prime counting from 000, so nth 0 = 2, nth 1 = 3, nth 2 = 5, and so on. For an index nnn write prev=\mathrm{prev} = prev= n.nth Nat.Prime and next=\mathrm{next} = next= (n+1).nth Nat.Prime, two consecutive primes. The quantity of interest is

#{ q prime:prev2<q<next2 }.\#\{\, q \text{ prime} : \mathrm{prev}^2 < q < \mathrm{next}^2 \,\}.#{q prime:prev2<q<next2}.

Target

Milestone (Ferreira): for all sufficiently large indices nnn,

4≤#{ q prime:prev2<q<next2 }.4 \le \#\{\, q \text{ prime} : \mathrm{prev}^2 < q < \mathrm{next}^2 \,\}.4≤#{q prime:prev2<q<next2}.

Goal (Brocard's conjecture): the same inequality for every 0-indexed n≥1n \ge 1n≥1, i.e. for every pair of consecutive primes starting from (3,5)(3,5)(3,5).

Significance

A proof of the goal settles Brocard's conjecture outright. Given Ferreira's asymptotic result, the remaining work splits into making the threshold effective and closing the finite range below it, both of which would be new formal content; the milestone itself (formalizing Ferreira's analytic argument) is a substantial analytic-number-theory formalization project.

Difficulty

Unconditional results on primes in short intervals [x,x+xθ][x, x + x^{\theta}][x,x+xθ] only reach exponents θ\thetaθ well above 1/21/21/2, while the interval (pn2,pn+12)(p_n^2, p_{n+1}^2)(pn2​,pn+12​) has length about 2pngn2 p_n g_n2pn​gn​ where gn=pn+1−png_n = p_{n+1} - p_ngn​=pn+1​−pn​ can be small (e.g. twin primes), i.e. length on the order of the square root of its endpoint. Standard short-interval theorems therefore do not apply uniformly, and Legendre's conjecture — which would only give two primes here — is itself open.

Formalization scope

Everything is stated with Mathlib's Nat.nth Nat.Prime, Finset.Ioo (open interval, endpoints excluded) and Finset.filter Nat.Prime, followed by Finset.card. The hypothesis 1 ≤ n in the goal is the 0-indexed form of the source's "n≥2n \ge 2n≥2"; it is necessary, since for index 000 (primes 2,32, 32,3) the interval (4,9)(4, 9)(4,9) contains only the two primes 5,75, 75,7. The milestone uses Filter.atTop ("for all sufficiently large nnn"), with no explicit threshold. No custom definitions are required.

Selected references

  • Brocard's conjecture, Wikipedia. https://en.wikipedia.org/wiki/Brocard%27s_conjecture
  • L. A. Ferreira, Real exponential sums over primes and prime gaps, arXiv:2307.08725 (2023). https://arxiv.org/abs/2307.08725
  • Statement adapted from the Formal Conjectures project (Apache-2.0), file BrocardConjecture.lean.
4 thms1 active userReviewed
Dynamical SystemsProbability·Captain: mysticflounder

Tao 2022: Almost All Collatz Orbits Attain Almost Bounded ValuesResearch Paper

Motivation

The Collatz map sends an even positive integer nnn to n/2n/2n/2 and an odd one to 3n+13n+13n+1. The Collatz conjecture asserts that every orbit of this map eventually reaches 111. It remains an open problem.

Because the conjecture is open, a large part of the literature proves weaker statements that hold for almost all starting values. These results bound how small an orbit gets, not whether it reaches 111. They are the strongest unconditional evidence for the conjecture. Terence Tao's 2022 theorem is the strongest result of this type: outside a set of logarithmic density zero, every orbit drops below any prescribed function that tends to infinity, however slowly (Tao 2022).

Timeline

Attributions follow the survey in Tao 2022, Section 1. Here Colmin⁡(N)\mathrm{Col}_{\min}(N)Colmin​(N) is the least value in the orbit of NNN.

  • 1976 to 1979, Terras and Everett. Colmin⁡(N)<N\mathrm{Col}_{\min}(N) < NColmin​(N)<N for almost all NNN, in natural density.
  • 1979, Allouche. Colmin⁡(N)<Nθ\mathrm{Col}_{\min}(N) < N^{\theta}Colmin​(N)<Nθ for almost all NNN, for every θ>0.869\theta > 0.869θ>0.869.
  • 1994, Korec. The same bound for every θ>log⁡3/log⁡4≈0.7924\theta > \log 3/\log 4 \approx 0.7924θ>log3/log4≈0.7924.
  • 2019 preprint, 2022 publication, Tao. The power NθN^{\theta}Nθ is replaced by any f(N)→∞f(N) \to \inftyf(N)→∞, in logarithmic density instead of natural density (Forum of Mathematics, Pi 10, e12).
  • 2026, ProofAtlas. A complete machine-checked proof of Tao's theorem in Lean 4 is published (formalization record).

Setting

Let collatzStep:N→N\mathrm{collatzStep} : \mathbb{N} \to \mathbb{N}collatzStep:N→N be

collatzStep(n)={n/2n even,3n+1n odd.\mathrm{collatzStep}(n) = \begin{cases} n/2 & n \text{ even},\\ 3n+1 & n \text{ odd}. \end{cases}collatzStep(n)={n/23n+1​n even,n odd.​

Write collatzStep[k]\mathrm{collatzStep}^{[k]}collatzStep[k] for the kkk-fold iterate, with collatzStep[0](n)=n\mathrm{collatzStep}^{[0]}(n) = ncollatzStep[0](n)=n. The orbit of nnn is the set of values collatzStep[k](n)\mathrm{collatzStep}^{[k]}(n)collatzStep[k](n) for k≥0k \ge 0k≥0. It includes nnn itself.

The Syracuse map acts on odd integers. It sends an odd nnn to the odd part of 3n+13n+13n+1, which is syracuseStep(n)=(3n+1)/2ν2(3n+1)\mathrm{syracuseStep}(n) = (3n+1)/2^{\nu_2(3n+1)}syracuseStep(n)=(3n+1)/2ν2​(3n+1). The Syracuse orbit minimum syracuseOrbitMin(n)\mathrm{syracuseOrbitMin}(n)syracuseOrbitMin(n) is the least value syracuseStep[k](n)\mathrm{syracuseStep}^{[k]}(n)syracuseStep[k](n) over k≥0k \ge 0k≥0.

For a set AAA of positive integers and a real cutoff x≥2x \ge 2x≥2, the logarithmic mass of AAA up to xxx is

weightedLogMassReal(x)=1log⁡x∑1≤n≤xn∈A1n.\mathrm{weightedLogMassReal}(x) = \frac{1}{\log x} \sum_{\substack{1 \le n \le x \\ n \in A}} \frac{1}{n}.weightedLogMassReal(x)=logx1​1≤n≤xn∈A​∑​n1​.

A set of positive integers has logarithmic density ddd when this quantity tends to ddd as x→∞x \to \inftyx→∞. Since ∑n≤x1/n=log⁡x+O(1)\sum_{n \le x} 1/n = \log x + O(1)∑n≤x​1/n=logx+O(1), all positive integers together have logarithmic density 111, and the odd positive integers have logarithmic density 1/21/21/2.

A function f:N→Rf : \mathbb{N} \to \mathbb{R}f:N→R tends to infinity on positive inputs when for every real MMM there is an NNN such that f(n)>Mf(n) > Mf(n)>M for all n≥Nn \ge Nn≥N with n>0n > 0n>0.

Formalization targets

Goal: Tao's Theorem 1.3

For every fff that tends to infinity on positive inputs,

lim⁡x→∞1log⁡x∑1≤n≤x∃k, collatzStep[k](n)<f(n)1n=1.\lim_{x \to \infty} \frac{1}{\log x} \sum_{\substack{1 \le n \le x \\ \exists k,\ \mathrm{collatzStep}^{[k]}(n) < f(n)}} \frac{1}{n} = 1.x→∞lim​logx1​1≤n≤x∃k, collatzStep[k](n)<f(n)​∑​n1​=1.

This is the Lean theorem collatz_almost_bounded_logarithmic. It fixes no rate and no constant, so later improvements do not invalidate it.

Syracuse form: Tao's Theorem 1.6

For every fff that tends to infinity on odd positive inputs, the odd nnn whose Syracuse orbit contains a value below f(n)f(n)f(n) have logarithmic density 1/21/21/2, which is all of the odd integers. This is syracuse_almost_bounded_logarithmic.

Quantitative form: Tao's Theorem 3.1

There are constants C,c>0C, c > 0C,c>0 such that for all real M≥2M \ge 2M≥2 and x≥2x \ge 2x≥2,

1log⁡x∑1≤n≤x, n oddsyracuseOrbitMin(n)>M1n≤C(log⁡M)c.\frac{1}{\log x} \sum_{\substack{1 \le n \le x,\ n \text{ odd} \\ \mathrm{syracuseOrbitMin}(n) > M}} \frac{1}{n} \le \frac{C}{(\log M)^{c}}.logx1​1≤n≤x, n oddsyracuseOrbitMin(n)>M​∑​n1​≤(logM)cC​.

This is syracuse_uniform_logarithmic_tail_bound. The three targets are listed from weakest to strongest. In Tao's paper, the goal and Theorem 1.6 both follow from Theorem 3.1.

Significance

The result. Theorem 1.3 improves the earlier almost-all bounds on Collatz orbit minima from a power of NNN to any function that tends to infinity. For example, Colmin⁡(N)<log⁡log⁡log⁡log⁡N\mathrm{Col}_{\min}(N) < \log\log\log\log NColmin​(N)<loglogloglogN for almost all NNN. The theorem does not settle the conjecture. A single divergent orbit or nontrivial cycle is not excluded, because its predecessors form a set with bounded orbit minima.

The formalization. The theorem is proved, and a complete formalization already exists. The ProofAtlas record Tao's Almost-Bounded Collatz Orbits proves the statement taoAlmostBoundedColMin_checked with the same step map and an orbit that includes its starting value. That package has 397 first-party Lean files and about 124,000 source lines. ProofAtlas records a passing build with no sorry and the axiom profile propext, Classical.choice, Quot.sound. The source is released under the Apache-2.0 licence at commit d53c8de00056fb05999e44589f2399d7efa026e4, with copyright held by Advameg, Inc. It was built with Lean v4.30.0-rc2.

The remaining work for this mission is therefore a port, not new mathematics. The existing Lean development must be moved to Lean v4.33.1 and Mathlib 0df444a, and then connected to the goal statement above.

Difficulty

The mathematical difficulty is already resolved in the existing proof. The classical first-descent argument shows that a typical orbit drops below its starting value. Repeating that argument fails, because after one descent the new value is no longer distributed like a random integer of its size, and the error compounds at each repetition. That is why earlier results stop at a power bound NθN^{\theta}Nθ.

The difficulty of this mission is engineering. The port moves a development of about 124,000 lines forward across three minor Lean releases and the corresponding Mathlib changes. Lemma renames, deprecations, and changes in tactic behaviour must be repaired file by file without changing any statement.

Formalization scope

  • Step map. collatzStep n = if Even n then n / 2 else 3 * n + 1, so collatzStep(0)=0\mathrm{collatzStep}(0) = 0collatzStep(0)=0. This is the same definition as in the ProofAtlas source.
  • Orbit. The witness kkk ranges over all natural numbers, including k=0k = 0k=0.
  • Density. The goal uses weightedLogMassReal: a real cutoff xxx, the natural indices 0≤n≤⌊x⌋0 \le n \le \lfloor x \rfloor0≤n≤⌊x⌋, weights 1/n1/n1/n, and normalization by log⁡x\log xlogx. The ProofAtlas statement instead uses integer cutoffs and normalization by the harmonic sum ∑n≤N1/n\sum_{n \le N} 1/n∑n≤N​1/n. A short bridge between the two normalizations is part of the required work.
  • Threshold. The hypothesis on fff constrains only positive inputs. The value f(0)f(0)f(0) is irrelevant.
  • Non-triviality. The case k=0k = 0k=0 alone covers only inputs with n<f(n)n < f(n)n<f(n). For slowly growing fff this set is finite, so the goal is not satisfied by the starting value.

The goal is already reduced, through accepted proofs, to the single open statement syracuse_uniform_logarithmic_tail_bound. Two routes therefore close the mission. The first is to port the ProofAtlas development and prove the goal directly through the density bridge. The second is to prove Theorem 3.1 in its stated form. Contributions welcome include ported modules as reusable solutions, the density bridge, and a proof of Theorem 3.1. Every ported file must keep the Apache-2.0 notice and attribution to the ProofAtlas source.

Selected references

  • Terence Tao, Almost all orbits of the Collatz map attain almost bounded values, Forum of Mathematics, Pi 10 (2022), e12. https://doi.org/10.1017/fmp.2022.8 and https://arxiv.org/abs/1909.03562
  • ProofAtlas, Tao's Almost-Bounded Collatz Orbits, Lean 4 formalization, source commit d53c8de00056fb05999e44589f2399d7efa026e4, Apache-2.0, 2026. https://proofatlas.ai/formalizations/tao-almost-bounded-orbits/
  • Jeffrey C. Lagarias (editor), The Ultimate Challenge: The 3x+1 Problem, American Mathematical Society, 2010. https://bookstore.ams.org/MBK/78
7 thms1 active userReviewed
PreviousPage 3 of 4Next

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