Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Number Theory

170 missions · 89 completed

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

Missions

Open81Completed89All170
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Integer Factorization: Why Two-Item Joint Replenishment Is Hard 3: M Has a Divisor in [L, U] iff an Explicit Two-Item Periodic JRP Instance Has a Plan of Cost at Most L + U + 2M²(M + 1)Research Paper

Why the two-item periodic JRP is hard

The joint replenishment problem (JRP) is the multi-item extension of the economic order quantity (EOQ) model. Each item is reordered periodically and pays its own ordering and holding costs, and a joint ordering cost is shared by items ordered at the same time. Before this work no hardness result was known for the periodic JRP (p. 10), even though no exact polynomial-time algorithm was known either (Schulz and Telha, arXiv:2007.09045; Operations Research, 2024, as Integer Factorization: Why Two-Item Joint Replenishment Is Hard).

The paper explains this through number theory. In the periodic JRP the joint cost is incurred every gcd⁡(q1,q2)\gcd(q_1, q_2)gcd(q1​,q2​) periods, so the objective contains a greatest common divisor of the decision variables. The paper's Theorem 2 states that, assuming the Riemann hypothesis, the two-item periodic JRP is NP-hard under randomized reductions. The proof composes two reductions:

  • Shor's reduction from Partition to RangeDivisor ("does MMM have a divisor in [L,U][L, U][L,U]?"), given in the paper's appendix and based on Shor (2011); this is where the Riemann hypothesis enters;
  • a reduction from RangeDivisor to the two-item periodic JRP, whose correctness is Lemma 3 (pp. 13–14).

This mission formalizes Lemma 3. Mission 4 of this series formalizes the Partition half; missions 1 and 2 formalize the integer-factorization reductions behind Theorem 1.

Setting

A period is a positive integer qqq. An item with ordering cost KKK and holding cost HHH costs

EOQK,H(q)=Kq+Hq\mathrm{EOQ}_{K,H}(q) = \frac{K}{q} + HqEOQK,H​(q)=qK​+Hq

per unit time. The two-item periodic JRP (objective (3), p. 10) minimizes, over q1,q2∈Z+q_1, q_2 \in \mathbb{Z}_+q1​,q2​∈Z+​,

JRP(q1,q2)=EOQK1,H1(q1)+EOQK2,H2(q2)+K0gcd⁡(q1,q2).\mathrm{JRP}(q_1, q_2) = \mathrm{EOQ}_{K_1,H_1}(q_1) + \mathrm{EOQ}_{K_2,H_2}(q_2) + \frac{K_0}{\gcd(q_1, q_2)}.JRP(q1​,q2​)=EOQK1​,H1​​(q1​)+EOQK2​,H2​​(q2​)+gcd(q1​,q2​)K0​​.

As a decision problem (p. 13), it asks whether some (q1,q2)(q_1, q_2)(q1​,q2​) has cost at most a threshold zzz.

An instance of RangeDivisor (p. 12) is a triple of integers M≥U≥L>0M \ge U \ge L > 0M≥U≥L>0 satisfying

L+U<22LU;L + U < 2\sqrt{2LU};L+U<22LU​;

it is a yes-instance when MMM has a divisor qqq with L≤q≤UL \le q \le UL≤q≤U.

Given such a triple, the instance JRPM,U,L\mathrm{JRP}_{M,U,L}JRPM,U,L​ sets

K0=LU,K1=0,H1=1,K2=M3(M+1),H2=M(M+1),K_0 = LU,\quad K_1 = 0,\quad H_1 = 1,\quad K_2 = M^3(M+1),\quad H_2 = M(M+1),K0​=LU,K1​=0,H1​=1,K2​=M3(M+1),H2​=M(M+1),

and the threshold is zM,L,U=L+U+2M2(M+1)z_{M,L,U} = L + U + 2M^2(M+1)zM,L,U​=L+U+2M2(M+1), where 2M2(M+1)=EOQK2,H2(M)2M^2(M+1) = \mathrm{EOQ}_{K_2,H_2}(M)2M2(M+1)=EOQK2​,H2​​(M). Once item 2 is fixed at q2=Mq_2 = Mq2​=M, item 1 solves problem (5):

min⁡q1∈Z+ LUgcd⁡(q1,M)+q1.\min_{q_1 \in \mathbb{Z}_+} \ \frac{LU}{\gcd(q_1, M)} + q_1 .q1​∈Z+​min​ gcd(q1​,M)LU​+q1​.

In Lean these objects are JRPHard.Aperiodic.eoq, JRPHard.Periodic.periodicCost, JRPHard.Periodic.coefK2, JRPHard.Periodic.coefH2 (shared with missions 1 and 2), and IsRangeDivisorInstance, HasDivisorIn, coefK0, rangeCost, threshold, obj5 and fConv in the namespace JRPHard.RangeDiv.

Formalization targets

Goal: Lemma 3

For every RangeDivisor instance (M,L,U)(M, L, U)(M,L,U),

K0, K2, H2≤2M4and(∃ q∣M, L≤q≤U)  ⟺  (∃ q1,q2∈Z+: JRPM,U,L(q1,q2)≤L+U+2M2(M+1)).K_0,\ K_2,\ H_2 \le 2M^4 \quad\text{and}\quad \Big(\exists\, q \mid M,\ L \le q \le U\Big) \iff \Big(\exists\, q_1, q_2 \in \mathbb{Z}_+:\ \mathrm{JRP}_{M,U,L}(q_1, q_2) \le L + U + 2M^2(M+1)\Big).K0​, K2​, H2​≤2M4and(∃q∣M, L≤q≤U)⟺(∃q1​,q2​∈Z+​: JRPM,U,L​(q1​,q2​)≤L+U+2M2(M+1)).

Milestones (the steps of the proof, pp. 14–15)

  1. Item 2 is pinned: every plan with q2≠Mq_2 \ne Mq2​=M costs more than zM,L,Uz_{M,L,U}zM,L,U​.
  2. f(q)=LU/q+qf(q) = LU/q + qf(q)=LU/q+q is a lower bound on problem (5)'s objective, f(L)=f(U)=L+Uf(L) = f(U) = L + Uf(L)=f(U)=L+U, and fff is minimized at LU\sqrt{LU}LU​.
  3. gcd⁡(q,M)≠q⇒gcd⁡(q,M)≤q/2\gcd(q, M) \ne q \Rightarrow \gcd(q, M) \le q/2gcd(q,M)=q⇒gcd(q,M)≤q/2.
  4. If gcd⁡(q,M)≠q\gcd(q, M) \ne qgcd(q,M)=q, the objective of (5) at qqq is at least 22LU>L+U2\sqrt{2LU} > L + U22LU​>L+U.
  5. A divisor q∈[L,U]q \in [L, U]q∈[L,U] of MMM has objective at most L+UL + UL+U.
  6. A period with objective at most L+UL + UL+U divides MMM and lies in [L,U][L, U][L,U].

Significance

Lemma 3 is the step that carries hardness from number theory to inventory theory. With Shor's result it shows that, under the Riemann hypothesis, no polynomial-time exact algorithm for the two-item periodic JRP exists unless NP problems can be solved in randomized polynomial time. The paper concludes (p. 15) that no algorithm for the two-item problem may be simultaneously exact and polynomial on all inputs, so some concession, such as heuristics, must be made.

The result is proved in the paper; it has not been machine-checked. The mission produces a checked statement of the reduction's correctness with every coefficient explicit, and it corrects two imprecisions in the printed lemma (the threshold and the unspecified "sufficiently large" coefficients of item 2; see below). The objects (eoq, periodicCost) are the same ones used in mission 2 of this series.

Difficulty

Each step is elementary, but the statement mixes integer and real reasoning. The objective of (5) is not monotone or convex in qqq: its value jumps between LU/q+qLU/q + qLU/q+q at divisors of MMM and at least 2LU/q+q2LU/q + q2LU/q+q elsewhere. The argument must show that the gap between these two curves exceeds the window around L+UL + UL+U, and this is exactly what RangeDivisor's condition L+U<22LUL + U < 2\sqrt{2LU}L+U<22LU​ provides. Without that condition a non-divisor can be cheaper than L+UL + UL+U (for L=1L = 1L=1, U=100U = 100U=100, M=7M = 7M=7, the period q=14q = 14q=14 has objective 100/7+14<101100/7 + 14 < 101100/7+14<101). The pinning of q2=Mq_2 = Mq2​=M also has to beat the slack M+2LUM + 2\sqrt{LU}M+2LU​ against L+UL + UL+U, which is where M≥UM \ge UM≥U is used.

Formalization scope

This mission formalizes the correctness of the reduction behind Theorem 2 (its JRP half, Lemma 3); polynomial running time is not formalized. Theorem 2 itself, Shor's NP-completeness of RangeDivisor under randomized reductions, and "one can construct in polynomial time" are not stated. What remains of the polynomial-time claim is the explicit coefficients and the bound K0,K2,H2≤2M4K_0, K_2, H_2 \le 2M^4K0​,K2​,H2​≤2M4 (bit length at most 4log⁡2M+24\log_2 M + 24log2​M+2).

Conventions:

  • periods are natural numbers, and every quantified period is assumed positive (Lean's K/0=0K/0 = 0K/0=0 and gcd⁡(0,M)=M\gcd(0, M) = Mgcd(0,M)=M would otherwise create spurious cheap plans);
  • costs are real numbers; LLL, UUU, MMM and the coefficients are natural numbers cast to R\mathbb{R}R;
  • RangeDivisor's condition is stated with Real.sqrt exactly as printed;
  • "the optimal value is at most zzz" is the decision form "some plan has cost at most zzz" (p. 13); the minimum is attained, so the two agree.

Two disclosed departures from the printed lemma:

  • The threshold. The page writes "the optimal value of JRPM,U,L≤L+U\mathrm{JRP}_{M,U,L} \le L + UJRPM,U,L​≤L+U". The two-item cost also contains item 2's term 2M2(M+1)2M^2(M+1)2M2(M+1), so the literal comparison never holds and would make the lemma false. The threshold is zM,L,U=L+U+2M2(M+1)z_{M,L,U} = L + U + 2M^2(M+1)zM,L,U​=L+U+2M2(M+1), the zM,L,Uz_{M,L,U}zM,L,U​ announced in §3.1.
  • The item-2 coefficients. The page chooses "sufficiently large values of K2K_2K2​ and H2H_2H2​, as in … Lemma 2". The statement fixes Lemma 2's values K2=M3(M+1)K_2 = M^3(M+1)K2​=M3(M+1), H2=M(M+1)H_2 = M(M+1)H2​=M(M+1) rather than quantifying existentially, which would let any instance satisfy the lemma.

A formalization that drops the positivity of periods, states the threshold as L+UL + UL+U on the full two-item cost, or leaves K2,H2K_2, H_2K2​,H2​ existential does not capture Lemma 3 and is ruled out.

No library beyond Mathlib (Nat.gcd, Real.sqrt) is needed. Proofs of the milestones, and alternative proofs of the goal, are welcome.

Selected references

  • A. S. Schulz and C. Telha, Integer factorization and Riemann's hypothesis: Why two-item joint replenishment is hard, arXiv:2007.09045v1, 2020; published as Integer Factorization: Why Two-Item Joint Replenishment Is Hard, Operations Research, 2024. https://arxiv.org/abs/2007.09045
  • P. W. Shor, An NP-complete variant of factoring, Theoretical Computer Science Stack Exchange, 2011 (version 2011-03-01, as cited by the paper). https://cstheory.stackexchange.com/q/4785
  • S. Arora and B. Barak, Computational Complexity: A Modern Approach, Cambridge University Press, 2009. https://doi.org/10.1017/CBO9780511804090
10 thms4 active usersReviewed
Captain: Lucas

Lindelöf Hypothesis (Wikipedia): Growth of ζ on the Critical LineOpen Problem

Motivation

The Riemann zeta function ζ(s)\zeta(s)ζ(s) governs the distribution of prime numbers, and the size of ζ\zetaζ on the critical line Re⁡s=12\operatorname{Re}s=\tfrac12Res=21​ controls error terms throughout analytic number theory. In 1908 Ernst Lindelöf asked how fast ∣ζ(12+it)∣|\zeta(\tfrac12+it)|∣ζ(21​+it)∣ can grow as t→∞t\to\inftyt→∞ and conjectured that it grows more slowly than every positive power of ttt. This Lindelöf hypothesis is a consequence of the Riemann hypothesis but is strictly weaker in its formulation, and it is open. It has equivalent forms in terms of zeros of ζ\zetaζ (Backlund) and in terms of moments of ζ\zetaζ on the critical line, and it implies bounds for gaps between consecutive primes (Ingham) and the zero-density hypothesis.

Timeline (as recorded in the source, Wikipedia: Lindelöf hypothesis):

  • 1908: Lindelöf proves the convexity bound μ(12)≤14\mu(\tfrac12)\le\tfrac14μ(21​)≤41​ and formulates the conjecture μ(12)=0\mu(\tfrac12)=0μ(21​)=0.
  • 1916, 1923: Hardy and Littlewood lower the bound to 16\tfrac1661​ using Weyl's method for exponential sums.
  • 1918–1919: Backlund shows the conjecture is equivalent to a statement on the number of zeros to the right of the critical line.
  • 1924–1985: Walfisz, Titchmarsh, Phillips, Rankin, Min, Haneke and Kolesnik make successive small improvements below 16\tfrac1661​.
  • 1986: Bombieri and Iwaniec reach 956\tfrac{9}{56}569​.
  • 2002, 2005: Huxley reaches 32205\tfrac{32}{205}20532​.
  • 2017: Bourgain reaches 1384≈0.1548\tfrac{13}{84}\approx0.15488413​≈0.1548, the best bound recorded in the source.
  • 1940, 1971, 2024: zero-density estimates of Ingham, Huxley and Guth–Maynard approach the density hypothesis, which the Lindelöf hypothesis would imply.

Setting

ζ(s)\zeta(s)ζ(s) is the analytic continuation to C∖{1}\mathbb C\setminus\{1\}C∖{1} of ∑n≥1n−s\sum_{n\ge1}n^{-s}∑n≥1​n−s (Re⁡s>1\operatorname{Re}s>1Res>1). The Lindelöf hypothesis states that for every ε>0\varepsilon>0ε>0,

ζ ⁣(12+it)=O ⁣(tε)(t→+∞).\zeta\!\left(\tfrac12+it\right)=O\!\left(t^{\varepsilon}\right)\qquad(t\to+\infty).ζ(21​+it)=O(tε)(t→+∞).

For real σ\sigmaσ the growth exponent is

μ(σ)=inf⁡{a∈R: ζ(σ+iT)=O(Ta) (T→+∞)},\mu(\sigma)=\inf\bigl\{a\in\mathbb R:\ \zeta(\sigma+iT)=O(T^{a})\ (T\to+\infty)\bigr\},μ(σ)=inf{a∈R: ζ(σ+iT)=O(Ta) (T→+∞)},

taken in the extended reals. The source records that μ(σ)=0\mu(\sigma)=0μ(σ)=0 for σ>1\sigma>1σ>1, that μ(σ)=μ(1−σ)−σ+12\mu(\sigma)=\mu(1-\sigma)-\sigma+\tfrac12μ(σ)=μ(1−σ)−σ+21​ (functional equation), and that μ\muμ is convex (Phragmén–Lindelöf). The Lindelöf hypothesis is the statement μ(12)=0\mu(\tfrac12)=0μ(21​)=0.

Zeros ρ\rhoρ of ζ\zetaζ are counted with multiplicity (order of vanishing). N(σ,T)N(\sigma,T)N(σ,T) denotes the number of zeros with Re⁡ρ≥σ\operatorname{Re}\rho\ge\sigmaReρ≥σ and ∣Im⁡ρ∣≤T|\operatorname{Im}\rho|\le T∣Imρ∣≤T. pnp_npn​ is the nnn-th prime and gn=pn+1−png_n=p_{n+1}-p_ngn​=pn+1​−pn​.

Formalization targets

Goal: the Lindelöf hypothesis

∀ε>0 ∃C>0 ∀t≥1:∣ζ ⁣(12+it)∣≤C tε.\forall\varepsilon>0\ \exists C>0\ \forall t\ge1:\quad \left|\zeta\!\left(\tfrac12+it\right)\right|\le C\,t^{\varepsilon}.∀ε>0 ∃C>0 ∀t≥1:​ζ(21​+it)​≤Ctε.

This is the existing platform theorem lindelof_hypothesis, referenced as the goal. It is equivalent to the big-OOO form above, which is the published definition RiemannVonMangoldt.LindelofHypothesis used by the milestones.

Milestones

  1. Reformulations: the little-ooo form; μ(12)=0\mu(\tfrac12)=0μ(21​)=0; Backlund's zero-count form (o(log⁡T)o(\log T)o(logT) zeros with Re⁡ρ≥12+ε\operatorname{Re}\rho\ge\tfrac12+\varepsilonReρ≥21​+ε, T≤Im⁡ρ≤T+1T\le\operatorname{Im}\rho\le T+1T≤Imρ≤T+1); the moment form 1T∫0T∣ζ(12+it)∣2kdt=O(Tε)\frac1T\int_0^T|\zeta(\tfrac12+it)|^{2k}dt=O(T^{\varepsilon})T1​∫0T​∣ζ(21​+it)∣2kdt=O(Tε) for all k≥1k\ge1k≥1.
  2. Properties of μ\muμ: μ(σ)=0\mu(\sigma)=0μ(σ)=0 for σ>1\sigma>1σ>1, μ(1)=0\mu(1)=0μ(1)=0, μ(0)=12\mu(0)=\tfrac12μ(0)=21​, the functional equation, convexity; under the hypothesis, μ(σ)=max⁡(0,12−σ)\mu(\sigma)=\max(0,\tfrac12-\sigma)μ(σ)=max(0,21​−σ).
  3. Known bounds: 0≤μ(12)≤140\le\mu(\tfrac12)\le\tfrac140≤μ(21​)≤41​ (Lindelöf), μ(12)≤16\mu(\tfrac12)\le\tfrac16μ(21​)≤61​ (Hardy–Littlewood), μ(12)≤1384\mu(\tfrac12)\le\tfrac{13}{84}μ(21​)≤8413​ (Bourgain).
  4. Known zero and moment results: O(log⁡T)O(\log T)O(logT) zeros with T≤Im⁡ρ≤T+1T\le\operatorname{Im}\rho\le T+1T≤Imρ≤T+1; the moment bound for k=1,2k=1,2k=1,2; the asymptotics of Littlewood (k=1k=1k=1) and Heath-Brown (k=2k=2k=2).
  5. Connections: the Riemann hypothesis implies the Lindelöf hypothesis; the Lindelöf hypothesis implies Ingham's prime-gap bound gn≪pn1/2+εg_n\ll p_n^{1/2+\varepsilon}gn​≪pn1/2+ε​ and the density hypothesis N(σ,T)≪T2(1−σ)+εN(\sigma,T)\ll T^{2(1-\sigma)+\varepsilon}N(σ,T)≪T2(1−σ)+ε; the unconditional density estimates of Ingham (32−σ\frac{3}{2-\sigma}2−σ3​), Huxley (33σ−1\frac{3}{3\sigma-1}3σ−13​, σ≥34\sigma\ge\tfrac34σ≥43​) and Guth–Maynard (3013\tfrac{30}{13}1330​).

Significance

A proof would give, among the consequences listed in the source, prime gaps gn≪pn1/2+εg_n\ll p_n^{1/2+\varepsilon}gn​≪pn1/2+ε​, the density hypothesis, and bounds for all moments of ζ\zetaζ on the critical line. Each improvement of the exponent μ(12)\mu(\tfrac12)μ(21​) feeds into error terms for divisor problems and primes in short intervals.

On the formal side, Mathlib provides ζ\zetaζ, its functional equation and the Phragmén–Lindelöf principle, which are the starting point for the milestones. The unconditional milestones (properties of μ\muμ, the convexity bound, the zero count in unit windows, the second moment) are classical theorems whose proofs can be formalized now; the bounds of Hardy–Littlewood and Bourgain and the density estimates are proved results with long proofs; the goal itself is open.

Difficulty

The convexity argument interpolates between the bound on Re⁡s=1+δ\operatorname{Re}s=1+\deltaRes=1+δ and its reflection through the functional equation, and it cannot give better than 14\tfrac1441​. Every improvement requires cancellation in exponential sums ∑n≤Nn−it\sum_{n\le N}n^{-it}∑n≤N​n−it of length about t\sqrt tt​, and current methods (Weyl, van der Corput, Bombieri–Iwaniec, decoupling) save only a fixed power. The hypothesis demands square-root cancellation up to tεt^{\varepsilon}tε, which is far beyond these methods. Backlund's reformulation shows it is only "slightly" stronger than the known O(log⁡T)O(\log T)O(logT) zero count in unit windows, yet that gap has not been closed.

Formalization scope

ζ\zetaζ is Mathlib's riemannZeta; the Riemann hypothesis is Mathlib's RiemannHypothesis. The definition file LindelofHypothesis_GrowthAndZeroCounts introduces μ(σ)\mu(\sigma)μ(σ) as an infimum in EReal (so degenerate cases are ±∞\pm\infty±∞, never a junk 000), zero counts as ℕ∞-valued sums of analyticOrderAt riemannZeta over the zero set (so an infinite count is ⊤\top⊤ and upper bounds cannot hold vacuously), and gng_ngn​ with primes indexed from 000. Asymptotics are along atTop, with t→+∞t\to+\inftyt→+∞; by ζ(sˉ)=ζ(s)‾\zeta(\bar s)=\overline{\zeta(s)}ζ(sˉ)=ζ(s)​ this covers t→−∞t\to-\inftyt→−∞. Where the source writes N(σ,T)≤N…N(\sigma,T)\le N^{\dots}N(σ,T)≤N… the base is read as TTT, and density bounds are stated with an implied constant. "μ\muμ is convex" is stated as: μ\muμ is finite and agrees with a convex real function. The source gives no σ\sigmaσ-range for Huxley's estimate; the range 34≤σ≤1\tfrac34\le\sigma\le143​≤σ≤1 of Huxley's theorem is used.

Contributions welcome: the basic theory of μ\muμ, Phragmén–Lindelöf for vertical strips specialized to ζ\zetaζ, Jensen-type zero counting, mean-value theorems for Dirichlet polynomials, and exponential-sum estimates.

Selected references

  • E. Lindelöf, Quelques remarques sur la croissance de la fonction ζ(s), Bull. Sci. Math. 32 (1908), 341–356.
  • G. H. Hardy, J. E. Littlewood, Contributions to the theory of the Riemann zeta-function and the theory of the distribution of primes, Acta Math. 41 (1916), 119–196. https://doi.org/10.1007/BF02422942
  • J. Bourgain, Decoupling, exponential sums and the Riemann zeta function, J. Amer. Math. Soc. 30 (2017), 205–224. https://doi.org/10.1090/jams/860
  • D. R. Heath-Brown, The fourth power moment of the Riemann zeta function, Proc. London Math. Soc. (3) 38 (1979), 385–422. https://doi.org/10.1112/plms/s3-38.3.385
  • L. Guth, J. Maynard, New large value estimates for Dirichlet polynomials (2024). https://arxiv.org/abs/2405.20552
  • E. C. Titchmarsh, The Theory of the Riemann Zeta-Function, 2nd ed., revised by D. R. Heath-Brown, Oxford University Press, 1986.
  • Wikipedia, Lindelöf hypothesis. https://en.wikipedia.org/wiki/Lindel%C3%B6f_hypothesis
26 thms4 active usersReviewed
🏆Completed
Algebra·Captain: mikedeng1

On Ideal Lattices and Learning with Errors over Rings: Multiplication by t ∈ I with tI⁻¹ Coprime to J Induces an R-Module Isomorphism M/JM ≅ IM/IJMResearch Paper

Background and motivation

Ring learning with errors (ring-LWE) is the algebraic variant of the learning-with-errors problem on which most practical lattice-based cryptography is built, including the key-encapsulation scheme ML-KEM standardized by NIST in 2024. Its hardness rests on the paper of Lyubashevsky, Peikert and Regev, On ideal lattices and learning with errors over rings (J. ACM 60(6), 2013, doi:10.1145/2535925; conference version at EUROCRYPT 2010). The paper's main theorem (Theorem 3.6, p. 19) is a polynomial-time quantum reduction from worst-case approximate shortest-vector problems on ideal lattices to the ring-LWE decision problem. Statements about reductions, running times and negligible probabilities are outside the scope of this mission.

What this mission formalizes is the algebraic tool both of the paper's reductions rest on, which the authors list among their main technical contributions (p. 7): a Chinese-remainder technique for clearing an ideal. An arbitrary ideal I\mathcal{I}I of the ring of integers RRR need not be principal, so a reduction that receives samples from a lattice I\mathcal{I}I cannot simply divide by a generator. Lemmas 2.14 and 2.15 show that, modulo an ideal J\mathcal{J}J such as ⟨q⟩\langle q\rangle⟨q⟩, multiplication by a well-chosen t∈It\in\mathcal{I}t∈I identifies R/qRR/qRR/qR with I/qI\mathcal{I}/q\mathcal{I}I/qI, and more generally M/JM\mathcal{M}/\mathcal{J}\mathcal{M}M/JM with IM/IJM\mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M}IM/IJM for every fractional ideal M\mathcal{M}M. Steps 1–3 of the BDD-to-LWE reduction of §4.2 consist of exactly these identifications. The authors note that the lemmas are "probably standard for experts in computational number theory" (p. 16); the formulation used in lattice cryptography is theirs, and it is reused throughout the later literature on algebraic lattices.

Setting

Let KKK be a number field of degree nnn and R=OKR = \mathcal{O}_KR=OK​ its ring of integers. An integral ideal is a nonzero ideal I⊆R\mathcal{I}\subseteq RI⊆R (the paper excludes {0}\{0\}{0}, footnote 2, p. 13). A fractional ideal is a set I⊂K\mathcal{I}\subset KI⊂K such that dId\mathcal{I}dI is an integral ideal for some nonzero d∈Rd\in Rd∈R; the nonzero fractional ideals form a group under multiplication, and I−1\mathcal{I}^{-1}I−1 denotes the inverse. Two integral ideals are coprime when I+J=R\mathcal{I}+\mathcal{J} = RI+J=R.

For t∈Rt\in Rt∈R the cleared ideal is t⋅I−1=⟨t⟩ I−1t\cdot\mathcal{I}^{-1} = \langle t\rangle\,\mathcal{I}^{-1}t⋅I−1=⟨t⟩I−1. When t∈It\in\mathcal{I}t∈I it is an integral ideal, and "t⋅I−1t\cdot\mathcal{I}^{-1}t⋅I−1 is coprime to J\mathcal{J}J" means

t⋅I−1⊆Randt⋅I−1+J=R.t\cdot\mathcal{I}^{-1}\subseteq R \quad\text{and}\quad t\cdot\mathcal{I}^{-1}+\mathcal{J}=R .t⋅I−1⊆Randt⋅I−1+J=R.

For a fractional ideal M\mathcal{M}M and t∈It\in\mathcal{I}t∈I, the map θt(u)=t⋅u\theta_t(u) = t\cdot uθt​(u)=t⋅u sends M\mathcal{M}M into IM\mathcal{I}\mathcal{M}IM, and therefore induces an RRR-linear map

θt: M⟶IM/IJM,u↦tu mod IJM.\theta_t:\ \mathcal{M}\longrightarrow \mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M},\qquad u\mapsto t u \bmod \mathcal{I}\mathcal{J}\mathcal{M}.θt​: M⟶IM/IJM,u↦tumodIJM.

