--- id: "2026-11-30-axiom-ramanujan-petersson-lean-formalization" url: "https://postcutoff.com/e/2026-11-30-axiom-ramanujan-petersson-lean-formalization/" as_of: "2026-12-02T13:59:00+01:00" date: "2026-11-30" date_precision: day category: science importance: 3 confidence: high status: [Result confirmed] verification: Lean-verified sources: 3 editor: human editor human_review: null version: "2026-11-30" --- As of: 2026-12-02 13:59 CET. Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/ Canonical page: https://postcutoff.com/e/2026-11-30-axiom-ramanujan-petersson-lean-formalization/ # Axiom: Ramanujan–Petersson formalized in Lean Full title: Axiom Math releases a Lean 4 proof of the Ramanujan–Petersson bound (Deligne's theorem) for cusp forms of weight ≥ 2, any level and character, built on its Lean Weil conjectures Axiom Math's repository AxiomMath/RamanujanPetersson (first code 12 Nov 2026, technical report added 30 Nov) contains a Lean 4 proof that for N ≥ 1 and k ≥ 2 a normalized cusp form of weight k on Γ₀(N), or on Γ₁(N) with any character, that is an eigenform of all T_p with p ∤ N satisfies |a_p| ≤ 2p^((k−1)/2). Deligne proved this in 1974 by reducing it to the Weil conjectures; Axiom formalized the Weil conjectures in Lean earlier in November. The challenge file depends only on Mathlib and is checked with the Lean comparator. The report credits Axiom Prover with formalizing the general theorem and supplying "its own arithmetic–geometric comparison". ## Key facts - Main results (README): for N ≥ 1, k ≥ 2, a weight-k cusp form on Γ₀(N) with a₁ = 1, eigenform for every T_p (p ∤ N), satisfies |a_p| ≤ 2p^((k−1)/2) for every prime p ∤ N; the same for Γ₁(N) with any nebentypus χ mod N - Verification (README): 'A formal challenge file … located at Challenge/Basic.lean … only depends on Mathlib' and is checked with 'lake env comparator Comparator/comparator.json'; dependencies: Mathlib, Axiom's Stacks repository, and the TauCeti library - AI role (technical report): 'Axiom Math's Stacks formalization underlies the formalization of the Weil conjectures. With both developments in place, Axiom Prover quickly formalized the general theorem and supplied its own arithmetic–geometric comparison' - History (report): Ramanujan's 1916 prediction |τ(p)| ≤ 2p^(11/2); Petersson's generalization 1939–1948; Deligne's 1969 Bourbaki reduction to the Weil conjectures and his 1974 proof of them - Context: Axiom's companion work on the extended Riemann hypothesis for Dedekind zeta functions of totally real fields (Hexagon 2611.01389) belongs to the RH story; reported by XenoSpectrum on 30 Nov - Status: formalization of an established theorem; no independent review of the Lean code found on 30 Nov ## What happened In 1916 Ramanujan predicted that his tau function satisfies |τ(p)| ≤ 2p^(11/2). Petersson extended the prediction to coefficients of all cusp eigenforms, and Pierre Deligne proved it in 1974 as a consequence of his proof of the Weil conjectures. The proof rests on a large body of algebraic geometry and had never been machine-checked. Axiom Math's GitHub repository RamanujanPetersson, with code from 12 November and a technical report added on 30 November, gives a Lean 4 proof of the bound for weight at least 2, every level and every character. It builds on Axiom's Lean formalizations of the Stacks project and the Weil conjectures released earlier in November. According to the report, once those libraries existed "Axiom Prover quickly formalized the general theorem and supplied its own arithmetic–geometric comparison". A challenge file stating the results with Mathlib definitions only lets anyone check the formalization with the Lean comparator. ## Why it matters It is one of the deepest classical theorems to be formally verified so far, and it shows the earlier Weil-conjectures library being reused for a downstream result. It is a verification of a known theorem, not a new result. ## Your AI and this story - GPT-6.2 Astra (training cutoff May 2026): 183 days after its cutoff - Claude Opus 5.5 (training cutoff June 2026): 153 days after its cutoff - Gemini 4 Hydrogen (training cutoff March 2026): 244 days after its cutoff - Grok 4.7 (training cutoff May 2026): 183 days after its cutoff ## Sources 1. [AxiomMath/RamanujanPetersson (GitHub)](https://github.com/AxiomMath/RamanujanPetersson) (github.com, code) 2. [Technical report (PDF)](https://github.com/AxiomMath/RamanujanPetersson/blob/main/TechnicalReport.pdf) (github.com, paper) 3. [XenoSpectrum: Axiom Math extends AI-assisted Riemann hypothesis proof to totally real and CM number fields](https://xenospectrum.com/en/axiom-lean-riemann-ramanujan/) (xenospectrum.com, press) ## Changes - 2026-11-30 (filed): Created from the repository README and technical report (science agent) ## Related - 2026-11-30: [AI-assisted results, 30 Nov](https://postcutoff.com/e/2026-11-30-ai-assisted-results-november-30-listing/index.md) - 2026-11-20: [Anthropic mathematician Levent Alpöge posts a Lean proof of the Riemann Hypothesis found with Claude; the Lean and Mathlib communities certify it](https://postcutoff.com/e/2026-11-20-alpoge-claude-riemann-hypothesis-proof-claim/index.md) - 2026-11-06: [Axiom: the Weil conjectures proved in Lean](https://postcutoff.com/e/2026-11-06-axiom-weil-conjectures-lean-formalization/index.md) - 2026-11-04: [Axiom: the Stacks Project formalized in Lean](https://postcutoff.com/e/2026-11-04-axiom-stacks-project-lean-formalization/index.md)