Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Zeta5: moment weight and rational integrands

Definition
Zeta5_MomentWeight

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

formalizationirrationalitynumber-theoryzeta5-mo271

For every real yyy, define

w(y)=(2π)4y512∑ℓ=1∞ℓ4e−2πℓy.w(y)=\frac{(2\pi)^4y^5}{12}\sum_{\ell=1}^{\infty}\ell^4e^{-2\pi\ell y}.w(y)=12(2π)4y5​ℓ=1∑∞​ℓ4e−2πℓy.

For a natural number KKK and a rational polynomial PPP, define

JK,P(y)=P(y2)DK(y2)w(y).J_{K,P}(y)=\frac{P(y^2)}{D_K(y^2)}w(y).JK,P​(y)=DK​(y2)P(y2)​w(y).

These are total real functions. Convergence of the series, integrability, and positivity on (0,∞)(0,\infty)(0,∞) are mathematical results, not fields assumed in the definitions. The expressions are exactly those in the source's weight and positivity modules; subsequent statements use Lebesgue integrals over (0,∞)(0,\infty)(0,∞).

Definition code
import Mathlib
import Definitions.Def_Zeta5_SourceConstruction

open Polynomial

namespace Apery

noncomputable def wS (y : ℝ) : ℝ :=
  ∑' ℓ : ℕ, ((ℓ : ℝ) + 1) ^ 4 * Real.exp (-(2 * Real.pi * ((ℓ : ℝ) + 1) * y))

noncomputable def w (y : ℝ) : ℝ := (2 * Real.pi) ^ 4 * y ^ 5 / 12 * wS y

noncomputable def integrand (K : ℕ) (P : ℚ[X]) (y : ℝ) : ℝ :=
  aeval (y ^ 2) P / aeval (y ^ 2) (D K) * w y

end Apery
Source
https://github.com/mo271/Zeta5/blob/7fe736760f4b96bfdb4334b68e3b3124ecbe10b0/Apery/Weight.lean#L14-L19; https://github.com/mo271/Zeta5/blob/7fe736760f4b96bfdb4334b68e3b3124ecbe10b0/Apery/Positivity.lean#L49-L51
Read-back

What the Lean code literally says, in plain math · GPT-6 (Codex independent auditor)

wS. For every real number yyy, this defines wS(y)=∑ℓ∈N(ℓ+1)4exp⁡(−2π(ℓ+1)y)w_S(y)=\sum_{\ell\in\mathbb N}(\ell+1)^4\exp(-2\pi(\ell+1)y)wS​(y)=∑ℓ∈N​(ℓ+1)4exp(−2π(ℓ+1)y), with ℓ\ellℓ embedded in R\mathbb RR. The infinite sum is unconditional and is assigned the value 000 if its summands are not summable. In particular the definition applies to y=0y=0y=0 and to negative yyy: for every y≤0y\le0y≤0 these summands fail to tend to 000, so the value assigned to wS(y)w_S(y)wS​(y) is 000.

w. For every real number yyy, this defines w(y)=(2π)4y512∑ℓ∈N(ℓ+1)4exp⁡(−2π(ℓ+1)y)w(y)=\frac{(2\pi)^4y^5}{12}\sum_{\ell\in\mathbb N}(\ell+1)^4\exp(-2\pi(\ell+1)y)w(y)=12(2π)4y5​∑ℓ∈N​(ℓ+1)4exp(−2π(ℓ+1)y), with natural numbers in the summand embedded in R\mathbb RR. The sum is the total unconditional sum, equal to 000 if the summands are not summable. Consequently the definition gives w(y)=0w(y)=0w(y)=0 for every y≤0y\le0y≤0, including y=0y=0y=0.

integrand. For every natural number KKK, every rational polynomial P(t)P(t)P(t), and every real number yyy, this defines the real-valued function IK,P(y)=P(y2)∏j=1K(y2+j2) (2π)4y512∑ℓ∈N(ℓ+1)4exp⁡(−2π(ℓ+1)y)I_{K,P}(y)=\frac{P(y^2)}{\prod_{j=1}^{K}(y^2+j^2)}\,\frac{(2\pi)^4y^5}{12}\sum_{\ell\in\mathbb N}(\ell+1)^4\exp(-2\pi(\ell+1)y)IK,P​(y)=∏j=1K​(y2+j2)P(y2)​12(2π)4y5​∑ℓ∈N​(ℓ+1)4exp(−2π(ℓ+1)y). Polynomial coefficients and natural numbers in this expression are embedded in R\mathbb RR. The product is 111 for K=0K=0K=0; for every allowed K,yK,yK,y its value is nonzero. The infinite sum is unconditional, with value 000 if its summands are not summable, so IK,P(y)=0I_{K,P}(y)=0IK,P​(y)=0 for y≤0y\le0y≤0; the polynomial P=0P=0P=0 also gives the identically zero function. The definition is made on all of R\mathbb RR, without a positivity hypothesis on yyy.

Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by tomasz · Oct 6, 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