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.SpecialFunctions.Complex.LogBounds

36 declarations. Mathlib docs · Source

Estimates for the complex logarithm

We show that log (1+z) differs from its Taylor polynomial up to degree n by at most ‖z‖^(n+1)/((n+1)*(1-‖z‖)) when ‖z‖ < 1; see Complex.norm_log_sub_logTaylor_le.

To this end, we derive the representation of log (1+z) as the integral of 1/(1+tz) over the unit interval (Complex.log_eq_integral) and introduce notation Complex.logTaylor n for the Taylor polynomial up to degree n-1.

TODO

Refactor using general Taylor series theory, once this exists in Mathlib.

Integral representation of the complex log

The Taylor polynomials of the logarithm

Bounds for the difference between log and its Taylor polynomials

Limits of functions of the form (1 + t/x + o(1/x)) ^ x as x → ∞.

theorem Complex.continuousOn_one_add_mul_inv E1 #

∀ {z : ℂ}, 1 + z ∈ Complex.slitPlane → ContinuousOn (fun t ↦ (1 + t • z)⁻¹) (Set.Icc 0 1)

theorem Complex.log_eq_integral E1 #

∀ {z : ℂ}, 1 + z ∈ Complex.slitPlane → Complex.log (1 + z) = z * ∫ (t : ℝ) in 0..1, (1 + t • z)⁻¹

Represent log (1 + z) as an integral over the unit interval

theorem Complex.log_inv_eq_integral E1 #

∀ {z : ℂ}, 1 - z ∈ Complex.slitPlane → Complex.log (1 - z)⁻¹ = z * ∫ (t : ℝ) in 0..1, (1 - t • z)⁻¹

Represent log (1 - z)⁻¹ as an integral over the unit interval

def Complex.logTaylor E1 #

ℕ → ℂ → ℂ

The nth Taylor polynomial of log at 1, as a function ℂ → ℂ

theorem Complex.logTaylor_zero E1 #

Complex.logTaylor 0 = fun x ↦ 0

theorem Complex.logTaylor_succ E1 #

∀ (n : ℕ), Complex.logTaylor (n + 1) = Complex.logTaylor n + fun z ↦ (-1) ^ (n + 1) * z ^ n / ↑n

theorem Complex.logTaylor_at_zero E1 #

∀ (n : ℕ), Complex.logTaylor n 0 = 0

theorem Complex.hasDerivAt_logTaylor E1 #

∀ (n : ℕ) (z : ℂ), HasDerivAt (Complex.logTaylor (n + 1)) (∑ j ∈ Finset.range n, (-1) ^ j * z ^ j) z

theorem Complex.hasDerivAt_log_sub_logTaylor E1 #

∀ (n : ℕ) {z : ℂ},
  1 + z ∈ Complex.slitPlane →
    HasDerivAt (fun z ↦ Complex.log (1 + z) - Complex.logTaylor (n + 1) z) ((-z) ^ n * (1 + z)⁻¹) z

theorem Complex.norm_one_add_mul_inv_le E1 #

∀ {t : ℝ}, t ∈ Set.Icc 0 1 → ∀ {z : ℂ}, ‖z‖ < 1 → ‖(1 + ↑t * z)⁻¹‖ ≤ (1 - ‖z‖)⁻¹

Give a bound on ‖(1 + t * z)⁻¹‖ for 0 ≤ t ≤ 1 and ‖z‖ < 1.

theorem Complex.integrable_pow_mul_norm_one_add_mul_inv E1 #

∀ (n : ℕ) {z : ℂ}, ‖z‖ < 1 → IntervalIntegrable (fun t ↦ t ^ n * ‖(1 + ↑t * z)⁻¹‖) MeasureTheory.volume 0 1

theorem Complex.norm_log_sub_logTaylor_le E1 #

∀ (n : ℕ) {z : ℂ},
  ‖z‖ < 1 → ‖Complex.log (1 + z) - Complex.logTaylor (n + 1) z‖ ≤ ‖z‖ ^ (n + 1) * (1 - ‖z‖)⁻¹ / (↑n + 1)

The difference of log (1+z) and its (n+1)st Taylor polynomial can be bounded in terms of ‖z‖.

theorem Complex.norm_log_one_add_sub_self_le E1 #

∀ {z : ℂ}, ‖z‖ < 1 → ‖Complex.log (1 + z) - z‖ ≤ ‖z‖ ^ 2 * (1 - ‖z‖)⁻¹ / 2

