[![](logo.svg)](https://axiommath.ai/) # The Ramanujan–Petersson conjecture This is a Lean formalization of Deligne's theorem that the Ramanujan–Petersson conjecture holds for holomorphic cusp forms of weight `k ≥ 2`. ## Main Results * For `N ≥ 1` and `k ≥ 2`, a cusp form of weight `k` on `Γ₀(N)` with `a₁ = 1` that is an eigenform of every `T_p`, `p ∤ N`, satisfies `|a_p| ≤ 2 p^((k-1)/2)` for every prime `p ∤ N`. * The same bound for every cusp form of weight `k ≥ 2` on `Γ₁(N)` with any nebentypus `χ` mod `N`, `a₁ = 1`, that is an eigenform of every `T_p`, `p ∤ N`. See [§Formal Challenge](#formal-challenge) for a formal certificate. A technical report describing the proof and its history is at [TechnicalReport.pdf](TechnicalReport.pdf). ## Dependencies This depends on [Mathlib](https://github.com/leanprover-community/mathlib4) and Axiom Math's repository [Stacks](https://github.com/AxiomMath/Stacks), and includes the library [TauCeti](https://github.com/TauCetiProject/TauCeti) (Apache 2.0, see [TauCeti/LICENSE](TauCeti/LICENSE)). ## Formal Challenge A formal challenge file certifying that this repository does formalize the results claimed above is located at [Challenge/Basic.lean](Challenge/Basic.lean). This file only depends on Mathlib. It contains formal statements of [§Main Results](#main-results) with `sorry` as proof. This repository can be verified against the formal challenge with the Lean comparator on a Linux machine. First, follow the instructions in https://github.com/leanprover/comparator to install `comparator`. Then, run the following command: ``` lake env comparator Comparator/comparator.json ```