Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Zeta5: the log-prime weight c(k)c(k)c(k) of the growth estimates

Definition
Zeta5_SourcePrimeSum

by tomasz · Oct 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisformalizationirrationalitynumber-theoryzeta5-mo271

The log-prime weight c(k)=log⁡kc(k) = \log kc(k)=logk if kkk is prime and 000 otherwise, from Apery/PrimeSum.lean of the source project. The weighted prime sums of the growth estimates of the normaliser are written ∑kc(k)f(k)\sum_k c(k) f(k)∑k​c(k)f(k). Formalization Note The declaration is the source definition, in the Apery namespace.

Definition code
import Mathlib

/-!
# The log-prime weight `cPrime` (source `Apery/PrimeSum.lean`)

`cPrime k = log k` if `k` is prime, and `0` otherwise. The weighted prime sums of the growth
estimates of the source (`Apery/PrimeSum.lean` and following) are written as
`∑ k, cPrime k * f k`.
-/

namespace Apery

/-- The log-prime weight. -/
noncomputable def cPrime (k : ℕ) : ℝ := if k.Prime then Real.log k else 0

end Apery
Source
https://github.com/mo271/Zeta5/blob/7fe736760f4b96bfdb4334b68e3b3124ecbe10b0/Apery/PrimeSum.lean#L15-L16

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