The difference log (1+z) - z is bounded by ‖z‖^2/(2*(1-‖z‖)) when ‖z‖ < 1.

theorem Complex.log_sub_logTaylor_isBigO E1 #

∀ (n : ℕ), (fun z ↦ Complex.log (1 + z) - Complex.logTaylor (n + 1) z) =O[nhds 0] fun z ↦ z ^ (n + 1)

theorem Complex.log_sub_self_isBigO E1 #

(fun z ↦ Complex.log (1 + z) - z) =O[nhds 0] fun z ↦ z ^ 2

theorem Complex.norm_log_one_add_le E1 #

∀ {z : ℂ}, ‖z‖ < 1 → ‖Complex.log (1 + z)‖ ≤ ‖z‖ ^ 2 * (1 - ‖z‖)⁻¹ / 2 + ‖z‖

theorem Complex.norm_log_one_add_half_le_self E1 #

∀ {z : ℂ}, ‖z‖ ≤ 1 / 2 → ‖Complex.log (1 + z)‖ ≤ 3 / 2 * ‖z‖

For ‖z‖ ≤ 1/2, the complex logarithm is bounded by (3/2) * ‖z‖.

theorem Complex.norm_log_one_sub_inv_add_logTaylor_neg_le E1 #

∀ (n : ℕ) {z : ℂ},
  ‖z‖ < 1 → ‖Complex.log (1 - z)⁻¹ + Complex.logTaylor (n + 1) (-z)‖ ≤ ‖z‖ ^ (n + 1) * (1 - ‖z‖)⁻¹ / (↑n + 1)

The difference of log (1-z)⁻¹ and its (n+1)st Taylor polynomial can be bounded in terms of ‖z‖.

theorem Complex.norm_log_one_sub_inv_sub_self_le E1 #

∀ {z : ℂ}, ‖z‖ < 1 → ‖Complex.log (1 - z)⁻¹ - z‖ ≤ ‖z‖ ^ 2 * (1 - ‖z‖)⁻¹ / 2

The difference log (1-z)⁻¹ - z is bounded by ‖z‖^2/(2*(1-‖z‖)) when ‖z‖ < 1.

theorem Complex.hasSum_taylorSeries_log E3 #

∀ {z : ℂ}, ‖z‖ < 1 → HasSum (fun n ↦ (-1) ^ (n + 1) * z ^ n / ↑n) (Complex.log (1 + z))

The Taylor series of the complex logarithm at 1 converges to the logarithm in the open unit disk.

theorem Complex.hasSum_taylorSeries_neg_log E1 #

∀ {z : ℂ}, ‖z‖ < 1 → HasSum (fun n ↦ z ^ n / ↑n) (-Complex.log (1 - z))

The series ∑ z^n/n converges to -log (1-z) on the open unit disk.

theorem Complex.hasSum_taylorSeries_neg_log' E1 #

∀ {z : ℂ}, ‖z‖ < 1 → HasSum (fun n ↦ z ^ (n + 1) / (↑n + 1)) (-Complex.log (1 - z))

theorem Complex.tendsto_mul_log_one_add_of_tendsto E1 #

∀ {g : ℝ → ℂ} {t : ℂ},
  Filter.Tendsto (fun x ↦ ↑x * g x) Filter.atTop (nhds t) →
    Filter.Tendsto (fun x ↦ ↑x * Complex.log (1 + g x)) Filter.atTop (nhds t)

The limit of x * log (1 + g x) as (x : ℝ) → ∞ is t, where t : ℂ is the limit of x * g x.

theorem Complex.tendsto_one_add_cpow_exp_of_tendsto E1 #

∀ {g : ℝ → ℂ} {t : ℂ},
  Filter.Tendsto (fun x ↦ ↑x * g x) Filter.atTop (nhds t) →
    Filter.Tendsto (fun x ↦ (1 + g x) ^ ↑x) Filter.atTop (nhds (Complex.exp t))

The limit of (1 + g x) ^ x as (x : ℝ) → ∞ is exp t, where t : ℂ is the limit of x * g x.

theorem Complex.tendsto_one_add_div_cpow_exp E1 #

∀ (t : ℂ), Filter.Tendsto (fun x ↦ (1 + t / ↑x) ^ ↑x) Filter.atTop (nhds (Complex.exp t))

The limit of (1 + t/x) ^ x as x → ∞ is exp t for t : ℂ.

theorem Complex.tendsto_nat_mul_log_one_add_of_tendsto E1 #

