Prime powers in each last digit and the L-functions mod 10
ProvedZetaMap.lastDigit_primes_LSeriesanalytic-number-theorydirichlet-l-functionsriemann-zeta-function
For coprime to and : .
Preamble
import Mathlib open Complex DirichletCharacter ArithmeticFunction
Formal statement
namespace ZetaMap
theorem lastDigit_primes_LSeries {a : ℕ} (ha : a.Coprime 10) {s : ℂ} (hs : 1 < s.re) :
LSeries (fun n => if n % 10 = a % 10 then (Λ n : ℂ) else 0) s =
-(1 / 4) * ∑ χ : DirichletCharacter ℂ 10,
χ (a : ZMod 10)⁻¹ * (deriv (LFunction χ) s / LFunction χ s) := by sorry
end ZetaMapSource
mfala22ss, The decimal sieve through the zeta function (note, 2026); general versions in Mathlib (Mathlib/NumberTheory/LSeries, EulerProduct, DirichletCharacter); Mathlib `ArithmeticFunction.vonMangoldt.LSeries_residueClass_eq`
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
For every natural a coprime to 10 and every complex s with Re s > 1: the sum over n >= 1 with n = a (mod 10) of Lambda(n)/n^s equals -(1/4) times the sum over all Dirichlet characters chi mod 10 of chi((a mod 10)^{-1}) L'(chi,s)/L(chi,s), where L(chi,.) is Mathlib's analytically continued LFunction. Concerns: (1) the left side weights every prime power p^k = a (mod 10) by log p, not only primes; this is the standard object. (2) The derivative is of LFunction, which agrees with the L-series on the open half-plane. (3) L(chi,s) != 0 on Re s > 1, so no division junk value arises.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.