The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V19. Complex and harmonic analysis

Mathlib.Analysis.Complex.Periodic

31 declarations and 1 deprecated aliases. Mathlib docs · Source

Periodic holomorphic functions

We show that if f : ℂ → ℂ satisfies f (z + h) = f z, for some nonzero real h, then there is a function F such that f z = F (exp (2 * π * I * z / h)) for all z; and if f is holomorphic at some z, then F is holomorphic at exp (2 * π * I * z / h).

We also show (using Riemann's removable singularity theorem) that if f is holomorphic and bounded for all sufficiently large im z, then F extends to a holomorphic function on a neighbourhood of 0. As a consequence, if f tends to zero as im z → ∞, then in fact it decays exponentially to zero. These results are important in the theory of modular forms.

def Function.Periodic.qParam E1 #

ℝ → ℂ → ℂ

Parameter for q-expansions, qParam h z = exp (2 * π * I * z / h)

def Function.Periodic.invQParam E1 #

ℝ → ℂ → ℂ

One-sided inverse of qParam h.

theorem Function.Periodic.norm_qParam E1 #

∀ (h : ℝ) (z : ℂ), ‖Function.Periodic.qParam h z‖ = Real.exp (-2 * Real.pi * z.im / h)

theorem Function.Periodic.im_invQParam E1 #

∀ (h : ℝ) (q : ℂ), (Function.Periodic.invQParam h q).im = -h / (2 * Real.pi) * Real.log ‖q‖

theorem Function.Periodic.qParam_right_inv E1 #

∀ {h : ℝ}, h ≠ 0 → ∀ {q : ℂ}, q ≠ 0 → Function.Periodic.qParam h (Function.Periodic.invQParam h q) = q

theorem Function.Periodic.qParam_left_inv_mod_period E1 #

∀ {h : ℝ}, h ≠ 0 → ∀ (z : ℂ), ∃ m, Function.Periodic.invQParam h (Function.Periodic.qParam h z) = z + ↑m * ↑h

theorem Function.Periodic.norm_qParam_lt_iff E0 #

∀ {h : ℝ}, 0 < h → ∀ (A : ℝ) (z : ℂ), ‖Function.Periodic.qParam h z‖ < Real.exp (-2 * Real.pi * A / h) ↔ A < z.im

theorem Function.Periodic.norm_qParam_lt_one E1 #

∀ {h : ℝ}, 0 < h → ∀ {z : ℂ}, 0 < z.im → ‖Function.Periodic.qParam h z‖ < 1

theorem Function.Periodic.qParam_ne_zero E1 #

∀ {h : ℝ} (z : ℂ), Function.Periodic.qParam h z ≠ 0

theorem Function.Periodic.continuous_qParam E1 #

∀ {h : ℝ}, Continuous (Function.Periodic.qParam h)

theorem Function.Periodic.differentiable_qParam E1 #

∀ {h : ℝ}, Differentiable ℂ (Function.Periodic.qParam h)

theorem Function.Periodic.contDiff_qParam E1 #

∀ {h : ℝ} (m : WithTop ℕ∞), ContDiff ℂ m (Function.Periodic.qParam h)

theorem Function.Periodic.qParam_tendsto E1 #

∀ {h : ℝ},
  0 < h → Filter.Tendsto (Function.Periodic.qParam h) (Filter.comap Complex.im Filter.atTop) (nhdsWithin 0 {0}ᶜ)

theorem Function.Periodic.invQParam_tendsto E1 #

∀ {h : ℝ},
  0 < h → Filter.Tendsto (Function.Periodic.invQParam h) (nhdsWithin 0 {0}ᶜ) (Filter.comap Complex.im Filter.atTop)

def Function.Periodic.cuspFunction E1 #

ℝ → (ℂ → ℂ) → ℂ → ℂ

The function q ↦ f (invQParam h q), extended by a non-canonical choice of limit at 0.

theorem Function.Periodic.cuspFunction_zero E0 #

∀ (h : ℝ), Function.Periodic.cuspFunction h 0 = 0

theorem Function.Periodic.cuspFunction_eq_of_ne_zero E1 #

∀ (h : ℝ) (f : ℂ → ℂ) {q : ℂ}, q ≠ 0 → Function.Periodic.cuspFunction h f q = f (Function.Periodic.invQParam h q)

theorem Function.Periodic.cuspFunction_zero_eq_limUnder_nhds_ne E1 #

∀ (h : ℝ) (f : ℂ → ℂ),
  Function.Periodic.cuspFunction h f 0 = (nhdsWithin 0 {0}ᶜ).limUnder (Function.Periodic.cuspFunction h f)

theorem Function.Periodic.tendsto_nhds_zero E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  ContinuousAt (Function.Periodic.cuspFunction h f) 0 →
    Filter.Tendsto (fun x ↦ f (Function.Periodic.invQParam h x)) (nhdsWithin 0 {0}ᶜ)
      (nhds (Function.Periodic.cuspFunction h f 0))

theorem Function.Periodic.differentiableAt_cuspFunction E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  h ≠ 0 →
    Function.Periodic f ↑h →
      ∀ {z : ℂ},
        DifferentiableAt ℂ f z → DifferentiableAt ℂ (Function.Periodic.cuspFunction h f) (Function.Periodic.qParam h z)

Key technical lemma: the function cuspFunction h f is differentiable at the images of differentiability points of f (even if invQParam is not differentiable there).

theorem Function.Periodic.eventually_differentiableAt_cuspFunction_nhds_ne_zero E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    Function.Periodic f ↑h →
      (∀ᶠ (z : ℂ) in Filter.comap Complex.im Filter.atTop, DifferentiableAt ℂ f z) →
        ∀ᶠ (q : ℂ) in nhdsWithin 0 {0}ᶜ, DifferentiableAt ℂ (Function.Periodic.cuspFunction h f) q

theorem Function.Periodic.boundedAtFilter_cuspFunction E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    (Filter.comap Complex.im Filter.atTop).BoundedAtFilter f →
      (nhdsWithin 0 {0}ᶜ).BoundedAtFilter (Function.Periodic.cuspFunction h f)

theorem Function.Periodic.cuspFunction_zero_of_zero_at_inf E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h → (Filter.comap Complex.im Filter.atTop).ZeroAtFilter f → Function.Periodic.cuspFunction h f 0 = 0

theorem Function.Periodic.differentiableAt_cuspFunction_zero E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    Function.Periodic f ↑h →
      (∀ᶠ (z : ℂ) in Filter.comap Complex.im Filter.atTop, DifferentiableAt ℂ f z) →
        (Filter.comap Complex.im Filter.atTop).BoundedAtFilter f →
          DifferentiableAt ℂ (Function.Periodic.cuspFunction h f) 0

theorem Function.Periodic.tendsto_at_I_inf E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    Function.Periodic f ↑h →
      (∀ᶠ (z : ℂ) in Filter.comap Complex.im Filter.atTop, DifferentiableAt ℂ f z) →
        (Filter.comap Complex.im Filter.atTop).BoundedAtFilter f →
          Filter.Tendsto f (Filter.comap Complex.im Filter.atTop) (nhds (Function.Periodic.cuspFunction h f 0))

If f is periodic, and holomorphic and bounded near I∞, then it tends to a limit at I∞, and this limit is the value of its cusp function at 0.

theorem Function.Periodic.exp_decay_sub_of_bounded_at_inf E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    Function.Periodic f ↑h →
      (∀ᶠ (z : ℂ) in Filter.comap Complex.im Filter.atTop, DifferentiableAt ℂ f z) →
        (Filter.comap Complex.im Filter.atTop).BoundedAtFilter f →
          (fun z ↦ f z - Function.Periodic.cuspFunction h f 0) =O[Filter.comap Complex.im Filter.atTop] fun z ↦
            Real.exp (-2 * Real.pi * z.im / h)

If f is periodic, and holomorphic and bounded at I∞, then it has the form (constant) + (exponentially decaying term) as z → I∞.

theorem Function.Periodic.exp_decay_of_zero_at_inf E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  0 < h →
    Function.Periodic f ↑h →
      (∀ᶠ (z : ℂ) in Filter.comap Complex.im Filter.atTop, DifferentiableAt ℂ f z) →
        (Filter.comap Complex.im Filter.atTop).ZeroAtFilter f →
          f =O[Filter.comap Complex.im Filter.atTop] fun z ↦ Real.exp (-2 * Real.pi * z.im / h)

If f is periodic, holomorphic near I∞, and tends to zero at I∞, then in fact it tends to zero exponentially fast.

theorem Function.Periodic.cuspFunction_smul E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  ContinuousAt (Function.Periodic.cuspFunction h f) 0 →
    ∀ (a : ℂ), Function.Periodic.cuspFunction h (a • f) = a • Function.Periodic.cuspFunction h f

theorem Function.Periodic.cuspFunction_neg E1 #

∀ {h : ℝ} {f : ℂ → ℂ},
  ContinuousAt (Function.Periodic.cuspFunction h f) 0 →
    Function.Periodic.cuspFunction h (-f) = -Function.Periodic.cuspFunction h f

theorem Function.Periodic.cuspFunction_add E1 #

∀ {h : ℝ} {f g : ℂ → ℂ},
  ContinuousAt (Function.Periodic.cuspFunction h f) 0 →
    ContinuousAt (Function.Periodic.cuspFunction h g) 0 →
      Function.Periodic.cuspFunction h (f + g) = Function.Periodic.cuspFunction h f + Function.Periodic.cuspFunction h g

theorem Function.Periodic.cuspFunction_sub E1 #

∀ {h : ℝ} {f g : ℂ → ℂ},
  ContinuousAt (Function.Periodic.cuspFunction h f) 0 →
    ContinuousAt (Function.Periodic.cuspFunction h g) 0 →
      Function.Periodic.cuspFunction h (f - g) = Function.Periodic.cuspFunction h f - Function.Periodic.cuspFunction h g

Deprecated aliases

NameNew nameSince
Function.Periodic.cuspFunction_eq_of_nonzeroFunction.Periodic.cuspFunction_eq_of_ne_zero2026-10-13