Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

∑n≥1ne−ϵn=1ϵ2−112+O(ϵ)\sum_{n\ge1}ne^{-\epsilon n}=\frac1{\epsilon^2}-\frac1{12}+O(\epsilon)∑n≥1​ne−ϵn=ϵ21​−121​+O(ϵ)

Proved
TongString.casimir_cutoff_sum

by LG · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

casimir-energyregularizationstring-theory

As ϵ→0+\epsilon\to0^+ϵ→0+,

∑n=1∞n e−ϵn=1ϵ2−112+O(ϵ).\sum_{n=1}^{\infty} n\,e^{-\epsilon n}=\frac{1}{\epsilon^{2}}-\frac{1}{12}+O(\epsilon).n=1∑∞​ne−ϵn=ϵ21​−121​+O(ϵ).

That is, there are constants K,δ>0K,\delta>0K,δ>0 such that ∣∑n≥1ne−ϵn−ϵ−2+112∣≤Kϵ\bigl|\sum_{n\ge1}ne^{-\epsilon n}-\epsilon^{-2}+\tfrac1{12}\bigr|\le K\epsilon​∑n≥1​ne−ϵn−ϵ−2+121​​≤Kϵ for all 0<ϵ<δ0<\epsilon<\delta0<ϵ<δ. After discarding the divergent 1/ϵ21/\epsilon^21/ϵ2 term, this is Tong's cut-off derivation of "∑n≥1n=−112\sum_{n\ge1}n=-\frac1{12}∑n≥1​n=−121​".

Formalization Note The sum is over n∈Nn\in\mathbb Nn∈N including n=0n=0n=0, whose term is 000; the big-O is along the filter of right neighbourhoods of 000.

Preamble
import Mathlib
Formal statement
namespace TongString

open Filter Topology Asymptotics

theorem casimir_cutoff_sum :
    (fun ε : ℝ => (∑' n : ℕ, (n : ℝ) * Real.exp (-ε * n)) - (1 / ε ^ 2 - 1 / 12))
      =O[𝓝[>] 0] (fun ε : ℝ => ε) := by sorry

end TongString
Source
D. Tong, *String Theory*, University of Cambridge Part III Mathematical Tripos lecture notes (January 2009), http://www.damtp.cam.ac.uk/user/tong/string.html, Section 2.2.2 'The Casimir Energy', p. 39 (display ending '= 1/ε² − 1/12 + O(ε)')
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic), non-blind: same agent that drafted the statement

Non-blind read-back. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It is not independent testimony and must not be treated as a blind audit; a reviewer should compare the Lean code against the source directly.

The statement asserts that the real function

g(ϵ)=∑n=0∞n e−ϵn  −  (1ϵ2−112)g(\epsilon)=\sum_{n=0}^{\infty} n\,e^{-\epsilon n}\;-\;\Big(\frac{1}{\epsilon^{2}}-\frac{1}{12}\Big)g(ϵ)=n=0∑∞​ne−ϵn−(ϵ21​−121​)

is O(ϵ)O(\epsilon)O(ϵ) as ϵ→0\epsilon\to0ϵ→0 from the right: there exist K≥0K\ge0K≥0 and a right neighbourhood (0,δ)(0,\delta)(0,δ) of 000 on which ∣g(ϵ)∣≤K∣ϵ∣|g(\epsilon)|\le K|\epsilon|∣g(ϵ)∣≤K∣ϵ∣. The sum is an unconditional sum over all natural numbers n≥0n\ge0n≥0 (the n=0n=0n=0 term is 000); in Lean a non-summable series is assigned the value 000, which happens for ϵ≤0\epsilon\le0ϵ≤0 but is irrelevant since only ϵ>0\epsilon>0ϵ>0 matters. There are no hypotheses.

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

    Confirmed by the moderator at approval.

  • Endorsed by LG · Oct 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me