Blueprint

🔍 Explore view: explanations, figures, other mathematical languages and labs are shown, marked commentary; they are not part of the paper. Switch to Paper for the statements, proofs and evidence only.

The Clock That Never Ticks: a machine-checked path from the dilogarithm to quantum speed limits in Lean 4

🏷️ Special functions · the dilogarithm and the Clausen function

Carles Marín

The dial is the unit circle, the height is \(|S(\theta)|\). The zeta state (blue) never reaches the dial: its floor is the star, \(|S(\pi)| = 1-2^{1-s}\), which is \(1/2\) at \(s=2\). The two-level state (orange) touches it at \(\theta=\pi\): that clock ticks. Drag to turn, slide \(s\) or press ▶.

At a glance

What the paper contributes

A sorry-free Lean 4 path from the dilogarithm, which Mathlib cites but does not define, to a quantum state that never orthogonalizes; version 2 adds its exact floor, in Lean and in Isabelle.

  • The real dilogarithm with Euler’s reflection, Landen’s transformation, the duplication formula and Li₂(1/2) (Theorem 1); the golden-ratio values and the Lee–Yang ceff = 2/5 from a 3×3 linear system, without the five-term relation.
  • The circle: the Clausen function and Catalan’s constant G = Cl₂(π/2); the Fejér–Jackson inequality (Theorem 2) and, by Abel summation without asymptotics, Cl₂(θ) ≥ sin(θ)/2 on (0, π).
  • Speed limits: Margolus–Levitin and an L¹ form of Mandelstam–Tamm for a scalar spectral measure (Theorem 3).
  • The assembly (Theorem 4): populations 6/(π²n²) on levels Eₙ = n have divergent first and second energy moments, so both bounds give nothing, and yet the state never reaches an orthogonal state. Version 2 gives the one-line reason (the lowest level carries more than half of the weight) and shows that the Zieliński–Zych limits see exactly that (Proposition 1).
  • The exact floor (Theorem 5, Corollary 1): |S| ≥ 1 − 21−s for every zeta state pₙ ∝ n−s, also where no level dominates.
  • The mathematics is classical; the paper claims the formalization, the assembly and the place of the zeta state among the speed limits.

🚀 Start here: Theorem 1: Euler reflection, Landen, duplication and Li₂(1/2) for the real dilogarithm.

Main results:

  • Theorem 4: the weight-2 zeta state never reaches an orthogonal state
  • Corollary 1: every zeta state pₙ ∝ n⁻ˢ, s > 1, stays at least 1 − 2¹⁻ˢ away from orthogonality
7 results ✅ 7 entirely in Lean ◐ 0 partly in Lean ✅ 4 in Isabelle 💻 5 checked by a program written proof only (a result can carry several tags)
🗺️ Map of the results (click a box to go to it)

Dependencies in the written proof: an arrow A → B means that this proof of B uses A. Every result rests on its written proof; the tags record what was checked besides, and each statement's “Evidence & scope” block says how far. The colour of a box is its strongest tag, in the order above; the tags in the box give the rest. Boxes with a thick border are the main results; click a box to read the statement.

📐 Setting (copied from the paper, §1)

The file Mathlib/Analysis/SpecialFunctions/Integrals/LogTrigonometric.lean of Mathlib … describes one of its integrals by referring to the dilogarithm

\[ {\mathrm{Li}_2}(x) \; =\; \sum _{n\ge 1}\frac{x^n}{n^2}. \]

(§3) In the Rogers normalization \(\operatorname{L}(x)={\mathrm{Li}_2}(x)+\tfrac 12\ln x\ln (1-x)\) the \(\ln ^2\) defects cancel. (§4) On the circle the dilogarithm splits into a tame half and a wild half:

\[ {\mathrm{Li}_2}(e^{i\theta }) \; =\; \underbrace{\sum _{n\ge 1}\frac{\cos n\theta }{n^2}}_{\textstyle =\; \frac{\pi ^2}{6}-\frac{\pi \theta }{2}+\frac{\theta ^2}{4}} \; +\; i\, \underbrace{\sum _{n\ge 1}\frac{\sin n\theta }{n^2}}_{\textstyle =\; {\mathrm{Cl}_2}(\theta )} \qquad (\theta \in [0,2\pi ]). \]

(§6) A state \(\lvert \psi _0\rangle =\sum _n c_n\lvert E_n\rangle \) evolves with autocorrelation \(S(t)=\sum _n p_n e^{-iE_nt}\), \(p_n=\lvert c_n\rvert ^2\), and reaches an orthogonal state at time \(\tau \) iff \(S(\tau )=0\). Take populations \(p_n=\frac{6}{\pi ^2 n^2}\) on levels \(E_n=n\): the weight-2 zeta state.

Abstract.

Mathlib’s source contains a comment referring to the dilogarithm \({\mathrm{Li}_2}\) — a function the library does not have. We fill that hole and follow the questions where they lead. The result is a sorry-free Lean 4 development containing the real dilogarithm with Euler’s reflection identity, Landen’s transformation, the duplication formula, and the golden-ratio ladder \({\mathrm{Li}_2}(1/\varphi ^2)=\pi ^2/15-\ln ^2\varphi \), \({\mathrm{Li}_2}(1/\varphi )=\pi ^2/10-\ln ^2\varphi \) (derived from a \(3\times 3\) linear system — no five-term relation needed); the Rogers value \(\operatorname{L}(1/\varphi ^2)=\pi ^2/15\), equivalently the Lee–Yang effective central charge \(c_{\mathrm{eff}}=2/5\); the Clausen function \({\mathrm{Cl}_2}\) and Catalan’s constant \(G={\mathrm{Cl}_2}(\pi /2)\); the Fejér–Jackson inequality \(\sum _{k=1}^{M}\sin (k\theta )/k{\gt}0\) on \((0,\pi )\); the positivity \({\mathrm{Cl}_2}(\theta )\ge \sin (\theta )/2\) by an asymptotics-free Abel summation; and the Margolus–Levitin and (an \(L^1\) form of the) Mandelstam–Tamm quantum speed limits. When version 1 appeared (June 2026) none of these was in Lean; Isabelle’s Archive of Formal Proofs already had the polylogarithm of integer order with its duplication formula (Eberl, 2023), which our search had missed. The pieces assemble into the ending the title promises: the quantum state with populations \(\propto 1/n^2\) on equally spaced levels has divergent first and second energy moments — both textbook speed limits give no bound — and yet never reaches a state orthogonal to itself (a “tick”, in this paper, is exactly that). Version 2 is exact about why. Its lowest level carries \(6/\pi ^2{\gt}1/2\) of the population, which alone forbids orthogonality (Uffink’s cut-off inequality), and the fractional-moment speed limits of Zieliński and Zych reduce, as their order tends to zero, to exactly this criterion. The dilogarithm says more: the modulus of the autocorrelation never drops below \(1/2\), its value at half period. For the whole family \(p_n\propto n^{-s}\), \(s{\gt}1\), we formalize the exact floor \(\inf _\theta |S(\theta )|=1-2^{1-s}\), from \(|\mathrm{Li}_s(z)|\ge \eta (s)\) on the unit circle for every real \(s{\gt}0\); it holds also for \(1{\lt}s{\lt}s^\ast \approx 1.7286\), where no level dominates and none of the Margolus–Levitin, Mandelstam–Tamm or Zieliński–Zych bounds certifies that orthogonality never occurs. We also formalize the Zieliński–Zych bound for orders up to \(1\), including the inequality behind it, and exact examples showing that log-convex or three times monotone populations need not have their smallest autocorrelation modulus at half period. We are exact about the boundary: every identity and inequality here is classical; the contribution is the machine-checked development, its assembly, and the place of the zeta-state theorem among the speed limits. Every named theorem depends only on the three standard axioms.

Blueprint. Every result of the paper with its dependencies and its Lean and Isabelle code: https://karlesmarin.github.io/blueprints/dilogarithm-clock/.

How to read this paper. It is written as the story of a chain of questions, Q1 to Q5 — each section opens with its question and closes by handing the reader the next. One more question (how fast can a quantum state evolve?) did not grow out of the chain: it was born independently, from asking which part of the “universe as a computer” metaphor is an actual theorem, and it crossed the chain at its end. Version 2 adds Q6: what decides orthogonality when the easy argument fails. Figure 1 is the honest map, crossing included. If you read only one thing, read Section 6 from Theorem 4 on and Theorem 5; the inventory of the formalizations (Lean and Isabelle) is Appendix B, and what changed in version 2 is Appendix C.

🖼️ Figure 1
The honest map. The dilogarithm thread runs along the top and back; the quantum thread (bottom) was born independently and crossed it at the end — the crossing, not the chain, is where the title theorem lives. Version 2 adds the last arrow. Every node is a block of sorry-free Lean.

The honest map. The dilogarithm thread runs along the top and back; the quantum thread (bottom) was born independently and crossed it at the end — the crossing, not the chain, is where the title theorem lives. Version 2 adds the last arrow. Every node is a block of sorry-free Lean.

1 The question that starts it: why does the library cite a function it does not have?

Few functions have been discovered as many times as the dilogarithm. Euler wrote down its series in the 1760s; within a century it had been met again by Spence, by Abel in the study of its functional equations, by Lobachevsky in the measurement of hyperbolic space, and by Kummer — each giving it a different name and a different reason to care. Two centuries later it reappeared, unbidden, in the finite parts of Feynman integrals and in the thermodynamics of integrable systems. It is the rare non-elementary function that now and then consents to a closed form, and the catalogue of those closed forms reads like a tour of mathematics. So there is something almost comic in the fact that, in 2026 — after a decade of one of the most ambitious formalization efforts ever attempted — the dilogarithm was not in the library at all. The machines we now use to certify theorems had never been told what \({\mathrm{Li}_2}\) is. They had, however, been told to mention it.

The file Mathlib/Analysis/SpecialFunctions/Integrals/LogTrigonometric.lean of Mathlib — the mathematical library of the Lean 4 proof assistant, on which a substantial part of contemporary formalized mathematics is built — describes one of its integrals by referring to the dilogarithm

\[ {\mathrm{Li}_2}(x) \; =\; \sum _{n\ge 1}\frac{x^n}{n^2}. \]

The function itself is absent. When version 1 of this paper appeared (June 2026) it was absent from Mathlib, and the other Lean developments of it that our October search found date from September 2026 on. It was not absent from every proof assistant, as version 1 said: Isabelle’s Archive of Formal Proofs has had, since November 2023, Eberl’s polylogarithm \(\mathrm{Li}_s\) of integer order, with its derivative, \(\mathrm{Li}_1(z)=-\ln (1-z)\) and the duplication formula  [ 24 ] . The reflection and Landen identities, the golden values, the Rogers function, the Clausen function, Catalan’s constant, the Fejér–Jackson inequality and the quantum speed limits are not there, and we found none of them in the other proof assistants we searched; the existing quantum libraries (CoqQ, SQIR, Isabelle Marries Dirac) formalize circuits, not dynamical bounds. 1

How does a function this central stay unformalized for a decade of Mathlib? Because it sits in an odd blind spot: too special to be infrastructure, too analytic to be algebra, and guarded — as we will see — by exactly one genuinely delicate limit. The genesis of this project was an audit: a fifty-digit numerical verification of the dilogarithm identities in a recent preprint of Alha  [ 23 ] . Auditing someone else’s dilogarithms sent us to the library for a reference implementation; the library sent us back empty-handed. We decided to fill the hole, and to keep asking the next question until the questions stopped. They stopped five sections later, inside a quantum mechanics problem — and, in version 2, one section after that. This paper is the travelogue.

2 Q1: what does the series know about its own derivative?

History bead. The function is Euler’s (1768); the reflection identity below is his. Landen’s transformation is from 1780. Everything in this section is classical (Lewin  [ 1 ] , Zagier  [ 2 ] ); the Lean is Dilog/Basic.lean.

A power series differentiates termwise, and the dilogarithm’s derivative collapses to elementary functions:

