Data for the classical converse theorems: -expansions, twisted -functions, Weil's conditions
DefinitionLanglandsFunctoriality_converse_dataThis file records the classical objects appearing in the converse theorems of the survey's appendix.
For a sequence of complex numbers, the attached -expansion is , a function on the upper half plane, and for a Dirichlet character of modulus the twisted completed -function is
The congruence subgroup is recorded as a subgroup of , the shape required to speak of cusp forms for it. The conjugate character and Weil's root number , with the Gauss sum, are also recorded.
Finally, Weil's conditions (W1)–(W3) for weight and level on a sequence are: the Dirichlet series converges absolutely in a right half plane; for every primitive character of modulus coprime to the function continues to an entire function bounded on vertical strips; and each satisfies
Formalization Note. The survey writes the right-hand side of (W3) with ; the conjugate character is used here, as in Weil's original statement.
import Mathlib
import Definitions.Def_LanglandsFunctoriality_automorphic_data
/-!
# Data for the classical converse theorems
This file records the classical objects used in the converse theorems of Hamburger, Hecke and
Weil: the `q`-expansion attached to a sequence of coefficients, the twisted completed
`L`-function `Λ(s, χ) = (2π)^{-s} Γ(s) ∑ aₙ χ(n) n^{-s}`, the congruence subgroup `Γ₀(N)` seen
inside `GL(2, ℝ)` (the shape Mathlib's `CuspForm` expects), and Weil's hypotheses (W1)–(W3).
-/
namespace LanglandsFunctoriality
open Complex
/-- `Γ₀(N)`, viewed inside `GL(2, ℝ)` so that Mathlib's `CuspForm` applies to it. -/
def Gamma0GL (N : ℕ) : Subgroup (GL (Fin 2) ℝ) :=
(CongruenceSubgroup.Gamma0 N).map
(Matrix.SpecialLinearGroup.toGL.comp (Matrix.SpecialLinearGroup.map (Int.castRingHom ℝ)))
/-- The `q`-expansion `f(τ) = ∑_{n ≥ 1} aₙ e^{2π i n τ}` attached to a coefficient sequence. -/
noncomputable def qExpansion (a : ℕ → ℂ) (z : UpperHalfPlane) : ℂ :=
∑' n : ℕ, a (n + 1) * Complex.exp (2 * Real.pi * Complex.I * (n + 1) * (z : ℂ))
/-- The twisted completed `L`-function `Λ(s, χ) = (2π)^{-s} Γ(s) ∑_{n ≥ 1} aₙ χ(n) n^{-s}`. -/
noncomputable def twistedCompleted (a : ℕ → ℂ) {r : ℕ} (χ : DirichletCharacter ℂ r) (s : ℂ) : ℂ :=
(2 * (Real.pi : ℂ)) ^ (-s) * Complex.Gamma s *
LSeries (fun n : ℕ => a n * χ (n : ZMod r)) s
/-- The complex conjugate character `χ̄`. -/
noncomputable def conjChar {r : ℕ} (χ : DirichletCharacter ℂ r) : DirichletCharacter ℂ r :=
χ.ringHomComp (starRingEnd ℂ)
/-- Weil's root number `w_χ = i^d χ(N) g(χ)²`, where `g(χ) = ∑_{n mod r} χ(n) e^{2π i n / r}`
is the Gauss sum. -/
noncomputable def weilRootNumber (d N : ℕ) {r : ℕ} [NeZero r] (χ : DirichletCharacter ℂ r) : ℂ :=
Complex.I ^ d * χ ((N : ZMod r)) * gaussSum χ ZMod.stdAddChar ^ 2
/-- Weil's hypotheses (W1)–(W3) on a coefficient sequence `a`, for weight `d` and level `N`:
* (W1) the Dirichlet series `∑ aₙ n^{-s}` converges absolutely in some right half plane;
* (W2) for every primitive character `χ` of modulus `r` coprime to `N`, the twisted completed
`L`-function continues to an entire function bounded on vertical strips;
* (W3) each of them satisfies `Λ(s, χ) = w_χ r^{-1} (r² N)^{d/2 - s} Λ(d - s, χ̄)`. -/
def WeilConditions (d N : ℕ) (a : ℕ → ℂ) : Prop :=
∃ σ₀ : ℝ, (∀ s : ℂ, σ₀ < s.re → LSeriesSummable a s) ∧
∀ (r : ℕ) (_ : NeZero r) (χ : DirichletCharacter ℂ r), χ.IsPrimitive → Nat.Coprime r N →
∃ Λ Λc : ℂ → ℂ,
Differentiable ℂ Λ ∧ Differentiable ℂ Λc ∧
BoundedOnVerticalStrips Λ ∧ BoundedOnVerticalStrips Λc ∧
(∀ s : ℂ, σ₀ < s.re → Λ s = twistedCompleted a χ s) ∧
(∀ s : ℂ, σ₀ < s.re → Λc s = twistedCompleted a (conjChar χ) s) ∧
(∀ s : ℂ, Λ s =
@weilRootNumber d N r _ χ / (r : ℂ) *
(((r : ℂ) ^ 2 * (N : ℂ)) ^ ((d : ℂ) / 2 - s)) * Λc ((d : ℂ) - s))
end LanglandsFunctoriality
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, written by the drafting agent
Non-blind read-back — please note. This read-back was written by the same agent that drafted the Lean statement it describes, on the explicit instruction of the proposal owner. It is not independent testimony from a blind auditor: the author's intent may have leaked into the reading, so it cannot play the role a blind read-back plays in the audit. An independent read-back of this item is still outstanding.
This file introduces five definitions in the same namespace as the data file.
as a subgroup of is the image of the standard congruence subgroup under the map that casts integer entries to real numbers and regards the resulting special linear matrix as an element of . For this is the image of , and for it is the image of all of .
For a sequence , the -expansion at a point of the upper half plane is the value of the infinite series ; if the series does not converge, the value is (Mathlib's convention for a non-summable series). The coefficient never appears.
For a Dirichlet character of modulus with complex values, the twisted completed -function at is , using Mathlib's (junk values at poles) and its -series (value where not summable). The conjugate character is composed with complex conjugation. The Weil root number, for natural numbers and a character of modulus with , is where is the Gauss sum of against the standard additive character .
Weil's conditions for natural numbers and a sequence assert the existence of a real such that: (i) the -series is summable for every with ; and (ii) for every natural number , every proof that , and every Dirichlet character of modulus that is primitive and whose modulus is coprime to , there exist two functions such that both are differentiable on all of and bounded on every vertical strip; equals the twisted completed -function of by , and the one twisted by , for every with ; and for every ,
The same real is used for all the twists. Note that the coprimality is stated between and , and that no condition is imposed for imprimitive characters or for characters whose modulus shares a factor with .