Documentation

LeanPool.Chudnovsky.Ramanujan

Ramanujan's derivative identities #

This file proves Ramanujan's classical derivative identities for the level-one Eisenstein series, using Mathlib's normalized derivative D = (2πi)⁻¹ d/dτ (Derivative.normalizedDerivOfComplex) and Serre derivative Derivative.serreDerivative:

The proofs follow the classical finite-dimensionality argument (as in the sphere-packing-lean project referenced by Mathlib's ModularForms/Derivative.lean):

  1. For a weight-k level-one modular form f, the Serre derivative ∂ₖ f = D f - (k/12)·E₂·f is a weight-(k+2) level-one modular form. Slash-invariance is checked on the generators S, T of SL(2, ℤ) by differentiating the functional equations f(-1/τ) = τᵏ f(τ) and E₂(-1/τ) = τ²E₂(τ) + 6τ/(πi) (the latter is Mathlib's E2_slash_action); holomorphy is serreDerivative_mdifferentiable; and boundedness at i∞ follows since D f vanishes at i∞ (D f = q·dF/dq where F is the cusp function of f).
  2. The spaces M₄, M₆, M₈ of level-one modular forms are one-dimensional, spanned by E₄, E₆, E₄² (Mathlib's LevelOne.DimensionFormula), so each Serre derivative is a scalar multiple of the corresponding basis vector; the scalar is identified by comparing limits at i∞ (E₂, E₄, E₆ → 1 and D f → 0).

Byproducts stated for downstream use (Kummer/PicardFuchs and MainTheorem):

Elementary helpers #

Two functions agreeing on the (open) upper half-plane have the same derivative there.

A 1-translation-invariant function on extends to a 1-periodic function on .

Transformation behaviour of E₂ and of level-one modular forms under T and S #

E₂ is invariant under τ ↦ τ + 1.

The S-transformation law of E₂, in a form using only the combination π * I: E₂(-1/τ) = τ²E₂(τ) + 6τ/(πi).

Any level-one modular form is invariant under τ ↦ τ + 1.

The S-transformation law of a level-one modular form: f(-1/τ) = τᵏ·f(τ).

Asymptotics of E₂, E₄, E₆ at i∞ #

A 1-periodic, holomorphic, bounded function on tends to its value at i∞.

The normalized derivative D via the cusp function #

For a 1-periodic, holomorphic, bounded function f on with cusp function F (so f(τ) = F(q)), we have D f τ = q·F′(q). In particular D f vanishes at i∞.

D f τ = q · F′(q) where F = cuspFunction 1 f. This is the bridge between τ-derivatives and q-derivatives, used throughout the q-expansion arguments.

The normalized derivative of a 1-periodic bounded holomorphic function vanishes at i∞.

Behaviour of D under S #

theorem Chudnovsky.deriv_comp_ofComplex_S {f : UpperHalfPlane} (hhol : MDiff f) {Φ : } (heq : Set.EqOn ((f UpperHalfPlane.ofComplex) fun (w : ) => -w⁻¹) Φ UpperHalfPlane.upperHalfPlaneSet) (τ : UpperHalfPlane) :
deriv (f UpperHalfPlane.ofComplex) (-(↑τ)⁻¹) = τ ^ 2 * deriv Φ τ

Differentiating a functional equation along S: if f extends Φ along w ↦ -w⁻¹ on the upper half-plane, then (f ∘ ofComplex)′(-1/τ) = τ² Φ′(τ).

theorem Chudnovsky.normalizedDeriv_S_smul_of_weight {f : UpperHalfPlane} (hhol : MDiff f) {m : } (hfS : ∀ (σ : UpperHalfPlane), f (ModularGroup.S σ) = σ ^ (m + 1) * f σ) (τ : UpperHalfPlane) :

How D f transforms under S for a function of weight m + 1: if f(-1/τ) = τ^(m+1)·f(τ) then (D f)(-1/τ) = τ^(m+3)·D f(τ) + (m+1)·τ^(m+2)·f(τ)/(2πi).

How D E₂ transforms under S: (D E₂)(-1/τ) = τ⁴·D E₂(τ) + τ³·E₂(τ)/(πi) + 3τ²/(πi)².

The Serre derivatives of E₂, E₄, E₆ as bundled modular forms #

The one-dimensionality arguments #

The Serre-derivative form of Ramanujan's identity for E₄: D E₄ - (1/3)·E₂·E₄ = -(1/3)·E₆.

The Serre-derivative form of Ramanujan's identity for E₆: D E₆ - (1/2)·E₂·E₆ = -(1/2)·E₄².

The Serre-derivative form of Ramanujan's identity for E₂: D E₂ - (1/12)·E₂² = -(1/12)·E₄.

Ramanujan's identities #

Ramanujan's identity for E₆: D E₆ = (E₂·E₆ - E₄²)/2.

Raw-derivative corollaries #

The identities in terms of deriv (f ∘ ofComplex), i.e. d/dτ = 2πi·D, for direct use in chain-rule computations.

The discriminant: D Δ = E₂·Δ #