Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The sieve as an Euler product

Proved
ZetaMap.sieve_eulerProduct

by Meshaal Alenezi · Dec 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

analytic-number-theorydirichlet-l-functionsriemann-zeta-function

For Re⁡s>1\operatorname{Re}s>1Res>1: ∏p prime, p≠2,5(1−p−s)−1=∑gcd⁡(n,10)=1n−s\prod_{p\text{ prime},\,p\ne2,5}(1-p^{-s})^{-1}=\sum_{\gcd(n,10)=1}n^{-s}∏p prime,p=2,5​(1−p−s)−1=∑gcd(n,10)=1​n−s (the factors at 222 and 555 are replaced by 111).

Preamble
import Mathlib

open Complex DirichletCharacter ArithmeticFunction
Formal statement
namespace ZetaMap
theorem sieve_eulerProduct {s : ℂ} (hs : 1 < s.re) :
    ∏' p : Nat.Primes, (if (p : ℕ) = 2 ∨ (p : ℕ) = 5 then 1 else (1 - (p : ℂ) ^ (-s))⁻¹) =
      LSeries (fun n => if n.Coprime 10 then 1 else 0) s := by sorry
end ZetaMap
Source
mfala22ss, The decimal sieve through the zeta function (note, 2026); general versions in Mathlib (Mathlib/NumberTheory/LSeries, EulerProduct, DirichletCharacter); Mathlib `DirichletCharacter.LSeries_eulerProduct_tprod`
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

For every complex s with Re s > 1: the unconditional infinite product (tprod) over all primes p of the factor 1 when p = 2 or p = 5, and (1 - p^{-s})^{-1} otherwise, equals the sum over n >= 1 with gcd(n,10) = 1 of n^{-s}. Concerns: tprod returns 1 when the product is not multipliable, so the content includes multipliability. The true limit is nonzero on Re s > 1, so the statement is faithful and not vacuous. The factors at 2 and 5 are replaced by 1 rather than dropped, which is equivalent.

Human review
  • Endorsed by Shuze Chen · Dec 2, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Meshaal Alenezi · Dec 2, 2026

    Confirmed by the mission captain (proposal self-audit).

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