Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Seeded horizontal p-adic L-functions with positive-density support

Definition
KN_SeededHorizontalPadicLFunction

by davidloeffler · Sep 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

modular-formsnonvanishingnumber-theoryp-adic-l-functionsprime-density

For a newform fff and a primitive seed character η\etaη, this module defines horizontal ppp-adic measures whose interpolation values are the central values of the composite twists L(f,ηψ,k/2)L(f,\eta\psi,k/2)L(f,ηψ,k/2). The orderly-prime condition is written directly using the coefficients and nebentypus of f⊗ηf\otimes\etaf⊗η.

Each prime system contains an exact exponent m>0m>0m>0, avoids an arbitrary fixed modulus BBB, and enumerates a set of orderly primes having positive natural density among all rational primes. The interpolation interface realizes all primitive characters of exact order pmp^mpm supported on those primes and records the value at the trivial horizontal character.

The predicate HasSeededHorizontalPadicLConstruction is uniform in the seed, pmp^mpm, and BBB. This uniformity permits the seed to be replaced after each prime-power stage when the desired character order is composite.

Deprecated. This definition extended an incompatible duplicate of the mission's live horizontal-measure definitions. Use KN_SeededHorizontalPadicLFunctionV2, which extends KN_HorizontalPadicLDensityExtension.

Definition code
import Definitions.Def_KN_HorizontalPadicLFunctionDensity

set_option autoImplicit false
noncomputable section

namespace HorizontalPadicL

/-- The primitive character associated to the product of two Dirichlet characters,
packaged together with its (positive) conductor. -/
noncomputable def primitiveProduct
    (χ ψ : DirichletCharacterWithLevel) : DirichletCharacterWithLevel := by
  letI : NeZero χ.1.1 := ⟨Nat.ne_of_gt χ.1.2⟩
  letI : NeZero ψ.1.1 := ⟨Nat.ne_of_gt ψ.1.2⟩
  letI : NeZero (Nat.lcm χ.1.1 ψ.1.1) :=
    ⟨Nat.lcm_ne_zero (Nat.ne_of_gt χ.1.2) (Nat.ne_of_gt ψ.1.2)⟩
  let φ := χ.2.mul ψ.2
  have hφ : φ.conductor ≠ 0 := φ.conductor_ne_zero
  exact ⟨⟨φ.conductor, Nat.pos_of_ne_zero hφ⟩, φ.primitiveCharacter⟩

/-- The trivial primitive Dirichlet character, packaged at level one. -/
def trivialCharacterWithLevel : DirichletCharacterWithLevel :=
  ⟨⟨1, Nat.zero_lt_one⟩, 1⟩

/-- The trivial character of the horizontal group, represented on the empty
finite quotient. -/
def trivialHorizontalCharacter (p : ℕ) [Fact p.Prime] (m : ℕ → ℕ) :
    HorizontalCharacter p m where
  support := ∅
  toMonoidHom := 1

/-- The orderly-prime condition for the twist of `f` by the seed character `η`.
This writes the Hecke eigenvalue and nebentypus of the twisted form directly, so
the formal interface does not require constructing the twisted form as a form. -/
def IsOrderlyPrimeForSeededEigenform
    {N k : ℕ} {ι : MTT.Qbar →+* ℂ}
    (p m : ℕ) [Fact p.Prime] (ιp : MTT.Qbar →+* ℂ_[p])
    (f : MTT.Eigenform N k ι) (η : DirichletCharacterWithLevel)
    (ℓ : ℕ) : Prop :=
  ℓ.Prime ∧ Nat.ModEq (p ^ m) ℓ 1 ∧
    Nat.Coprime ℓ (N * η.2.conductor) ∧
    ‖ιp (η.2 ℓ * f.coeff ℓ - 1 - (η.2 ℓ) ^ 2 * f.epsilon ℓ)‖ = 1

/-- A positive-density system of orderly primes for the seeded twist `f ⊗ η`.
The extra modulus `B` records the finite set of primes which must be avoided during
successive applications of the horizontal argument. -/
structure SeededHorizontalPrimeSystem
    {N k : ℕ} {ι : MTT.Qbar →+* ℂ}
    (p : ℕ) [Fact p.Prime] (ιp : MTT.Qbar →+* ℂ_[p])
    (f : MTT.Eigenform N k ι) (η : DirichletCharacterWithLevel) (B : ℕ) where
  orderExponent : ℕ
  orderExponent_pos : 0 < orderExponent
  primeAt : ℕ → ℕ
  primeAt_prime : ∀ n, (primeAt n).Prime
  primeAt_injective : Function.Injective primeAt
  primeAt_avoids : ∀ n, Nat.Coprime (primeAt n) B
  primeAt_orderly : ∀ n,
    IsOrderlyPrimeForSeededEigenform p orderExponent ιp f η (primeAt n)
  naturalDensity : ℝ
  naturalDensity_pos : 0 < naturalDensity
  has_naturalDensity :
    HasPrimeNaturalDensity {ℓ : ℕ | ∃ n : ℕ, primeAt n = ℓ} naturalDensity

