The areas / V12. Number theory
Mathlib.NumberTheory.ArithmeticFunction.LFunction
13 declarations. Mathlib docs · Source
Construction of L-functions
This file constructs L-functions as formal Dirichlet series.
Main definitions
ArithmeticFunction.ofPowerSeries q f: L-functionf(q⁻ˢ)obtained from a power seriesf(T).ArithmeticFunction.eulerProduct f: the Euler product of a familyf iof Dirichlet series.
Implementation notes
We take the following route from polynomials to L-functions:
- Starting from a polynomial in
T,PowerSeries.invOfUnitgives the reciporical power series. ofPowerSeriesgives the local Euler factor as a formal Dirichlet series on powers ofq.eulerProductgives the L-function as the formal product of these local Euler factors.LSeriesgives the L-function as an analytic function on the right half-plane of convergence.
For example, the Riemann zeta function ζ(s) corresponds to taking 1 - T at each prime p.
For context, here is a diagram of the possible routes from polynomials to L-functions:
T=q⁻ˢ s ∈ ℂ
[polynomials in T] ----> [polynomials in q⁻ˢ] ----> [analytic function in s]
| | |
| (reciprocal) | (reciprocal) | (reciprocal)
v T=q⁻ˢ V s ∈ ℂ V
[power series in T] ----> [power series in q⁻ˢ] ----> [analytic function in s] (the Euler factor)
| | |
| (product) | (product) | (product)
v T=q⁻ˢ V s ∈ ℂ V
[multivariate power series] ----> [Dirichlet series] ----> [L-function in s] (the Euler product)
def ArithmeticFunction.ofPowerSeries E1 #
{R : Type u_1} → [inst : CommSemiring R] → ℕ → PowerSeries R →ₐ[R] ArithmeticFunction R
The arithmetic function corresponding to the Dirichlet series f(q⁻ˢ).
For example, if f = 1 + X + X² + ... and q = p, then f(q⁻ˢ) = 1 + p⁻ˢ + p⁻²ˢ + ....
If q ≤ 1 then k ↦ q ^ k is not injective, so we use the junk value f.constantCoeff.
theorem ArithmeticFunction.ofPowerSeries_apply E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {q : ℕ},
1 < q →
∀ (f : PowerSeries R) (n : ℕ),
((ArithmeticFunction.ofPowerSeries q) f) n = Function.extend (fun x ↦ q ^ x) (fun x ↦ (PowerSeries.coeff x) f) 0 n
theorem ArithmeticFunction.ofPowerSeries_apply_pow E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {q : ℕ},
1 < q → ∀ (f : PowerSeries R) (k : ℕ), ((ArithmeticFunction.ofPowerSeries q) f) (q ^ k) = (PowerSeries.coeff k) f
theorem ArithmeticFunction.ofPowerSeries_apply_zero E1 #
∀ {R : Type u_1} [inst : CommSemiring R] (q : ℕ) (f : PowerSeries R), ((ArithmeticFunction.ofPowerSeries q) f) 0 = 0
theorem ArithmeticFunction.ofPowerSeries_apply_one E0 #
∀ {R : Type u_1} [inst : CommSemiring R] (q : ℕ) (f : PowerSeries R),
((ArithmeticFunction.ofPowerSeries q) f) 1 = PowerSeries.constantCoeff f
theorem ArithmeticFunction.ofPowerSeries_pow E1 #
∀ {R : Type u_1} [inst : CommRing R] (q : ℕ) {k : ℕ},
k ≠ 0 →
∀ (f : PowerSeries R),
(ArithmeticFunction.ofPowerSeries (q ^ k)) f =
(ArithmeticFunction.ofPowerSeries q) (PowerSeries.subst (PowerSeries.X ^ k) f)
In ArithmeticFunction.ofPowerSeries, replacing the base q with a power q ^ k corresponds
to substituting X with X ^ k in the original power series.
theorem ArithmeticFunction.isMultiplicative_ofPowerSeries_of_isPrimePow E1 #
∀ {R : Type u_1} [inst : CommRing R] (q : ℕ),
IsPrimePow q →
∀ (f : PowerSeries R), PowerSeries.constantCoeff f = 1 → ((ArithmeticFunction.ofPowerSeries q) f).IsMultiplicative
ArithmeticFunction.ofPowerSeries produces multiplicative power series.
def ArithmeticFunction.uniformSpace E1 #
{R : Type u_2} → [inst : CommSemiring R] → UniformSpace (ArithmeticFunction R)
A private uniform space instance on ArithmeticFunction R in order to define eulerProduct as
a tprod. If R is viewed as having the discrete topology, then the resulting topology on
ArithmeticFunction R is the topology of pointwise convergence (see tendsto_iff).
See tendsTo_eulerProduct_of_tendsTo for the outward facing eulerProduct API.
theorem ArithmeticFunction.instCompleteSpace E1 #
∀ {R : Type u_2} [inst : CommSemiring R], CompleteSpace (ArithmeticFunction R)
The uniform space structure on arithmetic functions is complete.
See tendsTo_eulerProduct_of_tendsTo for the outward facing eulerProduct API.
def ArithmeticFunction.eulerProduct E1 #
{ι : Type u_1} → {R : Type u_2} → [inst : CommSemiring R] → (ι → ArithmeticFunction R) → ArithmeticFunction R
The Euler product of a family of arithmetic functions. Defined as a tprod, but see
tendsTo_eulerProduct_of_tendsTo for the outward facing eulerProduct API.
theorem ArithmeticFunction.tendsTo_eulerProduct_of_tendsTo E1 #
∀ {ι : Type u_1} {R : Type u_2} [inst : CommSemiring R] (f : ι → ArithmeticFunction R),
(∀ (n : ℕ), ∀ᶠ (i : ι) in Filter.cofinite, (f i) n = 1 n) →
∀ (n : ℕ), ∀ᶠ (s : Finset ι) in Filter.atTop, (∏ i ∈ s, f i) n = (ArithmeticFunction.eulerProduct f) n
If arithmetic functions f i converges to 1 pointwise, then the partial products
∏ i ∈ s, f i converge to eulerProduct f pointwise.
theorem ArithmeticFunction.isMultiplicative_eulerProduct E1 #
∀ {ι : Type u_1} {R : Type u_2} [inst : CommSemiring R] (f : ι → ArithmeticFunction R),
(∀ (i : ι), (f i).IsMultiplicative) → (ArithmeticFunction.eulerProduct f).IsMultiplicative
theorem ArithmeticFunction.tendsTo_eulerProduct_ofPowerSeries E1 #
∀ {ι : Type u_1} {R : Type u_2} [inst : CommSemiring R] (q : ι → ℕ) [hq : Northcott q] (f : ι → PowerSeries R),
(∀ (i : ι), PowerSeries.constantCoeff (f i) = 1) →
∀ (n : ℕ),
∀ᶠ (s : Finset ι) in Filter.atTop,
(∏ i ∈ s, (ArithmeticFunction.ofPowerSeries (q i)) (f i)) n =
(ArithmeticFunction.eulerProduct fun i ↦ (ArithmeticFunction.ofPowerSeries (q i)) (f i)) n
Given arithmetic functions f(q⁻ˢ) with q → ∞, the partial products ∏ i ∈ s, f i converge
to the Euler product pointwise.