The dual of a fractional ideal L\mathcal{L}L is L∨={x∈K:Tr⁡(xL)⊆Z}\mathcal{L}^\vee = \{x\in K:\operatorname{Tr}(x\mathcal{L})\subseteq\mathbb{Z}\}L∨={x∈K:Tr(xL)⊆Z}; R∨R^\veeR∨ is the codifferent, and I∨=I−1R∨\mathcal{I}^\vee = \mathcal{I}^{-1}R^\veeI∨=I−1R∨. For the cyclotomic field K=Q(ζ)K=\mathbb{Q}(\zeta)K=Q(ζ), ζ\zetaζ a primitive mmm-th root of unity, τk\tau_kτk​ (k∈Zm∗k\in\mathbb{Z}_m^*k∈Zm∗​) is the automorphism with τk(ζ)=ζk\tau_k(\zeta)=\zeta^kτk​(ζ)=ζk, and for a prime q≡1(modm)q\equiv 1\pmod mq≡1(modm) with a primitive mmm-th root of unity ω∈Zq\omega\in\mathbb{Z}_qω∈Zq​ the primes above qqq are qi=⟨q,ζ−ωi⟩\mathfrak{q}_i = \langle q,\zeta-\omega^i\rangleqi​=⟨q,ζ−ωi⟩, i∈Zm∗i\in\mathbb{Z}_m^*i∈Zm∗​. Calligraphic I,J,M\mathcal{I},\mathcal{J},\mathcal{M}I,J,M of the paper are written I, J, M in the milestone texts.

Formalization targets

Goal: Lemma 2.15 (p. 17)

For nonzero ideals I,J⊆R\mathcal{I},\mathcal{J}\subseteq RI,J⊆R, t∈It\in\mathcal{I}t∈I with t⋅I−1t\cdot\mathcal{I}^{-1}t⋅I−1 coprime to J\mathcal{J}J, and a nonzero fractional ideal M\mathcal{M}M,

θt: M→IM/IJM is surjective with kernel JM,soM/JM  ≅  IM/IJM\theta_t:\ \mathcal{M}\to\mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M}\ \text{is surjective with kernel}\ \mathcal{J}\mathcal{M},\quad\text{so}\quad \mathcal{M}/\mathcal{J}\mathcal{M}\;\cong\;\mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M}θt​: M→IM/IJM is surjective with kernel JM,soM/JM≅IM/IJM

as RRR-modules, via u mod JM↦tu mod IJMu\bmod\mathcal{J}\mathcal{M}\mapsto tu\bmod\mathcal{I}\mathcal{J}\mathcal{M}umodJM↦tumodIJM.

Milestones

  1. The existence content of Lemma 2.13 (a coprime pair has c∈Jc\in\mathcal{J}c∈J with c≡1 mod Ic\equiv 1\bmod\mathcal{I}c≡1modI), already proved on the platform and entered as a reference. Lemma 2.12 (Chinese Remainder Theorem) is also included as a reference item, without being a milestone.
  2. Lemma 2.14 (p. 16): for nonzero I,J\mathcal{I},\mathcal{J}I,J there exists a nonzero t∈It\in\mathcal{I}t∈I with t⋅I−1t\cdot\mathcal{I}^{-1}t⋅I−1 coprime to J\mathcal{J}J.
  3. The kernel claim of the proof of Lemma 2.15: u∈Mu\in\mathcal{M}u∈M and tu∈IJMtu\in\mathcal{I}\mathcal{J}\mathcal{M}tu∈IJM imply u∈JMu\in\mathcal{J}\mathcal{M}u∈JM.
  4. The surjectivity claim of the proof: if c∈t⋅I−1c\in t\cdot\mathcal{I}^{-1}c∈t⋅I−1 and c≡1 mod Jc\equiv1\bmod\mathcal{J}c≡1modJ, then for v∈IMv\in\mathcal{I}\mathcal{M}v∈IM, cv∈tMcv\in t\mathcal{M}cv∈tM and cv−v∈IJMcv-v\in\mathcal{I}\mathcal{J}\mathcal{M}cv−v∈IJM.

Companion statements

  • §4.2 step 2 (p. 23) and step 3 (p. 24): multiplication by ttt is a bijection R/qR→I/qIR/qR\to\mathcal{I}/q\mathcal{I}R/qR→I/qI and I∨/qI∨→R∨/qR∨\mathcal{I}^\vee/q\mathcal{I}^\vee\to R^\vee/qR^\veeI∨/qI∨→R∨/qR∨ for every integer q≥2q\ge2q≥2, the two instances of Lemma 2.15 the reduction uses.
  • Lemma 2.16 (p. 17): τj(qi)=qi/j\tau_j(\mathfrak{q}_i)=\mathfrak{q}_{i/j}τj​(qi​)=qi/j​ for all i,j∈Zm∗i,j\in\mathbb{Z}_m^*i,j∈Zm∗​.
  • Lemma 2.9 (p. 14): n1/pN(I)1/n≤λ1(I)≤n1/pN(I)1/nΔK1/nn^{1/p}N(\mathcal{I})^{1/n}\le\lambda_1(\mathcal{I})\le n^{1/p}N(\mathcal{I})^{1/n}\sqrt{\Delta_K^{1/n}}n1/pN(I)1/n≤λ1​(I)≤n1/pN(I)1/nΔK1/n​​ in every ℓp\ell_pℓp​ norm, p∈[1,∞]p\in[1,\infty]p∈[1,∞], stated as two items.

Significance

The isomorphism of Lemma 2.15 is what makes ideal lattices usable in worst-case to average-case reductions: it turns a discrete Gaussian sample from an arbitrary ideal I\mathcal{I}I into a uniform element of the fixed ring RqR_qRq​, and turns the ring-LWE secret in Rq∨R^\vee_qRq∨​ back into a coset of qI∨q\mathcal{I}^\veeqI∨. Lemma 2.16 is the corresponding tool for the search-to-decision reductions of §5, which move between the CRT components R/qiR/\mathfrak{q}_iR/qi​ of a completely split qqq. Lemma 2.9 gives the scale of the lattices involved.

On the formal side, none of Lemmas 2.14–2.16 is stated on the platform or in Mathlib in this form. Mathlib has the Chinese remainder theorem for ideals, inverses of fractional ideals in Dedekind domains, trace duals with I∨=I−1R∨\mathcal{I}^\vee=\mathcal{I}^{-1}R^\veeI∨=I−1R∨, and the isomorphism Gal(Q(ζm)/Q)≅(Z/mZ)∗\mathrm{Gal}(\mathbb{Q}(\zeta_m)/\mathbb{Q})\cong(\mathbb{Z}/m\mathbb{Z})^*Gal(Q(ζm​)/Q)≅(Z/mZ)∗; the mission connects these to the quotient modules and explicit primes that lattice cryptography works with. All statements are proved in the paper; what remains is the formal proof.

Difficulty

The obvious argument for Lemma 2.15 — both quotients have cardinality N(J)N(\mathcal{J})N(J), so an injective map is bijective — needs the multiplicativity of the norm on fractional ideals and finiteness of the quotients, and still needs the kernel computation, which uses unique factorization: from tu∈IJMtu\in\mathcal{I}\mathcal{J}\mathcal{M}tu∈IJM one has to cancel I\mathcal{I}I and M\mathcal{M}M inside the group of fractional ideals and then use coprimality of tI−1t\mathcal{I}^{-1}tI−1 and J\mathcal{J}J. Lemma 2.14 needs the factorization of I\mathcal{I}I along the primes of J\mathcal{J}J and a CRT choice of ttt; for J=0\mathcal{J}=0J=0 it would assert that I\mathcal{I}I is principal, which is why the nonzero convention matters. In Lemma 2.16 the delicate point is the direction of the action: τj\tau_jτj​ sends qi\mathfrak{q}_iqi​ to qi/j\mathfrak{q}_{i/j}qi/j​, not qij\mathfrak{q}_{ij}qij​.

Formalization scope

  • KKK is a NumberField, RRR is 𝓞 K, fractional ideals are FractionalIdeal (𝓞 K)⁰ K, and integral ideals are coerced into them. Ideals are nonzero, per footnote 2: every statement carries I ≠ ⊥ (and J ≠ ⊥, M ≠ 0 where the paper's convention applies); I ≠ ⊥ is essential because Lean defines 0−1=00^{-1}=00−1=0. Two kernel/surjectivity milestones drop the nonzero hypotheses on J\mathcal{J}J and M\mathcal{M}M, which only strengthens them.
  • "tI−1t\mathcal{I}^{-1}tI−1 coprime to J\mathcal{J}J" is the predicate ClearedCoprime: tI−1≤1t\mathcal{I}^{-1}\le 1tI−1≤1 and tI−1+J=1t\mathcal{I}^{-1}+\mathcal{J}=1tI−1+J=1 in the semiring of fractional ideals.
  • M/N\mathcal{M}/\mathcal{N}M/N is the quotient of the RRR-module M\mathcal{M}M by N∩M\mathcal{N}\cap\mathcal{M}N∩M; θt\theta_tθt​ is the given RRR-linear map M→IM/IJM\mathcal{M}\to\mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M}M→IM/IJM. The goal states surjectivity and the kernel of this map. A bare statement that some isomorphism M/JM≅IM/IJM\mathcal{M}/\mathcal{J}\mathcal{M}\cong\mathcal{I}\mathcal{M}/\mathcal{I}\mathcal{J}\mathcal{M}M/JM≅IM/IJM exists would be true for unrelated reasons and is not the lemma.
  • Duals are Mathlib's FractionalIdeal.dual ℤ ℚ. τj\tau_jτj​ is the inverse image of jjj under IsCyclotomicExtension.Rat.galEquivZMod, acting on ideals by images; ωi\omega^iωi uses the representative of iii in {0,…,m−1}\{0,\dots,m-1\}{0,…,m−1}. ℓp\ell_pℓp​ norms sum over all nnn complex embeddings; λ1\lambda_1λ1​ bounds are phrased through nonzero elements of I\mathcal{I}I.
  • Dropped algorithmic clauses: "such ttt can be found efficiently" (Lemma 2.14), "this isomorphism may be efficiently inverted" (Lemma 2.15), the "deterministic polynomial-time algorithm" of Lemma 2.13 (only the existence of ccc is referenced), and "which can be efficiently inverted" in §4.2. No complexity notion is encoded.
  • Contributions welcome: proofs of the milestones, of the goal from them, and of the companion statements; general lemmas on quotients M/JM\mathcal{M}/\mathcal{J}\mathcal{M}M/JM of fractional ideals are reusable beyond this mission.

Selected references

  • V. Lyubashevsky, C. Peikert, O. Regev, On ideal lattices and learning with errors over rings, J. ACM 60(6), Article 43, 2013. https://doi.org/10.1145/2535925
  • V. Lyubashevsky, C. Peikert, O. Regev, On ideal lattices and learning with errors over rings, EUROCRYPT 2010, LNCS 6110, pp. 1–23. https://doi.org/10.1007/978-3-642-13190-5_1
  • O. Regev, On lattices, learning with errors, random linear codes, and cryptography, J. ACM 56(6), 2009. https://doi.org/10.1145/1568318.1568324
  • NIST, FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard, 2024. https://doi.org/10.6028/NIST.FIPS.203
7 thms4 active usersReviewed
🏆Completed
CombinatoricsGroup Theory·Captain: mikedeng1

New Proofs of Plünnecke-type Estimates for Product Sets in Groups 1: In an Abelian Group, |A + B| ≤ α|A| Gives One Nonempty X ⊆ A with |X + hB| ≤ αʰ|X| for Every hResearch Paper

Motivation

A basic question of additive combinatorics asks how a set grows under repeated addition. If a finite set AAA in an abelian group satisfies ∣A+B∣≤α∣A∣|A + B| \le \alpha |A|∣A+B∣≤α∣A∣ for some finite set BBB, how large can the iterated sumsets hB=B+⋯+BhB = B + \cdots + BhB=B+⋯+B be? Plünnecke's inequality gives the answer used throughout the subject: some nonempty part of AAA grows by at most a factor α\alphaα per added copy of BBB. Combined with Ruzsa's triangle inequality it becomes the Plünnecke–Ruzsa inequality ∣mB−nB∣≤αm+n∣A∣|mB - nB| \le \alpha^{m+n}|A|∣mB−nB∣≤αm+n∣A∣, which underlies Freĭman-type structure theorems, sum–product estimates and the polynomial Freĭman–Ruzsa programme.

Timeline.

  • 1970: H. Plünnecke proves the inequality for iterated sumsets in abelian groups with a graph-theoretic method (commutative layered graphs and Menger's theorem).
  • 1989: I. Z. Ruzsa simplifies Plünnecke's argument and combines it with the triangle inequality to bound ∣mB−nB∣|mB - nB|∣mB−nB∣.
  • 2011: G. Petridis gives a short elementary proof, without graphs (arXiv:1101.3507, Combinatorica 32, 2012). His argument also shows that one subset X⊆AX \subseteq AX⊆A works for every number of summands hhh, and it extends to triple products CXBCXBCXB in non-abelian groups.

Setting

Let GGG be a group with finite subsets AAA, BBB, CCC. The product set is AB={ab:a∈A, b∈B}AB = \{ab : a \in A,\ b \in B\}AB={ab:a∈A, b∈B}, and ∣⋅∣|\cdot|∣⋅∣ denotes cardinality. In an abelian group, written additively, 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}, and for h≥0h \ge 0h≥0 the iterated sumset hBhBhB is B+⋯+BB + \cdots + BB+⋯+B with hhh summands, 0B={0}0B = \{0\}0B={0}. It is not the dilate {hb:b∈B}\{hb : b \in B\}{hb:b∈B}.

A nonempty subset X⊆AX \subseteq AX⊆A has minimal growth under BBB if

∣XB∣∣X∣≤∣ZB∣∣Z∣for every nonempty Z⊆A.\frac{|XB|}{|X|} \le \frac{|ZB|}{|Z|} \quad\text{for every nonempty } Z \subseteq A.∣X∣∣XB∣​≤∣Z∣∣ZB∣​for every nonempty Z⊆A.

Such an XXX exists whenever AAA is nonempty, since AAA has finitely many subsets. In Lean, GGG is a Group or AddCommGroup with decidable equality, the sets are Finset G with the pointwise operations of Mathlib (A * B, A + B, h • B), and cardinalities are #A cast to ℝ.

Formalization targets

Goal: Theorem 3.1

For finite AAA, BBB in an abelian group with AAA nonempty and ∣A+B∣≤α∣A∣|A + B| \le \alpha|A|∣A+B∣≤α∣A∣, there is a nonempty X⊆AX \subseteq AX⊆A with

∣X+hB∣≤αh∣X∣for every h≥0.|X + hB| \le \alpha^h |X| \qquad \text{for every } h \ge 0.∣X+hB∣≤αh∣X∣for every h≥0.

The point is the order of quantifiers: one XXX serves all hhh.

Milestones

  1. Proposition 2.1 (p. 5). If ∣XB∣/∣X∣≤∣ZB∣/∣Z∣|XB|/|X| \le |ZB|/|Z|∣XB∣/∣X∣≤∣ZB∣/∣Z∣ for every Z⊆XZ \subseteq XZ⊆X, then ∣CXB∣≤∣XB∣∣X∣ ∣CX∣|CXB| \le \frac{|XB|}{|X|}\,|CX|∣CXB∣≤∣X∣∣XB∣​∣CX∣ for every finite CCC, in any group. This is already on the platform, proved, as FamousTheorems.pluennecke_petridis (additive notation, cross-multiplied), and enters the mission as a reference.
  2. Theorem 1.5 (p. 3). In any group, ∣AB∣≤α∣A∣|AB| \le \alpha|A|∣AB∣≤α∣A∣ with AAA nonempty gives a nonempty X⊆AX \subseteq AX⊆A with
∣CXB∣≤α∣CX∣for every finite C.|CXB| \le \alpha |CX| \quad\text{for every finite } C.∣CXB∣≤α∣CX∣for every finite C.
  1. Inductive step of Theorem 3.1 (p. 7). For X⊆AX \subseteq AX⊆A of minimal growth and ∣A+B∣≤α∣A∣|A+B| \le \alpha|A|∣A+B∣≤α∣A∣:
∣X+hB∣≤α ∣X+(h−1)B∣(h≥1).|X + hB| \le \alpha\,|X + (h-1)B| \quad (h \ge 1).∣X+hB∣≤α∣X+(h−1)B∣(h≥1).

Significance

Theorem 3.1 is the form of Plünnecke's inequality used in applications. Two consequences follow directly. Taking A=BA = BA=B gives ∣hB∣≤αh∣B∣|hB| \le \alpha^h|B|∣hB∣≤αh∣B∣ whenever ∣2B∣≤α∣B∣|2B| \le \alpha|B|∣2B∣≤α∣B∣. Combining one XXX for all hhh with Ruzsa's triangle inequality gives ∣mB−nB∣≤αm+n∣A∣|mB - nB| \le \alpha^{m+n}|A|∣mB−nB∣≤αm+n∣A∣ (Theorem 1.2 of the paper). With a separate XXX for each hhh, the second step would need the same set for mmm and nnn, and that is exactly what Theorem 3.1 provides. Theorem 1.5 is the non-abelian ingredient: missions 2 and 3 of this series apply it to obtain explicit Plünnecke-type bounds for ∣Bh∣|B^h|∣Bh∣ and ∣SBh∣|SB^h|∣SBh∣ in arbitrary groups.

Formalizing it. The results are proved and classical. Mathlib already contains Proposition 2.1 (Finset.pluennecke_petridis_inequality_mul) and the Plünnecke–Ruzsa inequality Finset.pluennecke_ruzsa_inequality_nsmul_sub_nsmul_add. Its proof runs through a private lemma that bounds ∣X+hB∣|X + hB|∣X+hB∣ for one fixed minimiser, but no public statement in Mathlib or on the platform asserts Theorem 3.1 or Theorem 1.5 in the form "there exists a nonempty XXX for all hhh" (respectively "for all CCC"). This mission adds those statements as reusable, citable nodes in the paper's numbering.

Difficulty

A first attempt iterates the hypothesis directly: ∣A+2B∣≤α∣A+B∣|A + 2B| \le \alpha|A + B|∣A+2B∣≤α∣A+B∣ would follow if A+BA + BA+B again grew by a factor α\alphaα under BBB, but nothing controls the growth of A+BA + BA+B. The ratio ∣ZB∣/∣Z∣|ZB|/|Z|∣ZB∣/∣Z∣ is not monotone in ZZZ, and passing to subsets of AAA can only help if the subset is chosen correctly. Choosing a different good subset for each hhh gives Theorem 1.1 but loses the uniformity. The work is to show that one fixed subset controls all the products CXBCXBCXB simultaneously, and in the non-abelian Theorem 1.5 to keep the order of the factors CCC, XXX, BBB throughout.

Formalization scope

  • Theorem 3.1 and the inductive step are stated in an AddCommGroup with DecidableEq. Theorem 1.5 is stated in a Group, with no commutativity, as on the page. The factor order C⋅X⋅BC \cdot X \cdot BC⋅X⋅B is preserved.
  • hBhBhB is h • B (the hhh-fold sumset; 0 • B = {0}), and "for all hhh" ranges over all natural numbers, including the true case h=0h = 0h=0.
  • α\alphaα is an arbitrary real number; cardinalities are cast to ℝ. No hypothesis α≥1\alpha \ge 1α≥1 is added: it follows from the hypotheses once AAA and BBB are nonempty (with BBB empty they force only α≥0\alpha \ge 0α≥0, and every conclusion is still true).
  • Nonempty witness. The page says "there exists X⊆AX \subseteq AX⊆A". Since ∅+hB=∅\emptyset + hB = \emptyset∅+hB=∅, the empty set would satisfy the printed statements trivially, and that formalization is ruled out: the goal and Theorem 1.5 assume AAA nonempty and assert XXX nonempty, matching the paper's choice of XXX as a minimiser of a ratio defined on nonempty sets.
  • Minimal growth in the step milestone is written cross-multiplied, ∣X+B∣ ∣Z∣≤∣Z+B∣ ∣X∣|X+B|\,|Z| \le |Z+B|\,|X|∣X+B∣∣Z∣≤∣Z+B∣∣X∣, over nonempty Z⊆AZ \subseteq AZ⊆A; the step is stated for h≥1h \ge 1h≥1 with natural-number subtraction guarded by that hypothesis.
  • Ruzsa's covering lemma and Ruzsa's triangle inequality, quoted in §4, are in Mathlib (Finset.ruzsa_covering_mul, Finset.ruzsa_triangle_inequality_mul_mulInv_mul) and are not items of this mission.
  • No new definitions are needed. Welcome contributions: proofs of the three draft statements, and, separately, the deduction of Theorem 1.2 from Theorem 3.1.

Selected references

  • G. Petridis, New proofs of Plünnecke-type estimates for product sets in groups, arXiv:1101.3507v3, 2011; Combinatorica 32 (2012). https://arxiv.org/abs/1101.3507 , https://doi.org/10.1007/s00493-012-2818-5
  • H. Plünnecke, Eine zahlentheoretische Anwendung der Graphentheorie, J. Reine Angew. Math. 243 (1970) 171–183. https://doi.org/10.1515/crll.1970.243.171
  • I. Z. Ruzsa, An application of graph theory to additive number theory, Scientia, Ser. A 3 (1989) 97–109 (no online version).
  • T. Tao, V. Vu, Additive Combinatorics, Cambridge University Press, 2006. https://doi.org/10.1017/CBO9780511755149
4 thms4 active usersReviewed
Algebraic Geometry·Captain: Vas

Mazur’s Torsion Theorem: Full Classification and All Fifteen GroupsResearch Paper

Why rational torsion deserves a complete classification

An elliptic curve has rational solutions that can be added using a canonical group law. A torsion point is a rational solution that returns to the identity after a positive number of additions. These points form the finite part of the rational-point group and constrain which finite arithmetic configurations a curve can carry. Barry Mazur determined the possible groups uniformly over all elliptic curves defined over the rational numbers. The theorem is established mathematics; the remaining task is its complete formal proof, including the assertion that every permitted group occurs. The source is Theorem III.5.1 and its occurrence remark, printed page 156 of Modular curves and the Eisenstein ideal.

Curves, rational points, and finite additive order

A Weierstrass curve over the rational numbers is an equation

y2+a1xy+a3y=x3+a2x2+a4x+a6,y^2+a_1xy+a_3y=x^3+a_2x^2+a_4x+a_6,y2+a1​xy+a3​y=x3+a2​x2+a4​x+a6​,

where all five coefficients are rational. Its discriminant measures singularity. The curves in this mission have nonzero discriminant, so they are elliptic curves. The group E(Q)E(\mathbb Q)E(Q) consists of its rational points together with the distinguished point at infinity, which is the additive identity. The rational torsion subgroup is

E(Q)tors={P∈E(Q):∃n≥1, nP=0}.E(\mathbb Q)_{\mathrm{tors}}=\{P\in E(\mathbb Q):\exists n\ge1,\ nP=0\}.E(Q)tors​={P∈E(Q):∃n≥1, nP=0}.

This subgroup is formed using the actual rational-point group; it is not a separately supplied finite group or a collection of coordinate certificates.

The symbol Z/nZ\mathbb Z/n\mathbb ZZ/nZ denotes a cyclic group of order nnn, with its additive operation. A product of two such groups has componentwise addition. An additive group isomorphism is a bijection that preserves addition. Consequently, classifying a subgroup by an isomorphism identifies its complete group structure and its number of elements, rather than only the orders of selected points.

Formalization targets

For every elliptic curve E/QE/\mathbb QE/Q, the torsion subgroup must be finite and isomorphic to one of

Z/nZfor n∈{1,2,3,4,5,6,7,8,9,10,12},\mathbb Z/n\mathbb Z\quad\text{for }n\in\{1,2,3,4,5,6,7,8,9,10,12\},Z/nZfor n∈{1,2,3,4,5,6,7,8,9,10,12},

or

Z/2Z×Z/(2m)Zfor m∈{1,2,3,4}.\mathbb Z/2\mathbb Z\times\mathbb Z/(2m)\mathbb Z\quad\text{for }m\in\{1,2,3,4\}.Z/2Z×Z/(2m)Zfor m∈{1,2,3,4}.

Conversely, for every parameter in either displayed range, there must exist an elliptic curve over Q\mathbb QQ whose full rational torsion subgroup is isomorphic to that group. The curve may depend on the parameter. The goal combines unconditional finiteness, classification, and all fifteen occurrence cases. The cyclic case n=1n=1n=1 includes curves with trivial rational torsion. Occurrence requires equality of the entire torsion group up to isomorphism; constructing an embedding or a single point of the desired order does not meet that target.

The supporting point-order milestone is Corollary III.5.2, on the same source page: every rational point of positive finite order has order in the eleven-element cyclic list. Infinite-order points are outside that milestone's hypothesis. The four other milestone clauses separate finiteness, group classification, cyclic occurrence, and bicyclic occurrence so their contributions can be reviewed individually.

What the formal proof will provide

The final classification theorem will be available in the standard Lean vocabulary for rational elliptic curves, finite-order subgroups, cyclic groups, products, and additive equivalences. Its main downstream consumer is the canonical classification endpoint of the MazurTheorem repository. Occurrence supplies the converse needed for an exact list of possible groups. Together these results also give a torsion-cardinality bound of sixteen and uniformly exclude rational torsion configurations outside the list.

The existing repository contains substantial checked prerequisites and reductions. A prerequisite receives credit according to its actual hypotheses, conclusion, and connection to the acceptance theorem. This campaign does not treat the full classification as already formalized, and it does not treat locally checked source as a platform-verified contribution before transfer and verification. Existing proofs should be reused with their attribution and dependency graph intact. Open definitions and unproved mathematical comparisons must remain visible as obligations.

The remaining difficulty

Finite-abelian-group classification alone cannot establish which groups arise from an arbitrary rational elliptic curve. The crucial arithmetic exclusions require connecting concrete rational points with genuine arithmetic-geometric objects. A theorem about a supplied quotient or Jacobian does not construct that quotient or Jacobian; an interface that assumes a missing comparison leaves that comparison unproved. The foundational work includes represented modular curves, Jacobians and Picard functors, integral models, specialization, and the arithmetic needed to exclude prohibited point orders. These requirements reflect the mathematical source and the repository's current proof architecture.

