Derivatives of Modular Forms #
The normalized derivative D = (2πi)⁻¹ d/dz and the Serre derivative ∂ₖ = D - k/12 E₂ are
Mathlib's Derivative.normalizedDerivOfComplex (notation D) and Derivative.serreDerivative,
including their linearity/Leibniz rules, slash equivariance, and boundedness at i∞
(Derivative.serreDerivativeMF packages ∂ₖ of a modular form as a modular form).
This file collects the project-specific complements: termwise differentiation of q-series
(D_qexp_tsum_pnat, D_qexp_const_add_smul), the interaction of D and ∂ₖ with the restriction
to the imaginary axis (realness, positivity via monotonicity arguments), and the log-derivative
limit logderiv_tendsto_of_div_exp_tendsto.
Constant Pi functions (numeric literals) are MDifferentiable.
Inverse of a constant Pi function (e.g. 6⁻¹ : ℍ → ℂ) is MDifferentiable.
D and ∂ₖ are Mathlib's; register their MDifferentiable lemmas, and E₂'s, with fun_prop.
Normalize a numeric literal (n : ℍ → ℂ) to a constant function so
Derivative.normalizedDerivOfComplex_const fires.
Normalize (fun _ ↦ c)⁻¹ to fun _ ↦ c⁻¹ so Derivative.normalizedDerivOfComplex_const
fires.
The normalized log-derivative of w ↦ exp (c * w) is the constant c / (2πi).
Termwise differentiation of q-series (Lemma 6.45) #
Lemma 6.45 (Blueprint): The normalized derivative $D$ acts as $q \frac{d}{dq}$ on $q$-series. For a single q-power term: D(a·qⁿ) = n·a·qⁿ where q = exp(2πiz) and n ∈ ℤ.
The key calculation:
- d/dz(exp(2πinz)) = 2πin·exp(2πinz)
- D(exp(2πinz)) = (2πi)⁻¹·(2πin·exp(2πinz)) = n·exp(2πinz)
Lemma 6.45 (Blueprint): $D$ commutes with tsum for $q$-series. If F(z) = Σ a(n)·qⁿ where q = exp(2πiz), then D F(z) = Σ n·a(n)·qⁿ.
More precisely, this lemma shows that for a ℕ-indexed q-series with summable coefficients satisfying appropriate derivative bounds, D acts termwise by multiplying coefficients by n.
Simplified version of D_qexp_tsum for ℕ+-indexed series (starting from n=1).
This is the form most commonly used for Eisenstein series q-expansions.
Thin layer implementation: Extends a : ℕ+ → ℂ to ℕ → ℂ with a' 0 = 0,
uses tsum_pNat and summable_pnat_iff_summable_nat to convert between sums,
then applies D_qexp_tsum.
Termwise differentiation of a c₀ + c • ∑' n : ℕ+, a n * qⁿ expansion: if a holomorphic g
agrees pointwise with such a series (c ≠ 0), then D g z = c * ∑' n, n * a n * qⁿ. The
summability and derivative-bound hypotheses are those of D_qexp_tsum_pnat.
Chain rule for restriction to imaginary axis: d/dt F(it) = -2π * (D F)(it).
This connects the real derivative along the imaginary axis to the normalized derivative D. The key computation is:
- The imaginary axis is parametrized by g(t) = I * t
- By chain rule: d/dt F(it) = (dF/dz)(it) · (d/dt)(it) = F'(it) · I
- Since D = (2πi)⁻¹ · d/dz, we have F' = 2πi · D F
- So d/dt F(it) = 2πi · D F(it) · I = -2π · D F(it)
If F is real on the imaginary axis and MDifferentiable, then D F is also real on the imaginary axis.
If F is real on the imaginary axis and MDifferentiable, then the Serre derivative (of real weight) is also real on the imaginary axis.
The real part of F.resToImagAxis has derivative -2π * ((D F).resToImagAxis t).re at t.
If g is continuous on (0, ∞), positive for t ≥ t₀, and has strictly negative
derivative at any zero in (0, t₀), then g is positive on all of (0, ∞).
Let $F : \mathbb{H} \to \mathbb{C}$ be a holomorphic function where $F(it)$ is real for all $t > 0$. Assume that Serre derivative $\partial_k F$ is positive on the imaginary axis. If $F(it)$ is positive for sufficiently large $t$, then $F(it)$ is positive for all $t > 0$.
Log-derivative limits at i∞ #
If F z / exp (a * z) → C ≠ 0 at i∞, then D F / F → a / (2πi).