/-- The exponent `v_p(ℓₙ - 1)` attached to a seeded horizontal prime system. -/
def SeededHorizontalPrimeSystem.exponent
    {N k p B : ℕ} {ι : MTT.Qbar →+* ℂ} [Fact p.Prime]
    {ιp : MTT.Qbar →+* ℂ_[p]} {f : MTT.Eigenform N k ι}
    {η : DirichletCharacterWithLevel}
    (L : SeededHorizontalPrimeSystem p ιp f η B) (n : ℕ) : ℕ :=
  padicValNat p (L.primeAt n - 1)

/-- A horizontal `p`-adic L-function for the seeded twist `f ⊗ η`. The seed is
retained in the type because its interpolation values are twists `ηψ`, rather than
the unseeded values attached to `ψ` alone. -/
structure SeededHorizontalPadicLFunction
    {N k B : ℕ} {ι : MTT.Qbar →+* ℂ} (p : ℕ) [Fact p.Prime]
    (ιp : MTT.Qbar →+* ℂ_[p]) (f : MTT.Eigenform N k ι)
    (η : DirichletCharacterWithLevel) where
  primes : SeededHorizontalPrimeSystem p ιp f η B
  coefficientRing : Subring ℂ_[p]
  coefficient_integral : ∀ x : coefficientRing, (x : ℂ_[p]) ∈ 𝓞_ℂ_[p]
  measure : HorizontalMeasure coefficientRing p primes.exponent

/-- Interpolation for a seeded horizontal `p`-adic L-function. A horizontal
character realizes a primitive `p`-power character `ψ`, while the value of the
measure detects the central critical value twisted by the primitive product `ηψ`. -/
def SeededHorizontalPadicLFunction.InterpolatesSeededCriticalValues
    {N k B p : ℕ} {ι : MTT.Qbar →+* ℂ} [Fact p.Prime]
    {ιp : MTT.Qbar →+* ℂ_[p]} {f : MTT.Eigenform N k ι}
    {η : DirichletCharacterWithLevel}
    (ν : SeededHorizontalPadicLFunction (B := B) p ιp f η) : Prop :=
  ∃ realized : HorizontalCharacter p ν.primes.exponent → DirichletCharacterWithLevel,
    (∀ χ, (realized χ).2.IsPrimitive) ∧
    (∀ χ, ∃ a ≤ ν.primes.orderExponent,
      orderOf (realized χ).2 = p ^ a) ∧
    realized (trivialHorizontalCharacter p ν.primes.exponent) =
      trivialCharacterWithLevel ∧
    (∀ χ, (realized χ).2.conductor ∣
      ∏ n ∈ χ.support, ν.primes.primeAt n) ∧
    (∀ χ : DirichletCharacterWithLevel,
      χ.2.IsPrimitive →
      orderOf χ.2 = p ^ ν.primes.orderExponent →
      (∃ A : Finset ℕ, χ.2.conductor ∣ ∏ n ∈ A, ν.primes.primeAt n) →
      ∃ ψ : HorizontalCharacter p ν.primes.exponent, realized ψ = χ) ∧
    (∀ χ, ν.measure.eval χ ≠ 0 ↔
      let θ := primitiveProduct η (realized χ)
      @MTT.criticalLValue ι f.form
        θ.1.1 ⟨Nat.ne_of_gt θ.1.2⟩ θ.2 (k / 2 - 1) ≠ 0)

/-- The horizontal-measure construction needed in the proof of Corollary 5.10.
It is deliberately uniform in the seed, the prime power, and the finite avoidance
modulus, since composite orders are handled by changing the seed after each stage. -/
def HasSeededHorizontalPadicLConstruction
    {N k : ℕ} (ι : MTT.Qbar →+* ℂ) (f : MTT.Eigenform N k ι) : Prop :=
  ∀ (η : DirichletCharacterWithLevel)
    (_hηprim : η.2.IsPrimitive)
    (_hηeven : η.2 (-1) = 1)
    (p m B : ℕ) [Fact p.Prime]
    (_hm : 0 < m) (_hB : 0 < B)
    (_hηorder : 2 ≤ orderOf η.2)
    (_horderCoprime : Nat.Coprime (orderOf η.2) p)
    (_hηcoprime : Nat.Coprime (N * p) η.2.conductor)
    (_hseedNonzero :
      @MTT.criticalLValue ι f.form
        η.1.1 ⟨Nat.ne_of_gt η.1.2⟩ η.2 (k / 2 - 1) ≠ 0),
    ∃ (ιp : MTT.Qbar →+* ℂ_[p])
      (ν : SeededHorizontalPadicLFunction (B := B) p ιp f η),
      ν.primes.orderExponent = m ∧
      ν.InterpolatesSeededCriticalValues ∧
      ν.measure.eval (trivialHorizontalCharacter p ν.primes.exponent) ≠ 0

end HorizontalPadicL
Source
Kriz--Nordentoft, Horizontal p-adic L-functions, https://arxiv.org/pdf/2310.20678, Corollary 4.15, Definition 5.3, Corollary 5.4, Theorem 5.9 and Corollary 5.10.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me