Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Im⁡τ→Im⁡τ/∣cτ+d∣2\operatorname{Im}\tau\to\operatorname{Im}\tau/|c\tau+d|^2Imτ→Imτ/∣cτ+d∣2 under a modular transformation

Proved
TongString.im_modularAction

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

modular-groupstring-theory

Let a,b,c,d∈Za,b,c,d\in\mathbb Za,b,c,d∈Z with ad−bc=1ad-bc=1ad−bc=1 and let τ∈C\tau\in\mathbb Cτ∈C with Im⁡τ>0\operatorname{Im}\tau>0Imτ>0. Then

Im⁡aτ+bcτ+d=Im⁡τ∣cτ+d∣2.\operatorname{Im}\frac{a\tau+b}{c\tau+d}=\frac{\operatorname{Im}\tau}{|c\tau+d|^{2}}.Imcτ+daτ+b​=∣cτ+d∣2Imτ​.

This is one half of Tong's verification that the measure d2τ/(Im⁡τ)2d^2\tau/(\operatorname{Im}\tau)^2d2τ/(Imτ)2 is modular invariant; in particular modular transformations preserve the upper half-plane.

Preamble
import Mathlib
import Definitions.Def_TongString_modular_action
Formal statement
namespace TongString

theorem im_modularAction (a b c d : ℤ) (h : a * d - b * c = 1) (τ : ℂ) (hτ : 0 < τ.im) :
    (modularAction a b c d τ).im = τ.im / Complex.normSq (c * τ + d) := 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.1, p. 147 (transformation of Im τ under (6.19))
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, the statement asserts

Im⁡ ⁣(aτ+bcτ+d)=Im⁡τ∣cτ+d∣2,\operatorname{Im}\!\left(\frac{a\tau+b}{c\tau+d}\right)=\frac{\operatorname{Im}\tau}{|c\tau+d|^{2}},Im(cτ+daτ+b​)=∣cτ+d∣2Imτ​,

where ∣w∣2=(Re⁡w)2+(Im⁡w)2|w|^2=(\operatorname{Re}w)^2+(\operatorname{Im}w)^2∣w∣2=(Rew)2+(Imw)2 and the right-hand side is a real division (which would give 000 if ∣cτ+d∣=0|c\tau+d|=0∣cτ+d∣=0, impossible under the 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