Project documentation
Lemma 6.45 (Blueprint): commutes with tsum for -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.
Exact Lean statement
theorem D_qexp_tsum (a : ℕ → ℂ) (z : ℍ)
(_hsum : Summable (fun n => a n * cexp (2 * π * I * n * z)))
(hsum_deriv : ∀ K : Set ℂ, K ⊆ {w : ℂ | 0 < w.im} → IsCompact K →
∃ u : ℕ → ℝ, Summable u ∧ ∀ n (k : K), ‖a n * (2 * π * I * n) *
cexp (2 * π * I * n * k.1)‖ ≤ u n) :
D (fun w => ∑' n, a n * cexp (2 * π * I * n * w)) z =
∑' n : ℕ, (n : ℂ) * a n * cexp (2 * π * I * n * z)Formal artifact
Lean source
theorem D_qexp_tsum (a : ℕ → ℂ) (z : ℍ) (_hsum : Summable (fun n => a n * cexp (2 * π * I * n * z))) (hsum_deriv : ∀ K : Set ℂ, K ⊆ {w : ℂ | 0 < w.im} → IsCompact K → ∃ u : ℕ → ℝ, Summable u ∧ ∀ n (k : K), ‖a n * (2 * π * I * n) * cexp (2 * π * I * n * k.1)‖ ≤ u n) : D (fun w => ∑' n, a n * cexp (2 * π * I * n * w)) z = ∑' n : ℕ, (n : ℂ) * a n * cexp (2 * π * I * n * z) := by simp only [D] -- Each term is differentiable have hf_diff : ∀ n (r : {w : ℂ | 0 < w.im}), DifferentiableAt ℂ (fun w => a n * cexp (2 * π * I * n * w)) r := fun n r => ((differentiableAt_id.const_mul (2 * π * I * n)).cexp).const_mul (a n) -- Summability at each point (bound holds for n ≥ 1, exception set ⊆ {0}) have hf_sum : ∀ y : ℂ, y ∈ {w : ℂ | 0 < w.im} → Summable (fun n => a n * cexp (2 * π * I * n * y)) := by intro y hy obtain ⟨u, hu_sum, hu_bound⟩ := hsum_deriv {y} (Set.singleton_subset_iff.mpr hy) isCompact_singleton apply Summable.of_norm_bounded_eventually (g := fun n => u n / (2 * π)) (hu_sum.div_const _) rw [Filter.eventually_cofinite] refine Set.Finite.subset (Set.finite_singleton 0) fun n hn => ?_ simp only [Set.mem_setOf_eq, not_le] at hn by_contra h_ne have h_deriv_bound := hu_bound n ⟨y, Set.mem_singleton y⟩ have h_n_ge_1 : (1 : ℝ) ≤ n := Nat.one_le_cast.mpr (Nat.one_le_iff_ne_zero.mpr h_ne) have h_norm_2pin : ‖(2 : ℂ) * π * I * n‖ = 2 * π * n := by rw [norm_mul, norm_mul, norm_mul, Complex.norm_ofNat, Complex.norm_real, Complex.norm_I, mul_one, Complex.norm_natCast, Real.norm_of_nonneg pi_pos.le] have h_bound : ‖a n * cexp (2 * π * I * n * y)‖ ≤ u n / (2 * π) := by have h_pos : (0 : ℝ) < 2 * π * n := by positivity have h_key : ‖a n * cexp (2 * π * I * n * y)‖ * (2 * π * n) = ‖a n * (2 * π * I * n) * cexp (2 * π * I * n * y)‖ := by simp only [norm_mul, h_norm_2pin]; ring calc ‖a n * cexp (2 * π * I * n * y)‖ = ‖a n * cexp (2 * π * I * n * y)‖ * (2 * π * n) / (2 * π * n) := by field_simp _ = ‖a n * (2 * π * I * n) * cexp (2 * π * I * n * y)‖ / (2 * π * n) := by rw [h_key] _ ≤ u n / (2 * π * n) := div_le_div_of_nonneg_right h_deriv_bound h_pos.le _ ≤ u n / (2 * π) := by apply div_le_div_of_nonneg_left (le_trans (norm_nonneg _) h_deriv_bound) (by positivity); nlinarith exact hn.not_ge h_bound -- Derivative bound for uniform convergence have hu : ∀ K ⊆ {w : ℂ | 0 < w.im}, IsCompact K → ∃ u : ℕ → ℝ, Summable u ∧ ∀ n (k : K), ‖derivWithin (fun w => a n * cexp (2 * π * I * n * w)) {w : ℂ | 0 < w.im} k‖ ≤ u n := by intro K hK1 hK2 obtain ⟨u, hu_sum, hu_bound⟩ := hsum_deriv K hK1 hK2 exact ⟨u, hu_sum, fun n k => by rw [derivWithin_qexp _ _ _ (hK1 k.2)]; exact hu_bound n k⟩ -- Apply termwise differentiation have h_tsum_deriv := hasDerivAt_tsum_fun (fun n w => a n * cexp (2 * π * I * n * w)) isOpen_upperHalfPlaneSet (z : ℂ) z.2 hf_sum hu hf_diff -- The composed function agrees with ℂ → ℂ in a neighborhood have h_agree : ((fun w : ℍ => ∑' n, a n * cexp (2 * π * I * n * w)) ∘ ofComplex) =ᶠ[nhds (z : ℂ)] (fun w => ∑' n, a n * cexp (2 * π * I * n * w)) := by filter_upwards [isOpen_upperHalfPlaneSet.mem_nhds z.2] with w hw simp only [Function.comp_apply, ofComplex_apply_of_im_pos hw, UpperHalfPlane.coe_mk] rw [h_agree.deriv_eq, h_tsum_deriv.deriv] -- Simplify derivWithin using helper have h_deriv_simp : ∀ n, derivWithin (fun w => a n * cexp (2 * π * I * n * w)) {w : ℂ | 0 < w.im} z = a n * (2 * π * I * n) * cexp (2 * π * I * n * z) := fun n => derivWithin_qexp _ _ _ z.2 simp_rw [h_deriv_simp, ← tsum_mul_left] congr 1; funext n; field_simp [two_pi_I_ne_zero]- Project
- Sphere Packing in Dimension 8
- License
- Apache-2.0
- Commit
- acfc6204e65a
- Source
- SpherePacking/ModularForms/Derivative.lean:279-341
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Anti Der Pos
antiDerPos
Plain-language statement
If is a modular form where is positive for sufficiently large (i.e. constant term is positive) and the derivative is positive, then is also positive.
Source project: Sphere Packing in Dimension 8
Person-level attribution pending.
Anti Serre Der Pos
antiSerreDerPos
Plain-language statement
Let be a holomorphic function where is real for all . Assume that Serre derivative is positive on the imaginary axis. If is positive for sufficiently large , then is positive for all .
Source project: Sphere Packing in Dimension 8
Person-level attribution pending.
Closed Ball center subset upper Half Plane
closedBall_center_subset_upperHalfPlane
Plain-language statement
Closed ball centered at z with radius z.im/2 is contained in the upper half plane.
Source project: Sphere Packing in Dimension 8
Person-level attribution pending.