Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Zeta5: the potentials UωU_\omegaUω​, UρU_\rhoUρ​ and the regularisation errors

Definition
Zeta5_SourceEnergy

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

analysisformalizationirrationalitynumber-theoryzeta5-mo271

The energy objects of Section 6 of the source attached to the Hankel determinant construction with K=40nK = 40nK=40n:

  • the closed form (A.1) of the potential of the arcsine measure on [a,b][a,b][a,b],
Uω(a,b,t)  =  {log⁡b−a4,a≤t≤b,log⁡∣t−a+b2∣+(t−a)(t−b)2,otherwise;U_\omega(a,b,t) \;=\; \begin{cases}\log\frac{b-a}{4}, & a\le t\le b,\\[4pt] \log\frac{\left|t-\frac{a+b}{2}\right| + \sqrt{(t-a)(t-b)}}{2}, & \text{otherwise};\end{cases}Uω​(a,b,t)=⎩⎨⎧​log4b−a​,log2∣t−2a+b​∣+(t−a)(t−b)​​,​a≤t≤b,otherwise;​
  • the potential of the comparison measure ρ\rhoρ, Uρ(t)=∑j=116cjUω(aj,bj,t)U_\rho(t) = \sum_{j=1}^{16} c_j U_\omega(a_j,b_j,t)Uρ​(t)=∑j=116​cj​Uω​(aj​,bj​,t), where (aj,bj,cj)(a_j,b_j,c_j)(aj​,bj​,cj​) is Table 1;

  • the midpoints mj=(aj+bj)/2m_j = (a_j+b_j)/2mj​=(aj​+bj​)/2 and half-lengths rj=(bj−aj)/2r_j = (b_j-a_j)/2rj​=(bj​−aj​)/2 of the Table 1 intervals;

  • the regularisation error of the arcsine potential at a point, errj(ε,t,m,r)=εr+εr⋅ε+2∣t−m∣r\mathrm{err}_j(\varepsilon,t,m,r) = \frac{\varepsilon}{r} + \sqrt{\frac{\varepsilon}{r}\cdot\frac{\varepsilon + 2|t-m|}{r}}errj​(ε,t,m,r)=rε​+rε​⋅rε+2∣t−m∣​​;

  • the total regularisation error Err(ε,t)=∑j=116cj errj(ε,t,mj,rj)\mathrm{Err}(\varepsilon,t) = \sum_{j=1}^{16} c_j\, \mathrm{err}_j(\varepsilon,t,m_j,r_j)Err(ε,t)=∑j=116​cj​errj​(ε,t,mj​,rj​).

These are exactly the objects in which the raw configuration inequality energy_raw, the potential inequality of Lemma 6.1, and the regularisation bounds of Section 6 are stated.

Formalization Note All six are noncomputable defs in the Apery namespace, verbatim from the source modules; no side conditions.

Definition code
import Mathlib
import Definitions.Def_Zeta5_SourceMeasure
import Definitions.Def_Zeta5_SourceAnalytic

/-!
# The energy objects of Section 6: the potentials and the regularisation error

* the closed form (A.1) of the potential of the arcsine measure on `[a,b]`,
  `Uω a b t`, and the potential `Uρ t = ∑_{j=1}^{16} c_j Uω(a_j, b_j, t)` of the comparison measure;
* the midpoints `mρ`, half-lengths `rρ` of the Table 1 intervals;
* the regularisation error `errj` of the arcsine potential at a point and the total
  regularisation error `Err = ∑_{j=1}^{16} c_j errj(ε, t, mρ j, rρ j)`.

Source: mo271/Zeta5 @ 7fe736760f4b96bfdb4334b68e3b3124ecbe10b0,
`Apery/Potential.lean` lines 20–26, `Apery/EnergyAtoms.lean` lines 27–29,
`Apery/EnergyBlocks.lean` lines 94–96, `Apery/EnergyRaw.lean` lines 19–21.
-/

open Finset

namespace Apery

/-- The closed form (A.1) of the potential of the arcsine measure on `[a, b]`. -/
noncomputable def Uω (a b t : ℝ) : ℝ :=
  if a ≤ t ∧ t ≤ b then Real.log ((b - a) / 4)
  else Real.log ((|t - (a + b) / 2| + Real.sqrt ((t - a) * (t - b))) / 2)

/-- The potential of `ρ`. -/
noncomputable def Uρ (t : ℝ) : ℝ := ∑ j ∈ Icc 1 16, cρ j * Uω (aρ j) (bρ j) t

/-- Midpoints of the intervals of Table 1. -/
noncomputable def mρ (j : ℕ) : ℝ := (aρ j + bρ j) / 2

/-- Half-lengths of the intervals of Table 1. -/
noncomputable def rρ (j : ℕ) : ℝ := (bρ j - aρ j) / 2

/-- The regularisation error of the arcsine potential at a real point `t`. -/
noncomputable def errj (ε t m r : ℝ) : ℝ :=
  ε / r + Real.sqrt (ε / r * ((ε + 2 * |t - m|) / r))

/-- The total regularisation error at a point. -/
noncomputable def Err (ε t : ℝ) : ℝ :=
  ∑ j : Fin 16, cρ (j + 1) * errj ε t (mρ (j + 1)) (rρ (j + 1))

end Apery
Source
https://github.com/mo271/Zeta5/blob/7fe736760f4b96bfdb4334b68e3b3124ecbe10b0/Apery/Potential.lean#L20-L26, Apery/EnergyAtoms.lean#L27-L29, Apery/EnergyBlocks.lean#L94-L96, Apery/EnergyRaw.lean#L19-L21

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