Ramanujan's tau function
DefinitionRamanujanPetersson_taumodular-formsnumber-theory
Let for in the upper half-plane , and let be the discriminant modular form, a holomorphic cusp form of weight and level . Ramanujan's tau function is defined by the Fourier expansion of at :
Since is a cusp form, , so the sum starts at as in the source. This is the arithmetic function behind all of the mission's statements about and its -function .
Formalization Note is the -th coefficient of Mathlib's UpperHalfPlane.qExpansion 1 of ModularForm.discriminant (which is defined as ), as a complex number. Integrality of is not built into the definition.
Definition code
import Mathlib open UpperHalfPlane namespace RamanujanPetersson /-- Ramanujan's tau function: `tau n` is the `n`-th Fourier coefficient, in the variable `q = exp(2πiz)`, of the discriminant modular form `Δ(z) = η(z)^24`. -/ noncomputable def tau (n : ℕ) : ℂ := (qExpansion 1 ModularForm.discriminant).coeff n end RamanujanPetersson
Source
Wikipedia, "Ramanujan–Petersson conjecture", https://en.wikipedia.org/w/index.php?title=Ramanujan%E2%80%93Petersson_conjecture&oldid=1369029052 (PDF snapshot supplied by the proposer, 9 pp.), section "Ramanujan conjecture", displayed definitions of and of via
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.