Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Positive-weight moment representation of the rational functional

Proved
Apery.moment_rep

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

formalizationirrationalitynumber-theoryzeta5-mo271

For every natural number KKK and every rational polynomial PPP, the function JK,P(y)=P(y2)w(y)/DK(y2)J_{K,P}(y)=P(y^2)w(y)/D_K(y^2)JK,P​(y)=P(y2)w(y)/DK​(y2) is Lebesgue integrable on (0,∞)(0,\infty)(0,∞) and

μz5(P/DK)=∫0∞P(y2)DK(y2)w(y) dy.\mu_{z_5}(P/D_K)=\int_0^\infty\frac{P(y^2)}{D_K(y^2)}w(y)\,dy.μz5​​(P/DK​)=∫0∞​DK​(y2)P(y2)​w(y)dy.

There is no degree restriction on PPP, and K=0K=0K=0 is included. Integrability is part of the conclusion. This is the functional identity linking the rational-polynomial construction to the analytic estimates.

Preamble
import Mathlib
import Definitions.Def_Zeta5_SourceConstruction
import Definitions.Def_Zeta5_SourceValue
import Definitions.Def_Zeta5_MomentWeight

open Polynomial Filter Topology MeasureTheory
Formal statement
namespace Apery

theorem moment_rep (K : ℕ) (P : ℚ[X]) :
    IntegrableOn (integrand K P) (Set.Ioi 0) ∧
      aeval zeta5 (μX K P) = ∫ y in Set.Ioi 0, integrand K P y := by sorry

end Apery
Source
https://github.com/mo271/Zeta5/blob/7fe736760f4b96bfdb4334b68e3b3124ecbe10b0/Apery/Positivity.lean#L85-L110
Read-back

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

For every natural number KKK and every rational polynomial P(t)P(t)P(t), define 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) for real yyy, with rational coefficients and natural numbers embedded in R\mathbb RR. This asserts both that IK,PI_{K,P}IK,P​ is Lebesgue integrable on the open half-line (0,∞)(0,\infty)(0,∞), meaning that it is almost everywhere strongly measurable there and has finite integral of its absolute value, and that the following real equality holds:

MK(P;Z)=∫(0,∞)IK,P(y) dy.M_K(P;Z)=\int_{(0,\infty)} I_{K,P}(y)\,dy.MK​(P;Z)=∫(0,∞)​IK,P​(y)dy.

The real number ZZZ is ∑k∈N1/k5\sum_{k\in\mathbb N}1/k^5∑k∈N​1/k5, with the natural numbers embedded in R\mathbb RR and the k=0k=0k=0 summand equal to 000 by total division. Infinite sums mean unconditional sums, assigned 000 if no such sum exists. Here Dm(t)=∏r=1m(t+r2)D_m(t)=\prod_{r=1}^{m}(t+r^2)Dm​(t)=∏r=1m​(t+r2) for m∈Nm\in\mathbb Nm∈N, Hj=∑v=1jv−5H_j=\sum_{v=1}^{j}v^{-5}Hj​=∑v=1j​v−5 for j∈Nj\in\mathbb Nj∈N, and βe=(−1)eB2e+2(2e+3)(2e+4)(2e+5)/24\beta_e=(-1)^eB_{2e+2}(2e+3)(2e+4)(2e+5)/24βe​=(−1)eB2e+2​(2e+3)(2e+4)(2e+5)/24 for e∈Ne\in\mathbb Ne∈N, where BkB_kBk​ are the rational Bernoulli numbers with B1=−1/2B_1=-1/2B1​=−1/2. For K∈NK\in\mathbb NK∈N and P∈Q[t]P\in\mathbb Q[t]P∈Q[t], let qK,Pq_{K,P}qK,P​ be the polynomial quotient on division of PPP by the monic polynomial DKD_KDK​, and put

MK(P;x)=∑e[te]qK,P βe+∑j=1KP(−j2)DK′(−j2)(j4(x−Hj)−14+12j).\begin{aligned} M_K(P;x)&=\sum_e [t^e]q_{K,P}\,\beta_e\\ &\quad+\sum_{j=1}^{K}\frac{P(-j^2)}{D_K'(-j^2)} \bigl(j^4(x-H_j)-\frac14+\frac{1}{2j}\bigr). \end{aligned}MK​(P;x)​=e∑​[te]qK,P​βe​+j=1∑K​DK′​(−j2)P(−j2)​(j4(x−Hj​)−41​+2j1​).​

The first sum is over the finitely many nonzero coefficients of qK,Pq_{K,P}qK,P​; [te][t^e][te] denotes a coefficient and the prime denotes formal differentiation. The variable ttt is the input polynomial variable and xxx is the output polynomial variable. Empty products are 111, empty sums are 000, and rational division by zero has value 000. In particular, D0=1D_0=1D0​=1, H0=0H_0=0H0​=0, and M0(P;x)=∑e[te]P βeM_0(P;x)=\sum_e[t^e]P\,\beta_eM0​(P;x)=∑e​[te]Pβe​. In the displayed equality, evaluation at x=Zx=Zx=Z embeds rational coefficients in R\mathbb RR. There is no bound on the degree of PPP and no requirement K>0K>0K>0. At K=0K=0K=0 the product in the integrand is 111 and the pole sum in MKM_KMK​ is empty. For P=0P=0P=0 the integrand and both sides of the equality are 000. The total function IK,PI_{K,P}IK,P​ has value 000 for y≤0y\le0y≤0, since its infinite sum then has nonsummable terms; those points are outside the domain of integration.

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