\[ {\mathrm{Li}_2}'(x) \; =\; \sum _{n\ge 1}\frac{x^{n-1}}{n} \; =\; -\frac{\ln (1-x)}{x} \qquad (\lvert x\rvert {\lt}1,\ x\ne 0). \]

In Lean this single line is the analytic core of the whole development — term-by-term differentiation under a geometric majorant (hasDerivAt_tsum_of_isPreconnected), then the Mercator series to identify the sum. Once the derivative is known, functional equations become mechanical:

Recipe: a functional equation in three moves To prove a combination \(F\) of dilogarithms and logarithms is constant on an interval: (1) differentiate termwise and check \(F'=0\) by chain/product rules plus field_simp; ring; (2) conclude \(F\) is constant by mean-value machinery (constant_of_has_deriv_right_zero on subintervals); (3) evaluate the constant as a boundary limit. Step (3) is where the one delicate limit of the subject lives: \(\ln x\cdot \ln (1-x)\to 0\) at the endpoint, tamed as \(\big(\ln (1-x)/x\big)\cdot \big(x\ln x\big)\to (-1)\cdot 0\) via the slope characterization of the derivative and tendsto_log_mul_rpow_nhdsGT_zero. Continuity of \({\mathrm{Li}_2}\) up to the boundary is the Weierstrass \(M\)-test (continuousOn_tsum).

On the stated domains,

\begin{align*} {\mathrm{Li}_2}(x)+{\mathrm{Li}_2}(1-x) & = \tfrac {\pi ^2}{6}-\ln x\, \ln (1-x) & & x\in (0,1)\\ {\mathrm{Li}_2}(x)+{\mathrm{Li}_2}\! \Big(\tfrac {x}{x-1}\Big) & = -\tfrac {1}{2}\ln ^2(1-x) & & x\in (0,\tfrac 12)\\ {\mathrm{Li}_2}(x^2) & = 2\big({\mathrm{Li}_2}(x)+{\mathrm{Li}_2}(-x)\big) & & \lvert x\rvert \le 1\\ {\mathrm{Li}_2}(\tfrac 12) & = \tfrac {\pi ^2}{12}-\tfrac {\ln ^2 2}{2}. \end{align*}
Lean · oursshow

added to the Lean repository after version 1 (21-oct-2026): L(1) = π²/6 and the Lee–Yang ratio c_eff = L(1/φ²)/L(1) = 2/5 as one statement (version 1: only L(1/φ²) = π²/15)

also in Isabelle (Archive of Formal Proofs), Lean 4 (bjbraams/lean-DLMF, after version 1) · not oursshow

Isabelle (Archive of Formal Proofs) · The Polylogarithm Function (M. Eberl, 2023) — the polylogarithm Li_s(z) for integer s (so Li₂), with its derivative, Li₁ = −ln(1 − z) and the duplication formula, since November 2023. Reflection, Landen and the values of this theorem are not there (grep of the whole AFP, 26-oct-2026)

Lean 4 (bjbraams/lean-DLMF, after version 1) · Real.dilog_add_dilog_one_sub, Real.dilog_add_dilog_div_sub_one, Real.dilog_one_half, Real.dilog_goldenRatio — the real dilogarithm by an integral, with reflection, Landen, Li₂(1/2) and the golden values; first commit 24-sep-2026 (read 26-oct-2026)

✅ Checked when this page was built: Basic.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — Li₂_add_Li₂_one_sub, Li₂_landen, Li₂_sq, Li₂_one_half, Li₂_inv_goldenRatio_sq, Li₂_inv_goldenRatio, Li₂_neg_inv_goldenRatio, rogersL_inv_goldenRatio_sq, rogersL_gold_sum, rogersL_one, leeYang_effective_central_charge, Li₂_neg_one: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean Basic.lean (SHA-256 of the compiled file: b7bc57fab92df8e3…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 12 results, standard axioms only

Proof: in this note·Formalized: Lean 4, Isabelle (Archive of Formal Proofs), Lean 4 (bjbraams/lean-DLMF, after version 1), by the author (public formalizations repository), others·Covers: the whole statement·Cite: Theorem 1, p. 4, doi:10.5281/zenodo.20675270

🆕 Classical and new: classical (Euler 1768, Landen 1780; Lewin, Zagier). Version 2 (§1, §8(i)): in June 2026 none of this was in Lean; Isabelle’s AFP already had the polylogarithm of integer order with its duplication formula (Eberl 2023), which the June search missed.

↳ Not used by another result of the paper.

Proof ▼

Formalized in Lean (see the linked declarations).

💡 In plain words (commentary, not part of the paper)

The dilogarithm is the series \({\mathrm{Li}_2}(x)=\sum _{n\ge 1}x^n/n^2\). Its value at a point says little by itself, but its values at related points are tied by exact identities: the value at \(x\) and at \(1-x\) (Euler’s reflection), at \(x\) and at \(x/(x-1)\) (Landen), at \(x\), \(-x\) and \(x^2\) (duplication). Each identity is proved the same way: differentiate the combination, see that the derivative is zero, so the combination is constant, and find the constant as a limit at the edge of the interval. The duplication needs no calculus: it is the series split into even and odd terms. Put \(x=\tfrac 12\) in the reflection and the two sides coincide, which gives \({\mathrm{Li}_2}(\tfrac 12)\). Section 3 of the paper then uses the three identities at the golden-ratio points as three linear equations, which give the golden values without Abel’s five-term relation. The domains are the ones of the series: Landen stops at \(x=\tfrac 12\) because past it \(x/(x-1)\) leaves the disc where the series converges.

🛡️ Evidence & scope
  • Program: Li₂(1/φ²), Li₂(1/2), Li₂(1/φ), Li₂(−1/φ), Li₂(1) = π²/6 and Li₂(−1) = −π²/12 against the series (mpmath polylog), to 10⁻¹²; rerun 21-oct: passes. figures/dilog_fig1_golden.py (godsil-gutman-lean, the script of the paper, Appendix A)

Two honesty notes, both visible in the Lean statements. The Landen domain stops at \(x=\frac12\): past it, the argument \(x/(x-1)\) leaves the disc of convergence, and a power-series definition does not analytically continue — we do not pretend it does. And the duplication formula needs no calculus at all: it is a pure rearrangement of the series by even and odd indices (tsum_even_add_odd), the formal mirror of how Euler would have proved it. (Isabelle’s AFP proves it too, for every integer order  [ 24 ] .)

From theory to practice. The dilogarithm is the standard weight-2 function of one-loop Feynman integrals and of hyperbolic and \(K\)-theoretic invariants; textbooks reach for it constantly. The practical value of formalizing it is modest and specific: a verified Li2 with its functional equations — including the one delicate boundary limit — that downstream Lean developments can import rather than re-derive.

The turn. Three functional equations in hand, the classical showpieces of the subject are the golden-ratio evaluations — and one route to them goes through Abel’s five-term relation, a two-variable identity this paper does not formalize (its sequel does  [ 27 ] ). Are we stuck?

3 Q2: can the golden ladder be climbed without Abel’s relation?

History bead. The values are Landen’s (1780); the two-term sum is from Rogers’ 1907 memoir  [ 4 ] . Their role as a central charge belongs to the thermodynamic Bethe ansatz of the 1990s  [ 15 , 16 , 17 ] .

The answer is yes, and the key is two arithmetic accidents of the golden ratio \(\varphi =(1+\sqrt5)/2\), both one-liners from \(\varphi ^2=\varphi +1\):

\[ \frac{1}{\varphi }+\frac{1}{\varphi ^2}=1 \qquad \text{and}\qquad \frac{1/\varphi ^2}{1/\varphi ^2-1}=-\frac{1}{\varphi }. \]

The first says \(1/\varphi \) and \(1/\varphi ^2\) are a reflection pair; the second says Landen maps \(1/\varphi ^2\) to \(-1/\varphi \) — and note \(1/\varphi ^2\approx 0.382{\lt}\tfrac 12\), inside our proven Landen domain. Reflection at \(1/\varphi ^2\), Landen at \(1/\varphi ^2\), duplication at \(1/\varphi \): three linear equations, three unknowns, and linarith closes the system.

\(\displaystyle {\mathrm{Li}_2}\! \Big(\tfrac {1}{\varphi ^2}\Big)=\tfrac {\pi ^2}{15}-\ln ^2\varphi , \qquad {\mathrm{Li}_2}\! \Big(\tfrac {1}{\varphi }\Big)=\tfrac {\pi ^2}{10}-\ln ^2\varphi , \qquad {\mathrm{Li}_2}\! \Big(-\tfrac {1}{\varphi }\Big)=\tfrac {\ln ^2\varphi }{2}-\tfrac {\pi ^2}{15}. \)

No five-term relation is needed — not a new route (the values are Landen’s, older than Abel’s relation), but one the formalization makes explicit. In the Rogers normalization \(\operatorname{L}(x)={\mathrm{Li}_2}(x)+\tfrac 12\ln x\ln (1-x)\) the \(\ln ^2\) defects cancel (rogersL_inv_goldenRatio_sq, rogersL_gold_sum):

\[ \operatorname{L}\! \Big(\tfrac {1}{\varphi ^2}\Big)=\frac{\pi ^2}{15},\qquad \operatorname{L}\! \Big(\tfrac {1}{\varphi }\Big)+\operatorname{L}\! \Big(\tfrac {1}{\varphi ^2}\Big) =\frac{\pi ^2}{6}=\operatorname{L}(1), \]

and the first, normalized, is the effective central charge of the Lee–Yang thermodynamic Bethe ansatz, \(c_{\mathrm{eff}}=\operatorname{L}(1/\varphi ^2)/\operatorname{L}(1)=2/5\) — to our knowledge the first TBA dilogarithm identity verified in a proof assistant.

From theory to practice. The value \(c_{\mathrm{eff}}=2/5\) is the effective central charge of the Lee–Yang model, a non-unitary minimal CFT whose Yang–Lee zeros have been observed experimentally in spin systems. The identity formalized here is the simplest entry of the thermodynamic-Bethe-ansatz dilogarithm table; having one machine-checked anchors any later formalization of integrable-model thermodynamics.

The turn. The ladder spends the function’s life inside the interval of convergence. The natural next territory is the boundary itself. What does the series do on the unit circle?

4 Q3: what happens on the circle?

History bead. Clausen introduced his function in 1832  [ 3 ] ; Catalan’s constant is from his 1865 memoir, and its irrationality is, famously, still open. The cosine series below is the Fourier expansion of the Bernoulli polynomial \(B_2\), which Mathlib already owns (hasSum_one_div_nat_pow_mul_cos); the Lean of this section is Dilog/Clausen.lean.

On the circle the dilogarithm splits into a tame half and a wild half:

\[ {\mathrm{Li}_2}(e^{i\theta }) \; =\; \underbrace{\sum _{n\ge 1}\frac{\cos n\theta }{n^2}}_{\textstyle =\; \frac{\pi ^2}{6}-\frac{\pi \theta }{2}+\frac{\theta ^2}{4}} \; +\; i\, \underbrace{\sum _{n\ge 1}\frac{\sin n\theta }{n^2}}_{\textstyle =\; {\mathrm{Cl}_2}(\theta )} \qquad (\theta \in [0,2\pi ]). \]

The real part is an elementary parabola (hasSum_cos_div_sq, from Mathlib’s Bernoulli–Fourier machinery at \(k=1\)). The imaginary part is not elementary at all: it is the Clausen function, a genuinely new special function — the reason this section exists. At the quarter circle it produces a celebrity:

\[ G \; =\; {\mathrm{Cl}_2}\! \Big(\frac{\pi }{2}\Big) \; =\; \sum _{k\ge 0}\frac{(-1)^k}{(2k+1)^2} \; =\; 0.9159\ldots , \]

Catalan’s constant, absent from every proof assistant we searched when version 1 appeared (it has since been defined independently in LeanPolyLog  [ 26 ] ) (catalanConst, Cl₂_pi_div_two; the proof is the same even/odd rearrangement as the duplication formula — even-indexed sines vanish, odd-indexed give the alternating series). Basic symmetries come for free: \({\mathrm{Cl}_2}(0)={\mathrm{Cl}_2}(\pi )=0\), \({\mathrm{Cl}_2}\) is odd, and \({\mathrm{Cl}_2}(2\pi -\theta )=-{\mathrm{Cl}_2}(\theta )\).

From theory to practice. \({\mathrm{Cl}_2}\) is, up to scale, Lobachevsky’s function: the volume of an ideal hyperbolic tetrahedron is a sum of three \({\mathrm{Cl}_2}\) values, so this is the analytic core of hyperbolic \(3\)-manifold and knot-complement volumes. Catalan’s constant appears as the dimer entropy \(G/\pi \) of the square lattice. A verified \({\mathrm{Cl}_2}\) is a concrete step toward machine-checked hyperbolic volumes and lattice-entropy constants.

The turn. Plot the wild half (Figure 2) and one suspicion dominates everything: between \(0\) and \(\pi \) the function looks positive. Two values and a hunch are not a theorem. Why is it positive? That question is older than it looks: it is Fejér’s, from 1910.

5 Q4: why is the wild half positive?

History bead. Fejér raised and partially proved the positivity of the sine partial sums in 1910; Jackson’s proof is from 1911  [ 5 , 6 ] . It is the grandfather of the theory of positive trigonometric sums (Vietoris, Askey). The Lean is Dilog/FejerJackson.lean.

For every \(M\ge 1\) and \(\theta \in (0,\pi )\): \(\displaystyle \sum _{k=1}^{M}\frac{\sin k\theta }{k}{\gt}0\).

Lean · oursshow

added to the Lean repository after version 1 (21-oct-2026): the duplication Cl₂(2θ) = 2 Cl₂(θ) − 2 Cl₂(π − θ), Cl₂(2π/3) = (2/3) Cl₂(π/3), and Li₂(i) = −π²/48 + iG

also in Lean 4 (yuanzhu-lab/PolylogLean, formerly LeanPolyLog; after version 1) · not oursshow

Lean 4 (yuanzhu-lab/PolylogLean, formerly LeanPolyLog; after version 1) · LeanPolyLog.G — Catalan’s constant G = ∑ (−1)ⁿ/(2n+1)², defined independently (repository created 30-sep-2026; read 26-oct-2026). No Clausen function and no Fejér–Jackson there

✅ Checked when this page was built: Clausen.lean, ComplexBoundary.lean, FejerJackson.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — fejerSum_pos, dirichlet_telescope, sin_last_nonneg_at_localMin, sin_div_two_le_Cl₂, Cl₂_pos, Cl₂_pi_div_two, hasSum_cos_div_sq, Cl₂_two_mul, Cl₂_two_pi_div_three, Li₂c_I: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean Clausen.lean ComplexBoundary.lean FejerJackson.lean (SHA-256 of the compiled file: 78931a748edb7c0c…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 10 results, standard axioms only

Proof: in this note·Formalized: Lean 4, Lean 4 (yuanzhu-lab/PolylogLean, formerly LeanPolyLog; after version 1), by the author (public formalizations repository), others·Covers: the whole statement·Cite: Theorem 2, p. 6, doi:10.5281/zenodo.20675270

🆕 Classical and new: classical (Fejér 1910, Jackson 1911); the paper records two proof-engineering choices, the division-free Dirichlet telescope and the asymptotics-free bound Cl₂(θ) ≥ sin(θ)/2 (§8(ii)).

↳ Used in: Theorem 4

Proof ▼

Formalized in Lean (see the linked declarations).

💡 In plain words (commentary, not part of the paper)

Add the waves \(\sin \theta \), \(\tfrac 12\sin 2\theta \), \(\tfrac 13\sin 3\theta \), …, stopping anywhere: between \(0\) and \(\pi \) the total is always positive. For two terms one can see it by hand, \(\sin \theta +\tfrac 12\sin 2\theta =\sin \theta \, (1+\cos \theta )\). For any number of terms the proof looks at the lowest point of the sum inside \((0,\pi )\): there the derivative vanishes, that equation factors, and either way the last wave is not negative at that point, so the minimum is at least the previous sum, positive by induction. The paper then uses these positive sums to bound the Clausen function \({\mathrm{Cl}_2}(\theta )=\sum \sin (n\theta )/n^2\): it is at least \(\sin (\theta )/2\) on \((0,\pi )\), by a summation by parts whose every term is positive, with no estimate of the tail. At \(\theta =\pi /2\) the Clausen function is Catalan’s constant \(G\approx 0.9160\).

🛡️ Evidence & scope
  • Program: Cl₂(θ) ≥ sin(θ)/2 on 399 points of (0, π), Cl₂(π/2) = Catalan’s G, Cl₂(π) = 0 and Cl₂(2π − θ) = −Cl₂(θ) at three points, to 10⁻²⁵ (mpmath); rerun 21-oct: passes. figures/dilog_fig2_clausen.py (godsil-gutman-lean, the script of the paper, Appendix A)

🧪 Lab: Figure 2 live: the Fejér–Jackson sums as a surface, and the Clausen bound

The partial sums \(S_M(\theta )=\sum _{k\le M}\sin (k\theta )/k\) as a surface over \((\theta , M)\): positive on \((0,\pi )\) for every \(M\) (Theorem 2). Below, \(\mathrm{Cl}_2\) with the bound \(\sin (\theta )/2\) that the Abel summation gives, and Catalan’s constant at \(\pi /2\).

Hand-checkable case. \(M=2\): \(\sin \theta +\tfrac 12\sin 2\theta =\sin \theta \, (1+\cos \theta ){\gt}0\) on \((0,\pi )\). The point of the formalization is that the same certainty now covers every \(M\).

The proof is the classical interior-minimum induction, with two touches worth recording. First, the Dirichlet kernel is handled multiplicatively — no division, no removable singularity:

\[ 2\sin \tfrac {\theta }{2}\sum _{k=1}^{M}\cos k\theta =\sin \! \big((M+\tfrac 12)\theta \big)-\sin \tfrac {\theta }{2}, \]

a telescope of \(\sin ((k+\tfrac 12)\theta )\) via the product-to-sum identity (Finset.sum_range_sub). Second, at an interior local minimum the critical equation \(\sin ((M+\tfrac 12)\theta _0)=\sin (\theta _0/2)\) factors (Real.sin_sub_sin) as \(\sin (M\theta _0/2)\cos ((M{+}1)\theta _0/2)=0\), and its two branches force

\[ \sin (M\theta _0)=0 \qquad \text{or}\qquad \sin (M\theta _0)=\sin \theta _0{\gt}0: \]

either way the last term of the sum is nonnegative at the minimum, so the minimum value is at least the previous partial sum, \(S_M(\theta _0)\ge S_{M-1}(\theta _0){\gt}0\) by induction. Boundary values vanish; compactness closes.

From Fejér–Jackson to the Clausen function is an Abel summation, and here the formalization found a small simplification: no asymptotics are needed. Writing the \((N{+}1)\)-term partial sum of the \({\mathrm{Cl}_2}\) series in terms of the Fejér–Jackson sums \(S_M\),

\[ \sum _{n=1}^{N+1}\frac{\sin n\theta }{n^2} =\frac{S_{N+1}(\theta )}{N+1} +\sum _{k=1}^{N}S_k(\theta )\Big(\frac{1}{k}-\frac{1}{k+1}\Big), \]

every piece on the right is positive, and the \(k=1\) summand alone equals \(\sin (\theta )/2\). Every partial sum is therefore \(\ge \sin (\theta )/2\) — no harmonic-number bounds, no tail estimates — and the limit inherits the bound (Cl₂_pos; as a theorem of its own, sin_div_two_le_Cl₂ in  [ 28 ] ):

\(\displaystyle {\mathrm{Cl}_2}(\theta )\; \ge \; \frac{\sin \theta }{2}\; {\gt}\; 0\qquad (0{\lt}\theta {\lt}\pi ).\)
🖼️ Figure 2
The Clausen function on \([0,2\pi ]\) with the machine-checked lower bound \(\sin (\theta )/2\) (shaded) on \((0,\pi )\), and Catalan’s constant at the quarter circle. The generating script asserts the bound on a \(400\)-point grid at \(30\) digits.

The Clausen function on \([0,2\pi ]\) with the machine-checked lower bound \(\sin (\theta )/2\) (shaded) on \((0,\pi )\), and Catalan’s constant at the quarter circle. The generating script asserts the bound on a \(400\)-point grid at \(30\) digits.

From theory to practice. The Fejér kernel underlies Cesàro summability of Fourier series — the standard remedy for Gibbs oscillation in signal reconstruction and filter design — and positivity of trigonometric partial sums is a recurring gate in geometric function theory. The verified inequality is a reusable building block for formalized approximation theory.

The turn — the big one, and the honest one. Step back and look at what we are holding: a sum \(\sum p_n e^{-in\theta }\) with positive weights \(p_n\propto 1/n^2\), whose imaginary part never vanishes on \((0,\pi )\). A physicist reads that expression instantly — it is the autocorrelation of a quantum state, the inner product between a state and its own time evolution, for populations \(p_n\) on equally spaced energy levels. We must be honest about how this reading entered the project, because it did not grow out of the chain of questions: a parallel thread — born from asking which part of the old “universe as a computer” metaphor is an actual theorem — had already formalized the two classical bounds on how fast any quantum state can evolve. At this point the two threads crossed: the circle had been measuring time all along, and the positivity theorem we had just proved was a statement about a quantum system that cannot reach an orthogonal state. What do the speed limits say about it?

6 Q5: what physical thing beats to this function?

History bead. Mandelstam and Tamm bounded the orthogonalization time by the energy spread in 1945  [ 8 ] ; Margolus and Levitin bounded it by the mean energy in 1998  [ 9 ] . Together they are the textbook “quantum speed limits”: how many distinguishable states can a system visit per unit time, on a given energy budget. The Lean is QSL/, and, for what version 2 adds, Physics/QuantumMechanics/SpeedLimit/ in the formalizations repository  [ 28 ] .

A state \(\lvert \psi _0\rangle =\sum _n c_n\lvert E_n\rangle \) evolves with autocorrelation \(S(t)=\sum _n p_n e^{-iE_nt}\), \(p_n=\lvert c_n\rvert ^2\), and reaches an orthogonal state at time \(\tau \) iff \(S(\tau )=0\). This is a statement about a scalar function of a discrete nonnegative spectral measure, and that is how we formalize it — the Hilbert space is bookkeeping. Orthogonality enters as two real conditions (\(\operatorname {Re}S=\operatorname {Im}S=0\)); Margolus–Levitin needs no complex numbers at all.

Theorem 3✅ Lean margolus_levitin, mandelstam_tamm_L1; \(\hbar =1\)
✓
📕 p. 7📍 map❝ cite⚠ report

Let \(p_n\ge 0\) with \(\sum _np_n=1\) be the populations of levels \(E_n\ge 0\), with finite mean \(\langle E\rangle =\sum _np_nE_n\) and finite \(D_1\) about a real centre \(\bar E\). If \(S(\tau )=0\) with \(\tau \ge 0\), then

\[ \pi \; \le \; 2\, \langle E\rangle \, \tau \qquad \text{and}\qquad 1 \; \le \; D_1\, \tau , \quad D_1=\textstyle \sum _n p_n\lvert E_n-\bar E\rvert . \]
Lean · oursshow

added to the Lean repository after version 1 (21-oct-2026): D₁ ≤ ΔE (Cauchy–Schwarz) and the textbook weak Mandelstam–Tamm bound τ ≥ 1/ΔE

✅ Checked when this page was built: MandelstamTamm.lean, MargolusLevitin.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — margolus_levitin, one_sub_le_cos, mandelstam_tamm_L1, l1_dev_le_sqrt_variance, mandelstam_tamm_weak: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean MandelstamTamm.lean MargolusLevitin.lean (SHA-256 of the compiled file: 224c15dcafc7d45b…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 5 results, standard axioms only

Proof: in this note·Formalized: Lean 4, by the author (public formalizations repository)·Covers: the whole statement·Cite: Theorem 3, p. 7, doi:10.5281/zenodo.20675270

🆕 Classical and new: classical (Mandelstam–Tamm 1945, Margolus–Levitin 1998); stated for a scalar spectral measure (§8(ii)): fully real for Margolus–Levitin, with the complex autocorrelation for Mandelstam–Tamm. The sharp π/(2ΔE) is left open (§9).

↳ Used in: Proposition 1

Proof ▼

Formalized in Lean (see the linked declarations).

💡 In plain words (commentary, not part of the paper)

A quantum state that has evolved for a time \(\tau \) is fully distinguishable from where it started exactly when its autocorrelation \(S(\tau )=\sum _np_ne^{-iE_n\tau }\) is zero. The two speed limits say it cannot happen too soon. Margolus and Levitin, with energies measured from a ground level \(E_n\ge 0\): the time is at least \(\pi /(2\langle E\rangle )\), so a small mean energy forces a slow state. The second bound uses the mean absolute deviation of the energy \(D_1\): the time is at least \(1/D_1\); since \(D_1\le \Delta E\), it gives the textbook weak Mandelstam–Tamm bound \(\tau \ge 1/\Delta E\) (the sharp constant \(\pi /2\) is left open). Both are stated for the autocorrelation of a list of weights and energies, with no Hilbert space. The key step of the first is the inequality \(\cos x\ge 1-\tfrac 2\pi (x+\sin x)\) for \(x\ge 0\). Both bounds say nothing when the mean energy or the spread is infinite, which is the case of Theorem 4.

The heart of Margolus–Levitin is one inequality of independent interest, \(\cos x\ge 1-\tfrac {2}{\pi }(x+\sin x)\) for \(x\ge 0\) (equality at \(0\) and \(\pi \)), which we prove by a rise-then-fall argument: both endpoints zero, split at \(x_0=2\arctan (2/\pi )\). The same shape — both endpoints at zero, and the critical-point equation analysed at an interior extremum — carries the Fejér–Jackson proof above; that is a transferable technique. Since \(D_1\le \Delta E\) by Cauchy–Schwarz, the second bound implies the textbook weak Mandelstam–Tamm \(\tau \ge 1/\Delta E\) (mandelstam_tamm_weak); the sharp constant \(\pi /2\) needs the geodesic argument and is left as a road (§9).

Now the dénouement. Take populations \(p_n=\frac{6}{\pi ^2 n^2}\) on levels \(E_n=n\): the weight-2 zeta state. Its autocorrelation is our protagonist,

\[ S(\theta )=\frac{6}{\pi ^2}\, {\mathrm{Li}_2}(e^{-i\theta }) =\frac{6}{\pi ^2}\Big( \underbrace{\tfrac {\pi ^2}{6}-\tfrac {\pi \theta }{2}+\tfrac {\theta ^2}{4}}_{\text{the parabola of \S 4}} \; -\; i\, \underbrace{{\mathrm{Cl}_2}(\theta )}_{\text{positive, by \S 5}}\Big). \]

Its first energy moment \(\sum _n p_n\, n\) diverges, and so does its second. Theorem 3 does not apply — its moments are not finite — and the two textbook speed limits give no positive bound. (The state is normalized and its evolution is well defined; \(S\) is continuous with \(S(0)=1\), so nothing happens instantly either.) In the language of the title, a tick is reaching a state exactly orthogonal to the initial one. This state never ticks:

For every \(\theta \in (0,2\pi )\), the real and imaginary parts of the weight-2 zeta-state autocorrelation are not both zero: the state never reaches an orthogonal state.

Lean · oursshow

added to the Lean repository after version 1 (25–27 Oct 2026), for version 2 of the paper: (i) the floor of a moment series for every finite measure and τ ∈ [0, 1), and |Li_s z| ≥ η(s) for every real s > 0 on the unit circle, so every zeta state p_n ∝ n^(−s) has |S| ≥ 1 − 2^(1−s) (classical: Fejér 1937; Boyer–Parry 2021, Lemma 8, for s = 2); (ii) the one-line reason the weight-2 zeta state never becomes orthogonal, p₁ = 6/π² > 1/2 (Uffink’s cut-off inequality, after Andrews 2007); (iii) the Zieliński–Zych bound τ ≥ π/(2M_α)^{1/α} and the limit α → 0, which certifies that the zeta state never becomes orthogonal exactly through its dominant lowest level; their inequality, stated without proof for every α > 0, is proved for 0 < α ≤ 1 and, after publication, also for α ≥ 1; (iv) exact examples showing that three times monotone, or log-convex and convex, populations need not reach their smallest autocorrelation at half period

Isabelle · oursshow

two_mul_sub_one_le_norm_suminf · Isabelle/AntipodalExamples/Dominant_Population.thy, line 51 — a population above 1/2 keeps the autocorrelation at least 2 p_j − 1 (the one-line reason of §6)

theorem two_mul_sub_one_le_norm_suminf:
  fixes p :: "nat \<Rightarrow> real" and u :: "nat \<Rightarrow> complex"
  assumes hp: "\<And>k. 0 \<le> p k" and hs: "p sums 1" and hu: "\<And>k. norm (u k) = 1"
  shows "2 * p j - 1 \<le> norm (\<Sum>k. of_real (p k) * u k)"

suminf_ne_zero_of_half_lt · Isabelle/AntipodalExamples/Dominant_Population.thy, line 92 — so the autocorrelation never vanishes

theorem suminf_ne_zero_of_half_lt:
  fixes p :: "nat \<Rightarrow> real" and u :: "nat \<Rightarrow> complex"
  assumes hp: "\<And>k. 0 \<le> p k" and hs: "p sums 1" and hu: "\<And>k. norm (u k) = 1"
    and hj: "1 / 2 < p j"
  shows "(\<Sum>k. of_real (p k) * u k) \<noteq> 0"
Lean · Mathlib, not oursshowMathlib’s Fourier series of the Bernoulli polynomials, at k = 1: it gives the real part of S (the parabola), used at θ = π

hasSum_one_div_nat_pow_mul_cos · Mathlib/NumberTheory/ZetaValues.lean, line 356

theorem hasSum_one_div_nat_pow_mul_cos {k : ℕ} (hk : k ≠ 0) {x : ℝ} (hx : x ∈ Icc (0 : ℝ) 1) :
    HasSum (fun n : ℕ => 1 / (n : ℝ) ^ (2 * k) * Real.cos (2 * π * n * x))
      ((-1 : ℝ) ^ (k + 1) * (2 * π) ^ (2 * k) / 2 / (2 * k)! *
        (Polynomial.map (algebraMap ℚ ℝ) (Polynomial.bernoulli (2 * k))).eval x)

Mathlib commit f0b4c8150aa0, as this blueprint was built.

✅ Checked when this page was built: AntipodalCounterexamples.lean, CircleFloor.lean, Clausen.lean, ComplexBoundary.lean, DominantPopulation.lean, HausdorffFloor.lean, ZetaStateFloor.lean, ZielinskiZych.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — zetaState_never_orthogonal, zetaStateRe_pi, Cl₂_two_pi_sub, Li₂c_exp_re, Li₂c_exp_im, Li₂c_exp_ne_zero, zetaState_meanEnergy_not_summable, zetaState_secondMoment_not_summable, norm_Li₂c_ge, zetaState_norm_ge_half, Li₂c_eq_mul_integral, two_mul_sub_one_le_norm_tsum, tsum_ne_zero_of_half_lt, one_div_one_add_le_re, le_norm_of_tendsto, tendsto_alternating, exists_tendsto_circle, exists_tendsto_eta, exists_tendsto_partialLi, polylog_circle_floor, polylog_neg_one, zz_inequality, zielinski_zych, zielinski_zych_time, tendsto_fractionalMoment, zz_bound_tendsto_atTop, zz_bound_tendsto_zero, tendsto_partialEta_of_one_lt, zeta_floor, zetaState_floor, fdiff, cex3_monotone_three, cex3_not_four, cex3_antipode, cex3_re, cexLC_logConvex, cexLC_convex, cexLC_antipode, cexLC_re, cexLC_normSq, zz_inequality_of_one_le, zz_inequality_all, zielinski_zych_all, zielinski_zych_time_all: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AntipodalCounterexamples.lean CircleFloor.lean Clausen.lean ComplexBoundary.lean DominantPopulation.lean HausdorffFloor.lean ZetaStateFloor.lean ZielinskiZych.lean (SHA-256 of the compiled file: 9c291eed2052702a…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 44 results, standard axioms only · Isabelle: 2 results, no oracles

Proof: in this note·Formalized: Isabelle/HOL, Lean 4, Lean 4 (Mathlib), by the author (public formalizations repository), Mathlib contributors·Covers: the whole statement·Cite: Theorem 4, p. 8, doi:10.5281/zenodo.20675270

🆕 Classical and new: the assembly is the paper’s. Version 2 (§6): it follows in one line from p₁ = 6/π² > 1/2 (Uffink’s cut-off inequality, in the form of Andrews 2007, Eq. (21)), now also in Lean and Isabelle; «whose physical reading we have not seen stated, though we would not be surprised to find it folklore» (§8(iii)).

↳ Not used by another result of the paper.

Proof ▼

Proof (as in Lean). On \((0,\pi )\) the imaginary part is \(-\frac{6}{\pi ^2}{\mathrm{Cl}_2}(\theta )\ne 0\) by the Fejér–Jackson bound. At \(\theta =\pi \) the real part is \(\frac{6}{\pi ^2}\) times the parabola value \(-\pi ^2/12\) (which is \(-\eta (2)\)), that is \(-\frac12\ne 0\). On \((\pi ,2\pi )\), the reflection \({\mathrm{Cl}_2}(2\pi -\theta )=-{\mathrm{Cl}_2}(\theta )\) hands the sign back to the first case.

💡 In plain words (commentary, not part of the paper)

Put weight \(p_n=6/(\pi ^2n^2)\) on the energy levels \(n=1,2,3,\dots \) and let the state evolve. It becomes orthogonal to where it started exactly when its autocorrelation \(S(\theta )=\sum _n p_ne^{-in\theta }\) vanishes. This \(S\) is the dilogarithm on the unit circle: its real part is a parabola, and its imaginary part is minus the Clausen function. On \((0,\pi )\) the Clausen function is at least \(\sin (\theta )/2\), which follows from the Fejér–Jackson inequality, so the imaginary part is never zero there. At \(\theta =\pi \) the real part is \(-\tfrac 12\). On \((\pi ,2\pi )\) the mirror \({\mathrm{Cl}_2}(2\pi -\theta )=-{\mathrm{Cl}_2}(\theta )\) brings back the first case. So \(S\) never vanishes. The first and second energy moments of this state diverge, so the two textbook speed limits give no bound. Version 2 adds the one-line reason: the lowest level carries \(6/\pi ^2\approx 0.61\) of the weight, more than all the others together, so they can never cancel it.

🛡️ Evidence & scope
  • Program: min |Li₂(e^−iθ)| on a 719-point grid of (0, 2π) sits at θ = π and equals η(2) = π²/12, to 10⁻²⁰, so |S| ≥ 1/2 on that grid (mpmath); rerun 21-oct: passes. figures/dilog_fig3_clock.py (godsil-gutman-lean, the script of the paper, Appendix A)

  • Program: the three language tabs of this theorem: min |S| = 1/2 at θ = π on 719 points, Σ pₙ n grows like (6/π²) ln N, S(0) = 1, min |Li₂| = π²/12 on the circle; controls: ½(1 + z) and ½(1 + z²) vanish on the circle, the zeta state truncated at n = 40 does not (a check of the blueprint; 25-oct: passes). lab/comprueba_pestanas.py

🧪 Lab: Figure 3 live: the clock that never ticks, for populations n^(−s)

The autocorrelation \(S(\theta )=\sum _n p_n e^{-in\theta }\) with \(p_n\propto n^{-s}\), as the curve \((\theta ,\operatorname {Re}S,\operatorname {Im}S)\): it never meets the line \(S=0\), while the two-level state does at \(\theta =\pi \). The floor of \(|S|\) sits at \(\theta =\pi \) and equals \(1-2^{1-s}\) for every \(s{\gt}1\) (Corollary 1); for \(s=2\) it is \(1/2\). Try \(s=1.5\): no level carries half of the weight, and the floor still holds.

🔤 Read this theorem in another mathematical language
Read this theorem in:

Commentary, not part of the paper. Put populations \(p_n=6/(\pi ^2n^2)\) on the equally spaced levels \(E_n=n\). Its first and second energy moments diverge, so the Margolus–Levitin and Mandelstam–Tamm limits give no bound. Yet it never reaches a state orthogonal to where it started: the overlap \(|S(\theta )|\) stays at least \(\tfrac 12\) for every \(\theta \) (a survival probability of at least \(\tfrac 14\)), with the floor at \(\theta =\pi \). The two-level state \((|0\rangle +|1\rangle )/\sqrt2\), with the same spacing, is orthogonal at \(\theta =\pi \).

Commentary, not part of the paper. Let \(N\) be a random positive integer with \(P(N=n)=6/(\pi ^2n^2)\). Its mean is infinite. Its characteristic function \(E[e^{-i\theta N}]\) is the same series \(S(\theta )\): it has modulus at least \(\tfrac 12\) for every \(\theta \), and so never vanishes. A random variable with \(P(N=0)=P(N=1)=\tfrac 12\) (a fair coin) has characteristic function zero at \(\theta =\pi \); so has one with \(P(N=0)=P(N=2)=\tfrac 12\) at \(\theta =\pi /2\).

Commentary, not part of the paper. The dilogarithm \({\mathrm{Li}_2}(z)=\sum _{n\ge 1}z^n/n^2\) converges on the closed unit disc and has no zero on the unit circle: \(|{\mathrm{Li}_2}(z)|\ge \pi ^2/12\) for \(|z|=1\), with equality at \(z=-1\), where \({\mathrm{Li}_2}(-1)=-\pi ^2/12\). Its coefficients \(1/n^2\) decrease strictly, which is the reason from the coefficient side (Hurwitz 1913): a power series with summable, strictly decreasing positive coefficients has no zero on the circle.

Why, in one line. Version 1 told this as a surprise; it is not one. The lowest level carries \(p_1=6/\pi ^2\approx 0.608\) of the population, more than half, and a level that carries more than half of the population cannot be cancelled by all the others:

\[ \lvert S(t)\rvert \; \ge \; p_1-\sum _{n\ge 2}p_n\; =\; 2p_1-1\; \approx \; 0.216 \qquad \text{for every }t. \]

This is Uffink’s cut-off inequality \(\lvert A(t)\rvert \ge \alpha \lvert \bar A(t)\rvert -(1-\alpha )\) in the form of Andrews  [ 12 , Eq. (21) ] (attributed there to  [ 10 ] ), with the cut-off isolating one level, so that \(\lvert \bar A\rvert \equiv 1\) (\(\bar A(t)=e^{-iE_1t}\)) and \(\alpha =p_1\). In Lean, for any probability distribution and any phases of modulus one, it is two_mul_sub_one_le_norm_tsum. So Theorem 4 needs neither the Clausen function nor Fejér–Jackson; what it does need is a bound that does not go through the first two energy moments, which is exactly where the textbook limits fail. (A dominant level forbids exact orthogonality, not fast evolution: the state \(\sqrt{0.6}\, \lvert 0\rangle +\sqrt{0.4}\, \lvert \Omega \rangle \) never ticks, but reaches its smallest overlap, \(0.2\), at \(t=\pi /\Omega \), as early as one likes.)

What the moments can see. Margolus–Levitin and Mandelstam–Tamm use the first two moments, which are infinite here. Zieliński and Zych  [ 11 ] gave a whole family that uses the fractional moments \(M_\alpha =\langle (E-E_0)^\alpha \rangle \), \(\alpha {\gt}0\), which are finite for the zeta state when \(\alpha {\lt}1\):

\[ \tau \; \ge \; \frac{\pi }{(2M_\alpha )^{1/\alpha }} . \]

Their proof integrates the inequality \(x^\alpha -\pi ^\alpha /2+(\pi ^\alpha /2)\cos x+\alpha \pi ^{\alpha -1}\sin x\ge 0\) (\(x\ge 0\)), which they state without proof; we prove it and the bound in Lean for \(0{\lt}\alpha \le 1\) (zz_inequality, zielinski_zych), the range Proposition 1 below needs; the case \(\alpha {\gt}1\) is not formalized. Their argument only needs \(E\ge E_0\) on the energies that carry population, so \(E_0\) may be taken to be the lowest populated level.

Let \(E_0\) be the lowest populated level, \(p_0\) its population, the other populated levels strictly above it, and some fractional moment finite. As \(\alpha \to 0^+\), \(M_\alpha \to 1-p_0\), so the Zieliński–Zych bound tends to \(+\infty \) if \(p_0{\gt}1/2\) (and \(p_0{\lt}1\)) and to \(0\) if \(p_0{\lt}1/2\).

Lean · oursshow
Isabelle · oursshow

zz_inequality · Isabelle/ZielinskiZych/Zielinski_Zych.thy, line 452 — the inequality, 0 < α ≤ 1

theorem zz_inequality:
  assumes a0: "0 < a" and a1: "a \<le> 1" and x0: "0 \<le> x"
  shows "0 \<le> x powr a - pi powr a / 2 + pi powr a / 2 * cos x + a * pi powr (a - 1) * sin x"

zielinski_zych · Isabelle/ZielinskiZych/Zielinski_Zych.thy, line 471 — the bound π^α ≤ 2 M_α τ^α

theorem zielinski_zych:
  fixes p E :: "nat \<Rightarrow> real" and e0 a M ta :: real
  assumes a0: "0 < a" and a1: "a \<le> 1"
    and hp: "\<forall>n. 0 \<le> p n" and hE: "\<forall>n. e0 \<le> E n" and hta: "0 \<le> ta"
    and hsum: "p sums 1"
    and hM: "(\<lambda>n. p n * (E n - e0) powr a) sums M"
    and hRe: "(\<lambda>n. p n * cos (E n * ta)) sums 0"
    and hIm: "(\<lambda>n. p n * sin (E n * ta)) sums 0"
  shows "pi powr a \<le> 2 * M * ta powr a"

tendsto_fractional_moment · Isabelle/ZielinskiZych/Zielinski_Zych.thy, line 531 — M_α → 1 − p₀ as α → 0⁺ (Tannery’s theorem)

theorem tendsto_fractional_moment:
  fixes p E :: "nat \<Rightarrow> real" and e0 a0 :: real
  assumes hp: "\<forall>n. 0 \<le> p n" and hsum: "p sums 1"
    and h0: "E 0 = e0" and hE: "\<forall>n. n \<noteq> 0 \<longrightarrow> e0 < E n"
    and ha0: "0 < a0" and hmom: "summable (\<lambda>n. p n * (E n - e0) powr a0)"
  shows "((\<lambda>a. (\<Sum>n. p n * (E n - e0) powr a)) \<longlongrightarrow> 1 - p 0) (at_right 0)"

zz_bound_tendsto_at_top · Isabelle/ZielinskiZych/Zielinski_Zych.thy, line 681 — the bound tends to +∞ when 1/2 < p₀ < 1

theorem zz_bound_tendsto_at_top:
  fixes p E :: "nat \<Rightarrow> real" and e0 a0 :: real
  assumes hp: "\<forall>n. 0 \<le> p n" and hsum: "p sums 1"
    and h0: "E 0 = e0" and hE: "\<forall>n. n \<noteq> 0 \<longrightarrow> e0 < E n"
    and ha0: "0 < a0" and hmom: "summable (\<lambda>n. p n * (E n - e0) powr a0)"
    and hhalf: "1/2 < p 0" and hone: "p 0 < 1"
  shows "LIM a at_right 0. pi / (2 * (\<Sum>n. p n * (E n - e0) powr a)) powr (1 / a) :> at_top"

zz_bound_tendsto_zero · Isabelle/ZielinskiZych/Zielinski_Zych.thy, line 694 — the bound tends to 0 when p₀ < 1/2

theorem zz_bound_tendsto_zero:
  fixes p E :: "nat \<Rightarrow> real" and e0 a0 :: real
  assumes hp: "\<forall>n. 0 \<le> p n" and hsum: "p sums 1"
    and h0: "E 0 = e0" and hE: "\<forall>n. n \<noteq> 0 \<longrightarrow> e0 < E n"
    and ha0: "0 < a0" and hmom: "summable (\<lambda>n. p n * (E n - e0) powr a0)"
    and hhalf: "p 0 < 1/2"
  shows "((\<lambda>a. pi / (2 * (\<Sum>n. p n * (E n - e0) powr a)) powr (1 / a)) \<longlongrightarrow> 0) (at_right 0)"

✅ Checked when this page was built: ZielinskiZych.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — zz_inequality, zielinski_zych, zielinski_zych_time, tendsto_fractionalMoment, zz_bound_tendsto_atTop, zz_bound_tendsto_zero, zz_inequality_of_one_le, zz_inequality_all, zielinski_zych_all, zielinski_zych_time_all: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean ZielinskiZych.lean (SHA-256 of the compiled file: 413bdc0e08aba2ad…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 10 results, standard axioms only · Isabelle: 5 results, no oracles

Proof: in this note·Formalized: Isabelle/HOL, Lean 4, by the author (public formalizations repository)·Covers: the whole statement·Cite: Proposition 1, p. 9, doi:10.5281/zenodo.20675270

🆕 Classical and new: the bound is Zieliński–Zych’s (Phys. Rev. A 74, 034301, 2006, Eq. (10)), with an inequality they state without proof, proved here for 0 < α ≤ 1; the limit α → 0 is an easy observation the paper has not found stated (§6). The paper proves the inequality for 0 < α ≤ 1, the range the limit needs; after publication (27-oct-2026) it is proved in Lean for every α > 0 (so the bound of Zieliński and Zych holds as they state it); in Isabelle, for 0 < α ≤ 1.

↳ Not used by another result of the paper.

Proof ▼

For \(\alpha \to 0^+\) each term \(p_n(E_n-E_0)^\alpha \) tends to \(p_n\) if \(E_n{\gt}E_0\) and is \(0\) for \(E_n=E_0\); dominated convergence gives \(M_\alpha \to 1-p_0\). Then \((2M_\alpha )^{1/\alpha }=\exp \big(\tfrac 1\alpha \ln (2M_\alpha )\big)\) tends to \(0\) when \(2(1-p_0){\lt}1\) and to \(+\infty \) when \(2(1-p_0){\gt}1\).

💡 In plain words (commentary, not part of the paper)

The textbook speed limits use the mean and the spread of the energy, both infinite for the zeta state. Zieliński and Zych have a whole family of limits that use fractional powers of the energy instead, finite here. Push the power down to zero and the family keeps only one piece of information: how much of the state sits on the lowest level. If it is more than half, the limits grow without end, which says the state never becomes orthogonal; if it is less than half, they shrink to nothing. So these limits see exactly the one-line argument of a dominant lowest level, and nothing more.

🛡️ Evidence & scope
  • Program: the bound for the zeta family with E₀ = 1, by an exact binomial–zeta series (no nsum), against direct sums; diverges as α → 0 for s = 2 and 1.8, tends to 0 for s = 1.6, 1.5, 1.3, and to π e^−2L = 0.7257 at s* (the threshold case, not formalized). working scripts zz_alfa_cero.py, umbral_s_estrella.py, verifica_V174.py, not published

So the whole family certifies \(\tau _\perp =\infty \) for the weight-2 zeta state — and it does so through the triangle-inequality criterion applied to one level only, “the lowest level holds more than half” (a dominant level higher up, as in \(p=(0.2,0.8)\), is invisible to the moments measured from below; when the spectrum is bounded above, the same argument applied to \(E_{\max }-H\), which leaves \(\lvert S\rvert \) unchanged, sees it). At the threshold \(p_0=\frac12\) a short expansion, \(M_\alpha =\frac12+\alpha L+o(\alpha )\) with \(L=\sum _{n{\gt}0}p_n\ln (E_n-E_0)\) when that sum is finite, gives the limit \(\pi e^{-2L}\): for the zeta state at \(s=s^\ast \) (Section 7), \(0.7257\), consistent with the values computed at small \(\alpha \); we have not formalized this case. With the convention of Theorem 3 (\(E_0=0\), an empty level below the spectrum) the family never certifies it: every term then tends to \(p_n\), \(M_\alpha \to 1\), and the bound tends to \(0\). We have not found Proposition 1 stated; it is an easy observation, and we record it because it says what moment-based speed limits can and cannot see. (The truncated weight-2 zeta state appears as a test case for speed limits in  [ 13 , Table I, case (c) ] , where the bounds reported are finite lower bounds; that the state never becomes orthogonal is not discussed there.)

The floor. The dilogarithm says more than non-vanishing. On the whole circle \(\lvert S\rvert \ge \frac{6}{\pi ^2}\cdot \frac{\pi ^2}{12}=\frac12\), with equality at \(\theta =\pi \) (zetaState_norm_ge_half; version 1 had this only numerically). The bound \(\lvert {\mathrm{Li}_2}(z)\rvert \ge \pi ^2/12\) on \(\lvert z\rvert =1\) follows from a theorem of Fejér on four times monotone coefficients  [ 7 ] ; for \({\mathrm{Li}_2}\) it is stated by Boyer and Parry  [ 20 , Appendix A, Lemma 8 ] . So the survival probability \(\lvert S\rvert ^2\) never drops below \(\frac14\) (Figure 3). A clock with an unbounded energy budget whose hand never completes a tick — not because the budget is spent on a heavy spectral tail, as version 1 put it (the tail only makes the moments infinite), but because more than half of the state sits on one level. Energy is necessary for reaching an orthogonal state quickly (Margolus–Levitin); a dominant level rules out reaching one at all, whatever the energy.

From theory to practice. Quantum speed limits set the minimum time for a gate, a measurement, or a state transfer on a given energy budget; they recur across quantum computing, metrology, and quantum thermodynamics (battery charging, optimal control). The zeta state carries a practical lesson: a large energy budget does not buy an orthogonal state if more than half of the weight stays on one level — reaching an orthogonal state needs the weight spread over levels, not merely energy in quantity.

🖼️ Figure 3
Two states with the same level spacing. The two-level state \((\lvert 0\rangle +\lvert E\rangle )/\sqrt2\) (dashed) saturates Margolus–Levitin and strikes orthogonality at \(\theta =\pi \). The zeta state (solid), with infinite mean energy, has \(\lvert S\rvert \ge \frac12\) (a theorem since versio…

Two states with the same level spacing. The two-level state \((\lvert 0\rangle +\lvert E\rangle )/\sqrt2\) (dashed) saturates Margolus–Levitin and strikes orthogonality at \(\theta =\pi \). The zeta state (solid), with infinite mean energy, has \(\lvert S\rvert \ge \frac12\) (a theorem since version 2: zetaState_norm_ge_half): the clock that never ticks. The script asserts the floor equals \(\eta (2)=\pi ^2/12\) at \(\theta =\pi \).

The turn. If the easy argument is “one level holds more than half”, the honest question is what happens when no level does.

7 Q6: what decides orthogonality when no level dominates?

Take the whole family of zeta states, \(p_n=n^{-s}/\zeta (s)\) on the levels \(E_n=n\), \(s{\gt}1\). The first energy moment diverges for \(s\le 2\) and the second for \(s\le 3\). The lowest level carries \(p_1=1/\zeta (s)\), and \(p_1{\lt}\tfrac 12\) exactly when \(\zeta (s){\gt}2\), that is for \(1{\lt}s{\lt}s^\ast \) with \(s^\ast =1.72864723899818\ldots \) (\(\zeta (s^\ast )=2\)). In that range the triangle inequality says nothing, Margolus–Levitin and Mandelstam–Tamm say nothing, and every Zieliński–Zych bound is finite, as is their supremum over \(\alpha \) (with \(E_0=1\), the lowest level: numerically \(0.0016\) at \(s=1.3\), \(0.066\) at \(s=1.5\), \(0.45\) at \(s=1.7\); the bound tends to \(0\) at both ends of the range of \(\alpha \), by Proposition 1 and because \(M_\alpha \to \infty \) as \(\alpha \to s-1\)). These bounds certify a positive time before which the state cannot be orthogonal; none of them decides whether it ever is.

Uffink’s cut-off with more than one level does decide it, one state at a time: keeping the first \(N\) levels, \(\lvert S\rvert \ge \min _\theta \big\lvert \sum _{n\le N}p_ne^{-in\theta }\big\rvert -\sum _{n{\gt}N}p_n\), and the right-hand side is positive for \(N=3\) at \(s=1.7\), \(N=8\) at \(s=1.5\) and \(N=200\) at \(s=1.3\) (numerically: \(0.091\), \(0.023\), \(0.015\)). It needs a certified minimum of a trigonometric polynomial for each \(s\), a number of levels that grows as \(s\to 1\), and it gives a floor far below the true one (\(0.384\), \(0.293\), \(0.188\)). Two arguments settle the whole family at once, the second with the exact floor.

The first is the shape of the populations: they decrease strictly, and a convergent power series with strictly decreasing positive coefficients has no zero on the unit circle. For polynomials this, and the description of the zeros on the circle when the decrease is not strict (they are roots of unity, and the coefficients come in groups of equal consecutive values), is Hurwitz’s 1913 complement  [ 19 , § 2 ] to the Eneström–Kakeya theorem  [ 18 ] . Version 1 stated it as Remark 1 and wrote that it had not found it in the literature; it is Hurwitz’s. In Lean, for summable non-increasing series, it is enestrom_kakeya_boundary_series and strictAnti_series_ne_zero. Physically: a state with strictly decreasing populations on equally spaced levels never becomes orthogonal; a state with non-increasing populations that does orthogonalize has its decrements on an arithmetic progression, like the Margolus–Levitin-sharp state \((\lvert 0\rangle +\lvert E\rangle )/\sqrt2\).

The second gives the exact floor.

For every real \(s{\gt}0\) and every \(z\ne 1\) on the unit circle, the series \(\mathrm{Li}_s(z)=\sum _{n\ge 1}z^n/n^s\) converges and

\[ \lvert \mathrm{Li}_s(z)\rvert \; \ge \; \eta (s)=\sum _{n\ge 1}\frac{(-1)^{n-1}}{n^s}, \]

with equality at \(z=-1\).

Lean · oursshow
Isabelle · oursshow

moment_series_floor · Isabelle/HausdorffFloor/Hausdorff_Floor.thy, line 151 — the floor of a moment series on the unit circle (finite measure, 0 ≤ τ < 1)

theorem moment_series_floor:
  fixes \<tau> :: "'a \<Rightarrow> real" and z :: complex
  assumes \<tau>m: "\<tau> \<in> borel_measurable M"
    and \<tau>01: "AE x in M. 0 \<le> \<tau> x \<and> \<tau> x < 1"
    and z: "norm z = 1" and z1: "z \<noteq> 1"
  defines "F \<equiv> (\<integral>x. 1 / (1 - of_real (\<tau> x) * z) \<partial>M)"
  shows "(\<lambda>N. \<Sum>k<N. of_real (moment \<tau> k) * z ^ k) \<longlonglongrightarrow> F"
    and "(\<integral>x. 1 / (1 + \<tau> x) \<partial>M) \<le> norm F"

gamma_moment · Isabelle/PolylogFloor/Polylog_Floor.thy, line 176 — the Gamma-density measure has moments (k+1)^(−s)

theorem gamma_moment:
  assumes s: "0 < s"
  shows "finite_measure.moment (gmeas s) (\<lambda>x. exp (- x)) k = real (Suc k) powr (- s)"

polylog_circle_floor · Isabelle/PolylogFloor/Polylog_Floor.thy, line 273 — η(s) ≤ |Li_s z| for real s > 0, z ≠ 1 on the circle

theorem polylog_circle_floor:
  fixes z :: complex
  assumes s: "0 < s" and z: "norm z = 1" and z1: "z \<noteq> 1"
    and L: "(\<lambda>N. \<Sum>k<N. z ^ Suc k * of_real (real (Suc k) powr (- s))) \<longlonglongrightarrow> L"
    and \<eta>: "(\<lambda>N. \<Sum>k<N. (- 1) ^ k * real (Suc k) powr (- s)) \<longlonglongrightarrow> \<eta>"
  shows "\<eta> \<le> norm L"

✅ Checked when this page was built: AntipodeFloor.lean, HausdorffFloor.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — one_div_one_add_le_re, le_norm_of_tendsto, tendsto_alternating, exists_tendsto_circle, exists_tendsto_partialLi, polylog_circle_floor, polylog_neg_one, antipode_floor: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AntipodeFloor.lean HausdorffFloor.lean (SHA-256 of the compiled file: 37d110c4b96ee3f7…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 8 results, standard axioms only · Isabelle: 3 results, no oracles

Proof: in this note·Formalized: Isabelle/HOL, Lean 4, by the author (public formalizations repository)·Covers: the whole statement·Cite: Theorem 5, p. 11, doi:10.5281/zenodo.20675270

🆕 Classical and new: classical: a consequence of Fejér’s theorem on four times monotone coefficients (Acta Sci. Math. Szeged 8 (1937), pp. 104 and 107); for s = 2 stated by Boyer and Parry (arXiv:2111.12226, Appendix A, Lemma 8). The proof formalized is the one-line Stieltjes argument, with the representation of Roth, Ruscheweyh and Salinas (Proc. AMS 136, 2008).

↳ Used in: Corollary 1

Proof ▼

The coefficients are moments: \((k+1)^{-s}=\int _0^1t^k\, d\mu _s(t)\) with the positive measure \(d\mu _s=(-\ln t)^{s-1}dt/\Gamma (s)\), so that \(\mathrm{Li}_s(z)/z=\int _0^1d\mu _s(t)/(1-tz)\) inside the disc — the representation of \(\mathrm{Li}_s(z)/z\) as a Stieltjes transform of Roth, Ruscheweyh and Salinas  [ 21 , p. 3 ] . For \(t\in [0,1)\) and \(z=e^{i\theta }\),

\[ \operatorname {Re}\frac{1}{1-tz}-\frac{1}{1+t} =\frac{t\, (1+\cos \theta )(1-t)}{(1+t)\, \lvert 1-tz\rvert ^{2}}\; \ge \; 0 . \]

With \(F(w)=\mathrm{Li}_s(w)/w\) and \(0{\lt}r{\lt}1\), integrating gives \(\lvert F(rz)\rvert \ge \operatorname {Re}F(rz)\ge \int d\mu _s/(1+rt)\); Abel’s theorem and dominated convergence take \(r\to 1^-\), \(\int d\mu _s/(1+t)=\sum (-1)^k(k+1)^{-s}=\eta (s)\), and \(\lvert \mathrm{Li}_s(z)\rvert =\lvert F(z)\rvert \) on the circle. The corollary is the classical identity \(\eta (s)=(1-2^{1-s})\zeta (s)\) (tendsto_partialEta_of_one_lt).

💡 In plain words (commentary, not part of the paper)

Walk once around the unit circle and watch the size of \(\mathrm{Li}_s(z)=\sum _n z^n/n^s\). It is smallest at the point opposite to \(1\), at \(z=-1\), where it equals the alternating sum \(1-2^{-s}+3^{-s}-\dots \). The reason fits in one line: each coefficient \(1/(k+1)^s\) is an average of powers \(t^k\) with \(t\) between \(0\) and \(1\), and for each such \(t\) the real part of \(1/(1-tz)\) on the circle is smallest at \(z=-1\). The statement is classical (Fejér, 1937); the proof formalized here is that one line, for every real \(s{\gt}0\).

For every \(s{\gt}1\) the zeta state never becomes orthogonal, and

\[ \lvert S(\theta )\rvert \; \ge \; \frac{\eta (s)}{\zeta (s)}\; =\; 1-2^{1-s}\qquad \text{for every }\theta , \]

with equality at \(\theta =\pi \). For \(s=2\) the floor is \(\tfrac 12\).

Lean · oursshow
Isabelle · oursshow

eta_eq · Isabelle/PolylogFloor/Polylog_Floor.thy, line 307 — η(s) = (1 − 2^(1−s)) ζ(s), s > 1

theorem eta_eq:
  assumes s: "1 < s"
  shows "(\<lambda>N. \<Sum>k<N. (- 1) ^ k * real (Suc k) powr (- s)) \<longlonglongrightarrow> (1 - 2 powr (1 - s)) * zeta s"

zeta_state_floor · Isabelle/PolylogFloor/Polylog_Floor.thy, line 351 — 1 − 2^(1−s) ≤ |S(θ)| for the normalized zeta state

theorem zeta_state_floor:
  assumes s: "1 < s"
  shows "1 - 2 powr (1 - s)
      \<le> norm (\<Sum>n. of_real (real (Suc n) powr (- s) / zeta s)
                 * exp (- (of_real (real (Suc n) * \<theta>) * \<i>)))"

cex3_normSq · Isabelle/AntipodalExamples/Antipodal_Counterexamples.thy, line 393 — three times monotone example: |g(z*)|² = (14/3)² − 635/2448

theorem cex3_normSq:
  "\<exists>F. (\<lambda>k. of_real (cex3 k) * ((-7 + of_real (sqrt 15) * \<i>) / 8 :: complex) ^ k) sums F
     \<and> (cmod F)\<^sup>2 = (14 / 3) ^ 2 - 635 / 2448"

cexLC_normSq · Isabelle/AntipodalExamples/Antipodal_Counterexamples.thy, line 335 — log-convex example: |f(z*)|² = (47/80)² − 57/42200

theorem cexLC_normSq:
  "\<exists>F. (\<lambda>k. of_real (cexLC k) * ((-7 + of_real (sqrt 15) * \<i>) / 8 :: complex) ^ k) sums F
     \<and> (cmod F)\<^sup>2 = (47 / 80) ^ 2 - 57 / 42200"

✅ Checked when this page was built: AntipodalCounterexamples.lean, EnestromKakeya.lean, ZetaStateFloor.lean compiles with Lean 4.35.0, no errors, no sorry. Axioms — tendsto_partialEta_of_one_lt, zeta_floor, zetaState_floor, cex3_normSq, cexLC_normSq, cex3_monotone_three, cexLC_logConvex, enestrom_kakeya_boundary_series, strictAnti_series_ne_zero: propext, Classical.choice, Quot.sound.
Reproduce: Lean 4.35.0, Mathlib f0b4c8150aa0; in that Lean project, lake env lean AntipodalCounterexamples.lean EnestromKakeya.lean ZetaStateFloor.lean (SHA-256 of the compiled file: 4d1e16e167e59e55…; a source page on this site may show it with comments edited, under its own hash).

Trust base: 🔒 kernel only. Lean: 9 results, standard axioms only · Isabelle: 4 results, no oracles

Proof: in this note·Formalized: Isabelle/HOL, Lean 4, by the author (public formalizations repository)·Covers: the whole statement·Cite: Corollary 1, p. 11, doi:10.5281/zenodo.20675270

🆕 Classical and new: classical as mathematics (η = (1 − 2^(1−s))ζ); the paper’s point is its place among the speed limits: it holds also for 1 < s < s* ≈ 1.7286, where no level dominates and the moment-based bounds certify nothing (§7). The Lean and Isabelle lists also hold the rest of §7: the exact examples of its table and Hurwitz’s boundary case for series.

↳ Not used by another result of the paper.

Proof ▼

Formalized in Lean (see the linked declarations).

💡 In plain words (commentary, not part of the paper)

Give the levels \(n=1,2,3,\dots \) weights proportional to \(n^{-s}\), for any \(s{\gt}1\). Then the overlap of the state with its starting point never drops below \(1-2^{1-s}\), and it reaches that value at half period. For \(s=2\) the floor is \(\tfrac 12\). The point is the range \(1{\lt}s{\lt}1.7286\ldots \): there no level carries more than half of the weight, the speed limits built from energy moments certify nothing, and yet the floor holds.

🛡️ Evidence & scope
  • Program: the floor of |S| for p_n ∝ n^(−s) at θ = π with value 1 − 2^(1−s), for six values of s, and three monotone populations whose floor is elsewhere (a check of the blueprint; 25-oct: passes). lab/comprueba_suelo.py

  • Program: the two examples of the table checked exactly in SymPy and in Sage (QQbar), including 109/288 > 0 at cos θ = −3/4 (the real part drops, the modulus does not). working scripts verifica_V171.py, sage_contraejemplos.sage, verifica_V174.py, not published

The theorem is classical: it is a consequence of Fejér’s theorem on four times monotone coefficients, which make \(\operatorname {Re}f(e^{i\theta })\) decrease on \([0,\pi ]\) (partial sums of the transform, [ 7 , p. 104 ] ) and \(\lvert f(e^{i\theta })\rvert ^2\) decrease on \([0,\pi ]\) [ 7 , p. 107 ] ; for \(s=2\) it is Boyer and Parry’s lemma  [ 20 ] . The proof above is the one we formalized; its only estimate is the displayed identity. The same proof gives the floor for every population that is a mixture of geometric populations: \(p_n=\int t^n\, d\mu (t)\), \(n\ge 0\), with \(\mu \) a positive measure on \([0,1)\) normalized by \(\sum _np_n=\int d\mu /(1-t)=1\) (absence of mass at \(t=1\) alone does not make the populations summable: the uniform \(\mu \) gives \(p_n=1/(n+1)\)) (le_norm_of_tendsto; for finite mixtures antipode_floor, already in June). Physically these are the populations of mixtures of thermal states of a harmonic oscillator, read as the populations of a pure state on the levels \(0,1,2,\dots \): every such state never becomes orthogonal, and the modulus of its autocorrelation is smallest at half period, where it equals \(\sum _n(-1)^np_n\). (A shift of the energy origin, as from levels \(n\ge 1\) to \(n\ge 0\), multiplies \(S\) by a phase: the modulus, which is what orthogonality sees, does not change; the real part and the sign at \(\theta =\pi \) do.) We have not found this reading in the physics literature; the closest work on the zeros of survival amplitudes argues from the dominant terms and leaves out equally spaced spectra  [ 14 ] .

How far the shape condition reaches. Complete monotonicity is more than the floor needs: Fejér’s four times monotone sequences suffice  [ 7 , p. 107 ] . Weaker shape conditions do not, and the smallest modulus then leaves half period. Both witnesses below are at \(z^\ast =(-7+i\sqrt{15})/8\), on the unit circle, and compare moduli, not real parts:

populations \(q_n\) (up to normalization)

smallest \(\lvert f\rvert \) at half period?

witness (exact), \(f=\sum q_nz^n\)

completely monotone (Hausdorff)

yes

Theorem 5

four times monotone

yes

Fejér  [ 7 , p. 107 ]

three times monotone

no

\(f=6+3z+z^2+\frac{1}{1-z/2}\): \(\lvert f(z^\ast )\rvert ^2=f(-1)^2-\frac{635}{2448}\), \(f(-1)=\frac{14}{3}\)

log-convex (hence convex)

no

\(q_n=(\frac34)^n\) for \(n\le 3\), then ratio \(\frac78\): \(\lvert f(z^\ast )\rvert ^2=f(-1)^2-\frac{57}{42200}\), \(f(-1)=\frac{47}{80}\)

Colour: green = yes / holds; red = no / fails.

Both examples are Lean theorems (cex3_monotone_three, cex3_normSq, cexLC_logConvex, cexLC_convex, cexLC_normSq), and both were checked exactly in two computer algebra systems. The real parts drop too (cex3_re: \(\frac{73}{16}{\lt}\frac{14}{3}\) at \(\cos \theta =-\frac34\); cexLC_re: \(-\frac{381}{27040}\) at \(e^{2\pi i/3}\)), but a lower real part alone says nothing about the modulus: at \(\cos \theta =-\frac34\) the modulus of the first example is in fact larger than at \(z=-1\) (by \(\frac{109}{288}\) in the square). Strictly decreasing populations still never orthogonalize; what fails is that half period is the worst moment. We have not found these examples in the literature.

8 The boundary of the contribution

Everything here that is mathematics is classical: Euler (1768), Landen (1780), Clausen (1832), Rogers (1907), Fejér (1910, 1937), Jackson (1911), Hurwitz (1913), Mandelstam–Tamm (1945), Margolus–Levitin (1998), Uffink (1993); the TBA reading of the golden values is from the 1990s; the floor of \(\lvert {\mathrm{Li}_2}\rvert \) on the circle follows from Fejér (1937) and is stated by Boyer and Parry (2021); the fractional-moment bounds are Zieliński and Zych’s (2006). We claim no new identity and no new inequality of substance. The contributions are: (i) the machine-checked development itself — in June 2026 the first formalization, as far as we could determine, of each item of the abstract except the polylogarithm and its duplication formula, which Isabelle’s AFP had  [ 24 ] ; (ii) three proof-engineering choices that may be reusable: the division-free Dirichlet telescope, the asymptotics-free Abel bound \({\mathrm{Cl}_2}\ge \sin (\theta )/2\), and the statements of the speed limits as facts about a scalar spectral measure (fully real for Margolus–Levitin; Mandelstam–Tamm uses the complex autocorrelation); (iii) the assembly of Theorem 4, and, in version 2, its honest place: it follows from one dominant level, which the moment-based speed limits see only in the limit of Proposition 1; (iv) the floor of every normalizable zeta state, \(s{\gt}1\) (Corollary 1), as a statement about speed limits where the moment-based bounds are silent, from the analytic floor of Theorem 5, formalized for every real \(s{\gt}0\), with the proof of the Zieliński–Zych inequality for \(0{\lt}\alpha \le 1\) and the exact examples of the last table. The physical readings in (iii) and (iv) are ones we have not seen stated; we would not be surprised to find them folklore among polylogarithm or speed-limit specialists.

Related formalization. We build directly on Mathlib’s analytic infrastructure: term-by-term differentiation, the Weierstrass \(M\)-test, mean-value machinery, and the Bernoulli–Fourier expansion that hands us the parabola for free. Special functions in the proof-assistant literature have centred on \(\Gamma \), \(\zeta \) and the elementary transcendental functions; Isabelle has the polylogarithm of integer order  [ 24 ] , and since version 1 two Lean 4 developments have formalized parts of the real dilogarithm  [ 25 , 26 ] . On the quantum side, the established libraries (CoqQ, SQIR, Isabelle Marries Dirac) formalize circuits and gate semantics rather than dynamical bounds on continuous evolution. This development sits in the gap between those bodies of work.

On methodology: the formalization was carried out in collaboration with an AI assistant (Claude, Anthropic; version 2 with Claude Opus), with every step gated by the Lean kernel, every identity checked independently at 20–50 digits before formalization, and every named theorem verified by #print axioms to depend only on propext, Classical.choice, Quot.sound. Correctness does not rest on the assistant: the Lean kernel checks every proof, so the AI affected the path to each theorem, not its validity. The literature checks of version 2 were also done with AI assistance; every source cited for a statement was read in the original, except Uffink’s note, which we cite through Andrews. The mathematics, the mistakes, and the claims remain the author’s responsibility.

9 Open roads

  1. After the five-term relation. Abel’s five-term relation, the capstone of weight 2, was formalized in the sequel to version 1  [ 27 ] ; with it, every two-variable dilogarithm identity is within reach of the same machinery.

  2. The complex dilogarithm and the Bloch–Wigner function; with them, the 2D dimer entropy (\(G/\pi \) — Catalan again) and hyperbolic volumes come into reach. (The boundary values \({\mathrm{Li}_2}(e^{i\theta })\) and \({\mathrm{Li}_2}(i)=-\pi ^2/48+iG\) are now in Lean  [ 28 ] .)

  3. Sharp Mandelstam–Tamm (\(\pi /2\Delta E\), the geodesic argument) and the arbitrary-fidelity Margolus–Levitin bound — conjectured in 2003, proven only in 2023  [ 22 ] : a fresh theorem to formalize.

  4. A speed limit that sees the shape of the spectral measure. The exact class of populations whose autocorrelation modulus is smallest at half period is not known to us, and it is not convex: \((10,4,1)/15\) and \((1,4,10)/15\) both have their smallest modulus only at \(\theta =\pi \), but their average \((11,8,11)/30\) vanishes where \(\cos \theta =-4/11\). The auxiliary class defined by the real part, \(\operatorname {Re}F_p(e^{i\theta })\ge F_p(-1)\), is linear in the populations, hence a convex cone for finitely many levels, which a Fejér–Riesz factorization should describe; for the modulus, Fejér–Riesz applies to the trigonometric polynomial \(\lvert F_p(e^{i\theta })\rvert ^2-F_p(-1)^2\), which is quadratic in \(p\).

  5. Fejér’s four times monotone theorem  [ 7 ] in Lean, and the positive trigonometric sums beyond Fejér–Jackson (Vietoris) — the toolkit is in place.

Questions to take with you

A paper built from questions should end with the ones it could not answer, one per station of the map. Two of them (on Q1 and Q3) are pedagogical rather than research questions, and we say so.

  1. Weight 1 (logarithms) needs no delicate limits; weight 2 needed exactly one (\(\ln x\cdot \ln (1-x)\to 0\), the only place our formalization had to fight). Is the number of genuinely delicate boundary limits an invariant of the weight — and what does it count? (To be a mathematical question it needs a notion of “delicate” independent of the choices of a formalization.)

  2. We reached Landen’s golden values by replacing one two-variable identity (Abel’s) with three one-variable ones, because the golden point sits where reflection and Landen orbits intersect. Which specializations of the five-term relation are reachable this way — precisely: what is the subgroup of relations generated by reflection, Landen and duplication inside the full functional-equation group of \({\mathrm{Li}_2}\), and is the five-term relation in it?

  3. On the circle, the even-weight cosine series is a polynomial and the sine series is transcendentally new; at odd weight the roles swap. What does weight parity know about the boundary that makes it exchange the tame and the wild half? (The classical answer is the Fourier series of the Bernoulli polynomials; the question is how to make a formal library use it uniformly in the weight.)

  4. Two positivity proofs in this development end the same way: both endpoints at zero and the critical-point equation at an interior extremum (Fejér–Jackson and the Margolus–Levitin cosine inequality). The positivity of \({\mathrm{Cl}_2}\) is inherited from Fejér–Jackson by Abel summation here, although classically it also follows from \({\mathrm{Cl}_2}'(\theta )=-\ln (2\sin (\theta /2))\) by the same rise-then-fall shape. Is there a single theorem behind them — a maximum principle for positive sums — and would it be the right thing to formalize next?

  5. The zeta state defeats both textbook speed limits through its infinite moments, and the fractional-moment limits see it only through its lowest level. Exact moments can sometimes pin the whole distribution: for \(E\ge 0\) with \(\langle E\rangle =\langle E^2\rangle =\langle E^3\rangle =\frac45\) one has \(\langle E(E-1)^2\rangle =0\), so the populations are \((\frac15,\frac45)\) on \(\{ 0,1\} \) and \(\lvert S\rvert \ge \frac35\), with no dominant lowest level. What can be certified from finitely many moments known only approximately, or for spectral measures with infinite support, where no finite set of moments pins the support? (Zieliński and Zych’s doublet example  [ 11 ] shows how far the moments can move without changing the orthogonalization time.)

  6. Complete monotonicity and four times monotonicity put the smallest modulus at half period; three times monotonicity and log-convexity (hence convexity) do not. What is the exact class — not a convex one (Section 9) — and is it, as for Hurwitz’s theorem, a condition one can read off the differences of the populations?

A Reproducing

 

version 1

version 2

repository

godsil-gutman-lean

formalizations

commit

3c09d67

c635ec2

Lean

v4.30.0-rc2

v4.35.0

Mathlib

701fb6e9

f0b4c815

git clone https://github.com/karlesmarin/godsil-gutman-lean
cd godsil-gutman-lean && git checkout --detach 3c09d67
lake exe cache get && lake build Dilog QSL
for script in figures/dilog_fig*.py; do python "$script"; done

git clone https://github.com/karlesmarin/formalizations
cd formalizations && git checkout --detach c635ec2
lake exe cache get && lake build && sh scripts/check_axioms.sh

The figure scripts (in godsil-gutman-lean, Python with mpmath and matplotlib) assert their mathematical content against 20–40-digit numerics before drawing; check_axioms.sh checks that every main result depends only on the three standard axioms. The Isabelle sessions build with isabelle build -d <session folder> <session> (Isabelle2026). The numbers of Section 7 (the threshold \(s^\ast \), the Zieliński–Zych bounds, the exact examples) come from the scripts in the supplementary material.

B Inventory of the formalizations

Lean 4

File (version 1, godsil-gutman-lean)

Contents

Lines

Dilog/Basic.lean

\({\mathrm{Li}_2}\): series, derivative, reflection, Landen,

 
 

duplication, \({\mathrm{Li}_2}(\frac12)\), golden ladder, Rogers \(\operatorname{L}\), Lee–Yang

581

Dilog/Clausen.lean

\({\mathrm{Cl}_2}\), Catalan’s \(G\), Bernoulli parabola, \({\mathrm{Cl}_2}\ge \sin \theta /2\),

 
 

\({\mathrm{Cl}_2}(2\pi -\theta )=-{\mathrm{Cl}_2}(\theta )\), Theorem 4

332

Dilog/FejerJackson.lean

Fejér–Jackson inequality

189

QSL/Basic.lean

Margolus–Levitin (+ the cosine inequality)

238

QSL/MandelstamTamm.lean

Mandelstam–Tamm, \(L^1\) form

134

   

1 474

File (version 2, formalizations)

Contents

Lines

…/Dilogarithm/CircleFloor.lean

\(\lvert {\mathrm{Li}_2}\rvert \ge \pi ^2/12\) on the circle; \(\lvert S\rvert \ge \frac12\)

239

…/Polylog/HausdorffFloor.lean

Theorem 5, moment series

469

…/SpeedLimit/ZetaStateFloor.lean

\(\eta =(1-2^{1-s})\zeta \); Corollary 1

157

…/SpeedLimit/DominantPopulation.lean

\(\lvert S\rvert \ge 2p_j-1\)

84

…/SpeedLimit/ZielinskiZych.lean

ZZ inequality and bound; Proposition 1

507

…/Polylog/AntipodalCounterexamples.lean

the exact examples of Section 7

363

…/Polynomial/EnestromKakeya.lean

Eneström–Kakeya, Hurwitz’s boundary case, series

350

…/SpeedLimit/MandelstamTamm.lean

also \(\tau \ge 1/\Delta E\)

170

Table 1 The Lean 4 development. All theorems sorry-free; axioms: propext, Classical.choice, Quot.sound throughout.

Colour: blue shade = the number’s size within its column.

Isabelle/HOL

Session

Contents

Lines

Hausdorff_Floor

per-term bound, uniform gap, floor of moment series

254

Polylog_Floor

Gamma-density moments; Theorem 5; \(\eta =(1-2^{1-s})\zeta \); Corollary 1

399

Antipodal_Examples

\(\lvert S\rvert \ge 2p_j-1\); the exact examples of Section 7

539

Zielinski_Zych

ZZ inequality and bound (\(0{\lt}\alpha \le 1\)); Proposition 1

696

   

1 888

Table 2 The Isabelle/HOL development (Isabelle2026, HOL-Analysis; folder Isabelle/ of  [ 28 ] ): independent proofs of results of the Lean development, with no sorry and no quick_and_dirty.

Colour: blue shade = the number’s size within its column.

C What changed in version 2

Corrections. (1) Priority: the polylogarithm of integer order with its duplication formula was in Isabelle’s AFP before version 1  [ 24 ] ; version 1 said the dilogarithm was absent from every proof assistant. (2) Theorem 4 follows in one line from \(p_1{\gt}\frac12\); version 1 presented it as the opposite of what one would expect and said that on this state “the speed limits of quantum mechanics predict nothing at all”, which holds only for the two textbook limits. (3) The reason the clock never ticks is the dominant level, not the heavy spectral tail. (4) The floor \(\lvert S\rvert \ge \frac12\) follows from Fejér (1937), is stated for \({\mathrm{Li}_2}\) by Boyer and Parry, and is now a Lean theorem; version 1 had it numerically and without a citation. (5) Remark 1 of version 1 is Hurwitz’s 1913 theorem; version 1 said it had not found it. (6) Version 1 said that three positivity proofs of the development share one shape, one of them “\({\mathrm{Cl}_2}\) itself via the integral of \(-\ln (2\sin (t/2))\)”; in the Lean, \({\mathrm{Cl}_2}{\gt}0\) comes from Fejér–Jackson by Abel summation. (7) Version 1 said that every textbook reaches the golden values through Abel’s five-term relation and called the route without it a discovery; the values are Landen’s, older than Abel’s relation. (8) Version 1 said the state “never gets even halfway to distinguishability”: \(\lvert S\rvert \ge \frac12\) means a survival probability of at least \(\frac14\), while the trace distance can reach \(\frac{\sqrt3}{2}\). (9) Version 1 spoke of an infinite energy variance and of the textbook bounds being “vacuously satisfied”; with an infinite mean the variance is not defined, and the bounds simply do not apply. (10) Version 1 called the speed-limit statements “fully real”; only Margolus–Levitin is. (11) The figure command of version 1 ran only the first script. Additions. Section 7; Proposition 1; the Lean files of the second table.

🧠 How it works

How the paper gets to its results: its strategy, techniques, key ideas, tools, the claims and their status, where it was hard, what to know before, exercises, and the questions it leaves open. Items marked commentary are ours, not the paper's.

Strategy

A chain of five questions, Q1 to Q5, each section closing on the next (paper, «How to read this paper»): what the series knows about its derivative, whether the golden ladder can be climbed without Abel's relation, what happens on the circle, why the wild half is positive, and what physical thing beats to this function. Another question, how fast a quantum state can evolve, was born apart and crosses the chain at its end: the title theorem lives at the crossing. Version 2 adds Q6: what decides orthogonality when no level dominates; the answer is the exact floor of Theorem 5.
📄 from the paper, «How to read this paper» and Figure 1

Techniques (10)

A functional equation in three moves

To prove that a combination $F$ of dilogarithms and logarithms is constant: (1) differentiate term by term and check $F^\prime=0$; (2) conclude $F$ is constant by the mean value theorem on subintervals; (3) find the constant as a limit at the edge of the interval.
📄 from the paper §2 (Recipe box)

Replace a two-variable identity by one-variable ones at an orbit intersection

The golden values come from reflection at $1/\varphi^2$, Landen at $1/\varphi^2$ and duplication at $1/\varphi$: three linear equations in three unknowns, closed by linarith. Not a new route (the values are Landen’s, older than Abel’s relation), but one the formalization makes explicit.
📄 from the paper §3 and «Questions to take with you», Q2

Split a series into even and odd terms

The duplication formula $\mathrm{Li}_2(x^2)=2(\mathrm{Li}_2(x)+\mathrm{Li}_2(-x))$, Catalan's constant $G=\mathrm{Cl}_2(\pi/2)$ and $\eta(s)=(1-2^{1-s})\zeta(s)$ are all a rearrangement by parity (tsum_even_add_odd), with no calculus.
📄 from the paper §2, §4 and §7

Both ends at zero, the critical equation at an interior extremum

At an interior minimum of the partial sum the critical equation factors, and either branch makes the last term nonnegative there; so the minimum is at least the previous sum, positive by induction. The same shape proves two positivity statements of the development: Fejér–Jackson and the cosine inequality of Margolus–Levitin; $\mathrm{Cl}_2>0$ is inherited from Fejér–Jackson by Abel summation.
📄 from the paper §5, §6 and Q4

A telescope without division

The Dirichlet kernel handled multiplicatively, $2\sin\tfrac\theta2\sum_{k\le M}\cos k\theta=\sin((M+\tfrac12)\theta)-\sin\tfrac\theta2$: no quotient, no removable singularity to treat in Lean.
📄 from the paper §5 and §8(ii)

Abel summation that keeps its first term as the bound

Writing the partial sums of $\mathrm{Cl}_2$ through the Fejér–Jackson sums, every term is positive and the $k=1$ term alone is $\sin(\theta)/2$: the bound $\mathrm{Cl}_2(\theta)\ge\sin(\theta)/2$ with no tail estimate and no asymptotics.
📄 from the paper §5 and §8(ii)

State the physics as a statement about numbers

The speed limits are stated for the autocorrelation of a discrete spectral measure (weights $p_n\ge0$, energies $E_n$); the Hilbert space is bookkeeping, and Margolus–Levitin needs no complex numbers.
📄 from the paper §6 and §8(ii)

One level against all the others (the triangle inequality)

If one population exceeds $\tfrac12$, the others cannot cancel it: $|S|\ge2p_j-1$ at every time. It needs no moment of the energy, so it works where the textbook limits fail.
📄 from the paper §6 («Why, in one line»; Uffink, after Andrews 2007)

Read a zero on the circle from the coefficients

Multiply $\sum p_kz^k$ by $1-z$: the coefficients become the drops $p_{k-1}-p_k$, and at $|z|=1$ the triangle inequality is an equality only if every drop sits at a power with $z^k=1$ (Hurwitz 1913).
📄 from the paper §7

A lower bound from an integral with positive weight

$\mathrm{Li}_s(z)/z=\int_0^1d\mu_s(t)/(1-tz)$ with $d\mu_s=(-\ln t)^{s-1}dt/\Gamma(s)$, and $\mathrm{Re}\,\frac1{1-tz}-\frac1{1+t}=\frac{t(1+\cos\theta)(1-t)}{(1+t)|1-tz|^2}\ge0$ on the circle; integrate, then $r\to1^-$ by Abel’s theorem. The same lines work for any coefficients that are moments of a positive measure on $[0,1)$.
📄 from the paper §7, proof of Theorem 5

Key ideas and tricks (5)

Two accidents of the golden ratio

From $\varphi^2=\varphi+1$: $1/\varphi+1/\varphi^2=1$ (a reflection pair) and $\frac{1/\varphi^2}{1/\varphi^2-1}=-1/\varphi$ (Landen sends $1/\varphi^2$ to $-1/\varphi$, and $1/\varphi^2\approx0.382$ lies inside the proven Landen domain).
📄 from the paper §3

The circle was measuring time

A sum $\sum p_ne^{-in\theta}$ with positive weights is the autocorrelation of a quantum state with populations $p_n$ on equally spaced levels. The positivity of the Clausen function then says that the weight-2 zeta state never becomes orthogonal: the dilogarithm thread and the speed-limit thread cross here.
📄 from the paper §5 («The turn») and §6

A dominant level stops the tick, not the evolution

The zeta state never becomes orthogonal because more than half of it sits on one level, not because its energy sits in a heavy tail (the tail only makes the moments infinite). A dominant level forbids exact orthogonality, not fast evolution: $\sqrt{0.6}\,|0\rangle+\sqrt{0.4}\,|\Omega\rangle$ never ticks but reaches its smallest overlap at $t=\pi/\Omega$.
📄 from the paper §6

The moment-based limits see one number

As their order tends to zero, the Zieliński–Zych limits keep only the population of the lowest level: they certify $\tau_\perp=\infty$ exactly when it exceeds $\tfrac12$. The exact floor of Theorem 5 sees the shape of the populations instead.
📄 from the paper §6 and §7

The library already had half of the answer

On the circle the real part of $\mathrm{Li}_2(e^{i\theta})$ is a parabola, which is the Fourier series of the Bernoulli polynomial $B_2$ already in Mathlib (hasSum_one_div_nat_pow_mul_cos); only the imaginary half, the Clausen function, had to be built.
📄 from the paper §4

Algorithms and computations (3)

Check every identity before formalizing it

  1. evaluate both sides at 20–50 digits (mpmath)
  2. only then write the Lean statement and its proof
  3. gate every proof by the Lean kernel and #print axioms (propext, Classical.choice, Quot.sound only)
🛠️ paper §8 (methodology); the figure scripts of Appendix A assert their content at 20–40 digits before drawing
📄 from the paper §8 and Appendix A

Two proof assistants, each where it is strongest

  1. the development and the importable pieces in Lean 4 over Mathlib
  2. the new results of version 2 also in Isabelle/HOL, where HOL-Analysis makes the Gamma-density measure short
  3. every Isabelle session built from scratch and checked against a control copy with a false lemma, which must fail
🛠️ Appendix B (inventory of the formalizations)
📄 from the paper, Appendix B

The checks of this blueprint

  1. the three language tabs of Theorem 4, with controls that must fail: lab/comprueba_pestanas.py
  2. the floor of $|S|$ for $p_n\propto n^{-s}$, at $\theta=\pi$ with value $\eta(s)/\zeta(s)=1-2^{1-s}$, for six values of $s$, and three monotone populations whose floor is elsewhere: lab/comprueba_suelo.py
  3. the tables recounted at the cited commits (see «📊 Tables»)
🛠️ lab/ of this blueprint
commentary · checks of the blueprint (25–26 oct 2026)

Tools (5)

Lean 4 and Mathlib (version 1: toolchain v4.30.0-rc2, Mathlib 701fb6e9 (godsil-gutman-lean); version 2: Lean 4.35.0, Mathlib f0b4c815 (formalizations))

every theorem, sorry-free; the code of each statement is under its «Lean · ours» block
📄 from the paper, Appendix A

Isabelle/HOL (Isabelle2026, HOL-Analysis)

the new results of version 2, proved again independently: the floor, the zeta states, the dominant level, Zieliński–Zych and the exact examples
📄 from the paper, Appendices A and B

Python with mpmath; SymPy and Sage

high-precision checks before formalizing, the figure scripts, the labs; the exact values of the counterexamples in two computer algebra systems
📄 from the paper §7, §8 and Appendix A

Literature and library searches

June 2026: Loogle and grep over Mathlib, web searches of the AFP and Rocq/Coq. October 2026: the whole AFP by grep, and the HOL Light, HOL4, Metamath, Mizar, Rocq/Coq, PVS and Lean 3 libraries
📄 from the paper §1, footnote

An AI assistant (Claude, Anthropic)

formalization and literature checks in collaboration; correctness rests on the Lean and Isabelle kernels, and every source cited for a statement was read in the original, except Uffink’s note
📄 from the paper, title footnote and §8

Hypotheses, conjectures and claims (9)

in LeanHypothesis

Landen's transformation is proved for $x\in(0,\tfrac12)$ only: beyond it $x/(x-1)$ leaves the disc where the series converges, and a power-series definition does not continue analytically.
📄 from the paper §2

in LeanHypothesis

Margolus–Levitin needs energies measured from a ground level, $E_n\ge0$, finite mean energy, and $\tau\ge0$ (hypotheses of Theorem 3 and of the Lean statement).
📄 from the paper §6; the Lean statement

refutedClaim

Version 1: «the dilogarithm … absent from every proof assistant (Lean, Rocq/Coq, Isabelle)».
✅ Isabelle's Archive of Formal Proofs has had «The Polylogarithm Function» (M. Eberl, November 2023): Li_s for integer s, its derivative and the duplication formula. Corrected in version 2 (§1).
commentary · version 1, §1 (footnote) and §7(i)

searched, not foundClaim

In June 2026, the first formalization in any proof assistant of Euler's reflection and Landen's transformation for the real dilogarithm, the golden ladder and the Lee–Yang value, the Clausen function and Catalan's constant, Fejér–Jackson, and the two quantum speed limits.
✅ June 2026 checks; on 26-oct-2026 the whole AFP by grep and the HOL Light, HOL4, Metamath, Mizar, Rocq/Coq, PVS and Lean 3 libraries: none of these there. Since June, two independent Lean 4 developments (lean-DLMF, September 2026: reflection, Landen, golden values; LeanPolyLog, September 2026: Catalan's constant), cited in version 2.
📄 from the paper §1 and §8(i)

in LeanObservation

Theorem 4 in one line: $p_1=6/\pi^2>\tfrac12$, so $|S|\ge2p_1-1\approx0.216$.
✅ Uffink’s cut-off inequality, in the form of Andrews 2007, Eq. (21) (read; Uffink’s note not opened); Lean two_mul_sub_one_le_norm_tsum, Isabelle two_mul_sub_one_le_norm_suminf.
📄 from the paper §6

in LeanObservation

The Zieliński–Zych limits certify that the zeta state never becomes orthogonal only through the limit α → 0, where they reduce to «the lowest level holds more than half».
📄 from the paper §6, Proposition 1

in LeanObservation

The floor $|S|\ge\tfrac12$ on the whole circle (version 1: numerical only), and $1-2^{1-s}$ for every zeta state.
📄 from the paper §6 and §7

refutedClaim

Version 1, Remark 1: «We have not found the resulting dictionary … in either literature».
✅ It is Hurwitz’s 1913 complement to the Eneström–Kakeya theorem (Tôhoku Math. J. 4, 89–93, §2; read). Corrected in version 2 (§7); in Lean for series.
commentary · version 1, Remark 1

searched, not foundClaim

The physical readings (the place of Theorem 4 among the speed limits, and the floor of every zeta state) have not been seen stated; they may be folklore.
📄 from the paper §8(iii)–(iv)

Where it was hard, and what was avoided (4)

The one delicate limit of the subject: $\ln x\cdot\ln(1-x)\to0$ at the end of the interval, tamed as $(\ln(1-x)/x)\cdot(x\ln x)\to(-1)\cdot0$. It is «the only place our formalization had to fight».
📄 from the paper §2 and Q1
Abel's five-term relation was avoided, not proved, in this paper: the golden values come from three one-variable identities instead. (It is proved in the sequel, The Pentagon.)
📄 from the paper §3 and §9
The Zieliński–Zych inequality, which its authors state without proof, needed a case split in $x$ and two different lower bounds for $t^\alpha$ (Bernoulli below $t=1$, exp–log above); it is formalized for $0<\alpha\le1$ only.
📄 from the paper §6; the Lean and Isabelle proofs
The sharp Mandelstam–Tamm constant $\pi/(2\Delta E)$ needs the geodesic argument and is left open; the paper proves an $L^1$ form, and the Lean also has the weak form $\tau\ge1/\Delta E$.
📄 from the paper §6 and §9

Before reading (5)

  • Power series: radius of convergence, term-by-term differentiation, the mean value theorem (§2).
  • Fourier series of $\cos n\theta$ and $\sin n\theta$, and the Bernoulli polynomial $B_2$ (§4).
  • Quantum mechanics at the level of a state in an energy basis: $|\psi_0\rangle=\sum_n c_n|E_n\rangle$, its time evolution, and the overlap $S(t)=\langle\psi_0|\psi_t\rangle$ (§6).
  • For §7: a measure on $[0,1)$ and its moments $\int t^k\,d\mu$; Abel’s theorem on power series.
  • To read the code: Lean 4 and Mathlib basics (HasSum, HasDerivAt, tsum); Isabelle/HOL for the Isabelle sessions.

Check yourself (5)

1.

Show by hand that $\sin\theta+\tfrac12\sin2\theta>0$ on $(0,\pi)$ (Theorem 2 with $M=2$).
answerIt equals $\sin\theta(1+\cos\theta)$, and both factors are positive on $(0,\pi)$.

2.

Using only $\varphi^2=\varphi+1$, check that $1/\varphi+1/\varphi^2=1$ and that Landen's map $x\mapsto x/(x-1)$ sends $1/\varphi^2$ to $-1/\varphi$.
answer$1/\varphi+1/\varphi^2=(\varphi+1)/\varphi^2=1$. And $\frac{1/\varphi^2}{1/\varphi^2-1}=\frac{1}{1-\varphi^2}=\frac{1}{-\varphi}$.

3.

Compute the overlap $S(\pi)$ of the weight-2 zeta state, $S(\theta)=\frac6{\pi^2}\mathrm{Li}_2(e^{-i\theta})$, and the survival probability there.
answer$\mathrm{Li}_2(-1)=-\pi^2/12$, so $S(\pi)=-\tfrac12$ and the survival probability $|S(\pi)|^2=\tfrac14$: that is the floor.

4.

The two-level state $(|0\rangle+|E\rangle)/\sqrt2$: when is it first orthogonal to itself, and how does that compare with Margolus–Levitin?
answer$S(t)=\tfrac12(1+e^{-iEt})$ vanishes first at $t=\pi/E$. Its mean energy is $E/2$, and Margolus–Levitin gives $\tau\ge\pi/(2\langle E\rangle)=\pi/E$: the bound is reached.

5.

For which $s$ does the lowest level of the zeta state carry more than half of the weight?
answerWhen $1/\zeta(s)>\tfrac12$, that is $\zeta(s)<2$, that is $s>s^*\approx1.7286$. Below $s^*$ the one-line argument fails and Corollary 1 is needed.

Open questions (11)

done

Abel's five-term relation, the capstone of weight 2.
🔎 proved in Lean (Dilog.rogersL_fiveterm) and published as The Pentagon, Machine-Checked (the sequel to version 1)
📄 from the paper §9, road 1

partly done

The complex dilogarithm and the Bloch–Wigner function; with them, the dimer entropy $G/\pi$ and hyperbolic volumes.
🔎 the boundary values of the complex dilogarithm and Li₂(i) = −π²/48 + iG are in Lean; Bloch–Wigner is not
📄 from the paper §9, road 2

open

The sharp Mandelstam–Tamm bound $\pi/(2\Delta E)$ and the arbitrary-fidelity Margolus–Levitin bound (proved in 2023, not formalized).
🔎 the Lean has the $L^1$ form and the weak $\tau\ge1/\Delta E$ only. Lead: Andrzejewski, Bolonek-Lasoń, Kosiński, Quantum Inf. Process. 23, 167 (2024), arXiv:2307.16854; Hörnedal, Sönnerborn, Phys. Rev. Research 5, 043234 (2023).
📄 from the paper §9, road 3

open

A speed limit that sees the shape of the spectral measure: the exact class of populations whose autocorrelation modulus is smallest at half period. It is not convex; the real-part class is a convex cone.
🔎 (10,4,1)/15 and (1,4,10)/15 have their smallest modulus only at θ = π, their average (11,8,11)/30 vanishes where cos θ = −4/11 (verifica_V174.py)
📄 from the paper §9, road 4, and Q6

open

Fejér’s four times monotone theorem in Lean, and positive trigonometric sums beyond Fejér–Jackson (Vietoris).
🔎 not in our Lean (grep, 26-oct)
📄 from the paper §9, road 5

open

Is the number of genuinely delicate boundary limits an invariant of the weight? (A pedagogical question: it needs a notion of «delicate» independent of the formalization.)
📄 from the paper, Questions to take with you, Q1

open

Which relations do reflection, Landen and duplication generate inside the functional-equation group of $\mathrm{Li}_2$, and is the five-term relation among them?
🔎 Leads (25-oct-2026; Zagier read in §I.2–3, the others seen only): Zagier, «The Dilogarithm Function» (2007), Prop. 4 (Wojtkowiak); de Jeu, arXiv:2007.11014; Kirillov, hep-th/9408113.
📄 from the paper, Questions to take with you, Q2

known in the literature

At odd weight the tame and the wild half of the circle swap. (Pedagogical: the classical answer is the Fourier series of the Bernoulli polynomials.)
📄 from the paper, Questions to take with you, Q3

open

Is there one theorem behind the positivity proofs that end with both endpoints at zero and the critical equation at an interior extremum (a maximum principle for positive sums)?
📄 from the paper, Questions to take with you, Q4

open

What can be certified from finitely many energy moments known only approximately, or for spectral measures with infinite support? (Exact moments can pin the distribution: three moments give $|S|\ge\tfrac35$ in an example with no dominant lowest level.)
📄 from the paper, Questions to take with you, Q5

open

Which shape conditions put the smallest modulus at half period? Complete and four times monotonicity do; three times monotonicity and log-convexity do not.
📄 from the paper, Questions to take with you, Q6

📊 Tables

Every table of the paper, in its order: click one to unfold it, with where the paper cites it, how its numbers were checked, and its data as CSV. The typeset table is one click away, on its page of the PDF.

Table without a number, in the text of §7 Q6: what decides orthogonality when no level dominates?
populations $q_n$ (up to normalization)smallest $\lvert f\rvert$ at half period?witness (exact), $f=\sum q_nz^n$
completely monotone (Hausdorff)yesTheorem 5
four times monotoneyesFej\'er [p. 107]fejer37
three times monotoneno$f=6+3z+z^2+\frac{1}{1-z/2}$: $\lvert f(z^\ast)\rvert^2=f(-1)^2-\frac{635}{2448}$, $f(-1)=\frac{14}{3}$
log-convex (hence convex)no$q_n=(\frac34)^n$ for $n\le3$, then ratio $\frac78$: $\lvert f(z^\ast)\rvert^2=f(-1)^2-\frac{57}{42200}$, $f(-1)=\frac{47}{80}$

Colour: green = yes / holds; red = no / fails.

Table without a number, in the text of §A Reproducing
version 1version 2
repositorygodsil-gutman-leanformalizations
commit3c09d67c635ec2
Leanv4.30.0-rc2v4.35.0
Mathlib701fb6e9f0b4c815
Table 1. The Lean 4 development. All theorems sorry-free; axioms: propext, Classical.choice, Quot.sound throughout.
File (version 1, godsil-gutman-lean)ContentsLines
Dilog/Basic.lean${\mathrm{Li}_2}$: series, derivative, reflection, Landen,
duplication, ${\mathrm{Li}_2}(\frac12)$, golden ladder, Rogers $\operatorname{L}$, Lee–Yang581
Dilog/Clausen.lean${\mathrm{Cl}_2}$, Catalan's $G$, Bernoulli parabola, ${\mathrm{Cl}_2}\ge\sin\theta/2$,
${\mathrm{Cl}_2}(2\pi-\theta)=-{\mathrm{Cl}_2}(\theta)$, Theorem 4332
Dilog/FejerJackson.leanFejér–Jackson inequality189
QSL/Basic.leanMargolus–Levitin (+ the cosine inequality)238
QSL/MandelstamTamm.leanMandelstam–Tamm, $L^1$ form134
1 474
📄 p. 15 in the PDF⬇ CSVnot cited in the text
🛠️ Made by: the Lean files: version 1 in github.com/karlesmarin/godsil-gutman-lean at the published state; version 2 in github.com/karlesmarin/formalizations (line counts)
✅ version 1 recounted 25-oct-2026 at commit 3c09d67 (the last before the Zenodo date, 13-jun-2026): Basic 581, Clausen 332, FejerJackson 189, QSL/Basic 238, MandelstamTamm 134, total 1 474: all as printed — git show 3c09d67:<file> | wc -l, in godsil-gutman-lean
✅ version 2 counted 26-oct-2026 in formalizations (the commit the paper cites): the eight files of the second table — git show <commit>:<file> | wc -l, in formalizations (comprueba_lean.py in the corrections folder)
Every name of the paper was checked to exist in the cited commits (37 declarations).
Table 2. The Isabelle/HOL development (Isabelle2026, HOL-Analysis; folder Isabelle/ of [formalizations]): independent proofs of results of the Lean development, with no sorry and no quick_and_dirty.
SessionContentsLines
Hausdorff_Floorper-term bound, uniform gap, floor of moment series254
Polylog_FloorGamma-density moments; Theorem 5; $\eta=(1-2^{1-s})\zeta$; Corollary 1399
Antipodal_Examples$\lvert S\rvert\ge2p_j-1$; the exact examples of Section 7539
Zielinski_ZychZZ inequality and bound ($0<\alpha\le1$); Proposition 1696
1 888

Colour: blue shade = the number’s size within its column.

📄 p. 15 in the PDF⬇ CSVnot cited in the text
🛠️ Made by: the Isabelle/HOL sessions in github.com/karlesmarin/formalizations, folder Isabelle/ (Isabelle2026, HOL-Analysis)
✅ each session built from scratch (isabelle build -c) on 26-oct-2026, and a control copy with a false lemma added fails, as it must; no sorry, no quick_and_dirty, no smt — Isabelle/HausdorffFloor, PolylogFloor, AntipodalExamples, ZielinskiZych

References

1

L. Lewin, Polylogarithms and Associated Functions, North-Holland, 1981. 🔎 find it

2

D. Zagier, The dilogarithm function, in Frontiers in Number Theory, Physics, and Geometry II, Springer, 2007. 🔎 find it

3

T. Clausen, Über die Function \(\sin \varphi +\frac{1}{2^2}\sin 2\varphi +\frac{1}{3^2}\sin 3\varphi +\) etc., J. Reine Angew. Math. 8 (1832). 🔎 find it

4

L. J. Rogers, On function sum theorems connected with the series \(\sum x^n/n^2\), Proc. London Math. Soc. 4 (1907). 🔎 find it

5

L. Fejér, Lebesguesche Konstanten und divergente Fourierreihen, J. Reine Angew. Math. 138 (1910). 🔎 find it

6

D. Jackson, Über eine trigonometrische Summe, Rend. Circ. Mat. Palermo 32 (1911). 🔎 find it

7

L. Fejér, Untersuchungen über Potenzreihen mit mehrfach monotoner Koeffizientenfolge, Acta Sci. Math. (Szeged) 8 (1937) 89–115. 🔎 find it

8

L. Mandelstam and I. Tamm, The uncertainty relation between energy and time in nonrelativistic quantum mechanics, J. Phys. (USSR) 9 (1945) 249. 🔎 find it

9

N. Margolus and L. B. Levitin, The maximum speed of dynamical evolution, Physica D 120 (1998) 188; arXiv:quant-ph/9710043.

10

J. Uffink, The rate of evolution of a quantum state, Am. J. Phys. 61 (1993) 935–936. 🔎 find it

11

B. Zieliński and M. Zych, Generalization of the Margolus–Levitin bound, Phys. Rev. A 74 (2006) 034301; arXiv:quant-ph/0603076.

12

M. Andrews, Bounds to unitary evolution, Phys. Rev. A 75 (2007) 062112; arXiv:0705.1823.

13

H. F. Chau and W. Zeng, A unifying quantum speed limit for time-independent Hamiltonian evolution, J. Phys. A 57 (2024) 235304; arXiv:2310.08813.

14

J. Novotný, J. Střeleček, P. Stránský and P. Cejnar, Tracing complex zeros of the quantum survival amplitude: how the energy distribution controls dynamical phase transitions, arXiv:2605.06849 (2026).

15

Al. B. Zamolodchikov, Thermodynamic Bethe ansatz in relativistic models, Nucl. Phys. B 342 (1990) 695. 🔎 find it

16

W. Nahm, Conformal field theory and torsion elements of the Bloch group, in Frontiers in Number Theory, Physics, and Geometry II, Springer, 2007. 🔎 find it

17

A. N. Kirillov, Dilogarithm identities, Prog. Theor. Phys. Suppl. 118 (1995) 61. 🔎 find it

18

G. Eneström, Öfv. af Kungl. Vetenskaps-Akad. Förh. 50 (1893); S. Kakeya, On the limits of the roots of an algebraic equation with positive coefficients, Tôhoku Math. J. 2 (1912) 140. 🔎 find it

19

A. Hurwitz, Über einen Satz des Herrn Kakeya, Tôhoku Math. J. 4 (1913) 89–93. 🔎 find it

20

R. P. Boyer and D. T. Parry, Zero attractors of partition polynomials, arXiv:2111.12226 (2021).

21

O. Roth, S. Ruscheweyh and L. Salinas, A note on generating functions for Hausdorff moment sequences, Proc. Amer. Math. Soc. 136 (2008) 3171–3176. 🔎 find it

22

N. Hörnedal and O. Sönnerborn, Margolus–Levitin quantum speed limit for an arbitrary fidelity, Phys. Rev. Research 5 (2023) 043234; see also the elementary proof of K. Andrzejewski, K. Bolonek-Lasoń and P. Kosiński, Quantum Inf. Process. 23 (2024) 167, arXiv:2307.16854.

23

L. Alha, Families of self-inverse functions and dilogarithm identities, arXiv:2509.07598.

24

M. Eberl, The polylogarithm function, Archive of Formal Proofs, November 2023, https://isa-afp.org/entries/Polylog.html.

25

B. Braams, lean-DLMF, https://github.com/bjbraams/lean-DLMF (2026), file DLMF/Polylog/Dilog.lean.

26

LeanPolyLog, https://github.com/yuanzhu-lab/LeanPolyLog (2026).

27

C. Marín, The pentagon, machine-checked: Abel’s five-term relation for the dilogarithm in Lean 4, Zenodo (2026), doi:10.5281/zenodo.20682716.

28

C. Marín, formalizations (Lean 4 and Isabelle/HOL), https://github.com/karlesmarin/formalizations.

29

The mathlib Community, The Lean mathematical library, CPP 2020. 🔎 find it

Notes (1)
  1. Searches of June 2026: Loogle and \lean{grep} over Mathlib (zero \lean{quantum} declarations; no \lean{dilog}/\lean{polylog}/\lean{Clausen}, and Catalan numbers only); web searches over the Archive of Formal Proofs and the Rocq/Coq ecosystems, which missed Eberl's entry. Searches of October 2026: the full Archive of Formal Proofs (grep of every theory), and the HOL Light, HOL4, Metamath, Mizar, Rocq/Coq (CoRN, Coquelicot, MathComp-Analysis, Interval), PVS and Lean 3 libraries. Since June, two independent Lean 4 developments have formalized the real dilogarithm with reflection, Landen and the golden values (lean-DLMF, first commit September 2026 [cita]) and the dilogarithm with Catalan's constant (LeanPolyLog, September 2026 [cita]); a polylogarithm pull request to Mathlib is under review. Absence of evidence, with that caveat. ↩
fin