Modular transformations , the generators , and the measure
DefinitionTongString_modular_action- For integers the modular transformation is the map of eq. (6.19); it is a modular transformation in Tong's sense when .
- The generators are , acting as , and , acting as , viewed as elements of .
- The modular-invariant measure is on the upper half-plane , i.e. the measure with density against Lebesgue measure on .
These are the objects in terms of which Tong describes the moduli space of the torus and the one-loop integration measure.
Formalization Note The measure is a measure on all of that gives zero mass to . Complex division by returns in Lean; this only happens at , which is not in when .
import Mathlib
namespace TongString
open MeasureTheory
/-- The modular transformation `τ ↦ (aτ + b)/(cτ + d)` of eq. (6.19). -/
noncomputable def modularAction (a b c d : ℤ) (τ : ℂ) : ℂ :=
(a * τ + b) / (c * τ + d)
/-- The matrix of `S : τ ↦ -1/τ`. -/
def modularS : Matrix.SpecialLinearGroup (Fin 2) ℤ := ⟨!![0, -1; 1, 0], by decide⟩
/-- The matrix of `T : τ ↦ τ + 1`. -/
def modularT : Matrix.SpecialLinearGroup (Fin 2) ℤ := ⟨!![1, 1; 0, 1], by decide⟩
/-- The measure `d²τ / (Im τ)²` on the upper half-plane, as a measure on `ℂ`:
Lebesgue measure restricted to `{Im τ > 0}` with density `(Im τ)⁻²`. -/
noncomputable def modularMeasure : Measure ℂ :=
(volume.restrict {τ : ℂ | 0 < τ.im}).withDensity (fun τ => ENNReal.ofReal (1 / τ.im ^ 2))
end TongString
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 declaration makes four definitions.
- For integers and a complex number , , the integers being viewed as complex numbers. No condition is imposed in the definition. Complex division by zero gives , so when , and when the value is for all .
- is the integer matrix , packaged as an element of the group (its determinant is checked).
- is the integer matrix , likewise an element of .
- is the measure on given by , where is Lebesgue measure on (the density is taken in via the non-negative part of the real number ).