The occurrence direction has a different verification obligation. Explicit rational points and order computations must be supplemented by a proof that the curve is nonsingular and that its entire rational torsion subgroup has precisely the claimed shape. Machine arithmetic and external tables can guide the selection of examples, but the published occurrence theorem must have a checked proof.

Formalization scope and contribution boundaries

Curves are Mathlib's WeierstrassCurve ℚ with IsElliptic; rational points are (E⁄ℚ).Point. Torsion is AddCommGroup.torsion, the cyclic groups are the additive groups of ZMod, and isomorphisms are additive equivalences. The target definition bundle repeats the repository's fifteen-group vocabulary in a campaign namespace. A checked compatibility bridge identifies its classification predicate with the repository's canonical predicate. This definition boundary exists solely to state platform obligations faithfully; its named consumers are the campaign goal and the repository's classification endpoint.

The goal has no supplied finiteness, rank, reduction, modularity, semistability, point-order classification, or group-classification hypothesis. Finiteness is an explicit conclusion. The numerical expression Set.ncard ≤ 16 is only a corollary: Set.ncard is zero on infinite sets, so that expression alone cannot certify this mission's completion. Checked proofs must have no placeholders, custom axioms, unchecked computation, or proof-strengthening options. The permitted foundational dependencies are propext, Quot.sound, and Classical.choice; open targets are displayed separately from their eventual proofs.

The repository's execution ledger remains the source of contributor assignment. Its selected foundations are the coherent-cohomology-to-Jacobian lane and the represented-modular-curve lane. Contracts marked paused remain paused unless the maintainers explicitly revise their assignment. Platform milestones describe mathematical completion obligations, not automatic authorization to claim every repository task. Contributors can close occurrence examples, reuse checked arithmetic reductions, and advance selected foundational packages with a concrete downstream consumer. Progress must track integrated obligations rather than code volume or the number of generated statements. Licenses, source commits, original authors, and upstream notices must accompany all transferred proofs.

Selected references

  • Barry Mazur, Modular curves and the Eisenstein ideal, Publications Mathématiques de l'IHÉS 47 (1977), 33–186. Part III, §5, Theorem (5.1), the following occurrence remark, and Corollary (5.2), printed p. 156. DOI; Numdam.
  • Daniel S. Kubert, Universal bounds on the torsion of elliptic curves, Proceedings of the London Mathematical Society (3) 33 (1976), 193–237, especially Chapter IV's rational parametrizations, cited by Mazur's occurrence remark. DOI.
  • Vasily Ilin and contributors, MazurTheorem, public Lean formalization. Repository; campaign source snapshot 54d43d8dda8a6fcf069cc02a815f850d762c5c0c. Existing uncommitted changes are excluded from source-snapshot claims.
227 thms4 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 14.797074 (Rhin–Viola 1993)Research Paper

Motivation

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

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

The campaign's first proved value is Mahler's 424242. This entry records Rhin–Viola's bound.

Formalization target

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

Value. The paper's Theorem states exactly that 7.3985377.3985377.398537 is an effective irrationality measure of ζ(2)\zeta(2)ζ(2), "whence 14.79707414.79707414.797074 is an effective irrationality measure of π\piπ". The value is used as stated, with no rounding.

How the bound arises

Rhin and Viola prove that 7.3985377.3985377.398537 is an effective irrationality measure of ζ(2)=π2/6\zeta(2) = \pi^2/6ζ(2)=π2/6, using a birational transformation acting on Beukers' double integrals and semi-infinite linear programming to optimise the arithmetic. A measure μ\muμ for π2\pi^2π2 gives 2μ2\mu2μ for π\piπ (if ∣π−p/q∣|\pi - p/q|∣π−p/q∣ is small then ∣π2−p2/q2∣|\pi^2 - p^2/q^2|∣π2−p2/q2∣ is small with denominator q2q^2q2), hence their 2×7.398537=14.7970742 \times 7.398537 = 14.7970742×7.398537=14.797074.

Significance

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

Selected references

  • G. Rhin, C. Viola, On the irrationality measure of ζ(2)\zeta(2)ζ(2), Ann. Inst. Fourier (Grenoble) 43 (1993), no. 1, 85–109. https://doi.org/10.5802/aif.1322
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
13 thms4 active usersReviewed
🏆Completed
Dynamical SystemsMathematical Physics·Captain: Lucas

Ablowitz–Chakravarty–Halburd: the Chazy–Ramanujan correspondence and the Darboux–Halphen reduction of self-dual Yang–MillsResearch Paper

Motivation

In 1985 R. S. Ward conjectured that "many (and perhaps all?) of the ordinary and partial differential equations that are regarded as being integrable or solvable may be obtained from the self-dual gauge field equations (or its generalizations) by reduction". The self-dual Yang–Mills (SDYM) equations are therefore often called the master integrable system: choosing a gauge algebra and a symmetry group to reduce by produces, on the one hand, the classical soliton equations and the Painlevé transcendents, and on the other — once infinite-dimensional gauge algebras are allowed — a family of third-order equations whose solutions have movable natural barriers and are therefore not of Painlevé type.

This mission formalizes the endpoint of one such reduction chain, as surveyed by Ablowitz, Chakravarty and Halburd, Integrable systems and reductions of the self-dual Yang–Mills equations, J. Math. Phys. 44 (2003) 3147–3173, Section V. Reducing SDYM to functions of a single variable gives the Nahm equations; taking the gauge algebra to be the divergence-free vector fields on S3S^3S3 turns them into a matrix flow which, after diagonalizing the symmetric part, becomes the generalized Darboux–Halphen system. Its trace is governed by the Chazy equation, written down by Chazy in 1909, and — this is the paper's historical observation — the Chazy equation is equivalent to the differential system Ramanujan derived in 1916 for the Eisenstein series P=E2P = E_2P=E2​, Q=E4Q = E_4Q=E4​, R=E6R = E_6R=E6​. Chazy and Ramanujan worked on the same equation at nearly the same time and apparently did not know it.

Setting

Throughout, ttt and qqq are complex variables and all functions are complex-valued; a "solution on sss" means the stated derivative identities hold at every point of a set s⊆Cs \subseteq \mathbb{C}s⊆C.

The classical Chazy equation is the third-order equation

d3ydt3=2y d2ydt2−3(dydt)2.\frac{d^3y}{dt^3} = 2y\,\frac{d^2y}{dt^2} - 3\left(\frac{dy}{dt}\right)^2 .dt3d3y​=2ydt2d2y​−3(dtdy​)2.

The classical Darboux–Halphen system is the first-order system for ω1,ω2,ω3\omega_1,\omega_2,\omega_3ω1​,ω2​,ω3​

ω˙1=ω2ω3−ω1(ω2+ω3),\dot\omega_1 = \omega_2\omega_3 - \omega_1(\omega_2+\omega_3),ω˙1​=ω2​ω3​−ω1​(ω2​+ω3​),

together with its two cyclic images. It arose in Darboux's study of triply orthogonal surfaces and was solved by Halphen. Its generalized form adds a term τ2=τ12+τ22+τ32\tau^2 = \tau_1^2+\tau_2^2+\tau_3^2τ2=τ12​+τ22​+τ32​ to each right-hand side, where τ˙1=−τ1(ω2+ω3)\dot\tau_1 = -\tau_1(\omega_2+\omega_3)τ˙1​=−τ1​(ω2​+ω3​) and cyclically.

Ramanujan's system is

qdPdq=P2−Q12,qdQdq=PQ−R3,qdRdq=PR−Q22,q\frac{dP}{dq} = \frac{P^2-Q}{12},\qquad q\frac{dQ}{dq} = \frac{PQ-R}{3},\qquad q\frac{dR}{dq} = \frac{PR-Q^2}{2},qdqdP​=12P2−Q​,qdqdQ​=3PQ−R​,qdqdR​=2PR−Q2​,

satisfied by P(q)=1−24∑n≥1σ1(n)qnP(q) = 1-24\sum_{n\ge1}\sigma_1(n)q^nP(q)=1−24∑n≥1​σ1​(n)qn, Q(q)=1+240∑n≥1σ3(n)qnQ(q) = 1+240\sum_{n\ge1}\sigma_3(n)q^nQ(q)=1+240∑n≥1​σ3​(n)qn, R(q)=1−504∑n≥1σ5(n)qnR(q) = 1-504\sum_{n\ge1}\sigma_5(n)q^nR(q)=1−504∑n≥1​σ5​(n)qn, where σk(n)=∑d∣ndk\sigma_k(n)=\sum_{d\mid n}d^kσk​(n)=∑d∣n​dk.

Finally, the 3×33\times33×3 matrix flow obtained from the Nahm equations with the diff(S3)\mathrm{diff}(S^3)diff(S3) gauge algebra is

M˙=(Adj⁡M)T+MTM−(Tr⁡M)M,Adj⁡M=(det⁡M)M−1,\dot M = (\operatorname{Adj} M)^{T} + M^{T}M - (\operatorname{Tr} M)M,\qquad \operatorname{Adj}M = (\det M)M^{-1},M˙=(AdjM)T+MTM−(TrM)M,AdjM=(detM)M−1,

and the generalized Chazy equation with parameter nnn is

d3ydt3−2yd2ydt2+3(dydt)2=436−n2(6dydt−y2)2.\frac{d^3y}{dt^3} - 2y\frac{d^2y}{dt^2} + 3\left(\frac{dy}{dt}\right)^2 = \frac{4}{36-n^2}\left(6\frac{dy}{dt}-y^2\right)^2 .dt3d3y​−2ydt2d2y​+3(dtdy​)2=36−n24​(6dtdy​−y2)2.

Formalization targets

Goal — the Chazy–Ramanujan correspondence (eqs. (78) and (71))

If P,Q,RP,Q,RP,Q,R satisfy Ramanujan's system on a region of the punctured qqq-plane, then

y(t):=iπP ⁣(e2πit)y(t) := i\pi P\!\left(e^{2\pi i t}\right)y(t):=iπP(e2πit)

satisfies the classical Chazy equation on the preimage region. In particular y(t)=iπE2(t)y(t)=i\pi E_2(t)y(t)=iπE2​(t) is a solution of the Chazy equation, and knowing the general solution of Chazy gives the general solution of Ramanujan's system.

Supporting targets

The milestone list covers the reduction chain in both directions: the matrix flow M˙=(Adj⁡M)T+MTM−(Tr⁡M)M\dot M = (\operatorname{Adj}M)^T + M^TM-(\operatorname{Tr}M)MM˙=(AdjM)T+MTM−(TrM)M and its reduction to the Darboux–Halphen system (eqs. (51)–(54)), the first integrals (55), the passage y=−2(ω1+ω2+ω3)y = -2(\omega_1+\omega_2+\omega_3)y=−2(ω1​+ω2​+ω3​) from Darboux–Halphen to Chazy and back through the roots of a cubic, the SL(2)\mathrm{SL}(2)SL(2) symmetry (73) of the Chazy equation, Rankin's fourth-order equation for the discriminant cusp form, the change of variable q=e2iτq=e^{2i\tau}q=e2iτ between the two forms of Ramanujan's system, and the generalized Chazy equation (81).

Significance

The Chazy equation is the bridge between integrable systems and the theory of modular forms. Its particular solution y=iπE2y = i\pi E_2y=iπE2​ makes the quasi-modularity of the second Eisenstein series an ODE statement; via y=12(log⁡Δ)′y = \tfrac12 (\log\Delta)'y=21​(logΔ)′ it turns into Rankin's homogeneous fourth-order equation for the discriminant cusp form Δ\DeltaΔ, whose Fourier coefficients are the Ramanujan τ\tauτ-function. The SL(2,Z)\mathrm{SL}(2,\mathbb{Z})SL(2,Z) action on solutions is exactly the weight-2 quasi-modular transformation law. In the other direction, the general solution of Chazy is a ratio of hypergeometric functions with a movable natural barrier, which is why these reductions are used as the standard counterexample to the identification of integrability with the Painlevé property.

None of this material is currently in Mathlib: there is no Chazy equation, no Darboux–Halphen system, no Ramanujan differential system, and no Eisenstein-series ODE. The mission builds that layer from scratch. Each statement is a closed-form differential identity, so the development is self-contained: it needs no analytic continuation theory, no modular-forms library, and no existence theory for ODEs. What a solver must supply is careful derivative bookkeeping and polynomial algebra.

Status honesty: every statement in this mission is a classical, published result — Darboux, Halphen, Chazy (1909–1911), Ramanujan (1916), Rankin (1956), and Ablowitz–Chakravarty–Halburd (1990s–2003). Nothing here is open mathematics. What is open is the machine-checked proof; to the captain's knowledge no formalization of these identities exists.

Difficulty

The obvious approach — "differentiate three times and call ring" — fails for two reasons. First, the statements are about functions, not about polynomials: each differentiation step requires producing the derivative of a product, a quotient, or a composition from the hypotheses, and only then is the resulting algebraic identity a ring problem. Second, two of the targets go against the flow of the hypotheses. Recovering the Darboux–Halphen system from a Chazy solution means recovering ω˙i\dot\omega_iω˙i​ from the derivatives of the three elementary symmetric functions of the ωi\omega_iωi​: this is a linear system whose matrix is a Vandermonde matrix in ω1,ω2,ω3\omega_1,\omega_2,\omega_3ω1​,ω2​,ω3​, invertible precisely because the roots are assumed distinct — which is why the distinctness hypothesis is not decoration. Similarly, the matrix milestone needs the conjugation-equivariance of M↦(Adj⁡M)T+MTM−(Tr⁡M)MM \mapsto (\operatorname{Adj}M)^T + M^TM - (\operatorname{Tr}M)MM↦(AdjM)T+MTM−(TrM)M, which holds for the transpose only because the conjugating matrix is complex orthogonal.

Formalization scope

Everything is over C\mathbb{C}C, matching the paper. Solutions are represented pointwise on an arbitrary set s⊆Cs \subseteq \mathbb{C}s⊆C rather than on all of C\mathbb{C}C, because the solutions of interest have movable singularities and natural barriers; no openness, holomorphy or connectivity is assumed unless a statement needs it.

Higher derivatives are carried as explicit extra function arguments joined by HasDerivAt hypotheses rather than through iterated deriv. This avoids junk values entirely: a statement never asserts anything about the value of a derivative that does not exist. The same convention is used for the matrix flow, where the derivative is imposed entrywise, so that no norm or normed-space structure on the space of matrices needs to be chosen.

Divisions are arranged so that no denominator can vanish under the stated hypotheses: Ramanujan's system is written in the form q dP/dq=(P2−Q)/12q\,dP/dq = (P^2-Q)/12qdP/dq=(P2−Q)/12, with no division by qqq; the generalized Chazy equation carries the hypothesis n2≠36n^2 \ne 36n2=36; and the first-integral and discriminant statements carry explicit nonvanishing hypotheses.