∀ {g : ℕ → ℂ} {t : ℂ},
  Filter.Tendsto (fun n ↦ ↑n * g n) Filter.atTop (nhds t) →
    Filter.Tendsto (fun n ↦ ↑n * Complex.log (1 + g n)) Filter.atTop (nhds t)

The limit of n * log (1 + g n) as (n : ℝ) → ∞ is t, where t : ℂ is the limit of n * g n.

theorem Complex.tendsto_one_add_pow_exp_of_tendsto E1 #

∀ {g : ℕ → ℂ} {t : ℂ},
  Filter.Tendsto (fun n ↦ ↑n * g n) Filter.atTop (nhds t) →
    Filter.Tendsto (fun n ↦ (1 + g n) ^ n) Filter.atTop (nhds (Complex.exp t))

The limit of (1 + g n) ^ n as (n : ℝ) → ∞ is exp t, where t : ℂ is the limit of n * g n.

theorem Complex.tendsto_one_add_div_pow_exp E1 #

∀ (t : ℂ), Filter.Tendsto (fun n ↦ (1 + t / ↑n) ^ n) Filter.atTop (nhds (Complex.exp t))

The limit of (1 + t/n) ^ n as n → ∞ is exp t for t : ℂ.

theorem Complex.tendsto_pow_exp_of_isLittleO_sub_add_div E1 #

∀ {f : ℕ → ℂ} (t : ℂ),
  ((fun n ↦ f n - (1 + t / ↑n)) =o[Filter.atTop] fun n ↦ 1 / ↑n) →
    Filter.Tendsto (fun n ↦ f n ^ n) Filter.atTop (nhds (Complex.exp t))

(1 + t/n + o(1/n)) ^ n → exp t for t ∈ ℂ.

theorem Real.tendsto_mul_log_one_add_of_tendsto E1 #

∀ {g : ℝ → ℝ} {t : ℝ},
  Filter.Tendsto (fun x ↦ x * g x) Filter.atTop (nhds t) →
    Filter.Tendsto (fun x ↦ x * Real.log (1 + g x)) Filter.atTop (nhds t)

The limit of x * log (1 + g x) as (x : ℝ) → ∞ is t, where t : ℝ is the limit of x * g x.

theorem Real.tendsto_mul_log_one_add_div_atTop E1 #

∀ (t : ℝ), Filter.Tendsto (fun x ↦ x * Real.log (1 + t / x)) Filter.atTop (nhds t)

theorem Real.tendsto_one_add_rpow_exp_of_tendsto E1 #

∀ {g : ℝ → ℝ} {t : ℝ},
  Filter.Tendsto (fun x ↦ x * g x) Filter.atTop (nhds t) →
    Filter.Tendsto (fun x ↦ (1 + g x) ^ x) Filter.atTop (nhds (Real.exp t))

The limit of (1 + g x) ^ x as (x : ℝ) → ∞ is exp t, where t : ℝ is the limit of x * g x.

theorem Real.tendsto_one_add_div_rpow_exp E1 #

∀ (t : ℝ), Filter.Tendsto (fun x ↦ (1 + t / x) ^ x) Filter.atTop (nhds (Real.exp t))

The limit of (1 + t/x) ^ x as x → ∞ is exp t for t : ℝ.

theorem Real.tendsto_nat_mul_log_one_add_of_tendsto E1 #

∀ {g : ℕ → ℝ} {t : ℝ},
  Filter.Tendsto (fun n ↦ ↑n * g n) Filter.atTop (nhds t) →
    Filter.Tendsto (fun n ↦ ↑n * Real.log (1 + g n)) Filter.atTop (nhds t)

The limit of n * log (1 + g n) as (n : ℝ) → ∞ is t, where t : ℝ is the limit of n * g n.

theorem Real.tendsto_one_add_pow_exp_of_tendsto E1 #

∀ {g : ℕ → ℝ} {t : ℝ},
  Filter.Tendsto (fun n ↦ ↑n * g n) Filter.atTop (nhds t) →
    Filter.Tendsto (fun n ↦ (1 + g n) ^ n) Filter.atTop (nhds (Real.exp t))

The limit of (1 + g n) ^ n as (n : ℝ) → ∞ is exp t, where t : ℝ is the limit of n * g n.

theorem Real.tendsto_one_add_div_pow_exp E1 #

∀ (t : ℝ), Filter.Tendsto (fun n ↦ (1 + t / ↑n) ^ n) Filter.atTop (nhds (Real.exp t))

The limit of (1 + t/n) ^ n as n → ∞ is exp t for t : ℝ.