Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The one-loop string integrand (Im⁡τ)−12∣η(τ)∣−48(\operatorname{Im}\tau)^{-12}|\eta(\tau)|^{-48}(Imτ)−12∣η(τ)∣−48 is modular invariant

Proved
TongString.stringPartitionIntegrand_modular_invariant

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

modular-formspartition-functionstring-theory

Let η\etaη be the Dedekind eta function and let

F(τ)=(1Im⁡τ 1η(τ) η(τ)‾)24=1(Im⁡τ)12 ∣η(τ)∣48F(\tau)=\left(\frac{1}{\sqrt{\operatorname{Im}\tau}}\,\frac{1}{\eta(\tau)\,\overline{\eta(\tau)}}\right)^{24}=\frac{1}{(\operatorname{Im}\tau)^{12}\,|\eta(\tau)|^{48}}F(τ)=(Imτ​1​η(τ)η(τ)​1​)24=(Imτ)12∣η(τ)∣481​

be the integrand of the bosonic string one-loop partition function Zstring=∫d2τ(Im⁡τ)2F(τ)Z_{\text{string}}=\int\frac{d^2\tau}{(\operatorname{Im}\tau)^2}F(\tau)Zstring​=∫(Imτ)2d2τ​F(τ). Then for all a,b,c,d∈Za,b,c,d\in\mathbb Za,b,c,d∈Z with ad−bc=1ad-bc=1ad−bc=1 and every τ\tauτ with Im⁡τ>0\operatorname{Im}\tau>0Imτ>0,

F ⁣(aτ+bcτ+d)=F(τ).F\!\left(\frac{a\tau+b}{c\tau+d}\right)=F(\tau).F(cτ+daτ+b​)=F(τ).

Together with the invariance of the measure d2τ/(Im⁡τ)2d^2\tau/(\operatorname{Im}\tau)^2d2τ/(Imτ)2, this is Tong's statement that "both the measure and the integrand are individually modular invariant", which makes the integral over the fundamental domain well defined.

Formalization Note Constant prefactors that Tong neglects (powers of α′\alpha'α′) are omitted; they do not affect invariance.

Preamble
import Mathlib
import Definitions.Def_TongString_modular_action
import Definitions.Def_TongString_partition_functions
Formal statement
namespace TongString

theorem stringPartitionIntegrand_modular_invariant (a b c d : ℤ) (h : a * d - b * c = 1)
    (τ : ℂ) (hτ : 0 < τ.im) :
    stringPartitionIntegrand (modularAction a b c d τ) = stringPartitionIntegrand τ := 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 6.4.2, p. 151 (Z_string written in terms of η; 'Both the measure and the integrand, are individually modular invariant.')
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.

For all integers a,b,c,da,b,c,da,b,c,d with ad−bc=1ad-bc=1ad−bc=1 and every complex number τ\tauτ with Im⁡τ>0\operatorname{Im}\tau>0Imτ>0, writing τ′=aτ+bcτ+d\tau'=\dfrac{a\tau+b}{c\tau+d}τ′=cτ+daτ+b​, the statement asserts the equality of real numbers F(τ′)=F(τ)F(\tau')=F(\tau)F(τ′)=F(τ), where

F(σ)=(1Im⁡σ)12(1∣η(σ)∣)48,F(\sigma)=\Big(\frac{1}{\operatorname{Im}\sigma}\Big)^{12}\Big(\frac{1}{|\eta(\sigma)|}\Big)^{48},F(σ)=(Imσ1​)12(∣η(σ)∣1​)48,

with real division (x/0=0x/0=0x/0=0), the complex modulus, and η(σ)=e2πiσ/24∏m≥1(1−e2πimσ)\eta(\sigma)=e^{2\pi i\sigma/24}\prod_{m\ge1}\bigl(1-e^{2\pi i m\sigma}\bigr)η(σ)=e2πiσ/24∏m≥1​(1−e2πimσ) an unconditional infinite product (defined as 111 if not unconditionally convergent). The measure d2τ/(Im⁡τ)2d^2\tau/(\operatorname{Im}\tau)^2d2τ/(Imτ)2 does not appear in this statement.

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