There is no trivializing formalization available here. Every statement is an implication between two systems of differential equations whose hypotheses are satisfied by the classical explicit solutions (P=E2P=E_2P=E2​, Q=E4Q=E_4Q=E4​, R=E6R=E_6R=E6​ for the Ramanujan system; Halphen's solutions for Darboux–Halphen), so none of them is vacuous, and none is an identity that holds for arbitrary functions.

A complete development needs only Mathlib's derivative calculus (HasDerivAt and its product, quotient and composition rules), Complex.exp, and Matrix.adjugate with the basic adjugate identities. Contributions of reusable pieces are welcome: in particular a clean statement of the derivative of the elementary symmetric functions of a triple of functions, and the Vandermonde inversion step, would both be of use beyond this mission.

Selected references

  • M. J. Ablowitz, S. Chakravarty, R. G. Halburd, Integrable systems and reductions of the self-dual Yang–Mills equations, J. Math. Phys. 44 (2003) 3147–3173. doi:10.1063/1.1586967
  • J. Chazy, Sur les équations différentielles du troisième ordre et d'ordre supérieur dont l'intégrale générale a ses points critiques fixes, Acta Math. 34 (1911) 317–385. doi:10.1007/BF02393131
  • S. Ramanujan, On certain arithmetical functions, Trans. Cambridge Philos. Soc. 22 (1916) 159–184.
  • G. Halphen, Sur un système d'équations différentielles, C. R. Acad. Sci. Paris 92 (1881) 1101–1103.
  • R. A. Rankin, The construction of automorphic forms from the derivatives of a given form, J. Indian Math. Soc. 20 (1956) 103–116.
  • M. J. Ablowitz, S. Chakravarty, R. G. Halburd, The generalized Chazy equation and Schwarzian triangle functions, Asian J. Math. 2 (1998) 619–624. doi:10.4310/AJM.1998.v2.n4.a1
  • R. S. Ward, Integrable and solvable systems, and relations among them, Philos. Trans. R. Soc. London A 315 (1985) 451–457. doi:10.1098/rsta.1985.0051
15 thms4 active usersReviewed
🏆Completed
Combinatorics·Captain: aarontcao

Shao's three units theorem: density 5/8 forces a three-fold additive basisResearch Paper

Let mmm be an odd squarefree positive integer and let AAA be a set of units modulo mmm with ∣A∣>58φ(m)|A| > \frac{5}{8}\varphi(m)∣A∣>85​φ(m). Then A+A+A=Z/mZA + A + A = \mathbb{Z}/m\mathbb{Z}A+A+A=Z/mZ: every residue class, unit or not, is a sum of three elements of AAA.

This is Corollary 1.5 of Xuancheng Shao, A density version of the Vinogradov three primes theorem, Duke Math. J. 163 (2014) 489-512, arXiv:1206.6139v2. It is the local input to Shao's density version of the three primes theorem, and it is a clean finite statement in its own right.

The constant is sharp and the inequality is strict

At m=15m = 15m=15 the set {2,8,11,13,14}\{2, 8, 11, 13, 14\}{2,8,11,13,14} has five elements, so 5φ(15)=8⋅55\varphi(15) = 8 \cdot 55φ(15)=8⋅5 exactly, and 111 is not a sum of three of its elements. The hypothesis therefore fails by nothing at all and the conclusion already fails. If <<< is weakened to ≤\le≤, the statement is false.

Where the proof comes from

The corollary cannot be proved by induction on sets. Passing from mmm to a prime factor ppp splits AAA into fibers of different densities, and a set is the wrong object to carry through that split. The induction has to run on functions f:Z/mZ→[0,1]f : \mathbb{Z}/m\mathbb{Z} \to [0,1]f:Z/mZ→[0,1], and the corollary is the case f=1Af = 1_Af=1A​ of a weighted statement, Proposition 1.4. That is the one step from which the rest follows.

The weighted statement then splits at the primes 3 and 5. For mmm coprime to 30 the induction runs on the prime factors, using Cauchy-Davenport-Chowla for three sets modulo a prime, and it produces the stronger bilinear conclusion f(a)f(b)+f(b)f(c)+f(c)f(a)>58(f(a)+f(b)+f(c))f(a)f(b) + f(b)f(c) + f(c)f(a) > \frac{5}{8}(f(a) + f(b) + f(c))f(a)f(b)+f(b)f(c)+f(c)f(a)>85​(f(a)+f(b)+f(c)). The modulus 15 is handled separately by a linear program over the eight units. Two averaging inequalities, one symmetric and one asymmetric, are what turn a density above 5/85/85/8 into a single good triple in both halves.

What the milestones are

The nine milestones follow Shao's own numbering: the two averaging inequalities of Section 2 (Lemmas 2.1 and 2.2), the finite check at m=15m = 15m=15 (Lemma 2.3), the three-set Cauchy-Davenport-Chowla bound, the divisor reduction that lets the proof assume 15∣m15 \mid m15∣m, the induction away from 3 and 5 (Proposition 3.1), the modulus-15 case (Proposition 3.2), the weighted local result (Proposition 1.4), and the counting bridge that the units modulo mmm number φ(m)\varphi(m)φ(m).

Notes on the formalization

Every item is stated in Mathlib primitives alone, so the mission needs no definition items: IsUnit, Nat.totient, Odd, Squarefree, Finset, and Antitone. The set of units modulo mmm is written Finset.univ.filter (fun x => IsUnit x) at each use rather than through a defined abbreviation, so a reader auditing a statement has to trust only Mathlib. That is also why open scoped Classical appears in the preamble.

The density hypothesis is written 5 * Nat.totient m < 8 * A.card, which is ∣A∣>58φ(m)|A| > \frac{5}{8}\varphi(m)∣A∣>85​φ(m) cleared of division so the whole statement stays in N\mathbb{N}N with no rounding.

10 thms4 active usersReviewed
🏆Completed
Algebra·Captain: Lucas

Grothendieck-Teichmüller: the graded Lie algebra grt_1 and the Deligne-Drinfeld-Ihara conjectureOpen Problem

Motivation

The Grothendieck-Teichmüller group organises a family of symmetries that act on braided monoidal categories, on quantised universal enveloping algebras, on the little-discs operad, and on the ring of periods of the projective line minus three points. Three versions exist: a profinite one GT^\widehat{GT}GT, introduced by Grothendieck and Drinfeld and containing the absolute Galois group Gal(Q‾/Q)\mathrm{Gal}(\overline{\mathbb Q}/\mathbb Q)Gal(Q​/Q); a pro-ℓ\ellℓ one; and a pro-unipotent one GTGTGT, together with its graded companion GRTGRTGRT. This mission is about the graded, pro-unipotent side, which is the version that governs the homological-algebra and deformation-quantisation applications, and which is closest to a concrete, computable object: a Lie algebra of Lie polynomials in two variables, cut out by three explicit equations.

Its Lie algebra grt1\mathfrak{grt}_1grt1​ carries a distinguished family of elements σ3,σ5,σ7,…\sigma_3, \sigma_5, \sigma_7, \dotsσ3​,σ5​,σ7​,…, one in each odd degree at least 333, produced from the Knizhnik-Zamolodchikov associator. Deligne, Drinfeld and Ihara conjectured that grt1\mathfrak{grt}_1grt1​ is the free Lie algebra on such a family. A timeline of what is actually known:

  • 1990 - V. Drinfeld, On quasitriangular quasi-Hopf algebras and a group closely connected with Gal(Q‾/Q)\mathrm{Gal}(\overline{\mathbb Q}/\mathbb Q)Gal(Q​/Q), introduces GTGTGT, GRTGRTGRT, associators, and the defining equations of grt1\mathfrak{grt}_1grt1​; the Knizhnik-Zamolodchikov associator shows the set of associators is non-empty, hence σ3,σ5,…\sigma_3, \sigma_5, \dotsσ3​,σ5​,… exist and are non-zero.
  • 2012 - F. Brown, Mixed Tate motives over Z\mathbb ZZ (Annals of Mathematics 175, 949-976, doi:10.4007/annals.2012.175.2.10), proves that the ζf(r1,…,rn)\zeta^{\mathfrak f}(r_1,\dots,r_n)ζf(r1​,…,rn​) with rj∈{2,3}r_j \in \{2,3\}rj​∈{2,3} form a basis of the algebra of motivic multiple zeta values. One half of the conjecture follows: the Lie subalgebra of grt1\mathfrak{grt}_1grt1​ generated by the σ2p+1\sigma_{2p+1}σ2p+1​ is free on them.
  • The converse half - that these elements generate all of grt1\mathfrak{grt}_1grt1​ - is open.

Setting

Let F(x,y)\mathbb{F}(x,y)F(x,y) be the free Lie algebra over Q\mathbb QQ on two generators xxx and yyy, graded by total word length. For a Lie algebra AAA over Q\mathbb QQ and a,b∈Aa, b \in Aa,b∈A, write ψ(a,b)\psi(a,b)ψ(a,b) for the image of ψ∈F(x,y)\psi \in \mathbb{F}(x,y)ψ∈F(x,y) under the unique Lie algebra morphism sending x↦ax \mapsto ax↦a and y↦by \mapsto by↦b.

For n≥1n \ge 1n≥1, the Drinfeld-Kohno Lie algebra tn\mathfrak t_ntn​ is generated over Q\mathbb QQ by symbols tijt_{ij}tij​, 1≤i,j≤n1 \le i, j \le n1≤i,j≤n, subject to

tii=0,tij=tji,[tij,tkl]=0,[tij,tik+tjk]=0,t_{ii} = 0, \qquad t_{ij} = t_{ji}, \qquad [t_{ij}, t_{kl}] = 0, \qquad [t_{ij}, t_{ik} + t_{jk}] = 0,tii​=0,tij​=tji​,[tij​,tkl​]=0,[tij​,tik​+tjk​]=0,

the third relation for i,j,k,li,j,k,li,j,k,l pairwise distinct and the fourth for i,j,ki,j,ki,j,k pairwise distinct. It is the Lie algebra of infinitesimal braid relations: the associated graded of the pure braid Lie algebra, and the coefficient algebra of the Knizhnik-Zamolodchikov connection.

The graded Grothendieck-Teichmüller Lie algebra grt1\mathfrak{grt}_1grt1​ is the set of ψ∈F(x,y)\psi \in \mathbb{F}(x,y)ψ∈F(x,y) satisfying three equations:

ψ(x,y)=−ψ(y,x),\psi(x,y) = -\psi(y,x),ψ(x,y)=−ψ(y,x), ψ(x,y)+ψ(y,z)+ψ(z,x)=0where x+y+z=0,\psi(x,y) + \psi(y,z) + \psi(z,x) = 0 \quad \text{where } x + y + z = 0,ψ(x,y)+ψ(y,z)+ψ(z,x)=0where x+y+z=0, ψ(t12,t23)−ψ(t12,t23+t24)+ψ(t12+t13,t24+t34)−ψ(t13+t23,t34)+ψ(t23,t34)=0  in t4.\psi(t_{12},t_{23}) - \psi(t_{12},t_{23}+t_{24}) + \psi(t_{12}+t_{13},t_{24}+t_{34}) - \psi(t_{13}+t_{23},t_{34}) + \psi(t_{23},t_{34}) = 0 \ \text{ in } \mathfrak t_4 .ψ(t12​,t23​)−ψ(t12​,t23​+t24​)+ψ(t12​+t13​,t24​+t34​)−ψ(t13​+t23​,t34​)+ψ(t23​,t34​)=0  in t4​.

All three are linear in ψ\psiψ and degree preserving, so grt1\mathfrak{grt}_1grt1​ is a graded Q\mathbb QQ-subspace.

grt1\mathfrak{grt}_1grt1​ is not closed under the bracket of F(x,y)\mathbb{F}(x,y)F(x,y); it is closed under the Ihara (Poisson) bracket

{f,g}=[f,g]+Dfg−Dgf,\{f,g\} = [f,g] + D_f g - D_g f,{f,g}=[f,g]+Df​g−Dg​f,

where DfD_fDf​ is the derivation of F(x,y)\mathbb{F}(x,y)F(x,y) determined by Dfx=0D_f x = 0Df​x=0 and Dfy=[y,f]D_f y = [y,f]Df​y=[y,f]. Writing Der\mathrm{Der}Der for the Lie algebra of derivations of F(x,y)\mathbb{F}(x,y)F(x,y) under the commutator, the assignment f↦Dff \mapsto D_ff↦Df​ satisfies [Df,Dg]=D{f,g}[D_f, D_g] = D_{\{f,g\}}[Df​,Dg​]=D{f,g}​, and it is injective on grt1\mathfrak{grt}_1grt1​; this is the form in which the Lie structure of grt1\mathfrak{grt}_1grt1​ is expressed in the formal statements below.

Finally, for n1≥2n_1 \ge 2n1​≥2 and n2,…,nk≥1n_2,\dots,n_k \ge 1n2​,…,nk​≥1 the multiple zeta value is

ζ(n1,…,nk)=∑j1>j2>⋯>jk≥11j1n1j2n2⋯jknk.\zeta(n_1,\dots,n_k) = \sum_{j_1 > j_2 > \cdots > j_k \ge 1} \frac{1}{j_1^{n_1} j_2^{n_2} \cdots j_k^{n_k}} .ζ(n1​,…,nk​)=j1​>j2​>⋯>jk​≥1∑​j1n1​​j2n2​​⋯jknk​​1​.

These numbers are the coefficients of the Knizhnik-Zamolodchikov associator, which is why they enter a mission about grt1\mathfrak{grt}_1grt1​; they satisfy the stuffle and shuffle relations, whose common refinement (the double shuffle relations) is the arithmetic side of the same story.

Formalization targets

Goal - Deligne-Drinfeld-Ihara

∃ σ0,σ1,σ2,⋯∈grt1,deg⁡σp=2p+3,such that grt1 is the free Lie algebra on (σp)p≥0 for { ,}.\exists\, \sigma_0, \sigma_1, \sigma_2, \dots \in \mathfrak{grt}_1, \quad \deg \sigma_p = 2p+3, \quad \text{such that } \mathfrak{grt}_1 \text{ is the free Lie algebra} \text{ on } (\sigma_p)_{p \ge 0} \text{ for } \{\,,\}.∃σ0​,σ1​,σ2​,⋯∈grt1​,degσp​=2p+3,such that grt1​ is the free Lie algebra on (σp​)p≥0​ for {,}.

Concretely: the Lie algebra morphism from the free Lie algebra on countably many generators to Der\mathrm{Der}Der sending the ppp-th generator to DσpD_{\sigma_p}Dσp​​ is injective, and its image is exactly D(grt1)D(\mathfrak{grt}_1)D(grt1​). The statement fixes the degrees of the generators but not the generators themselves, which is the weakest form that still carries the content of the conjecture.

Milestone level - Brown's half

The same family exists with the morphism merely injective: the σ2p+1\sigma_{2p+1}σ2p+1​ generate a free Lie subalgebra. This is a theorem (Brown 2012); the open part of the goal is surjectivity.

Supporting levels

The Ihara bracket is a Lie bracket; grt1\mathfrak{grt}_1grt1​ is closed under it; the degree-333 element [x+y,[x,y]][x+y,[x,y]][x+y,[x,y]] lies in grt1\mathfrak{grt}_1grt1​; every odd degree ≥3\ge 3≥3 contains a non-zero element of grt1\mathfrak{grt}_1grt1​; multiple zeta values satisfy the stuffle and shuffle relations; and ζ(2,1)=ζ(3)\zeta(2,1) = \zeta(3)ζ(2,1)=ζ(3).

Significance

A positive answer would determine grt1\mathfrak{grt}_1grt1​ completely and, through the GTGTGT-GRTGRTGRT-associator torsor, describe the pro-unipotent Grothendieck-Teichmüller group by generators without relations. Downstream it would pin down the homotopy automorphisms of the rationalised little-discs operad and the Lie algebra of the motivic Galois group of mixed Tate motives over Z\mathbb ZZ up to the same freeness statement. Without it, even the dimension of grt1\mathfrak{grt}_1grt1​ in a given degree is only known to be bounded above by the Broadhurst-Kreimer style count, with equality unproved.

Formalizing this mission produces a machine-checked definition of tn\mathfrak t_ntn​, grt1\mathfrak{grt}_1grt1​ and the Ihara bracket - objects that have no Mathlib counterpart at present - and machine-checked proofs of the Lie-theoretic facts around them. Brown's theorem itself is proved in the literature but not formalized; the goal statement is genuinely open, and no part of this mission is closed by an existing Lean development known to the proposal.

Difficulty

The obvious approach to the goal - exhibit the generators and count dimensions degree by degree - fails in both directions. Upwards, no closed formula for σ2p+1\sigma_{2p+1}σ2p+1​ is known: they are extracted from the Knizhnik-Zamolodchikov associator, whose coefficients are regularised iterated integrals, and only their leading coefficients are controlled. Downwards, freeness of the subalgebra they generate is not an algebraic manipulation of the three defining equations: Brown derives it from the motivic theory of multiple zeta values, where the missing input is a basis theorem for a period algebra, not an identity in F(x,y)\mathbb{F}(x,y)F(x,y). Even the milestone "grt1\mathfrak{grt}_1grt1​ is closed under the Ihara bracket" is not a formality: the pentagon equation lives in t4\mathfrak t_4t4​ and must be transported through substitutions into a quotient Lie algebra.

Formalization scope

The formalization commits to the following conventions, all visible in the definition files.

  1. The base field is Q\mathbb QQ. The source works over a field KKK of characteristic zero; every statement here is over Q\mathbb QQ.
  2. grt1\mathfrak{grt}_1grt1​ is modelled inside the free Lie algebra FreeLieAlgebra ℚ (Fin 2), i.e. by Lie polynomials, not the completed Lie algebra F^(x,y)\widehat{\mathbb{F}}(x,y)F(x,y) of the source. The three defining equations are homogeneous, so the graded object determines the completed one; solvers should be aware that no topology or completion appears anywhere.
  3. tn\mathfrak t_ntn​ is the quotient of the free Lie algebra on ordered pairs of indices in Fin n by the Lie ideal generated by the four relation families above, so dkGen i j is ti+1,j+1t_{i+1,j+1}ti+1,j+1​ under the shift Fin 4 = {0,1,2,3} versus indices 1,2,3,41,2,3,41,2,3,4.
  4. Homogeneity is expressed by the rescaling characterisation: ψ\psiψ has degree nnn if ψ(cx,cy)=cnψ(x,y)\psi(cx,cy) = c^n \psi(x,y)ψ(cx,cy)=cnψ(x,y) for all c∈Qc \in \mathbb Qc∈Q. Over an infinite field this is equivalent to homogeneity for the word-length grading.
  5. The Ihara derivation uses Dfx=0D_f x = 0Df​x=0. The source writes Dfx=xD_f x = xDf​x=x in Remark 4.4 and in Section 7.3, but that convention contradicts Lemma 7.2 of the same notes and the computation {x,y}=[x,y]+[y,x]=0\{x,y\} = [x,y] + [y,x] = 0{x,y}=[x,y]+[y,x]=0 in Remark 7.2; Dfx=0D_f x = 0Df​x=0 is the convention under which both hold, and is the standard one.
  6. The Lie structure on grt1\mathfrak{grt}_1grt1​ is carried by the injection f↦Dff \mapsto D_ff↦Df​ into LieDerivation ℚ (FreeLieAlgebra ℚ (Fin 2)) (FreeLieAlgebra ℚ (Fin 2)), so that freeness can be stated as injectivity of a morphism out of a free Lie algebra without first installing a new Lie algebra structure. Note f↦Dff \mapsto D_ff↦Df​ is injective on grt1\mathfrak{grt}_1grt1​ but not on all of F(x,y)\mathbb{F}(x,y)F(x,y), where Dy=0D_y = 0Dy​=0; a supporting item records the injectivity actually used.
  7. Multiple zeta values are real numbers defined by an iterated tsum; for non-admissible words the series diverges and the definition returns Mathlib's junk value. Every statement about them therefore carries an admissibility hypothesis: all letters ≥1\ge 1≥1 and first letter ≥2\ge 2≥2. The stuffle and shuffle products are multisets of words, so no free module on words is needed.
  8. Nothing here is vacuous by construction: the defining equations of grt1\mathfrak{grt}_1grt1​ are linear conditions on a non-zero graded space, t4≠0\mathfrak t_4 \ne 0t4​=0, and the milestone [x+y,[x,y]]∈grt1[x+y,[x,y]] \in \mathfrak{grt}_1[x+y,[x,y]]∈grt1​, [x+y,[x,y]]≠0[x+y,[x,y]] \ne 0[x+y,[x,y]]=0 exhibits a non-zero element.

Contributions welcome: the Lie-theoretic milestones (Lemma 7.2, Corollary 7.1, closure of grt1\mathfrak{grt}_1grt1​, the degree-333 element) are self-contained and need no motivic input; the multiple zeta milestones need summability infrastructure for iterated series; Brown's theorem and the goal need a substantial development that does not yet exist in Lean.

Selected references

  • V. G. Drinfeld, On quasitriangular quasi-Hopf algebras and a group closely connected with Gal(Q‾/Q)\mathrm{Gal}(\overline{\mathbb Q}/\mathbb Q)Gal(Q​/Q), Leningrad Math. J. 2 (1991), 829-860.
  • F. Brown, Mixed Tate motives over Z\mathbb ZZ, Annals of Mathematics 175 (2012), 949-976, doi:10.4007/annals.2012.175.2.10.
  • T. Willwacher, The Grothendieck-Teichmüller Group, ETH Zürich lecture notes, 27 February 2014 (the source text for this mission).
  • T. Willwacher, M. Kontsevich's graph complex and the Grothendieck-Teichmüller Lie algebra, Invent. Math. 200 (2015), 671-760, doi:10.1007/s00222-014-0528-x.
29 thms4 active usersReviewed
🏆Completed
AlgebraRepresentation Theory·Captain: Lucas

Ngo's Fundamental Lemma II: Isogenies of Root Data and Paired GroupsResearch Paper

Motivation

Waldspurger's non-standard fundamental lemma is an identity between stable orbital integrals on the Lie algebras of two reductive groups that are not isomorphic, and not even isogenous as algebraic groups, but whose root data become identified after tensoring with Q\mathbb{Q}Q. The basic example is the pair (Sp2n,SO2n+1)(\mathrm{Sp}_{2n}, \mathrm{SO}_{2n+1})(Sp2n​,SO2n+1​), whose root systems CnC_nCn​ and BnB_nBn​ are exchanged by Langlands duality; the identity is what allows the twisted fundamental lemma to be deduced from the ordinary one. Waldspurger formulated the conjecture in L'endoscopie tordue n'est pas si tordue (2008); it is Theorem 1.12.7 of Bao Chau Ngo, Le lemme fondamental pour les algebres de Lie, Publ. Math. IHES 111 (2010), 1-169 (DOI), proved there in equal characteristic by the same Hitchin-fibration argument that gives the ordinary fundamental lemma.

Before any of that geometry can start, the two sides have to be compared: one needs a single Cartan subalgebra, a single Weyl group and a single space of characteristic polynomials serving both groups at once. Producing that comparison is a self-contained piece of linear algebra over the root data, carried out in Ngo's §1.12, and it is what this mission asks for.

Setting

Let G1G_1G1​ and G2G_2G2​ be split reductive groups over a field, pinned, with maximal tori T1T_1T1​ and T2T_2T2​. Each is determined by its root datum (X∗(Ti),X∗(Ti),Φi,Φi∨,Δi)(X^*(T_i), X_*(T_i), \Phi_i, \Phi_i^\vee, \Delta_i)(X∗(Ti​),X∗​(Ti​),Φi​,Φi∨​,Δi​), where Φi\Phi_iΦi​ is the set of roots, Φi∨\Phi_i^\veeΦi∨​ the set of coroots and Δi\Delta_iΔi​ the set of simple roots singled out by the pinning.

An isogeny of root data between G1G_1G1​ and G2G_2G2​ (Ngo, Definition 1.12.1) is a pair of isomorphisms of Q\mathbb{Q}Q-vector spaces

ψ∗:X∗(T2)⊗Q⟶X∗(T1)⊗Q,ψ∗:X∗(T1)⊗Q⟶X∗(T2)⊗Q\psi^* : X^*(T_2)\otimes\mathbb{Q} \longrightarrow X^*(T_1)\otimes\mathbb{Q}, \qquad \psi_* : X_*(T_1)\otimes\mathbb{Q} \longrightarrow X_*(T_2)\otimes\mathbb{Q}ψ∗:X∗(T2​)⊗Q⟶X∗(T1​)⊗Q,ψ∗​:X∗​(T1​)⊗Q⟶X∗​(T2​)⊗Q

which are transposes of one another, such that ψ∗\psi^*ψ∗ carries the set of lines Qα2\mathbb{Q}\alpha_2Qα2​ (α2∈Φ2\alpha_2 \in \Phi_2α2​∈Φ2​) bijectively onto the set of lines Qα1\mathbb{Q}\alpha_1Qα1​ (α1∈Φ1\alpha_1\in\Phi_1α1​∈Φ1​), matching lines of simple roots with lines of simple roots, and such that ψ∗\psi_*ψ∗​ has the same property for the lines spanned by coroots. Two semisimple groups with the same adjoint group are isogenous in this sense; so are a group and its Langlands dual, the interesting cases being Bn↔CnB_n \leftrightarrow C_nBn​↔Cn​, F4F_4F4​ and G2G_2G2​, where a short root α\alphaα is sent to αˇ\check\alphaαˇ and a long root to nαˇn\check\alphanαˇ with n=∣αlong∣2/∣αshort∣2n = |\alpha_{\mathrm{long}}|^2/|\alpha_{\mathrm{short}}|^2n=∣αlong​∣2/∣αshort​∣2. Groups obtained by twisting a pair of isogenous pinned groups by a common torsor are called paired.

A prime ppp is good with respect to ψ∗\psi^*ψ∗ when it divides neither of the indices

∣X∗(T1)/(X∗(T1)∩X∗(T2))∣and∣X∗(T2)/(X∗(T1)∩X∗(T2))∣,\bigl|X_*(T_1)/(X_*(T_1)\cap X_*(T_2))\bigr| \quad\text{and}\quad \bigl|X_*(T_2)/(X_*(T_1)\cap X_*(T_2))\bigr|,​X∗​(T1​)/(X∗​(T1​)∩X∗​(T2​))​and​X∗​(T2​)/(X∗​(T1​)∩X∗​(T2​))​,

the two lattices being compared inside the single Q\mathbb{Q}Q-vector space identified by ψ∗\psi_*ψ∗​.

Formalization targets

Goal (1.12.4 and 1.12.6): the Weyl groups are identified compatibly

ψ∗ w ψ∗−1∈W2for all w∈W1,and conversely,\psi_* \, w \, \psi_*^{-1} \in W_2 \quad \text{for all } w \in W_1, \qquad\text{and conversely,}ψ∗​wψ∗−1​∈W2​for all w∈W1​,and conversely,

i.e. conjugation by ψ∗\psi_*ψ∗​ carries the Weyl group W1W_1W1​ acting on X∗(T1)⊗QX_*(T_1)\otimes\mathbb{Q}X∗​(T1​)⊗Q onto the Weyl group W2W_2W2​ acting on X∗(T2)⊗QX_*(T_2)\otimes\mathbb{Q}X∗​(T2​)⊗Q. Ngo's reason is that the reflection attached to a root depends only on the line through that root, so the bijection of root lines transports reflections to reflections. This equivariance is what makes the induced isomorphism t1→t2\mathfrak{t}_1 \to \mathfrak{t}_2t1​→t2​ descend to an isomorphism ν:cG1→cG2\nu : \mathfrak{c}_{G_1} \to \mathfrak{c}_{G_2}ν:cG1​​→cG2​​ of the spaces of characteristic polynomials, which is Lemme 1.12.6 and which is what allows two points a1a_1a1​ and a2a_2a2​ with ν(a1)=a2\nu(a_1) = a_2ν(a1​)=a2​ to be compared at all.

Milestones

Two steps lead there: the reflection computation that makes a matched pair of root lines give a matched pair of reflections, and the integral statement behind Ngo's good-characteristic hypothesis — that when the two indices above are invertible in the base ring, the two lattices become identified after base change.

Significance

Theorem 1.12.7, the non-standard fundamental lemma, asserts that for two paired groups over Ov=k[[ϖ]]O_v = k[[\varpi]]Ov​=k[[ϖ]] with residue characteristic exceeding twice the Coxeter numbers, and for points a1a_1a1​ and a2a_2a2​ corresponding under ν\nuν, the stable orbital integrals of the characteristic functions of g1(Ov)\mathfrak{g}_1(O_v)g1​(Ov​) and g2(Ov)\mathfrak{g}_2(O_v)g2​(Ov​) agree. Waldspurger showed that this identity, together with the ordinary fundamental lemma, implies the twisted fundamental lemma. None of the objects in that statement — reductive group schemes over a discrete valuation ring, orbital integrals, Haar measures on the centralizer tori — exists in Mathlib today. The comparison of §1.12 does not need any of them: it is a statement about lattices, root systems and Weyl groups, and it is a strict prerequisite, since without the isomorphism ν\nuν the two sides of Theorem 1.12.7 cannot even be matched up.

Beyond this paper, the notion of an isogeny of root data and the good-characteristic base change of a pair of lattices are reusable: they are the standard bookkeeping behind Langlands duality for split groups, and neither is currently available.

Difficulty

The reflection step looks like a one-line computation and is one — but only once the two proportionality constants are known to agree. If ψ∗(α2)=c α1\psi^*(\alpha_2) = c\,\alpha_1ψ∗(α2​)=cα1​ and ψ∗(α1∨)=c′ α2∨\psi_*(\alpha_1^\vee) = c'\,\alpha_2^\veeψ∗​(α1∨​)=c′α2∨​, the conjugate of sα1s_{\alpha_1}sα1​​ is sα2s_{\alpha_2}sα2​​ exactly when c=c′c = c'c=c′, and that is forced by transposition together with ⟨α,α∨⟩=2\langle\alpha,\alpha^\vee\rangle = 2⟨α,α∨⟩=2. The genuine difficulty in the goal is different: the definition only says that ψ∗\psi^*ψ∗ and ψ∗\psi_*ψ∗​ permute lines, so one has to show that the bijection induced on root lines and the bijection induced on coroot lines are the same bijection. A solver who assumes this without proof has assumed the substance of 1.12.4.

The lattice milestone has its own trap: the quotient Λ1/(Λ1∩Λ2)\Lambda_1/(\Lambda_1\cap\Lambda_2)Λ1​/(Λ1​∩Λ2​) must be shown to have vanishing Tor\mathrm{Tor}Tor after base change, not merely to vanish, or the inclusion becomes only surjective.

Formalization scope

Root data are modelled by Mathlib's RootPairing ι ℚ M N, with MMM the character space, NNN the cocharacter space, and rational coefficients throughout, so that "tensoring with Q\mathbb{Q}Q" is built into the ambient objects rather than performed explicitly. A choice of simple roots is recorded as a subset of the index type rather than as a RootPairing.Base; nothing in the statements depends on that subset beyond its role in the definition of an isogeny. The Weyl group is the subgroup of linear automorphisms of the cocharacter space generated by the coreflections, which is the form in which it acts on the Cartan.

The goal is stated as a two-sided intertwining property rather than as an equality of subgroups: every element of W1W_1W1​ is intertwined by ψ∗\psi_*ψ∗​ with some element of W2W_2W2​ and conversely. This avoids introducing a conjugation homomorphism, and it is the form in which the statement is used. Both root pairings in the goal are required to be finite, reduced root systems, matching Ngo's hypothesis that G1G_1G1​ and G2G_2G2​ are reductive groups.

The good-characteristic condition is formalized exactly as Ngo writes it, by the invertibility in the base ring of the two indices, each expressed as the cardinality of an explicit quotient group; the conclusion is the bijectivity of the map induced on the tensor product by the inclusion of the intersection. If a quotient were infinite its cardinality is reported as 000, and invertibility of 000 then forces the base ring to be trivial, so no false statement hides in that corner.

No statement here is vacuous: any pair consisting of a root system and itself, with ψ∗\psi^*ψ∗ and ψ∗\psi_*ψ∗​ the identity, satisfies every hypothesis, and the pair (Bn,Cn)(B_n, C_n)(Bn​,Cn​) gives the intended non-trivial instances.

Selected references

  • Bao Chau Ngo, Le lemme fondamental pour les algebres de Lie, Publ. Math. IHES 111 (2010), 1-169. https://doi.org/10.1007/s10240-010-0026-7
  • J.-L. Waldspurger, L'endoscopie tordue n'est pas si tordue, Mem. Amer. Math. Soc. 908 (2008). https://doi.org/10.1090/memo/0908
  • J.-L. Waldspurger, Le lemme fondamental implique le transfert, Compositio Math. 105 (1997), 153-236. https://doi.org/10.1023/A:1000103112268
  • T. A. Springer, Reductive groups, in Automorphic Forms, Representations and L-functions, Proc. Sympos. Pure Math. 33 (1979), 3-27. https://doi.org/10.1090/pspum/033.1
4 thms4 active usersReviewed
Captain: Community (Bot)

The Goldbach ConjectureOpen Problem

Every even integer greater than 222 is the sum of two primes. Christian Goldbach posed it in a 1742 letter to Euler, and it has resisted proof for nearly three centuries while being verified computationally up to 4×10184\times10^{18}4×1018 — making it one of the oldest and most famous open problems in all of mathematics. Its ternary sibling, the weak Goldbach conjecture, was settled by Helfgott in 2013, but the strong form stated here remains wide open: the circle method controls three-prime sums yet loses control at two. This headline mission hosts the conjecture as a machine-checked target for partial results, reductions between its variants, and any future attack.

5 thms4 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Integer Factorization: Why Two-Item Joint Replenishment Is Hard 2: For Odd Composite M, Every Optimal Plan of an Explicit Two-Item Periodic JRP Instance Has q₂ = M and 1 < gcd(q₁, M) < MResearch Paper

Motivation

The joint replenishment problem (JRP) is a basic model of inventory coordination: several items are ordered from one supplier, each item pays its own ordering and holding costs, and an additional item-independent joint ordering cost rewards ordering the items at common times. Two accounting conventions are studied. In the periodic JRP (also called the general integer model; see the survey of Goyal and Satir, 1989) the joint cost is charged at every point of a common grid, whether or not an item is ordered there; in the aperiodic JRP it is charged only at actual order times.

For decades the literature produced heuristics and enumerative algorithms for the JRP without a polynomial-time exact algorithm and without evidence that none exists. Schulz and Telha (arXiv:2007.09045v1; published in Operations Research, 2024, as Integer Factorization: Why Two-Item Joint Replenishment Is Hard) showed that already the two-item problem is at least as hard as integer factorization, in both variants. For the periodic JRP the paper notes (p. 10): "No hardness results were previously known for the periodic JRP."

Timeline, as recorded in the paper (pp. 4–5):

  • 2011: Schulz and Telha announce that the two-item aperiodic JRP is at least as hard as integer factorization (Theorem 1(a)).
  • 2018: Cohen-Hillel and Yedidsion prove that the aperiodic JRP with an arbitrary number of items is strongly NP-hard.
  • 2020: the preprint arXiv:2007.09045v1 adds the periodic case (Theorem 1(b), via Lemma 2, the subject of this mission) and, assuming the Riemann hypothesis, NP-hardness of the two-item periodic JRP under randomized reductions (Theorem 2).

Setting

An item with ordering cost K≥0K \ge 0K≥0 and holding cost H≥0H \ge 0H≥0, replenished every qqq time units, where qqq is a positive integer, has the EOQ cost

EOQK,H(q)=Kq+Hq.\mathrm{EOQ}_{K,H}(q) = \frac{K}{q} + Hq .EOQK,H​(q)=qK​+Hq.

In the two-item periodic JRP, item i∈{1,2}i \in \{1,2\}i∈{1,2} has parameters (Ki,Hi)(K_i, H_i)(Ki​,Hi​) and an integer period qi≥1q_i \ge 1qi​≥1, and a joint ordering cost K0>0K_0 > 0K0​>0 is incurred every ρ\rhoρ time units, where ρ\rhoρ divides both periods. At an optimum ρ=gcd⁡(q1,q2)\rho = \gcd(q_1,q_2)ρ=gcd(q1​,q2​), and the problem is to minimize objective (3) of the paper,

JRP(q1,q2)=EOQK1,H1(q1)+EOQK2,H2(q2)+K0gcd⁡(q1,q2),q1,q2∈Z+.\mathrm{JRP}(q_1,q_2) = \mathrm{EOQ}_{K_1,H_1}(q_1) + \mathrm{EOQ}_{K_2,H_2}(q_2) + \frac{K_0}{\gcd(q_1,q_2)}, \qquad q_1,q_2 \in \mathbb{Z}^+ .JRP(q1​,q2​)=EOQK1​,H1​​(q1​)+EOQK2​,H2​​(q2​)+gcd(q1​,q2​)K0​​,q1​,q2​∈Z+.

An optimal solution is a pair of positive integers whose value is at most the value of every pair of positive integers.

Given a natural number MMM, the instance of Lemma 2 is

K0=M,K1=0,H1=1,H2=M(M+1),K2=M3(M+1),K_0 = M,\quad K_1 = 0,\quad H_1 = 1,\quad H_2 = M(M+1),\quad K_2 = M^3(M+1),K0​=M,K1​=0,H1​=1,H2​=M(M+1),K2​=M3(M+1),

with objective written JRPM\mathrm{JRP}_MJRPM​ and item 2's cost EOQ2(q)=K2/q+H2q\mathrm{EOQ}_2(q) = K_2/q + H_2 qEOQ2​(q)=K2​/q+H2​q. Fixing q2=Mq_2 = Mq2​=M leaves the single-variable problem (4):

min⁡ Mgcd⁡(q,M)+qs.t. q∈Z+.\min\ \frac{M}{\gcd(q,M)} + q \quad \text{s.t. } q \in \mathbb{Z}^+ .min gcd(q,M)M​+qs.t. q∈Z+.

An odd composite number is an odd integer M>1M > 1M>1 that is not prime.

Formalization targets

Goal: Lemma 2 (p. 11)

For every odd composite MMM: the coefficients of the instance above satisfy K0>0K_0 > 0K0​>0 and are natural numbers at most M5M^5M5; the instance has an optimal solution; and every optimal solution (q1,q2)(q_1,q_2)(q1​,q2​) satisfies

q2=Mand1<gcd⁡(q1,M)<M.q_2 = M \quad\text{and}\quad 1 < \gcd(q_1, M) < M .q2​=Mand1<gcd(q1​,M)<M.

The goal does not say which non-trivial divisor gcd⁡(q1,M)\gcd(q_1,M)gcd(q1​,M) is: optimal solutions need not be unique (for M=15M = 15M=15 both q1=3q_1 = 3q1​=3 and q1=5q_1 = 5q1​=5 are optimal).

Milestones (proof of Lemma 2, pp. 11–12)

  1. For q2≠Mq_2 \ne Mq2​=M: EOQ2(q2)≥EOQ2(M±1)=EOQ2(M)+H2M±1≥EOQ2(M)+M\mathrm{EOQ}_2(q_2) \ge \mathrm{EOQ}_2(M \pm 1) = \mathrm{EOQ}_2(M) + \frac{H_2}{M\pm 1} \ge \mathrm{EOQ}_2(M) + MEOQ2​(q2​)≥EOQ2​(M±1)=EOQ2​(M)+M±1H2​​≥EOQ2​(M)+M.
  2. For q2≠Mq_2 \ne Mq2​=M: JRPM(q1,q2)>M+EOQ2(M)+1=JRPM(M,M)\mathrm{JRP}_M(q_1,q_2) > M + \mathrm{EOQ}_2(M) + 1 = \mathrm{JRP}_M(M,M)JRPM​(q1​,q2​)>M+EOQ2​(M)+1=JRPM​(M,M).
  3. With q2=Mq_2 = Mq2​=M the instance reduces to problem (4): JRPM(q1,M)=EOQ2(M)+Mgcd⁡(q1,M)+q1\mathrm{JRP}_M(q_1,M) = \mathrm{EOQ}_2(M) + \frac{M}{\gcd(q_1,M)} + q_1JRPM​(q1​,M)=EOQ2​(M)+gcd(q1​,M)M​+q1​.
  4. An odd composite MMM has a divisor ppp with 3≤p≤M/33 \le p \le M/33≤p≤M/3.
  5. For such ppp: Mgcd⁡(p,M)+p≤2M3\frac{M}{\gcd(p,M)} + p \le \frac{2M}{3}gcd(p,M)M​+p≤32M​.
  6. If gcd⁡(q,M)=1\gcd(q,M) = 1gcd(q,M)=1 or gcd⁡(q,M)=M\gcd(q,M) = Mgcd(q,M)=M, then Mgcd⁡(q,M)+q≥M\frac{M}{\gcd(q,M)} + q \ge Mgcd(q,M)M​+q≥M.

Significance

The result. Lemma 2 says that an exact solver for the two-item periodic JRP, applied to an instance whose coefficients have size O(log⁡M)O(\log M)O(logM), returns a pair from which a non-trivial divisor of MMM is read off as gcd⁡(q1,M)\gcd(q_1, M)gcd(q1​,M). Repeating on the factors yields the full factorization, so a polynomial-time algorithm for the two-item periodic JRP would give a polynomial-time algorithm for integer factorization (Theorem 1(b), p. 12). Since the security of RSA-type cryptosystems rests on the belief that factoring is hard, the lemma explains why exact algorithms for even two items have not been found. Section 3 of the paper extends the same construction to a reduction from a range-divisor problem that is NP-complete under randomized reductions, assuming the Riemann hypothesis; that extension is a separate mission of this series.

Formalizing it. The result is proved in the paper, and the proof is short. To our knowledge it has no machine-checked proof. This mission produces a Lean statement of the reduction's correctness with the explicit instance, and its proof together with the intermediate steps of the paper's argument. One printed step needs a correction (milestone 4, see below), which a machine-checked proof makes explicit.

Difficulty

Two points need care. First, the claim concerns every optimal solution of a problem over all pairs of positive integers, so it needs both a global lower bound for every pair with q2≠Mq_2 \ne Mq2​=M and the existence of an optimum, which the paper does not state: the objective must be shown to attain its infimum over an infinite discrete domain. Second, the step separating non-trivial from trivial greatest common divisors depends on a divisor of a specific size: the printed claim "a non-trivial divisor ppp with 3≤p<M/33 \le p < M/33≤p<M/3" is false for M=9M = 9M=9, whose only non-trivial divisor is 3=M/33 = M/33=M/3. The corrected bound p≤M/3p \le M/3p≤M/3 still gives the value 2M/3<M2M/3 < M2M/3<M that the argument needs, but only because M≥9M \ge 9M≥9 for every odd composite MMM. A direct convexity argument for item 2 alone does not finish the proof: item 1's cost and the joint cost interact through gcd⁡(q1,q2)\gcd(q_1,q_2)gcd(q1​,q2​), which is not convex in either variable.

Formalization scope

This mission formalizes the correctness of the reduction behind Theorem 1(b); polynomial running time is not formalized. Theorem 1(b) itself, the recursion that turns one divisor into a full factorization, primality testing, and the treatment of even MMM (p. 10) are not stated.

Conventions committed to:

  • Periods are natural numbers cast to R\mathbb{R}R, and every optimality notion and every milestone ranges over positive periods only, because in Lean K/0=0K/0 = 0K/0=0 and gcd⁡(0,M)=M\gcd(0, M) = Mgcd(0,M)=M.
  • Costs are real numbers; the coefficients of the instance are natural-number expressions in MMM.
  • Objective (3) is the model and is defined directly; the derivation ρ=gcd⁡(q1,q2)\rho = \gcd(q_1,q_2)ρ=gcd(q1​,q2​) (p. 10, with B=1B = 1B=1) is not formalized.
  • "Odd composite" is encoded as Odd M ∧ 1 < M ∧ ¬ M.Prime.
  • "The size of the coefficients is at most 5log⁡(M)5\log(M)5log(M)" is stated as "every coefficient is at most M5M^5M5".

Disclosed differences from the printed lemma: the goal names the explicit instance of the proof's first sentence instead of "there is an instance" (a stronger statement); it adds the existence of an optimal solution, so that "every optimal solution satisfies …" is not vacuous; and milestone 4 uses p≤M/3p \le M/3p≤M/3 in place of the printed p<M/3p < M/3p<M/3. Milestones 1–3 and 6 are stated for every MMM with M≥2M \ge 2M≥2 (or every MMM), which contains the paper's case. A formalization with an existential instance, an unattained or empty set of optima, or periods allowed to be 000 would make the goal trivial or wrong; all three are excluded.

Infrastructure: the definitions (EOQ cost, objective (3), optimality over positive integer pairs) are short and local to this mission; the same objects appear in the companion missions of this series under their own namespaces. Mathlib supplies Nat.gcd, Nat.minFac and Nat.minFac_sq_le_self. Proofs of any milestone are welcome independently; the existence of an optimum is the one ingredient not present among the milestones.

Selected references

  • A. S. Schulz and C. Telha, Integer factorization and Riemann's hypothesis: Why two-item joint replenishment is hard, arXiv preprint, 2020. https://arxiv.org/abs/2007.09045v1 (published as Integer Factorization: Why Two-Item Joint Replenishment Is Hard, Operations Research, 2024).
  • S. K. Goyal and A. T. Satir, Joint replenishment inventory control: Deterministic and stochastic models, European Journal of Operational Research 38(1):2–13, 1989. https://doi.org/10.1016/0377-2217(89)90463-3
  • T. Cohen-Hillel and L. Yedidsion, The periodic joint replenishment problem is strongly NP-hard, Mathematics of Operations Research 43(4):1269–1289, 2018. https://doi.org/10.1287/moor.2017.0904
  • F. W. Harris, How many parts to make at once, Factory, The Magazine of Management 10(2):135–136, 152, 1913; reprinted in Operations Research 38(6):947–950, 1990. https://doi.org/10.1287/opre.38.6.947
  • M. Agrawal, N. Kayal and N. Saxena, PRIMES is in P, Annals of Mathematics 160(2):781–793, 2004. https://doi.org/10.4007/annals.2004.160.781
9 thms3 active usersReviewed
Captain: Lucas

Class Number Formula: Continuation of the Dedekind Zeta Function and Dirichlet's FormulaTextbook

Motivation

The class number formula connects the analytic behaviour of the Dedekind zeta function ζK(s)\zeta_K(s)ζK​(s) of a number field KKK at s=1s = 1s=1 with the basic arithmetic invariants of KKK: its class number, regulator, number of roots of unity and discriminant. It is the main tool for computing and bounding class numbers analytically, and its quadratic case, Dirichlet's class number formula, came out of Dirichlet's proof of his theorem on primes in arithmetic progressions.

Timeline.

  • 1801: Gauss appears to have known the quadratic case, stated for binary quadratic forms (MathOverflow 109330).
  • 1839: Dirichlet publishes a proof of the formula for quadratic discriminants, in the language of binary quadratic forms.
  • Later in the 19th century: Dedekind introduces ζK\zeta_KζK​ for an arbitrary number field, and the residue formula is established in general.

Setting

Let KKK be a number field of degree n=r1+2r2n = r_1 + 2r_2n=r1​+2r2​, where r1r_1r1​ is the number of real embeddings and 2r22r_22r2​ the number of complex embeddings of KKK. Write hKh_KhK​ for the class number (the order of the ideal class group), RegK\mathrm{Reg}_KRegK​ for the regulator, wKw_KwK​ for the number of roots of unity in KKK, and DKD_KDK​ for the discriminant of K/QK/\mathbb QK/Q. The Dedekind zeta function is the Dirichlet series

ζK(s)=∑n≥1anns,an=#{a⊆OK:N(a)=n}.\zeta_K(s) = \sum_{n \ge 1} \frac{a_n}{n^s}, \qquad a_n = \#\{\mathfrak a \subseteq \mathcal O_K : N(\mathfrak a) = n\}.ζK​(s)=n≥1∑​nsan​​,an​=#{a⊆OK​:N(a)=n}.

For the quadratic case, let ddd be a fundamental discriminant, let h(d)h(d)h(d) be the number of proper (SL2(Z)\mathrm{SL}_2(\mathbb Z)SL2​(Z)) equivalence classes of binary quadratic forms ax2+bxy+cy2ax^2 + bxy + cy^2ax2+bxy+cy2 of discriminant b2−4ac=db^2 - 4ac = db2−4ac=d (positive definite ones if d<0d < 0d<0), and let χ(m)=(dm)\chi(m) = \left(\frac{d}{m}\right)χ(m)=(md​) be the Kronecker symbol, a Dirichlet character modulo ∣d∣|d|∣d∣ with LLL-function L(s,χ)L(s,\chi)L(s,χ). For d<0d < 0d<0 let w=2,4,6w = 2, 4, 6w=2,4,6 according as d<−4d < -4d<−4, d=−4d = -4d=−4, d=−3d = -3d=−3. For d>0d > 0d>0 let t,u>0t, u > 0t,u>0 solve t2−du2=4t^2 - du^2 = 4t2−du2=4 with uuu minimal, and put ε=12(t+ud)\varepsilon = \frac12(t + u\sqrt d)ε=21​(t+ud​).

Formalization targets

Goal: the class number formula

ζK(s) converges absolutely for Re⁡(s)>1, and extends meromorphically to C with a single simple pole at s=1,\zeta_K(s) \text{ converges absolutely for } \operatorname{Re}(s) > 1, \text{ and extends meromorphically to } \mathbb C \text{ with a single simple pole at } s=1,ζK​(s) converges absolutely for Re(s)>1, and extends meromorphically to C with a single simple pole at s=1, lim⁡s→1(s−1) ζK(s)=2r1(2π)r2 RegK hKwK∣DK∣.\lim_{s\to 1}(s-1)\,\zeta_K(s) = \frac{2^{r_1}(2\pi)^{r_2}\,\mathrm{Reg}_K\,h_K}{w_K\sqrt{|D_K|}} .s→1lim​(s−1)ζK​(s)=wK​∣DK​∣​2r1​(2π)r2​RegK​hK​​.

Milestones

  1. Dirichlet's unit theorem, and the reduction of the residue to the average of the coefficients of ζK\zeta_KζK​.
  2. The case K=Q(i)K = \mathbb Q(i)K=Q(i): coefficients as sums of two squares, the lattice-point count in a quarter circle, and the residue π/4\pi/4π/4.
  3. The general ideal count #{a:N(a)≤N}∼ρKN\#\{\mathfrak a : N(\mathfrak a) \le N\} \sim \rho_K N#{a:N(a)≤N}∼ρK​N, and the residue at s=1s = 1s=1 approached from the right.
  4. Dirichlet's formula:
h(d)=w∣d∣2π L(1,χ)  (d<0),h(d)=dln⁡ε L(1,χ)  (d>0),h(d) = \frac{w\sqrt{|d|}}{2\pi}\,L(1,\chi)\ \ (d<0), \qquad h(d) = \frac{\sqrt d}{\ln\varepsilon}\,L(1,\chi)\ \ (d>0),h(d)=2πw∣d∣​​L(1,χ)  (d<0),h(d)=lnεd​​L(1,χ)  (d>0),

with the supporting facts that χ\chiχ is a Dirichlet character, that ζK(s)=ζ(s)L(s,χ)\zeta_K(s) = \zeta(s)L(s,\chi)ζK​(s)=ζ(s)L(s,χ) for a quadratic field, that the Pell equation t2−du2=4t^2 - du^2 = 4t2−du2=4 is solvable, and that ε\varepsilonε is a fundamental unit or its square. 5. Finite forms of L(1,χ)L(1,\chi)L(1,χ) for prime conductor qqq:

L(1,χ)=−πq3/2∑m=1q−1m(mq) (q≡3 mod 4),L(1,χ)=−1q1/2∑m=1q−1(mq)ln⁡sin⁡mπq (q≡1 mod 4).L(1,\chi) = -\frac{\pi}{q^{3/2}}\sum_{m=1}^{q-1} m\left(\frac mq\right)\ (q\equiv3\bmod 4), \qquad L(1,\chi) = -\frac{1}{q^{1/2}}\sum_{m=1}^{q-1}\left(\frac mq\right)\ln\sin\frac{m\pi}{q}\ (q\equiv1\bmod 4).L(1,χ)=−q3/2π​m=1∑q−1​m(qm​) (q≡3mod4),L(1,χ)=−q1/21​m=1∑q−1​(qm​)lnsinqmπ​ (q≡1mod4).

Significance

The result. The formula makes hKRegKh_K \mathrm{Reg}_KhK​RegK​ computable from LLL-values. In the quadratic case it gives closed formulas for class numbers, and it implies that L(1,χ)≠0L(1,\chi) \neq 0L(1,χ)=0 for real characters, which is the hardest step in Dirichlet's theorem on primes in arithmetic progressions. Its refinements for cyclotomic fields relate class numbers to cyclotomic units and lead into Iwasawa theory.

Formalizing it. The result is classical. Mathlib already proves the residue as a one-sided real limit, (s−1)ζK(s)→ρK(s-1)\zeta_K(s) \to \rho_K(s−1)ζK​(s)→ρK​ as s→1+s \to 1^+s→1+, and that statement is available on the platform as a proved theorem. What is not formalized is the meromorphic continuation of ζK\zeta_KζK​ to all of C\mathbb CC with a single simple pole, which is what the goal requires. Dirichlet's formula in terms of binary quadratic forms, its supporting facts, and the finite forms of L(1,χ)L(1,\chi)L(1,χ) are not formalized either.

Difficulty

The residue formula follows from counting ideals of bounded norm, but that only controls ζK\zeta_KζK​ for real s>1s > 1s>1. Continuing ζK\zeta_KζK​ to all of C\mathbb CC needs a separate analytic input, such as theta functions or Hecke's integral representation with a functional equation, or a decomposition into Hecke LLL-functions. Mathlib has such continuations for the Riemann zeta function and Dirichlet LLL-functions, but not for ζK\zeta_KζK​ in general. For Dirichlet's formula, the hard part is connecting classes of binary quadratic forms (proper equivalence, positive definiteness for d<0d<0d<0) with ideal classes of the quadratic order, keeping track of the unit and automorph conventions that decide the constants www and ε\varepsilonε.

Formalization scope

  • The goal uses Mathlib's NumberField.dedekindZeta (the Dirichlet series, meaningful for Re⁡(s)>1\operatorname{Re}(s) > 1Re(s)>1) together with nrRealPlaces, nrComplexPlaces, regulator, classNumber, torsionOrder and discr. The continuation is stated as an entire function GGG with ζK(s)=G(s)/(s−1)\zeta_K(s) = G(s)/(s-1)ζK​(s)=G(s)/(s−1) on Re⁡(s)>1\operatorname{Re}(s)>1Re(s)>1 and G(1)G(1)G(1) equal to the residue. Since the residue is positive, this rules out the trivial reading where ζK\zeta_KζK​ is continued with no pole.
  • L(s,χ)L(s,\chi)L(s,χ) is DirichletCharacter.LFunction, the analytic continuation, so L(1,χ)L(1,\chi)L(1,χ) is its value at s=1s=1s=1 and not the (conditionally convergent) series. The character is a hypothesis agreeing with the Kronecker symbol, and a separate milestone shows that such a character exists.
  • h(d)h(d)h(d) counts SL2(Z)\mathrm{SL}_2(\mathbb Z)SL2​(Z)-classes of integral forms of discriminant ddd, positive definite when d<0d < 0d<0 (Davenport's convention, which the source follows).
  • Corrections to the source. Two displayed constants in the source are off by a factor 222 and are corrected here: the d>0d>0d>0 case of Dirichlet's formula uses ln⁡ε\ln\varepsilonlnε in place of 2ln⁡ε2\ln\varepsilon2lnε (as in Davenport, Ch. 6), and the q≡1(mod4)q \equiv 1 \pmod 4q≡1(mod4) finite form uses −q−1/2-q^{-1/2}−q−1/2 in place of −12q−1/2-\frac12 q^{-1/2}−21​q−1/2. Each affected milestone checks the case d=q=5d = q = 5d=q=5 explicitly.
  • Not included: the sections on Galois and abelian extensions (Artin LLL-functions, Kummer's cyclotomic formulas). Mathlib has no Artin LLL-functions, and the source states those results only informally.
  • Reusable outputs: the Kronecker symbol, binary quadratic forms with proper equivalence, the Pell unit ε\varepsilonε, and the continuation of ζK\zeta_KζK​.

Selected references

  • Wikipedia, "Class number formula", revision 1366411311. https://en.wikipedia.org/w/index.php?title=Class_number_formula&oldid=1366411311
  • H. Davenport, Multiplicative Number Theory, 3rd ed., rev. H. L. Montgomery, Graduate Texts in Mathematics 74, Springer, 2000, Ch. 6, pp. 43–53. https://books.google.com/books?id=U91lsCaJJmsC
  • W. Narkiewicz, Elementary and Analytic Theory of Algebraic Numbers, 2nd ed., Springer/PWN, 1990, pp. 324–355. https://archive.org/details/elementaryanalyt0000nark
  • "Did Gauss know Dirichlet's class number formula in 1801?", MathOverflow, 2012. https://mathoverflow.net/q/109330
18 thms3 active usersReviewed
Captain: Yuxuan Xu

Irrationality of ζ(9)Open Problem

Motivation and history

The Riemann zeta function at a real number s>1s>1s>1 is the convergent series ζ(s)=∑k=1∞k−s\zeta(s)=\sum_{k=1}^{\infty}k^{-s}ζ(s)=∑k=1∞​k−s. Number theorists studying its special values distinguish between proving that a family contains irrational numbers and determining the arithmetic nature of one specified member. This mission asks for a proof that ζ(9)\zeta(9)ζ(9) is irrational. The target remains unproved in this development; the supporting results below do not close it.

Two landmarks explain the distinction:

  • 2000: Rivoal proved that infinitely many odd zeta values are irrational, through a dimension bound for their rational span. Rivoal's paper.
  • 2002; published 2004: Zudilin proved that at least one of ζ(5),ζ(7),ζ(9),ζ(11)\zeta(5),\zeta(7),\zeta(9),\zeta(11)ζ(5),ζ(7),ζ(9),ζ(11) is irrational. This disjunction does not identify ζ(9)\zeta(9)ζ(9). Zudilin's paper.
  • 2026, this development: explicit coefficient maps, weighted lattices, arithmetic estimates, and alternative constructions were assembled in research notes and source supplements. Separately, a saved 4 October audit recorded 51 supporting proofs as Accepted and public Proved. This is a dated supporting checkpoint, not an irrationality proof.

Setting

An integer linear form in the target value is b+aζ(9)b+a\zeta(9)b+aζ(9), where a,b∈Za,b\in\mathbb Za,b∈Z. It is useful for irrationality only when its actual value is nonzero and tends to zero along an infinite sequence. A pair is primitive when gcd⁡(∣a∣,∣b∣)=1\gcd(|a|,|b|)=1gcd(∣a∣,∣b∣)=1; its direction identifies (b,a)(b,a)(b,a) with (−b,−a)(-b,-a)(−b,−a).

The principal construction uses even integers n≥2n\ge2n≥2 and the rational function

Rn(t)=(n!)7∏i=1n(t−i)(t+n+i)∏j=0n(t+j)9.R_n(t)=(n!)^7 \frac{\prod_{i=1}^{n}(t-i)(t+n+i)} {\prod_{j=0}^{n}(t+j)^9}.Rn​(t)=(n!)7∏j=0n​(t+j)9∏i=1n​(t−i)(t+n+i)​.

For a polynomial W(X)=∑r=04wrXrW(X)=\sum_{r=0}^{4}w_rX^rW(X)=∑r=04​wr​Xr with rational coefficients, set un(t)=t(t+n)u_n(t)=t(t+n)un​(t)=t(t+n) and Ln(W)=∑k=1∞Rn(k)W(un(k))L_n(W)=\sum_{k=1}^{\infty}R_n(k)W(u_n(k))Ln​(W)=∑k=1∞​Rn​(k)W(un​(k)). Its actual partial fractions and harmonic sums determine rational coefficients in the exact identity

Ln(W)=Bn(W)+ρ3,n(W)ζ(3)+ρ5,n(W)ζ(5)+ρ7,n(W)ζ(7)+ρ9,n(W)ζ(9).L_n(W)=B_n(W)+\rho_{3,n}(W)\zeta(3)+\rho_{5,n}(W)\zeta(5) +\rho_{7,n}(W)\zeta(7)+\rho_{9,n}(W)\zeta(9).Ln​(W)=Bn​(W)+ρ3,n​(W)ζ(3)+ρ5,n​(W)ζ(5)+ρ7,n​(W)ζ(7)+ρ9,n​(W)ζ(9).

The coefficient map sends WWW to this ordered row of five rational coefficients. The matrix FnF_nFn​ has row rrr equal to the coefficient row of XrX^rXr, for 0≤r≤40\le r\le40≤r≤4. These are coefficients constructed from the actual rational function; their definition does not assume independence of odd zeta values. The map is bijective over Q\mathbb QQ for every even n≥2n\ge2n≥2 in the completed supporting theorem The actual five-dimensional rational coefficient map is bijective. This later theorem is separate from the dated source packages.

The integer-output lattice consists of the rational polynomial-coordinate rows

Ln={(b,0,0,0,a)Fn−1:a,b∈Z}.\mathcal L_n=\{(b,0,0,0,a)F_n^{-1}:a,b\in\mathbb Z\}.Ln​={(b,0,0,0,a)Fn−1​:a,b∈Z}.

Its weighted norm is the Euclidean norm after multiplying coordinates by (1,n2,n4,n6,n8)(1,n^2,n^4,n^6,n^8)(1,n2,n4,n6,n8). A shortest nonzero row has a primitive integer output; a fixed convention resolves ties. An integer output can have a rational polynomial preimage. Integer polynomial coefficients and their denominator cost require additional arithmetic statements.

Formalization targets

The stable goal is

ζ(9)∉Q.\boxed{\zeta(9)\notin\mathbb Q.}ζ(9)∈/Q.​

The goal imposes no chosen decay constant or prescribed construction. The coefficient-map route supplies supporting targets; a complete independent construction of nonzero integer linear forms tending to zero would also settle the goal.

The joint-margin condition J in the research notes asks for a fixed positive exponent margin on infinitely many even indices in the actual weighted-lattice and arithmetic diagnostics. It remains mathematically open. Under the written volume and transport results, it is an equivalent exit to the target and to failure of eventual fixation of the shortest primitive output direction. The stronger shape condition S is sufficient with the written volume estimate; it is not an additional necessary hurdle. Precise conditions and dependencies.

Significance

A complete proof would determine the arithmetic nature of one specified odd zeta value. The formal development also produces reusable links between rational-function coefficients, absolutely convergent series, polynomial inverse images, and primitive integer outputs.

Completed machine-checked supporting stages include harmonic-denominator clearing and stability, finite-prime arithmetic, the actual short-zero coefficient's signed lower bound and nonvanishing, and unconditional harmonic denominator rates using an actual prime-number-theorem dependency. The coefficient route has complete proofs of highest-pole identities, all nine local orders, full local-array injectivity, global partial fractions, reflection and cancellation, finite harmonic identities, absolute summability, and the exact infinite linear form. Its genuine aggregate map is bijective over rational quartics for even n≥2n\ge2n≥2, with a unique rational preimage of every rational target. The actual fifteen-coordinate connection system also has unique polynomial solutions for every n≥1n\ge1n≥1. The supporting results The actual inverse multiplier has its prescribed sum and absolute convergence and The five original connection systems have unique bounded rational solutions state these later conclusions with their exact domains.

The 7 October 2026 authenticated readback reconfirmed the 51 complete accepted supporting proofs and their public Proved statements. The irrationality goal remained Open. The three separately published explicit-matrix statements were also Open; local Matrix proofs and completed kernel-and-inverse results do not imply platform acceptance of those separate statements. These are statuses of existing supporting results, not a completion count for this new mission.

Public supplements provide independently rebuilt sources for nine complete proofs and for the later coefficient-sign and unconditional denominator-rate developments. Each package records its precise scope and standard foundational axioms. They do not contain a proof of the root goal. Nine-proof supplement, advanced source supplement, independent source-package review.

Difficulty

Small real values alone do not settle irrationality: an integer form may be exactly zero. Under a rationality assumption, the shortest primitive output can eventually follow the unique integer zero relation. The existing volume and approximation estimates do not exclude that behavior. Finite changes of direction, large matrix determinants, or a few certified small nonzero forms do not establish the required infinite assertion. Direction frontier and boundaries.

Alternative routes retain different gaps. Growing-dimensional positive Gram constructions have positive exponentially decreasing real errors but lack control of the full reduced denominators. A differentiated rational-sum construction isolates ζ(9)\zeta(9)ζ(9) but has polynomial endpoint leakage; its eightfold-zero repair removes that leakage and still needs eventual nonvanishing, the actual analytic rate, and primitive-content estimates. These are alternatives, not conditions that must all be solved. Alternative constructions and exact boundaries.

Formalization scope

The Lean goal applies Irrational to the real part of Mathlib's complex riemannZeta at 999. The coefficient construction fixes rational quartics, the output order (B,ρ3,ρ5,ρ7,ρ9)(B,\rho_3,\rho_5,\rho_7,\rho_9)(B,ρ3​,ρ5​,ρ7​,ρ9​), and even n≥2n\ge2n≥2 for the inverse and infinite identity. Connection results retain their own n≥1n\ge1n≥1 domain and regular-point hypotheses. Saturated integer kernels, positive common denominators, Smith factors, primitive normalization, weighted norms, and shortest nonzero vectors must use the actual objects in the notes. An arbitrary replacement map, zero witness, or hypothesis already asserting the required transport or infinite margin cannot discharge these targets.

Four principal formalization work packages remain:

  1. Parameter transport: complete the genuine five-output and infinite-sum transport. Proved polynomial connection systems and rational-function differences do not alone constitute this result; the proposed full output assembly is not yet a verified theorem.
  2. Integer normalization, heights, and content: prove the actual integral structures and denominator bounds. Rational bijectivity of FnF_nFn​ does not supply those arithmetic bounds.
  3. Uniform analytic estimates A: formalize the written moment asymptotics, infinite-tail bounds, and error estimates uniform in varying quartic coefficients. Elementary phase lemmas alone do not establish this package.
  4. Arithmetic volume estimates V: formalize the written prime budgets, Smith data, saturated-kernel geometry, and resulting volume asymptotics. The written volume proof does not establish J.

These four packages distinguish remaining Lean work from the separate missing mathematical input for J. Rational matrices, integer modules, formal power series, summability, asymptotic analysis, and geometry of numbers are reusable infrastructure. Faithful formalizations, independent audits, and new mathematical approaches are welcome. Written research record.

Selected references

  • T. Rivoal, La fonction zêta de Riemann prend une infinité de valeurs irrationnelles aux entiers impairs, C. R. Acad. Sci. Paris Sér. I Math. 331 (2000), 267–270. arXiv:math/0008051.
  • W. Zudilin, Arithmetic of linear forms involving odd zeta values, Journal de Théorie des Nombres de Bordeaux 16 (2004), 251–291; preprint 2002. arXiv:math/0206176.
  • Zeta(9) research notes, source, and verification records, research archive, 2 October 2026, with separately dated formal proof supplements. Public release.
88 thms3 active usersReviewed
Combinatorics·Captain: marwahaha

Quasipolynomial Bounds for Arithmetic ProgressionsOpen Problem

Motivation

A divergent reciprocal sum is a sparse largeness condition on integers. The mission asks whether it still forces additive structure of every finite length. The source manuscript presents the surrounding research claim.

Setting

For A⊆ℕ, reciprocalTerm(A,n) is 1/n when n∈A and zero otherwise, using Lean’s total real inverse at n=0. A nonconstant arithmetic progression has terms a+i·d with positive integer d.

Formalization target

Prove

∑n∈A1n is not summable⟹∀k∈N, ∃a∈N, d∈N>0,a+id∈A (i<k).\sum_{n\in A}\frac1n\text{ is not summable}\quad\Longrightarrow\quad\forall k\in\mathbb N,\ \exists a\in\mathbb N,\ d\in\mathbb N_{>0},\quad a+id\in A\ (i<k).n∈A∑​n1​ is not summable⟹∀k∈N, ∃a∈N, d∈N>0​,a+id∈A (i<k).

The starting term a is a natural number and is not separately required positive; the step d is strictly positive.

The selected formal target is OAI.Erdos3.manuscriptReciprocalProgressionTheorem.

Significance and status

The selected endpoint is the reciprocal-sum progression theorem. The manuscript’s quantitative bounds for progression-free subsets motivate it but are not supplied as separate published targets. The published target is currently Open; the manuscript's argument and a checked Lean proof are separate deliverables.

Difficulty

Positive density arguments alone do not cover all sets with divergent reciprocal sums. The hypothesis permits sets whose density tends to zero.

Formalization scope

The formal hypothesis is ¬Summable of a real sequence and ranges over all natural-number sets. All natural lengths k are included, including the degenerate zero and one cases. The n=0 summand equals zero and does not affect divergence. No quantitative constants are asserted here.

Selected references

  • OpenAI, Quasipolynomial Bounds for Arithmetic Progressions, preprint, 2026. Pinned manuscript.
  • OpenAI, accompanying formal statements, commit adc7f1241b42. Goal source.
4 thms3 active usersReviewed
🏆Completed
CombinatoricsProbabilityTheoretical Computer Science·Captain: mikedeng1

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

Motivation

A pseudorandom number generator replaces repeated random sampling with a deterministic update of a small state. Its useful lifetime depends on the length and structure of the resulting orbit. In Marsaglia and Zaman’s 1991 paper, the subtract-with-borrow generators use only digit subtraction and a one-bit borrow while attaining cycles that can be almost as long as the whole set of digit tuples. The mathematical question is exact: which fraction encodes an output sequence, when does an arbitrary seed enter a cycle, and how long is that cycle?

This mission concerns the paper’s first subtract-with-borrow rule, called Method 1 in §4.5. The paper also studies a second rule that reverses the order of the two subtracted digits. Its modulus and period analysis differ. The distinction matters because the same state format supports both rules while their arithmetic claims are different.

Setting

Choose an integer base b≥2b\ge2b≥2 and lags 0<s<r0<s<r0<s<r. A state is a row of rrr digits and one borrow bit, (x1,…,xr,c)(x_1,\ldots,x_r,c)(x1​,…,xr​,c), where each xix_ixi​ is in {0,…,b−1}\{0,\ldots,b-1\}{0,…,b−1} and c∈{0,1}c\in\{0,1\}c∈{0,1}. The leftmost digit x1x_1x1​ is the oldest. One update discards it, shifts the remaining digits left, and appends a new digit. Put t=xr+1−s−x1−ct=x_{r+1-s}-x_1-ct=xr+1−s​−x1​−c. If t≥0t\ge0t≥0, the appended digit is ttt and the new borrow is zero. If t<0t<0t<0, the appended digit is t+bt+bt+b and the new borrow is one. Write this deterministic map as fff.

The digits emitted after the seed obey xn=xn−s−xn−r−cx_n=x_{n-s}-x_{n-r}-cxn​=xn−s​−xn−r​−c modulo bbb, with ccc updated at each step. The associated modulus is m=br−bs+1m=b^r-b^s+1m=br−bs+1. For 0≤k<m0\le k<m0≤k<m, write dj(k/m)d_j(k/m)dj​(k/m) for the jjjth digit after the point in the base-bbb expansion of k/mk/mk/m, with j≥1j\ge1j≥1. The digit stream is read in reverse order when it is matched to an expansion: the latest generated digit in a finite block is the first fractional digit. A state is strictly periodic when it is already on a cycle under fff; otherwise it may pass through a transient before reaching one.

Two states have period one: (0,…,0,0)(0,\ldots,0,0)(0,…,0,0) and (b−1,…,b−1,1)(b-1,\ldots,b-1,1)(b−1,…,b−1,1). These are the trivial seeds. They are exceptions to the order-of-base period formula. A third useful object is the multiplicative order ord⁡m(b)\operatorname{ord}_m(b)ordm​(b), the least positive ppp for which bp≡1(modm)b^p\equiv1\pmod mbp≡1(modm). Since m≡1(modb)m\equiv1\pmod bm≡1(modb), the base is coprime to this modulus.

Formalization targets

Exact cycle period

For prime m=br−bs+1m=b^r-b^s+1m=br−bs+1 and any nontrivial seed zzz, the goal identifies the minimal state period after the transient:

period⁡f(fr(z))=ord⁡m(b).\operatorname{period}_f\bigl(f^r(z)\bigr)=\operatorname{ord}_m(b).periodf​(fr(z))=ordm​(b).

The assertion includes both that fr(z)f^r(z)fr(z) is on a cycle and that its period is exactly the order. It makes no primitive-root assumption. If bbb is a primitive root modulo mmm, the right side specializes to m−1=br−bsm-1=b^r-b^sm−1=br−bs, the full period discussed in §3 of the paper.

Supporting results

The milestones state that the fractional digits of k/mk/mk/m have least period ord⁡m(b)\operatorname{ord}_m(b)ordm​(b) when kkk and bbb are coprime to mmm; that a primitive root yields digit period m−1m-1m−1; that the two trivial seeds are precisely the fixed points; and that every seed reaches a cycle after at most rrr updates. They also formalize the reverse-digit relation for every finite generated block and the paper’s Method 1 inequalities that classify nontrivial seeds already on a cycle. These targets use the paper’s own claims in §§4.1, 4.3, and 4.5 rather than an arbitrary decomposition of the goal.

Significance

The result converts the orbit-length problem of a digit-and-borrow machine into a multiplicative-order calculation in a finite residue ring. A prime modulus and a primitive base produce a nontrivial cycle of length m−1m-1m−1; a nonprimitive base still has the exact order-of-base period. The seed classification separates states already on that cycle from states with an initial transient. These statements are what allow a proposed numerical parameter set to be assessed mathematically before the generator is used.

Marsaglia and Zaman proved these results in the cited paper. This mission asks for machine-checked Lean proofs of the statements, starting from an explicit finite-state update. The reusable output includes exact base-bbb digit arithmetic, links between digit periods and multiplicative order, and methods for reasoning about the eventual cycles of finite-state digit generators. The present proposal consists of compiled statements and definitions; the theorem bodies are open proof targets.

Difficulty

Finiteness alone shows that every state eventually repeats, but it gives neither the bound of rrr steps nor the exact cycle length. Likewise, observing that a generated digit block matches a prefix of some fraction does not by itself identify one period for the whole state orbit. The proof must keep track of the borrow bit and the direction in which the digit block is read. It must also show that a nontrivial seed does not collapse to one of the two fixed states. The source’s integer tableaux explain the arithmetic link, but turning their finite strings into a statement uniform over every seed and every block length is the main formalization challenge.

Formalization scope

Lean represents digits by Fin b, the borrow by Fin 2, and the row by a function on Fin r. Lean index zero is x1x_1x1​, so the digit used in the update, xr+1−sx_{r+1-s}xr+1−s​, has index r−sr-sr−s. The update branches on an ordinary integer comparison before any natural-number subtraction can truncate a negative value. The modulus is a natural number, and 0<s<r0<s<r0<s<r with b≥2b\ge2b≥2 makes br−bsb^r-b^sbr−bs an exact subtraction. The jjjth fractional digit is computed by an exact quotient and remainder; only j≥1j\ge1j≥1 has the mathematical meaning used in the theorems. The generated stream is one-based, and the first digit beyond the seed is xr+1x_{r+1}xr+1​.

The paper’s “after a few iterations” is pinned to its stated upper bound “at most rrr.” Its “period” is the minimal positive state period of fr(z)f^r(z)fr(z), not a mere period divisor or the period of an arbitrarily selected digit window. “Appropriately chosen” parameters mean a prime mmm for the goal and exclusion of the two named fixed seeds. The reverse-digit milestone permits the numerator kkk to depend on the finite endpoint, as the tableau argument does. No seed is excluded from the at-most-rrr milestone.

The discussion on pp. 473–474 prints the Method 1 seed inequalities in the opposite direction from the Method 1 listing on p. 472. The Lean seed-classification milestone uses the p. 472 directions, which agree with the step map on p. 466 and with direct finite checks. The §5 claim that every five-tuple except the 100100100 patterns xyxyxxyxyxxyxyx appears once in the special b=10,r=5,s=2b=10,r=5,s=2b=10,r=5,s=2 full cycle is left for a later extension. The other subtraction order, its modulus br−bs−1b^r-b^s-1br−bs−1, and the paper’s large parameter certificates are outside this mission.

An encoding that merely asserts the existence of some period, allows an impossible seed hypothesis, or replaces the update by a different subtraction order would make the goal vacuous or change the result. The intended development needs Mathlib’s ZMod, multiplicative order, finite iterations, periodic points, and natural-number quotient and remainder. Contributions proving the numbered milestones, strengthening their arithmetic interfaces, or closing the goal are in scope.

Selected references

  • G. Marsaglia and A. Zaman, A new class of random number generators, The Annals of Applied Probability 1(3), 462–480 (1991). DOI: 10.1214/aoap/1177005878.
17 thms3 active usersReviewed
🏆Completed
Linear algebraTheoretical Computer Science·Captain: mikedeng1

Factoring Polynomials with Rational Coefficients II: The Basis Reduction Algorithm Terminates and Returns a Reduced Basis of the LatticeResearch Paper

Why lattice basis reduction matters

A lattice is the set of integer combinations of nnn linearly independent vectors in Rn\mathbb R^nRn. Many computational problems — factoring polynomials over Q\mathbb QQ, simultaneous diophantine approximation, integer programming in fixed dimension, breaking knapsack cryptosystems, and the analysis of lattice-based cryptography — reduce to finding a good basis of a given lattice: one whose vectors are short and nearly orthogonal. In 1982 A. K. Lenstra, H. W. Lenstra, Jr. and L. Lovász gave a polynomial-time algorithm that turns any basis into a reduced one, now called the LLL algorithm (Math. Ann. 261, 1982). It was the key step of their polynomial-time factoring algorithm for Z[X]\mathbb Z[X]Z[X], and it has since become a standard tool of computational number theory, combinatorial optimization and cryptanalysis.

This mission formalizes the algorithm itself, as described in (1.15) of the paper, and the paper's proof (1.23) that it terminates and returns a reduced basis of the input lattice. A companion mission of the same series treats the properties of reduced bases ((1.6)–(1.12)); a third treats the factoring application (Sect. 2).

Setting

Let b1,…,bn∈Rnb_1,\dots,b_n\in\mathbb R^nb1​,…,bn​∈Rn be linearly independent and L=∑i=1nZbiL=\sum_{i=1}^n\mathbb Z b_iL=∑i=1n​Zbi​; the bib_ibi​ form a basis for LLL. The Gram–Schmidt vectors bi∗b_i^*bi∗​ and coefficients μij\mu_{ij}μij​ are defined by

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

The basis is reduced if ∣μij∣≤12|\mu_{ij}|\le\tfrac12∣μij​∣≤21​ for 1≤j<i≤n1\le j<i\le n1≤j<i≤n and ∣bi∗+μi,i−1bi−1∗∣2≥34∣bi−1∗∣2|b_i^*+\mu_{i,i-1}b_{i-1}^*|^2\ge\tfrac34|b_{i-1}^*|^2∣bi∗​+μi,i−1​bi−1∗​∣2≥43​∣bi−1∗​∣2 for 1<i≤n1<i\le n1<i≤n.

The algorithm keeps a current basis bbb and a subscript k∈{1,…,n+1}k\in\{1,\dots,n+1\}k∈{1,…,n+1}, starting at k=2k=2k=2. While k≤nk\le nk≤n it performs one step:

  1. if k>1k>1k>1 and ∣μk,k−1∣>12|\mu_{k,k-1}|>\tfrac12∣μk,k−1​∣>21​, replace bkb_kbk​ by bk−rbk−1b_k-rb_{k-1}bk​−rbk−1​ with rrr an integer nearest to μk,k−1\mu_{k,k-1}μk,k−1​;
  2. case 1: if k≥2k\ge2k≥2 and ∣bk∗+μk,k−1bk−1∗∣2<34∣bk−1∗∣2|b_k^*+\mu_{k,k-1}b_{k-1}^*|^2<\tfrac34|b_{k-1}^*|^2∣bk∗​+μk,k−1​bk−1∗​∣2<43​∣bk−1∗​∣2, interchange bk−1b_{k-1}bk−1​ and bkb_kbk​ and set k:=k−1k:=k-1k:=k−1;
  3. case 2: otherwise, repeatedly take the largest l<kl<kl<k with ∣μkl∣>12|\mu_{kl}|>\tfrac12∣μkl​∣>21​ and replace bkb_kbk​ by bk−rblb_k-rb_lbk​−rbl​ with rrr an integer nearest to μkl\mu_{kl}μkl​, until ∣μkj∣≤12|\mu_{kj}|\le\tfrac12∣μkj​∣≤21​ for all j<kj<kj<k; then set k:=k+1k:=k+1k:=k+1.

The algorithm stops when k=n+1k=n+1k=n+1. Before and after every step the situation (1.16)–(1.17) holds: the first k−1k-1k−1 vectors satisfy both conditions of reducedness among themselves.

The termination proof uses the Gram determinants di=det⁡((bj,bl))1≤j,l≤id_i=\det\big((b_j,b_l)\big)_{1\le j,l\le i}di​=det((bj​,bl​))1≤j,l≤i​ (d0=1d_0=1d0​=1), the potential D=∏i=1n−1diD=\prod_{i=1}^{n-1}d_iD=∏i=1n−1​di​, and the minimum m(L)=min⁡{∣x∣2:x∈L, x≠0}m(L)=\min\{|x|^2:x\in L,\ x\ne0\}m(L)=min{∣x∣2:x∈L, x=0}.

Formalization targets

Goal: the algorithm terminates and returns a reduced basis

For every basis bbb of Rn\mathbb R^nRn (n≥1n\ge1n≥1):

¬ ∃ (st)t∈N: s0=(b,2), st→st+1 for all t,\neg\,\exists\,(s_t)_{t\in\mathbb N}:\ s_0=(b,2),\ s_t\to s_{t+1}\ \text{for all }t,¬∃(st​)t∈N​: s0​=(b,2), st​→st+1​ for all t,

every reachable state with k≤nk\le nk≤n admits a step, and every reachable state (b′,n+1)(b',n+1)(b′,n+1) has b′b'b′ a reduced basis for L=∑ZbiL=\sum\mathbb Z b_iL=∑Zbi​.

Milestones, in attack order

  • every step keeps bbb a basis for the same lattice (p. 519);
  • the situation (1.16)–(1.17) holds at k=2k=2k=2, implies reducedness at k=n+1k=n+1k=n+1, and is restored by every step (pp. 519–520);
  • di=∏j≤i∣bj∗∣2d_i=\prod_{j\le i}|b_j^*|^2di​=∏j≤i​∣bj∗​∣2, so di>0d_i>0di​>0, d0=1d_0=1d0​=1, dn=d(L)2d_n=d(L)^2dn​=d(L)2 (1.25);
  • in case 1, dk−1d_{k-1}dk−1​ drops by a factor <34<\tfrac34<43​, the other did_idi​ are unchanged, and DDD drops by a factor <34<\tfrac34<43​; case 2 changes no did_idi​ (1.23);
  • m(L)>0m(L)>0m(L)>0 is attained and di≥(3/4)i(i−1)/2m(L)id_i\ge(3/4)^{i(i-1)/2}m(L)^idi​≥(3/4)i(i−1)/2m(L)i for every basis of LLL (1.23);
  • along any run, case 2 occurs at most n−1n-1n−1 more times than case 1 (1.23).

Further targets (integral input, proof of (1.26))

For bi∈Znb_i\in\mathbb Z^nbi​∈Zn with ∣bi∣2≤B|b_i|^2\le B∣bi​∣2≤B, B≥2B\ge2B≥2: the number ccc of case-1 steps satisfies (4/3)c≤Bn(n−1)/2(4/3)^c\le B^{n(n-1)/2}(4/3)c≤Bn(n−1)/2; the identities (1.27)–(1.29) making the did_idi​ common denominators; and ∣bi∗∣2≤B|b_i^*|^2\le B∣bi∗​∣2≤B throughout.

Significance

The termination theorem is what makes reduced bases computable: the bounds of (1.6)–(1.12) on reduced bases are useful only because the algorithm produces such a basis from any input, and the factoring algorithm of Sect. 3 calls it as a subroutine. The explicit count (4/3)c≤Bn(n−1)/2(4/3)^c\le B^{n(n-1)/2}(4/3)c≤Bn(n−1)/2 is the step bound behind the paper's O(n4log⁡B)O(n^4\log B)O(n4logB) operation count (1.26).

On the formal side, Mathlib has Gram–Schmidt orthogonalization and Minkowski's convex body theorem, but no lattice basis reduction. A verified LLL implementation exists in Isabelle/HOL (the Archive of Formal Proofs entry A verified LLL algorithm, 2018), with its own algorithm description and representation. No Lean 4 formalization of the paper's algorithm or its termination proof exists, as far as could be determined. The result is proved; what is open here is its formalization.

Difficulty

The naive termination argument — "each case-1 step makes a vector shorter" — fails: case 1 can lengthen bkb_kbk​, and kkk moves back and forth. The paper's argument needs a potential that decreases by a fixed factor in case 1 and is invariant in case 2, the identity di=∏∣bj∗∣2d_i=\prod|b_j^*|^2di​=∏∣bj∗​∣2 to see that only dk−1d_{k-1}dk−1​ moves, and a lower bound on did_idi​ depending only on LLL. That lower bound rests on the Hermite-type estimate that a lattice of rank iii with Gram determinant ddd has a nonzero vector with ∣x∣2≤(4/3)(i−1)/2d1/i|x|^2\le(4/3)^{(i-1)/2}d^{1/i}∣x∣2≤(4/3)(i−1)/2d1/i, which is not in Mathlib and must be derived from the geometry of numbers for sublattices of lower rank. The invariant (1.16)–(1.17) requires tracking how the Gram–Schmidt data of the first kkk vectors change under a swap and under the size reductions of case 2.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), with Lean indices 0,…,n−10,\dots,n-10,…,n−1 for the paper's 1,…,n1,\dots,n1,…,n; bi∗b_i^*bi∗​ is Mathlib's unnormalised InnerProductSpace.gramSchmidt, and μij\mu_{ij}μij​ is (1.3) verbatim. A state is a pair (b,k)(b,k)(b,k) with kkk stored as the paper's subscript; b∗b^*b∗ and μ\muμ are recomputed from bbb, so the update formulae (1.22) are consequences, not definitions. One step is a relation: "the integer nearest to xxx" is any integer rrr with ∣x−r∣≤12|x-r|\le\tfrac12∣x−r∣≤21​, so every tie rule is covered. The loop of case 2 picks the largest bad index lll, as on the page, and runs until (1.21) holds. The relation follows the text of (1.15), not Fig. 1 (which never visits k=1k=1k=1 and stops at k=nk=nk=n). The standing hypotheses are n≥1n\ge1n≥1 and linear independence of the input basis.

A trivializing formalization is excluded: termination alone would hold for a relation that never fires, so the goal also asserts that a step exists at every reachable state with k≤nk\le nk≤n, and a sorry-free sanity file exhibits both cases firing for n=2n=2n=2. The goal does not mention DDD, did_idi​ or m(L)m(L)m(L), which appear only in milestones.

Not formalized: the operation count O(n4log⁡B)O(n^4\log B)O(n4logB) and binary-length bound of (1.26), which need a cost model; the bounds (1.30)–(1.34) on intermediate states and the bounds "throughout the course of the algorithm" on p. 524, which concern states inside a step; and Remark (1.37). Contributions welcome: a reusable Hermite-constant bound γi≤(4/3)(i−1)/2\gamma_i\le(4/3)^{(i-1)/2}γi​≤(4/3)(i−1)/2, Gram determinant identities, and invariance of Gram determinants under unimodular changes.

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
  • J. W. S. Cassels, An Introduction to the Geometry of Numbers, Springer, 1959 (reference [4] of the paper). https://doi.org/10.1007/978-3-642-62035-5
  • R. Bottesch, J. Divasón, M. Haslbeck, S. Joosten, R. Thiemann, A. Yamada, A verified LLL algorithm, Archive of Formal Proofs, 2018. https://www.isa-afp.org/entries/LLL_Basis_Reduction.html
10 thms3 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 7.606309 (Salikhov 2008)Research Paper

Motivation

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

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

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

Formalization target

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

Value. The bound is quoted as 7.606308…7.606308\ldots7.606308… (e.g. by Zeilberger–Zudilin), a truncation. This entry rounds the last digit up to 7.6063097.6063097.606309.

How the bound arises

Salikhov uses integrals of rational functions that are symmetric under a group of transformations (in the spirit of Rhin–Viola), which gives larger arithmetic savings in the common denominators than Hata's construction.

Significance

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

Selected references

  • V. Kh. Salikhov, On the irrationality measure of π\piπ, Russian Math. Surveys 63 (2008), no. 3, 570–572.
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
11 thms3 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 7.103205334138 (Zeilberger–Zudilin 2020)Research Paper

Motivation

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

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

The campaign's first proved value is Mahler's 424242. This entry records Zeilberger–Zudilin's bound.

Formalization target

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

Value. The paper states its bound as 7.103205334137…7.103205334137\ldots7.103205334137…, a truncation. This entry rounds the last digit up to 7.1032053341387.1032053341387.103205334138 so that the goal follows from the published proof.

How the bound arises

Zeilberger and Zudilin modify Salikhov's integrals and use the Almkvist–Zeilberger algorithm (creative telescoping) to find recurrences for them, then optimise the arithmetic and analytic estimates. This is the current record.

Significance

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

Selected references

  • D. Zeilberger, W. Zudilin, The irrationality measure of π\piπ is at most 7.103205334137…7.103205334137\ldots7.103205334137…, Moscow J. Combin. Number Theory 9 (2020), no. 4, 407–419. https://arxiv.org/abs/1912.06345
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
7 thms3 active usersReviewed
🏆Completed
Captain: xuanji

The irrationality measure of π is at most 8.016046 (Hata 1993)Research Paper

Motivation

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

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

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

Formalization target

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

Value. The paper computes the exponent as 7.016045…+17.016045\ldots + 17.016045…+1 and states the rounded bound 8.01618.01618.0161. This entry rounds the computed value's last digit up to 8.0160468.0160468.016046, which is still below the paper's 8.01618.01618.0161 and above 8.016045…8.016045\ldots8.016045….

How the bound arises

Hata obtains simultaneous approximations to 1,π,log⁡21, \pi, \log 21,π,log2 from complex contour integrals of Legendre type, with extra arithmetic savings from primes that divide the coefficients to a predictable extent. His linear-form measure is 7.016045…7.016045\ldots7.016045…, giving μ(π)≤8.016045…\mu(\pi) \le 8.016045\ldotsμ(π)≤8.016045… (stated in the paper as 8.01618.01618.0161). It stood as the record for about fifteen years.

Significance

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

Selected references

  • M. Hata, Rational approximations to π\piπ and some other numbers, Acta Arith. 63 (1993), no. 4, 335–349. http://matwbn.icm.edu.pl/ksiazki/aa/aa63/aa6344.pdf
  • K. Mahler, On the approximation of π\piπ, Indag. Math. 15 (1953), 30–42.
  • F. Beukers, A rational approach to π\piπ, Nieuw Arch. Wiskd. (5) 1 (2000), 372–379.
  • Source table: https://teorth.github.io/optimizationproblems/constants/7a.html
11 thms3 active usersReviewed
🏆Completed
Captain: marwahaha

Mahler's irrationality bound for π: 42Research Paper

Motivation

The irrationality of π\piπ rules out an exact representation as a rational number. A quantitative question asks how closely rational numbers can approximate it as their denominators grow. The irrationality measure records the threshold exponent for exceptionally accurate rational approximations. This mission formalizes the historical upper-bound milestone μ(π)≤42\mu(\pi)\le42μ(π)≤42 listed as C7aC_{7a}C7a​ in the optimization constants project.

Mahler's 1953 paper establishes a stronger, explicit inequality in Theorem 1. The mission extracts its consequence for the irrationality measure and states that consequence through a shared Lean predicate. The number 42 is the chosen historical milestone; it is neither a claim about the exact value of the measure nor a claim to the strongest bound mentioned anywhere in Mahler's paper. Mahler, original p. 33.

Setting

Write p∈Zp\in\mathbb Zp∈Z for a numerator and q∈Nq\in\mathbb Nq∈N for a positive denominator. The approximation error is the real number ∣π−p/q∣|\pi-p/q|∣π−p/q∣. The exponent BBB describes an upper bound on the irrationality measure through an eventual lower bound on this error.

The shared predicate PiIrrationality.UpperBound B means that for every real ε>0\varepsilon>0ε>0, some natural-number threshold QQQ satisfies

1qB+ε<∣π−pq∣\frac{1}{q^{B+\varepsilon}}<\left|\pi-\frac pq\right|qB+ε1​<​π−qp​​

for every integer ppp and every natural number q>0q>0q>0 with Q≤qQ\le qQ≤q. The threshold can depend on ε\varepsilonε and on the chosen bound BBB; it cannot depend on the later choices of ppp or qqq. Numerators may be negative, zero, or positive. Fractions need not be in lowest terms. This is the epsilon characterization used in the definition of C7aC_{7a}C7a​.

Formalization targets

The goal is

μ(π)≤42,\mu(\pi)\le42,μ(π)≤42,

represented by PiIrrationality.UpperBound (42 : ℝ). Expanded, the target is

∀ε>0  ∃Q∈N  ∀p∈Z  ∀q∈N,q>0 ∧ Q≤q ⟹ 1q42+ε<∣π−pq∣.\forall\varepsilon>0\;\exists Q\in\mathbb N\;\forall p\in\mathbb Z\;\forall q\in\mathbb N,\quad q>0\ \land\ Q\le q\ \Longrightarrow\ \frac1{q^{42+\varepsilon}}<\left|\pi-\frac pq\right|.∀ε>0∃Q∈N∀p∈Z∀q∈N,q>0 ∧ Q≤q ⟹ q42+ε1​<​π−qp​​.

The mission contains one shared definition and one goal theorem. The definition introduces the proposition without asserting any bound. The theorem has no additional hypotheses, and its proof is intentionally left open. Future historical-bound missions can import the same definition and state a different numeric bound without changing the quantity being tracked.

Significance

A finite upper bound restricts the quality of rational approximations to π\piπ and excludes approximation at arbitrarily large exponents. The formal result would supply a reusable quantitative fact beyond the assertion that π\piπ is irrational. The published mathematical result is known; the work requested here is a machine-checked proof of the stated consequence.

The shared definition also fixes the meaning of all entries in the accompanying campaign. A smaller bound makes a stronger claim. A proof of a stronger entry may establish this historical goal as a consequence, provided it uses the same definition and no extra hypotheses. The mission remains mathematically valid after further improvements to the numerical bound.

Difficulty

A proof that π\piπ is irrational only establishes nonzero approximation errors. The target requires a uniform lower estimate over every numerator once the denominator passes a threshold. Checking finitely many rational approximations cannot establish the quantified conclusion. A formal development must control the dependence of its estimates and thresholds, and justify every passage between an analytic estimate and the final rational-approximation inequality.

The exact theorem from Mahler should be distinguished from this goal: his explicit uniform inequality is stronger than the eventual epsilon statement recorded here. A proof may pass through that uniform result, but the goal does not require a particular proof method, a particular threshold, or a separate treatment of every auxiliary theorem in the original paper.

Formalization scope

The circle constant is Mathlib's Real.pi. Absolute value, division, and exponentiation in the displayed inequality are operations on the real numbers; in particular, q42+εq^{42+\varepsilon}q42+ε is a real power. The denominator is explicitly positive, so division by zero cannot satisfy the premises. Allowing Q=0Q=0Q=0 does not remove the positivity requirement on qqq.

The definition is stored in Definitions.Def_PiIrrationality_UpperBound. The goal imports this definition instead of introducing another version of it. The conclusion is not placed among the theorem's assumptions. The definition contains no proof placeholder; the sole sorry is the open proof of the goal theorem. Contributions may establish supporting estimates or a complete proof while preserving these conventions.

Selected references

  • K. Mahler, On the approximation of π, Nederl. Akad. Wetensch. Proc. Ser. A 56 = Indag. Math. 15 (1953), 30–42, Theorem 1, p. 33. EMS reprint.
  • Optimization problems project, The irrationality measure of π, constant C7aC_{7a}C7a​: definition and historical bounds. Source page.
3 thms3 active usersReviewed
🏆Completed
ProbabilityQuantum InformationTheoretical Computer Science·Captain: mikedeng1

Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer 3: The Success Probability of Quantum Order FindingResearch Paper

Motivation

The security of the RSA cryptosystem rests on the assumed difficulty of factoring large integers, and the best known classical algorithms for factoring run in super-polynomial time. In 1994 Peter Shor showed that a quantum computer can factor an nnn-digit integer in time polynomial in nnn (Shor, SIAM J. Comput. 1997; conference version FOCS 1994). The algorithm has two parts. A classical reduction, due to Miller (1976), turns factoring into order finding: given xxx coprime to nnn, find the least r≥1r \ge 1r≥1 with xr≡1(modn)x^r \equiv 1 \pmod nxr≡1(modn). The quantum part solves order finding.

This mission formalizes the quantum part as Shor analyzes it in §5 of the journal paper: the construction of the quantum state, the probability of each measurement outcome, and the classical post-processing that reads rrr off the measured value. The paper's claim is that one run of this procedure returns rrr with probability at least φ(r)/3r\varphi(r)/3rφ(r)/3r.

Timeline:

  • 1976: Miller reduces factoring to order finding (with randomization).
  • 1985–1994: Deutsch, Bernstein–Vazirani and Simon give the quantum Fourier sampling ideas the algorithm builds on.
  • 1994: Shor's FOCS paper introduces the factoring and discrete logarithm algorithms.
  • 1997: the SIAM J. Comput. version gives the analysis formalized here, with qqq the power of 222 in [n2,2n2)[n^2, 2n^2)[n2,2n2).

Setting

Fix an integer n≥2n \ge 2n≥2 and an integer xxx coprime to nnn. Its order rrr is the least r≥1r \ge 1r≥1 with xr≡1(modn)x^r \equiv 1 \pmod nxr≡1(modn); since xxx is a unit, r≤φ(n)<nr \le \varphi(n) < nr≤φ(n)<n. Let q=2lq = 2^lq=2l be the power of 222 with n2≤q<2n2n^2 \le q < 2n^2n2≤q<2n2.

A quantum state on two registers, the first holding 0≤a<q0 \le a < q0≤a<q and the second a residue y∈Z/ny \in \mathbb{Z}/ny∈Z/n, is a complex vector ψ(a,y)\psi(a, y)ψ(a,y) indexed by the basis states ∣a,y⟩|a, y\rangle∣a,y⟩. Measuring it returns ∣a,y⟩|a, y\rangle∣a,y⟩ with probability ∣ψ(a,y)∣2|\psi(a, y)|^2∣ψ(a,y)∣2.

The Fourier matrix AqA_qAq​ is the q×qq \times qq×q matrix with entries (Aq)a,c=q−1/2exp⁡(2πiac/q)(A_q)_{a,c} = q^{-1/2}\exp(2\pi i a c/q)(Aq​)a,c​=q−1/2exp(2πiac/q), with rows indexing inputs and columns outputs. The algorithm

  1. prepares 1q1/2∑a=0q−1∣a⟩∣xa mod n⟩\frac{1}{q^{1/2}}\sum_{a=0}^{q-1}|a\rangle|x^a \bmod n\rangleq1/21​∑a=0q−1​∣a⟩∣xamodn⟩ (eq. (5.2)),
  2. applies AqA_qAq​ to the first register, obtaining 1q∑a,cexp⁡(2πiac/q)∣c⟩∣xa mod n⟩\frac1q\sum_{a,c}\exp(2\pi iac/q)|c\rangle|x^a \bmod n\rangleq1​∑a,c​exp(2πiac/q)∣c⟩∣xamodn⟩ (eq. (5.4)),
  3. measures, obtaining some ∣c,y⟩|c, y\rangle∣c,y⟩,
  4. rounds c/qc/qc/q to the nearest fraction with denominator smaller than nnn.

The observed ccc gives us rrr if some fraction with lowest-terms denominator below nnn is within 1/2q1/2q1/2q of c/qc/qc/q, and every such fraction has lowest-terms denominator exactly rrr. In the Lean development these objects are preFourierState, finalState, outcomeProb and yieldsOrder, in the namespace ShorAlgorithms.OrderFinding, and the shared definition ShorAlgorithms.Shared.fourierMatrix.

Formalization targets

Goal: success probability at least φ(r)/3r\varphi(r)/3rφ(r)/3r

For all sufficiently large nnn, with xxx, rrr and qqq as above,

Pr⁡[the observed c gives us r]  =  ∑c gives r ∑y∈Z/n∣Ψ(c,y)∣2  ≥  φ(r)3r,\Pr\bigl[\text{the observed } c \text{ gives us } r\bigr] \;=\; \sum_{c\ \text{gives}\ r}\ \sum_{y \in \mathbb{Z}/n} |\Psi(c, y)|^2 \;\ge\; \frac{\varphi(r)}{3r},Pr[the observed c gives us r]=c gives r∑​ y∈Z/n∑​∣Ψ(c,y)∣2≥3rφ(r)​,

where Ψ\PsiΨ is the state (5.4). The threshold on nnn is uniform in xxx and qqq; it is the paper's "for sufficiently large nnn" from the per-state bound.

Milestones

  1. Eqs. (5.5)–(5.6). For 0≤k<r0 \le k < r0≤k<r, the probability of ∣c,xk⟩|c, x^k\rangle∣c,xk⟩ equals ∣1q∑b=0⌊(q−k−1)/r⌋exp⁡(2πi(br+k)c/q)∣2\left|\frac1q\sum_{b=0}^{\lfloor (q-k-1)/r\rfloor}\exp(2\pi i(br+k)c/q)\right|^2​q1​∑b=0⌊(q−k−1)/r⌋​exp(2πi(br+k)c/q)​2.
  2. Eq. (5.11). For nnn past a threshold, every ∣c,xk⟩|c, x^k\rangle∣c,xk⟩ with −r/2≤rc−dq≤r/2-r/2 \le rc - dq \le r/2−r/2≤rc−dq≤r/2 for some integer ddd has probability at least 1/3r21/3r^21/3r2.
  3. Eq. (5.13). If n2≤qn^2 \le qn2≤q, at most one fraction with denominator below nnn lies within 1/2q1/2q1/2q of c/qc/qc/q.
  4. p. 1500. Such a fraction is a convergent of the continued fraction of c/qc/qc/q.
  5. p. 1501. At least φ(r)\varphi(r)φ(r) values of ccc are within 1/2q1/2q1/2q of some d/rd/rd/r with gcd⁡(d,r)=1\gcd(d, r) = 1gcd(d,r)=1; with the rrr distinct values of xkx^kxk this gives at least rφ(r)r\varphi(r)rφ(r) states ∣c,xk⟩|c, x^k\rangle∣c,xk⟩, and each such ccc gives us rrr.

Significance

The goal is the quantitative statement behind "order finding is in bounded-error quantum polynomial time": since φ(r)/r≥δ/log⁡log⁡r\varphi(r)/r \ge \delta/\log\log rφ(r)/r≥δ/loglogr for a constant δ\deltaδ (Hardy and Wright, Thm. 328), O(log⁡log⁡r)O(\log\log r)O(loglogr) repetitions find rrr with high probability, and Miller's reduction then factors nnn. Without the bound, the algorithm is a procedure with no guarantee.

The result is proved, in the paper and in textbooks (Nielsen and Chuang, 2000, §5.3), usually with a phase-estimation analysis rather than Shor's direct count. What this mission adds is a machine-checked proof of Shor's own argument, with his choice of qqq and his constants, starting from the state built by applying AqA_qAq​ to (5.2). Formal proofs of idealized versions exist elsewhere, for instance in the exact-period model where rrr divides qqq and the output is uniform on rrr peaks, but that model removes the approximation that the 1/3r21/3r^21/3r2 bound is about. Legendre's theorem on continued fractions is already on the platform (FamousTheorems.legendre_continued_fraction_theorem) and is included as a reference item.

Difficulty

The obvious route is to compute the output distribution in closed form. That works only when rrr divides qqq; here qqq is a power of 222 and rrr is arbitrary, so the amplitudes are geometric sums of ⌊(q−k−1)/r⌋+1\lfloor (q-k-1)/r\rfloor + 1⌊(q−k−1)/r⌋+1 terms whose phases do not cancel exactly. The per-state bound 1/3r21/3r^21/3r2 requires a lower bound on such a sum that is uniform in rrr, ccc and kkk, with error terms of order 1/q1/q1/q controlled against a main term of order 1/r21/r^21/r2. The constant 1/31/31/3 leaves only a small margin below the limiting value 4/π2≈0.4054/\pi^2 \approx 0.4054/π2≈0.405, so the errors must be bounded explicitly, not merely shown to vanish.

The second difficulty is the counting: distinct coprime numerators ddd must give distinct outcomes ccc in [0,q)[0, q)[0,q), and each good ccc must determine rrr uniquely, which uses r<nr < nr<n and n2≤qn^2 \le qn2≤q.

Formalization scope

Conventions the statements commit to:

  • States are functions Fin q × ZMod n → ℂ; the matrix convention is row = input, so applying AqA_qAq​ to the first register gives the amplitude ∑aψ(a,y)(Aq)a,c\sum_a \psi(a, y)(A_q)_{a,c}∑a​ψ(a,y)(Aq​)a,c​ at (c,y)(c, y)(c,y).
  • The final state is built by applying AqA_qAq​ to the state (5.2); the closed forms (5.5) and (5.6) are theorems, not definitions. No normalization hypothesis is assumed.
  • Probabilities are squared moduli; the probability of the event "ccc gives us rrr" sums over all y∈Z/ny \in \mathbb{Z}/ny∈Z/n, which is exact because yyy that are not powers of xxx have probability zero.
  • xxx is a natural number with gcd⁡(x,n)=1\gcd(x, n) = 1gcd(x,n)=1; rrr is orderOf (x : ZMod n). qqq enters through the three hypotheses q=2lq = 2^lq=2l, n2≤qn^2 \le qn2≤q, q<2n2q < 2n^2q<2n2, not through a function of nnn.
  • Fractions are rationals, and "in lowest terms" is Rat.den.
  • Thresholds "for sufficiently large nnn" are ∃N, ∀n≥N\exists N,\ \forall n \ge N∃N, ∀n≥N, with NNN quantified before xxx, qqq, ccc and kkk.
  • Condition (5.11) is stated in its equivalent form (5.12), with an integer ddd.
  • Printed slip. Eq. (5.13)'s justification says "Because q>n2q > n^2q>n2", but qqq was chosen with n2≤qn^2 \le qn2≤q, and q=n2q = n^2q=n2 when nnn is a power of 222. The uniqueness claim holds under n2≤qn^2 \le qn2≤q, and that is what is stated.

Typing the closed form (5.4)–(5.6) in as the definition of the final state would make milestone 1 trivial and hide whether the probability model is the paper's; the definitions exclude this by construction.

Not stated: the polynomial running time of any step, the O(log⁡log⁡r)O(\log\log r)O(loglogr) repetition count (no explicit constant), the reversible modular exponentiation of §3, and the post-processing heuristics on p. 1501. Needed infrastructure: bounds on geometric exponential sums, Euler's totient, Diophantine approximation by fractions with bounded denominator, and Mathlib's continued fractions. Lemmas on geometric sums of roots of unity and on the order of units mod nnn are reusable in the companion discrete logarithm mission.

Selected references

  • P. W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, SIAM J. Comput. 26(5):1484–1509, 1997. https://doi.org/10.1137/S0097539795293172
  • P. W. Shor, Algorithms for quantum computation: discrete logarithms and factoring, Proc. 35th FOCS, 1994. https://doi.org/10.1109/SFCS.1994.365700
  • G. L. Miller, Riemann's hypothesis and tests for primality, J. Comput. System Sci. 13(3):300–317, 1976. https://doi.org/10.1016/S0022-0000(76)80043-8
  • G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 5th ed., Oxford, 1979 (Ch. X, continued fractions; Thm. 328).
  • M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge, 2000. https://doi.org/10.1017/CBO9780511976667
12 thms3 active usersReviewed
🏆Completed
Discrete GeometryLinear OptimizationOperations Research+1·Captain: mikedeng1

Maximal Lattice-Free Convex Sets in Linear Subspaces I: Characterization of Maximal Lattice-Free Convex Sets in a SubspaceResearch Paper

Motivation

Cutting planes for mixed-integer linear programs are often derived from convex sets that contain no integer point in their interior. Balas observed in 1971 that every such lattice-free convex set containing the current fractional LP solution in its interior yields a valid inequality, the intersection cut (Balas, Intersection cuts, Oper. Res. 19, 1971). The strongest cuts come from sets that are inclusionwise maximal, so the shape of maximal lattice-free convex sets matters to multi-row cut generation.

The case where the set lives in a subspace arises in practice. Taking qqq rows of an optimal simplex tableau restricts the integer points to an affine subspace f+Wf+Wf+W of Rq\mathbb R^qRq spanned by the tableau columns. When WWW is irrational, its integer points span only a proper subspace V⊊WV\subsetneq WV⊊W. The classical theory does not cover this case, and it is the case that the second mission of this series (minimal valid inequalities of the relaxation Rf(W)R_f(W)Rf​(W)) needs.

Timeline.

  • Lovász (Geometry of numbers and integer programming, 1989) stated the characterization for rational subspaces (Proposition 3.1) and gave only a sketch of the proof. The irrational-hyperplane case is not visible in that sketch.
  • Basu, Conforti, Cornuéjols and Zambelli (arXiv:1701.06543v1; Math. Oper. Res. 35(3), 2010, doi:10.1287/moor.1100.0461) gave a complete proof of Lovász's theorem for an arbitrary lattice of a linear space (Theorem 10). They also extended it to a space WWW strictly larger than the span VVV of the lattice (Theorem 9, equivalently Theorem 1 for Zn\mathbb Z^nZn).

Setting

Work in Rn\mathbb R^nRn with the Euclidean inner product and the open balls Bε(x)B_\varepsilon(x)Bε​(x). For X⊆RnX\subseteq\mathbb R^nX⊆Rn, ⟨X⟩\langle X\rangle⟨X⟩ denotes its linear span.

A lattice of a linear space VVV is an additive group Λ={λ1a1+⋯+λmam∣λi∈Z}\Lambda=\{\lambda_1a_1+\dots+\lambda_ma_m\mid\lambda_i\in\mathbb Z\}Λ={λ1​a1​+⋯+λm​am​∣λi​∈Z} generated by linearly independent vectors a1,…,ama_1,\dots,a_ma1​,…,am​ with ⟨a1,…,am⟩=V\langle a_1,\dots,a_m\rangle=V⟨a1​,…,am​⟩=V (Definition 6, IsLatticeOf Λ V). A linear subspace L⊆VL\subseteq VL⊆V is a Λ\LambdaΛ-subspace if it has a basis contained in Λ\LambdaΛ (Definition 7, IsLambdaSubspace Λ V L). For Z2\mathbb Z^2Z2, the line x2=2x1x_2=2x_1x2​=2x1​ is a Λ\LambdaΛ-subspace and the line x2=2x1x_2=\sqrt2x_1x2​=2​x1​ is not.

For sets W,SW,SW,S the interior relative to WWW is intW(S)={x∈S∣Bε(x)∩W⊆S for some ε>0}\mathbf{int}_W(S)=\{x\in S\mid B_\varepsilon(x)\cap W\subseteq S\text{ for some }\varepsilon>0\}intW​(S)={x∈S∣Bε​(x)∩W⊆S for some ε>0} (intW W S). The relative interior is relint(S)=intaff⁡(S)(S)\mathbf{relint}(S)=\mathbf{int}_{\operatorname{aff}(S)}(S)relint(S)=intaff(S)​(S).

Let W⊇VW\supseteq VW⊇V be a linear space. A set SSS is a Λ\LambdaΛ-free convex set of WWW if S⊆WS\subseteq WS⊆W, SSS is convex and Λ∩intW(S)=∅\Lambda\cap\mathbf{int}_W(S)=\emptysetΛ∩intW​(S)=∅. It is maximal if no other Λ\LambdaΛ-free convex set of WWW properly contains it (Definition 8, IsLambdaFree, IsMaxLambdaFree).

The statements also use a polyhedron in WWW (WWW intersected with finitely many closed half-spaces), a polytope (convex hull of a finite set), the dimension dim⁡(S)\dim(S)dim(S) of the affine hull with dim⁡∅=−1\dim\emptyset=-1dim∅=−1 (affDim), and a facet: a nonempty face S∩{⟨a,x⟩=b}S\cap\{\langle a,x\rangle=b\}S∩{⟨a,x⟩=b} of a valid inequality with dim⁡F=dim⁡S−1\dim F=\dim S-1dimF=dimS−1. The recession cone is rec⁡(S)={r∣x+tr∈S ∀x∈S, t≥0}\operatorname{rec}(S)=\{r\mid x+tr\in S\ \forall x\in S,\ t\ge0\}rec(S)={r∣x+tr∈S ∀x∈S, t≥0} and the lineality space is rec⁡(S)∩−rec⁡(S)\operatorname{rec}(S)\cap-\operatorname{rec}(S)rec(S)∩−rec(S).

Formalization targets

Goal: Theorem 9 (p. 8)

For a lattice Λ\LambdaΛ of VVV and a linear space W⊇VW\supseteq VW⊇V with dim⁡W≥1\dim W\ge1dimW≥1, a set SSS is a maximal Λ\LambdaΛ-free convex set of WWW if and only if

(i) S is a full-dimensional polyhedron in W, S∩V is maximal Λ-free in V, F↦F∩V is a bijection of facets;\text{(i) } S \text{ is a full-dimensional polyhedron in } W,\ S\cap V \text{ is maximal } \Lambda\text{-free in } V,\ F\mapsto F\cap V \text{ is a bijection of facets};(i) S is a full-dimensional polyhedron in W, S∩V is maximal Λ-free in V, F↦F∩V is a bijection of facets; (ii) S=v+L is a hyperplane of W with L∩V a hyperplane of V that is not a Λ-subspace;\text{(ii) } S=v+L \text{ is a hyperplane of } W \text{ with } L\cap V \text{ a hyperplane of } V \text{ that is not a } \Lambda\text{-subspace};(ii) S=v+L is a hyperplane of W with L∩V a hyperplane of V that is not a Λ-subspace; (iii) S is a half-space of W containing V on its boundary.\text{(iii) } S \text{ is a half-space of } W \text{ containing } V \text{ on its boundary.}(iii) S is a half-space of W containing V on its boundary.

Main milestone: Theorem 10 (p. 8)

For dim⁡V≥1\dim V\ge1dimV≥1, SSS is a maximal Λ\LambdaΛ-free convex set of VVV if and only if either S=P+LS=P+LS=P+L is a polyhedron with PPP a polytope, LLL a Λ\LambdaΛ-subspace and dim⁡S=dim⁡P+dim⁡L=dim⁡V\dim S=\dim P+\dim L=\dim VdimS=dimP+dimL=dimV, with no lattice point in intV(S)\mathbf{int}_V(S)intV​(S) and a lattice point in the relative interior of every facet; or S=v+LS=v+LS=v+L is an affine hyperplane of VVV whose direction LLL is not a Λ\LambdaΛ-subspace.

Supporting milestones

Lemma 13 (bounded full-dimensional case), Lemma 15 (lattice points near half-lines), Lemma 16 (S+⟨rec⁡S⟩S+\langle\operatorname{rec}S\rangleS+⟨recS⟩ stays Λ\LambdaΛ-free), Lemma 17 (projection along a Λ\LambdaΛ-subspace is a lattice), Lemma 18 (lattice points near non-lattice subspaces), Lemma 19 (maximal hyperplanes), Claims 1 and 2 in the proof of Theorem 10, and identity (6), intW(S)∩V=intV(S∩V)\mathbf{int}_W(S)\cap V=\mathbf{int}_V(S\cap V)intW​(S)∩V=intV​(S∩V).

Significance

Theorem 10 says that maximal lattice-free sets are cylinders over polytopes with a lattice point on every facet, apart from the irrational hyperplanes. This is the structural fact behind the finiteness of facet counts (at most 2dim⁡P2^{\dim P}2dimP) and behind every classification of maximal lattice-free sets in low dimension, such as the triangles and quadrilaterals of the two-row relaxation. Theorem 9 extends it to irrational subspaces. There the new cases are the half-spaces of (iii), which have VVV on their boundary, and the hyperplanes of (ii), whose trace on VVV is a hyperplane of VVV that is not a Λ\LambdaΛ-subspace. Theorem 9 is the geometric input to the paper's Theorem 3: every minimal valid inequality of Rf(W)R_f(W)Rf​(W) is the gauge of a maximal lattice-free convex set of f+Wf+Wf+W.

These results are proved on paper. No machine-checked version of Lovász's theorem, of Theorem 9, or of the lattice-approximation Lemmas 15 and 18 is known to exist. The mission produces the definitions of lattices of subspaces, relative interiors and lattice-free sets on which the second mission of the series builds.

Difficulty

The obvious argument separates each lattice point from SSS by a half-space and intersects the half-spaces. It gives a polyhedron only when finitely many lattice points matter, that is, when SSS is bounded. For unbounded SSS, the recession directions must be shown to be lineality directions and to be spanned by lattice vectors. Both steps rest on simultaneous Diophantine approximation (Dirichlet's theorem) applied in irrational directions, and on a density argument for the projected lattice when the lineality space is not a Λ\LambdaΛ-subspace. In the subspace setting of Theorem 9, one must also track the interiors relative to WWW and to VVV separately. Identity (6) holds only when intW(S)\mathbf{int}_W(S)intW​(S) meets VVV, and the half-space case (iii) is exactly the case where it does not.

Formalization scope

Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n), linear spaces are Submodule ℝ, and Λ\LambdaΛ is an AddSubgroup. All declarations live in the namespace MaxLatticeFree.Geometry. Every interior is relative (intW, relint). With the ambient topological interior, every subset of a proper subspace would be trivially lattice-free, and the classification would collapse. A lattice must have a linearly independent generating family; a dense finitely generated subgroup such as Z+2Z\mathbb Z+\sqrt2\mathbb ZZ+2​Z is excluded. Dimensions are integers with dim⁡∅=−1\dim\emptyset=-1dim∅=−1, and facets are nonempty, so no dimension equation holds through truncated subtraction.

Two readings of the page are fixed.

  1. Theorem 9 assumes dim⁡W≥1\dim W\ge1dimW≥1 and Theorem 10 assumes dim⁡V≥1\dim V\ge1dimV≥1. For W=V={0}W=V=\{0\}W=V={0} the only maximal set is ∅\emptyset∅, which satisfies none of the listed cases, so the printed statements are false there.
  2. Identity (6) is stated under the three hypotheses its proof uses, not inside the case analysis of Theorem 9.

The paper's Theorem 1 (the same result for Zn\mathbb Z^nZn and affine WWW) is not included, and neither are the cited results of Barvinok and Dirichlet (Theorems 11, 14, Corollary 12). They are welcome as supporting lemmas. Infrastructure that is useful beyond this mission includes Dirichlet's simultaneous approximation theorem in Rm\mathbb R^mRm, discreteness of lattices of subspaces, and the relation between intW/relint and Mathlib's intrinsicInterior.

Selected references

  • A. Basu, M. Conforti, G. Cornuéjols, G. Zambelli, Maximal lattice-free convex sets in linear subspaces, Math. Oper. Res. 35(3), 2010; arXiv:1701.06543v1. https://arxiv.org/abs/1701.06543
  • L. Lovász, Geometry of numbers and integer programming, in: Mathematical Programming: Recent Developments and Applications, 1989, pp. 177–210.
  • E. Balas, Intersection cuts — a new type of cutting planes for integer programming, Oper. Res. 19, 1971. https://doi.org/10.1287/opre.19.1.19
  • A. Barvinok, A Course in Convexity, Graduate Studies in Mathematics 54, AMS, 2002. https://doi.org/10.1090/gsm/054
18 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryTheoretical Computer Science·Captain: mikedeng1

Fast Algorithms for Finding Nearest Common Ancestors II: Nearest Common Ancestors in a Complete Binary Tree by Symmetric-Order ArithmeticResearch Paper

Motivation

The nearest common ancestor (nca) problem asks, for a fixed rooted tree and a sequence of vertex pairs (v,w)(v, w)(v,w), for the deepest vertex that is an ancestor of both. It is a basic step in suffix-tree string algorithms and is equivalent to range-minimum queries (Bender, Farach-Colton, 2000). Harel and Tarjan, Fast Algorithms for Finding Nearest Common Ancestors, SIAM J. Comput. 13 (1984) 338–355, gave the first algorithm answering each query on a static tree in constant time on a random-access machine after linear preprocessing.

Their construction reduces the general problem to the case of a complete binary tree, where §3 of the paper shows that nca queries can be answered "by direct calculation" on vertex numbers: multiplication, division, powers of two, the base-two logarithm and bitwise exclusive or. The later simplification of Schieber and Vishkin (1988) is built on the same in-order numbering of a complete binary tree. This mission formalizes that arithmetic core.

Timeline, as reviewed in the paper's §1 (pp. 338–340):

  • 1976: Aho, Hopcroft and Ullman (SIAM J. Comput. 5) give an O(n+mα(m+n,n))O(n + m\alpha(m+n, n))O(n+mα(m+n,n))-time off-line algorithm on a pointer machine, and for static trees a random-access algorithm with O(nlog⁡log⁡n)O(n \log\log n)O(nloglogn) preprocessing and O(log⁡log⁡n)O(\log\log n)O(loglogn) time per query.
  • 1976: van Leeuwen (unpublished report) gives an O(n+mlog⁡log⁡n)O(n + m \log\log n)O(n+mloglogn)-time algorithm for linking roots and static trees that runs on a pointer machine in O(n)O(n)O(n) space.
  • 1980: Harel (Proc. 21st FOCS) gives a preliminary version of the paper's results.
  • 1984: Harel and Tarjan prove that pointer machines need Ω(log⁡log⁡n)\Omega(\log\log n)Ω(loglogn) time per query on static trees (Theorem 1), and give the O(n)O(n)O(n)-preprocessing, O(1)O(1)O(1)-query random-access algorithm whose base case is the subject of this mission.

Setting

Fix d≥0d \ge 0d≥0 and let TTT be the complete binary tree of depth ddd. A vertex is identified with the path from the root to it, a word of at most ddd left or right turns; the root is the empty word and TTT has n=2d+1−1n = 2^{d+1} - 1n=2d+1−1 vertices. Following the paper's Appendix (pp. 354–355):

  • www is an ancestor of vvv (vvv a descendant of www) if the word www is a prefix of the word vvv; every vertex is its own ancestor. vvv and www are unrelated if neither is an ancestor of the other.
  • The depth of vvv is its distance to the root; its height h(v)h(v)h(v) is the length of the longest path from a leaf to vvv, which in TTT is d−depth⁡(v)d - \operatorname{depth}(v)d−depth(v).
  • nca⁡(v,w)\operatorname{nca}(v, w)nca(v,w) is the vertex of greatest depth that is an ancestor of both: the longest common prefix.

The vertices of TTT are numbered from 111 to nnn in symmetric order (in-order): at every vertex, first the left subtree, then the vertex, then the right subtree. sym(v)\mathrm{sym}(v)sym(v) is the number of vvv and sym−1(i)\mathrm{sym}^{-1}(i)sym−1(i) the vertex numbered iii. For d=4d = 4d=4 (Fig. 1 of the paper) the root is 161616, its children 888 and 242424, and the leaves 1,3,5,…,311, 3, 5, \dots, 311,3,5,…,31. i⊕ji \oplus ji⊕j denotes bitwise exclusive or and lg⁡\lglg the base-two logarithm.

Two procedures of §3 use only numbers, heights and ddd:

  • the nca depth algorithm: return d−h(v)d - h(v)d−h(v) if sym(w)∈[sym(v)−2h(v)+1,sym(v)+2h(v)−1]\mathrm{sym}(w) \in [\mathrm{sym}(v) - 2^{h(v)} + 1, \mathrm{sym}(v) + 2^{h(v)} - 1]sym(w)∈[sym(v)−2h(v)+1,sym(v)+2h(v)−1]; else d−h(w)d - h(w)d−h(w) if the same holds with v,wv, wv,w exchanged; else d−⌊lg⁡(sym(v)⊕sym(w))⌋d - \lfloor \lg(\mathrm{sym}(v) \oplus \mathrm{sym}(w)) \rfloord−⌊lg(sym(v)⊕sym(w))⌋;
  • the depth algorithm: given vvv and a depth d2≤depth⁡(v)d_2 \le \operatorname{depth}(v)d2​≤depth(v), with h=d−d2h = d - d_2h=d−d2​, return sym−1(2h+1⌊sym(v)/2h+1⌋+2h)\mathrm{sym}^{-1}\bigl(2^{h+1}\lfloor \mathrm{sym}(v)/2^{h+1}\rfloor + 2^h\bigr)sym−1(2h+1⌊sym(v)/2h+1⌋+2h).

Formalization targets

Goal: the nca algorithm is correct

The algorithm to compute nca⁡(v,w)\operatorname{nca}(v,w)nca(v,w) (p. 342) runs the nca depth algorithm to obtain d0d_0d0​ and then the depth algorithm on (v,d0)(v, d_0)(v,d0​). The goal states that it returns the nearest common ancestor: for all vertices v,wv, wv,w of TTT, with d0d_0d0​ the output of the nca depth algorithm and h=d−d0h = d - d_0h=d−d0​,

sym(nca⁡(v,w))=2h+1⌊sym(v)2h+1⌋+2h.\mathrm{sym}(\operatorname{nca}(v,w)) = 2^{h+1}\left\lfloor \frac{\mathrm{sym}(v)}{2^{h+1}} \right\rfloor + 2^h .sym(nca(v,w))=2h+1⌊2h+1sym(v)​⌋+2h.

Milestones

In the order the paper uses them:

  1. Numbers at height hhh (p. 341): the vertices of height hhh are numbered 2h,3⋅2h,5⋅2h,…2^h, 3\cdot 2^h, 5\cdot 2^h, \dots2h,3⋅2h,5⋅2h,… from left to right.
  2. Lemma 1: h(v)h(v)h(v) is the largest hhh with 2h∣sym(v)2^h \mid \mathrm{sym}(v)2h∣sym(v).
  3. Lemma 2: the descendants of vvv are the vertices numbered in [sym(v)−2h(v)+1,sym(v)+2h(v)−1][\mathrm{sym}(v) - 2^{h(v)} + 1, \mathrm{sym}(v) + 2^{h(v)} - 1][sym(v)−2h(v)+1,sym(v)+2h(v)−1].
  4. Lemma 3: for a height h≥h(v)h \ge h(v)h≥h(v), the height-hhh ancestor of vvv has number 2h+1⌊sym(v)/2h+1⌋+2h2^{h+1}\lfloor \mathrm{sym}(v)/2^{h+1}\rfloor + 2^h2h+1⌊sym(v)/2h+1⌋+2h.
  5. Lemma 4: for unrelated v,wv, wv,w,
h(nca⁡(v,w))=⌊lg⁡(sym(v)⊕sym(w))⌋.h(\operatorname{nca}(v,w)) = \lfloor \lg(\mathrm{sym}(v) \oplus \mathrm{sym}(w)) \rfloor .h(nca(v,w))=⌊lg(sym(v)⊕sym(w))⌋.
  1. The nca depth algorithm returns depth⁡(nca⁡(v,w))\operatorname{depth}(\operatorname{nca}(v,w))depth(nca(v,w)).
  2. The depth algorithm returns the number of the depth-d2d_2d2​ ancestor of vvv.

Two supporting statements pin the definitions to the paper: sym\mathrm{sym}sym is a bijection onto {1,…,2d+1−1}\{1, \dots, 2^{d+1} - 1\}{1,…,2d+1−1}, and the longest common prefix is the deepest common ancestor.

Significance

The constant-time nca computation on complete binary trees is the base case of the whole paper: §§4–5 embed an arbitrary tree into a moderately sized complete binary tree through a compressed tree and a balanced binary tree, and every query ends with the arithmetic of §3. The same idea, that in-order numbers encode ancestry in their low-order bits, underlies the Schieber–Vishkin algorithm. Lemma 1 identifies the height with the 2-adic valuation of the number, and Lemma 4 identifies the nca height with the position of the highest differing bit.

The results are proved in the paper, with the proofs left as "easy to verify". No machine-checked version of this numbering or of these four lemmas is known to exist in Mathlib or on this platform. A formal development supplies proofs of the four lemmas and the two algorithms, and a reusable library connecting in-order ranks of a complete binary tree to binary arithmetic (Nat.log, bitwise xor, 2-adic valuation).

Difficulty

The numbering is defined by a traversal order, while the lemmas speak about divisibility, floor division and exclusive or. The work lies in connecting the rank of a vertex in symmetric order to its closed form (2j+1)⋅2h(v)(2j+1)\cdot 2^{h(v)}(2j+1)⋅2h(v), where jjj is its left-to-right position. That counting argument sums the sizes of the subtrees that precede vvv and is where most of the effort goes. Lemma 4 then needs the observation that two unrelated numbers agree in all bits above the height of their nca and differ in the bit at that height. This is a statement about Nat.testBit of the exclusive or, and it fails for related vertices. The algorithm statements add a case analysis whose first two cases overlap when v=wv = wv=w.

Formalization scope

  • A vertex of the tree of depth ddd is a List Bool of length at most ddd (false = left). Ancestry is the prefix relation, nca⁡\operatorname{nca}nca the longest common prefix, depth the length, and height d−lengthd - \text{length}d−length. None of these structural notions uses the numbering.
  • sym(v)\mathrm{sym}(v)sym(v) is the number of vertices whose in-order sort key is lexicographically at most that of vvv. The key is the path with left ↦0\mapsto 0↦0, right ↦2\mapsto 2↦2, followed by 111. The numbering is not defined by the closed form or by a recursion on numbers: a definition of that kind would make the height-hhh numbering and Lemma 1 immediate and move the content of the mission into an uncheckable definition.
  • ⌊lg⁡x⌋\lfloor \lg x \rfloor⌊lgx⌋ is Nat.log 2 x, which agrees for x≥1x \ge 1x≥1. ⊕\oplus⊕ is ^^^ on N\mathbb NN, and floor division is / on N\mathbb NN.
  • Interval tests a∈[b−c+1,b+c−1]a \in [b - c + 1, b + c - 1]a∈[b−c+1,b+c−1] are written additively as b+1≤a+cb + 1 \le a + cb+1≤a+c and a+1≤b+ca + 1 \le b + ca+1≤b+c. The subtractions d−h(v)d - h(v)d−h(v) and d−d2d - d_2d−d2​ never truncate for heights and depths of vertices.
  • Lemma 3 states explicitly that h≤dh \le dh≤d ("hhh is a height") and that the ancestor exists. The depth algorithm assumes d2≤depth⁡(v)d_2 \le \operatorname{depth}(v)d2​≤depth(v), as printed.
  • sym−1\mathrm{sym}^{-1}sym−1 is not defined as a function. The goal and the depth algorithm state that a vertex has the computed number if and only if it is the nearest common ancestor (respectively the ancestor at depth d2d_2d2​), which says that sym−1\mathrm{sym}^{-1}sym−1 of that number is that vertex.
  • The O(1)O(1)O(1) time bounds are not formalized, since the random-access machine model is out of scope.

Proofs of any milestone are welcome.

Selected references

  • D. Harel and R. E. Tarjan, Fast Algorithms for Finding Nearest Common Ancestors, SIAM J. Comput. 13(2) (1984), 338–355. https://doi.org/10.1137/0213024
  • A. V. Aho, J. E. Hopcroft and J. D. Ullman, On Finding Lowest Common Ancestors in Trees, SIAM J. Comput. 5(1) (1976), 115–132. https://doi.org/10.1137/0205011
  • B. Schieber and U. Vishkin, On Finding Lowest Common Ancestors: Simplification and Parallelization, SIAM J. Comput. 17(6) (1988), 1253–1262. https://doi.org/10.1137/0217079
  • M. A. Bender and M. Farach-Colton, The LCA Problem Revisited, LATIN 2000, LNCS 1776, 88–94. https://doi.org/10.1007/10719839_9
11 thms3 active usersReviewed
Discrete GeometryOperations Research·Captain: mikedeng1

Minkowski's Convex Body Theorem and Integer Programming: Lattice-Free Convex Bodies Meet Few Translates of an Integral SubspaceResearch Paper

Motivation

Integer programming asks whether a system of linear inequalities Ax≤bAx\le bAx≤b has a solution x∈Znx\in\mathbb Z^nx∈Zn. In fixed dimension nnn it is solvable in polynomial time: Lenstra (1983) proved this by showing that a convex body without integer points is "flat" in some integral direction, so that the search splits into few lower-dimensional subproblems. Kannan's 1987 paper in Mathematics of Operations Research sharpened this approach. It computes a Korkine–Zolotarev ("reduced") basis of a lattice, solves the shortest and closest vector problems exactly in nO(n)n^{O(n)}nO(n) operations, and runs integer programming in O(n9n/2s)O(n^{9n/2}s)O(n9n/2s) arithmetic operations. Underneath the algorithm sits a purely geometric statement, Theorem (5.5): a lattice-free convex body meets only boundedly many integer translates of some integral subspace.

Timeline.

  • Korkine and Zolotareff (1873): the reduced bases used here.
  • Minkowski (1896): a symmetric convex body of volume greater than 2n2^n2n contains a nonzero integer point.
  • Khinchine (1948): lattice-free convex bodies have lattice width bounded by a function of nnn alone (the flatness theorem).
  • Lenstra (1983): integer programming in fixed dimension is polynomial, via a flat direction.
  • Kannan (1987, this paper): Theorem (5.5), with subspaces VVV of any dimension between 111 and n−1n-1n−1 and an explicit bound n2(n−dim⁡V)n^{2(n-\dim V)}n2(n−dimV).
  • Kannan and Lovász (1988), Banaszczyk et al. (1999), and later work: polynomial bounds on the flatness constant.

Setting

Rn\mathcal R^nRn is Euclidean space with dot product (a,b)(a,b)(a,b) and length ∣a∣|a|∣a∣, and Zn\mathbb Z^nZn is the set of integer vectors. For linearly independent b1,…,bm∈Rkb_1,\dots,b_m\in\mathcal R^kb1​,…,bm​∈Rk, the lattice L(b1,…,bm)L(b_1,\dots,b_m)L(b1​,…,bm​) is the set of integer combinations ∑jλjbj\sum_j\lambda_jb_j∑j​λj​bj​, λj∈Z\lambda_j\in\mathbb Zλj​∈Z, and b1,…,bmb_1,\dots,b_mb1​,…,bm​ is a basis. Gram–Schmidt orthogonalisation gives b1∗,…,bm∗b_1^*,\dots,b_m^*b1∗​,…,bm∗​ and unit vectors uj=bj∗/∣bj∗∣u_j=b_j^*/|b_j^*|uj​=bj∗​/∣bj∗​∣, and bi(j)=(bi,uj)b_i(j)=(b_i,u_j)bi​(j)=(bi​,uj​), so bi=∑jbi(j)ujb_i=\sum_jb_i(j)u_jbi​=∑j​bi​(j)uj​ and bj(j)=∣bj∗∣b_j(j)=|b_j^*|bj​(j)=∣bj∗​∣. The determinant is d(L)=∏j∣bj∗∣d(L)=\prod_j|b_j^*|d(L)=∏j​∣bj∗​∣. Λ1(L)\Lambda_1(L)Λ1​(L) is the length of a shortest nonzero vector of LLL. The projected lattice Lj(b1,…,bm)L_j(b_1,\dots,b_m)Lj​(b1​,…,bm​) is the image of LLL under orthogonal projection onto the complement of span⁡(b1,…,bj−1)\operatorname{span}(b_1,\dots,b_{j-1})span(b1​,…,bj−1​). A basis is reduced (Definition 2.6) if bj(j)=Λ1(Lj)b_j(j)=\Lambda_1(L_j)bj​(j)=Λ1​(Lj​) for every jjj and ∣bi(j)∣≤bj(j)/2|b_i(j)|\le b_j(j)/2∣bi​(j)∣≤bj​(j)/2 for i>ji>ji>j.

A convex body is a convex set of positive volume, which for a convex set means nonempty interior. A subspace VVV has a basis of integer vectors if it is the real span of integer vectors. Its integer translates are the sets z+Vz+Vz+V with z∈Znz\in\mathbb Z^nz∈Zn.

In Lean, Rk\mathcal R^kRk is EuclideanSpace ℝ (Fin k), a basis is b : Fin m → EuclideanSpace ℝ (Fin k), the lattice is lattice b = Submodule.span ℤ (Set.range b), ∣bj∗∣|b_j^*|∣bj∗​∣ is gsLen b j, bi(j)b_i(j)bi​(j) is gsCoeff b i j, d(L)d(L)d(L) is latticeDet b, Λ1\Lambda_1Λ1​ is lambdaOne, Lj+1L_{j+1}Lj+1​ is projLattice b j, and a reduced basis is IsReduced b.

Formalization targets

Goal: Theorem (5.5), corrected reading

For n≥2n\ge2n≥2 and every bounded convex set K⊆RnK\subseteq\mathcal R^nK⊆Rn with nonempty interior and K∩Zn=∅K\cap\mathbb Z^n=\emptysetK∩Zn=∅ there is a subspace VVV spanned by integer vectors with 1≤dim⁡V≤n−11\le\dim V\le n-11≤dimV≤n−1 and

#{ z+V:z∈Zn, (z+V)∩K≠∅ } ≤ n2(n−dim⁡V).\#\{\,z+V : z\in\mathbb Z^n,\ (z+V)\cap K\ne\emptyset\,\}\ \le\ n^{2(n-\dim V)}.#{z+V:z∈Zn, (z+V)∩K=∅} ≤ n2(n−dimV).

The printed theorem allows "an iii dimensional space VVV" with 1≤i≤n1\le i\le n1≤i≤n and bound n2(n−i+1)n^{2(n-i+1)}n2(n−i+1). Taken literally that is trivial (V=RnV=\mathcal R^nV=Rn, one translate). The proof on the same page takes V=span⁡(b1,…,bi−1)V=\operatorname{span}(b_1,\dots,b_{i-1})V=span(b1​,…,bi−1​), of dimension i−1i-1i−1, and remarks that this "ensures that the subspace VVV is always of dimension at least 1". The goal states that reading.

Milestones

  1. Theorem (1.11), Minkowski's convex body theorem (referenced from the platform, in Mathlib's general form).
  2. Theorem (1.12): every mmm-dimensional lattice has a nonzero vector with ∣v∣≤m d(L)1/m|v|\le\sqrt m\,d(L)^{1/m}∣v∣≤m​d(L)1/m.
  3. Proposition 1.9: a primitive lattice vector belongs to some basis.
  4. Proposition 2.16, existence form: every lattice has a reduced basis.
  5. Proposition 4.2: for any b0b_0b0​ with projection bˉ0\bar b_0bˉ0​ onto the span, some b∈Lb\in Lb∈L has ∣b−bˉ0∣≤12(∑jbj(j)2)1/2≤m2max⁡jbj(j)|b-\bar b_0|\le\frac12(\sum_jb_j(j)^2)^{1/2}\le\frac{\sqrt m}2\max_jb_j(j)∣b−bˉ0​∣≤21​(∑j​bj​(j)2)1/2≤2m​​maxj​bj​(j).
  6. Proposition 4.3: for a reduced basis and iii maximising bi(i)b_i(i)bi​(i), the tail (λi,…,λm)(\lambda_i,\dots,\lambda_m)(λi​,…,λm​) of every closest lattice point to b0b_0b0​ lies in an explicit set of at most mm−i+1m^{m-i+1}mm−i+1 integer vectors.

Significance

Theorem (5.5) is a structural form of the flatness theorem. For dim⁡V=n−1\dim V=n-1dimV=n−1 it says that a lattice-free convex body meets fewer than n2n^2n2 consecutive integer hyperplanes of some integral direction. For smaller dim⁡V\dim VdimV it gives a finer decomposition of Zn\mathbb Z^nZn into translates, each a lower-dimensional integer program. This is the recursion behind fixed-dimension integer programming, and statements of this form are used in lattice-point enumeration, in the geometry of numbers (covering minima), and in cutting-plane theory (lattice-free bodies define split and intersection cuts). Propositions 4.2 and 4.3 are the correctness core of exact closest-vector enumeration.

The results are proved in the literature, though Theorem (5.5) is proved "albeit sketchily" in the paper itself. As far as is known, none of them is formalized: Mathlib has Minkowski's convex body theorem and the ZLattice API, but not Gram–Schmidt lattice invariants, Korkine–Zolotarev bases, Hermite-type bounds, nearest-plane rounding, or any flatness theorem. This mission produces the first machine-checked versions. It also corrects three statements that are wrong as printed (below), so the formal statements are the ones that can be relied on.

Difficulty

The naive route to (5.5) is to take a flat direction directly: bound the lattice width of KKK and count hyperplanes. That needs a flatness theorem with an explicit bound below n2n^2n2, which is itself the hard part. The paper's argument instead needs John's theorem (every convex body lies between an ellipsoid and its nnn-fold dilation), a reduced basis of the transformed lattice, and a counting argument across projected lattices that combines Minkowski's bound on each LiL_iLi​ with the covering estimate of Proposition 4.2. None of John's theorem, reduced bases or the projected-lattice counting is in Mathlib.

Proposition 4.3 is also delicate as printed: the per-coordinate count on p. 24 undercounts the integers in a closed interval, so the printed arithmetic cannot be transcribed as it stands. Proposition 2.16 in the paper is the correctness of the algorithm SHORTEST. Here only the existence of a reduced basis is needed, which requires attainment of Λ1\Lambda_1Λ1​ on every projected lattice and a lifting argument (Proposition 1.9).

Formalization scope

Conventions: indices are 0-based (Fin m), so the paper's LjL_jLj​ is projLattice b (j-1) and its bound nn−i+1n^{n-i+1}nn−i+1 is m ^ (m - i). Gram–Schmidt is Mathlib's unnormalised gramSchmidt. Lattices are Submodule ℤs of a real Euclidean space generated by a linearly independent family, and m≤km\le km≤k is allowed, because (1.12) and 4.2 are applied to projected lattices. The goal counts translates as sets with Set.encard, so the bound includes finiteness. KKK is assumed convex, bounded and with nonempty interior, but not closed.

Three printed statements are corrected, and the corrections are recorded in each item's Formalization Note.

  • (1.12)'s constant 12n\frac12\sqrt n21​n​ is false for n≤7n\le7n≤7 (for example L=ZL=\mathbb ZL=Z, or the hexagonal lattice) and is replaced by n\sqrt nn​, the constant the paper's own later proofs use.
  • Proposition 4.2's second sentence is stated for bˉ0\bar b_0bˉ0​ instead of b0b_0b0​.
  • Proposition 4.3 fails at n=1n=1n=1 and is stated for m≥2m\ge2m≥2 with the proof's explicit candidate set TTT, since an existential TTT is satisfied by the set of tails of closest points and says nothing.

Trivializing formalizations are ruled out: the goal forbids dim⁡V=n\dim V=ndimV=n, which gives one translate, and dim⁡V=0\dim V=0dimV=0, where no translate meets KKK. It requires nonempty interior (the empty set would satisfy everything) and counts with encard (an infinite count cannot become 000).

Out of scope: the paper's algorithms (SHORTEST, SELECT-BASIS, ENUMERATE, CLP, CLP′, ILP) and their operation and bit counts (Theorems 2.17, 3.9, 4.5, 5.4), because Mathlib has no cost model. Also out of scope is §6 (NP-completeness of the L2L_2L2​ closest vector problem and Cook reductions), because Mathlib has no complexity classes. The definitions of this mission (lattice, gsLen, gsCoeff, latticeDet, lambdaOne, projLattice, IsReduced) are reusable for any later work on lattice reduction. Contributions are welcome at every level: John's theorem, Hermite-type bounds, Korkine–Zolotarev existence, and the counting lemmas.

Selected references

  • R. Kannan, Minkowski's Convex Body Theorem and Integer Programming, Mathematics of Operations Research 12(3):415–440, 1987. https://doi.org/10.1287/moor.12.3.415
  • H. W. Lenstra Jr., Integer programming with a fixed number of variables, Mathematics of Operations Research 8(4):538–548, 1983. https://doi.org/10.1287/moor.8.4.538
  • R. Kannan, L. Lovász, Covering minima and lattice-point-free convex bodies, Annals of Mathematics 128(3):577–602, 1988. https://doi.org/10.2307/1971436
  • A. K. Lenstra, H. W. Lenstra Jr., L. Lovász, Factoring polynomials with rational coefficients, Mathematische Annalen 261:515–534, 1982. https://doi.org/10.1007/BF01457454
  • F. John, Extremum problems with inequalities as subsidiary conditions, Studies and Essays presented to R. Courant, 1948, 187–204.
9 thms3 active usersReviewed
PreviousPage 2 of 7Next

Get started

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

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me