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.Exponential

107 declarations and 3 deprecated aliases. Mathlib docs · Source

Exponential Function

This file contains the definitions of the real and complex exponential function.

Main definitions

  • Complex.exp: The complex exponential function, defined via its Taylor series

  • Real.exp: The real exponential function, defined as the real part of the complex exponential

theorem CauSeq.mk.congr_simp E1 #

∀ {α : Type u_1} {β : Type u_2} [inst : Field α] [inst_1 : LinearOrder α] [inst_2 : IsStrictOrderedRing α]
  [inst_3 : Ring β] {abv : β → α} (f f_1 : ℕ → β) (e_f : f = f_1) (hf : IsCauSeq abv f),
  CauSeq.mk f hf = CauSeq.mk f_1 ⋯

theorem Complex.isCauSeq_norm_exp E1 #

∀ (z : ℂ), IsCauSeq abs fun n ↦ ∑ m ∈ Finset.range n, ‖z ^ m / ↑m.factorial‖

theorem Complex.isCauSeq_exp E1 #

∀ (z : ℂ), IsCauSeq (fun x ↦ ‖x‖) fun n ↦ ∑ m ∈ Finset.range n, z ^ m / ↑m.factorial

def Complex.exp' E1 #

ℂ → CauSeq ℂ fun x ↦ ‖x‖

The Cauchy sequence consisting of partial sums of the Taylor series of the complex exponential function

def Complex.exp E3 #

ℂ → ℂ

The complex exponential function, defined via its Taylor series

theorem Complex.exp_def E0 #

∀ (z : ℂ), Complex.exp z = (Complex.exp' z).lim

Alias of _private.Mathlib.Analysis.Complex.Exponential.0.Complex.exp.eq_def.

def Complex.termCexp E1 #

Lean.ParserDescr

scoped notation for the complex exponential function

def Real.exp E3 #

ℝ → ℝ

The real exponential function, defined as the real part of the complex exponential

def Real.termRexp E1 #

Lean.ParserDescr

scoped notation for the real exponential function

theorem Complex.exp_zero E0 #

Complex.exp 0 = 1

theorem Complex.exp_add E1 #

∀ (x y : ℂ), Complex.exp (x + y) = Complex.exp x * Complex.exp y

def Complex.expMonoidHom E1 #

Multiplicative ℂ →* ℂ

the exponential function as a monoid hom from Multiplicative ℂ to ℂ

theorem Complex.expMonoidHom_apply E0 #

∀ (z : Multiplicative ℂ), Complex.expMonoidHom z = Complex.exp (Multiplicative.toAdd z)

theorem Complex.exp_list_sum E1 #

∀ (l : List ℂ), Complex.exp l.sum = (List.map Complex.exp l).prod

theorem Complex.exp_multiset_sum E1 #

∀ (s : Multiset ℂ), Complex.exp s.sum = (Multiset.map Complex.exp s).prod

theorem Complex.exp_sum E1 #

∀ {α : Type u_1} (s : Finset α) (f : α → ℂ), Complex.exp (∑ x ∈ s, f x) = ∏ x ∈ s, Complex.exp (f x)

theorem Complex.exp_nsmul E1 #

∀ (x : ℂ) (n : ℕ), Complex.exp (n • x) = Complex.exp x ^ n

theorem Complex.exp_nsmul' E1 #

∀ (x a p : ℂ) (n : ℕ), Complex.exp (a * ↑n * x / p) = Complex.exp (a * x / p) ^ n

This is a useful version of exp_nsmul for q-expansions of modular forms.

theorem Complex.exp_mul_natCast E1 #

∀ (x : ℂ) (n : ℕ), Complex.exp (x * ↑n) = Complex.exp x ^ n

theorem Complex.exp_natCast_mul E1 #

∀ (n : ℕ) (x : ℂ), Complex.exp (↑n * x) = Complex.exp x ^ n

theorem Complex.exp_mul_ofNat E1 #

∀ (x : ℂ) (n : ℕ) [inst : n.AtLeastTwo], Complex.exp (x * OfNat.ofNat n) = Complex.exp x ^ OfNat.ofNat n

theorem Complex.exp_ofNat_mul E1 #

∀ (n : ℕ) (x : ℂ) [inst : n.AtLeastTwo], Complex.exp (OfNat.ofNat n * x) = Complex.exp x ^ OfNat.ofNat n

theorem Complex.exp_ne_zero E0 #

∀ (x : ℂ), Complex.exp x ≠ 0

theorem Complex.exp_neg E1 #

∀ (x : ℂ), Complex.exp (-x) = (Complex.exp x)⁻¹

theorem Complex.exp_sub E1 #

∀ (x y : ℂ), Complex.exp (x - y) = Complex.exp x / Complex.exp y

theorem Complex.exp_mul_intCast E1 #

∀ (x : ℂ) (n : ℤ), Complex.exp (x * ↑n) = Complex.exp x ^ n

theorem Complex.exp_intCast_mul E1 #

∀ (n : ℤ) (x : ℂ), Complex.exp (↑n * x) = Complex.exp x ^ n

theorem Complex.exp_conj E0 #

∀ (x : ℂ), Complex.exp ((starRingEnd ℂ) x) = (starRingEnd ℂ) (Complex.exp x)

theorem Complex.ofReal_exp_ofReal_re E0 #

∀ (x : ℝ), ↑(Complex.exp ↑x).re = Complex.exp ↑x

theorem Complex.ofReal_exp E0 #

∀ (x : ℝ), ↑(Real.exp x) = Complex.exp ↑x

theorem Complex.exp_ofReal_im E0 #

∀ (x : ℝ), (Complex.exp ↑x).im = 0

theorem Complex.exp_ofReal_re E1 #

∀ (x : ℝ), (Complex.exp ↑x).re = Real.exp x

theorem Real.exp_zero E0 #

Real.exp 0 = 1

theorem Real.exp_add E1 #

∀ (x y : ℝ), Real.exp (x + y) = Real.exp x * Real.exp y

def Real.expMonoidHom E1 #

Multiplicative ℝ →* ℝ

the exponential function as a monoid hom from Multiplicative ℝ to ℝ

theorem Real.expMonoidHom_apply E0 #

∀ (x : Multiplicative ℝ), Real.expMonoidHom x = Real.exp (Multiplicative.toAdd x)

theorem Real.exp_list_sum E1 #

∀ (l : List ℝ), Real.exp l.sum = (List.map Real.exp l).prod

theorem Real.exp_multiset_sum E1 #

∀ (s : Multiset ℝ), Real.exp s.sum = (Multiset.map Real.exp s).prod

theorem Real.exp_sum E1 #

∀ {α : Type u_1} (s : Finset α) (f : α → ℝ), Real.exp (∑ x ∈ s, f x) = ∏ x ∈ s, Real.exp (f x)

theorem Real.exp_nsmul E1 #

∀ (x : ℝ) (n : ℕ), Real.exp (n • x) = Real.exp x ^ n

theorem Real.exp_mul_natCast E1 #

∀ (x : ℝ) (n : ℕ), Real.exp (x * ↑n) = Real.exp x ^ n

theorem Real.exp_natCast_mul E1 #

∀ (n : ℕ) (x : ℝ), Real.exp (↑n * x) = Real.exp x ^ n

theorem Real.exp_ofNat_mul E1 #

∀ (n : ℕ) (x : ℝ) [inst : n.AtLeastTwo], Real.exp (OfNat.ofNat n * x) = Real.exp x ^ OfNat.ofNat n

theorem Real.exp_mul_ofNat E1 #

∀ (x : ℝ) (n : ℕ) [inst : n.AtLeastTwo], Real.exp (x * OfNat.ofNat n) = Real.exp x ^ OfNat.ofNat n

theorem Real.exp_mul_intCast E1 #

∀ (x : ℝ) (n : ℤ), Real.exp (x * ↑n) = Real.exp x ^ n

theorem Real.exp_intCast_mul E1 #

∀ (n : ℤ) (x : ℝ), Real.exp (↑n * x) = Real.exp x ^ n

theorem Real.exp_ne_zero E0 #

∀ (x : ℝ), Real.exp x ≠ 0

theorem Real.exp_neg E1 #

∀ (x : ℝ), Real.exp (-x) = (Real.exp x)⁻¹

theorem Real.exp_sub E1 #

∀ (x y : ℝ), Real.exp (x - y) = Real.exp x / Real.exp y

theorem Real.sum_le_exp_of_nonneg E1 #

∀ {x : ℝ}, 0 ≤ x → ∀ (n : ℕ), ∑ i ∈ Finset.range n, x ^ i / ↑i.factorial ≤ Real.exp x

theorem Real.pow_div_factorial_le_exp E1 #

∀ (x : ℝ), 0 ≤ x → ∀ (n : ℕ), x ^ n / ↑n.factorial ≤ Real.exp x

theorem Real.quadratic_le_exp_of_nonneg E1 #

∀ {x : ℝ}, 0 ≤ x → 1 + x + x ^ 2 / 2 ≤ Real.exp x

theorem Real.one_le_exp E1 #

∀ {x : ℝ}, 0 ≤ x → 1 ≤ Real.exp x

theorem Real.exp_pos E1 #

∀ (x : ℝ), 0 < Real.exp x

theorem Real.exp_nonneg E1 #

∀ (x : ℝ), 0 ≤ Real.exp x

theorem Real.abs_exp E0 #

∀ (x : ℝ), |Real.exp x| = Real.exp x

theorem Real.exp_abs_le E1 #

∀ (x : ℝ), Real.exp |x| ≤ Real.exp x + Real.exp (-x)

theorem Real.exp_strictMono E1 #

StrictMono Real.exp

theorem Real.exp_monotone E1 #

Monotone Real.exp

theorem Real.exp_le_exp_of_le E1 #

∀ {x y : ℝ}, x ≤ y → Real.exp x ≤ Real.exp y

theorem Real.exp_lt_exp E0 #

∀ {x y : ℝ}, Real.exp x < Real.exp y ↔ x < y

theorem Real.exp_le_exp E0 #

∀ {x y : ℝ}, Real.exp x ≤ Real.exp y ↔ x ≤ y

theorem Real.exp_injective E1 #

Function.Injective Real.exp

theorem Real.exp_eq_exp E0 #

∀ {x y : ℝ}, Real.exp x = Real.exp y ↔ x = y

theorem Real.exp_eq_one_iff E0 #

∀ (x : ℝ), Real.exp x = 1 ↔ x = 0

theorem Real.one_lt_exp_iff E0 #

∀ {x : ℝ}, 1 < Real.exp x ↔ 0 < x

theorem Real.exp_lt_one_iff E0 #

∀ {x : ℝ}, Real.exp x < 1 ↔ x < 0

theorem Real.exp_le_one_iff E0 #

∀ {x : ℝ}, Real.exp x ≤ 1 ↔ x ≤ 0

theorem Real.one_le_exp_iff E0 #

∀ {x : ℝ}, 1 ≤ Real.exp x ↔ 0 ≤ x

theorem Complex.sum_div_factorial_le E1 #

∀ {α : Type u_1} [inst : Field α] [inst_1 : LinearOrder α] [IsStrictOrderedRing α] (n j : ℕ),
  0 < n → ∑ m ∈ Finset.range j with n ≤ m, 1 / ↑m.factorial ≤ ↑n.succ / (↑n.factorial * ↑n)

theorem Complex.exp_bound E1 #

∀ {x : ℂ},
  ‖x‖ ≤ 1 →
    ∀ {n : ℕ},
      0 < n → ‖Complex.exp x - ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial‖ ≤ ‖x‖ ^ n * (↑n.succ * (↑n.factorial * ↑n)⁻¹)

theorem Complex.exp_bound' E1 #

∀ {x : ℂ} {n : ℕ},
  ‖x‖ / ↑n.succ ≤ 1 / 2 → ‖Complex.exp x - ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial‖ ≤ ‖x‖ ^ n / ↑n.factorial * 2

theorem Complex.norm_exp_sub_one_le E1 #

∀ {x : ℂ}, ‖x‖ ≤ 1 → ‖Complex.exp x - 1‖ ≤ 2 * ‖x‖

theorem Complex.norm_exp_sub_one_sub_id_le E1 #

∀ {x : ℂ}, ‖x‖ ≤ 1 → ‖Complex.exp x - 1 - x‖ ≤ ‖x‖ ^ 2

theorem Real.norm_exp_sub_one_sub_id_le E1 #

∀ {x : ℝ}, ‖x‖ ≤ 1 → ‖Real.exp x - 1 - x‖ ≤ ‖x‖ ^ 2

theorem Complex.norm_exp_sub_sum_le_exp_norm_sub_sum E1 #

∀ (x : ℂ) (n : ℕ),
  ‖Complex.exp x - ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial‖ ≤
    Real.exp ‖x‖ - ∑ m ∈ Finset.range n, ‖x‖ ^ m / ↑m.factorial

theorem Complex.norm_exp_le_exp_norm E1 #

∀ (x : ℂ), ‖Complex.exp x‖ ≤ Real.exp ‖x‖

theorem Complex.norm_exp_sub_sum_le_norm_mul_exp E1 #

∀ (x : ℂ) (n : ℕ), ‖Complex.exp x - ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial‖ ≤ ‖x‖ ^ n * Real.exp ‖x‖

theorem Real.exp_bound E1 #

∀ {x : ℝ},
  |x| ≤ 1 →
    ∀ {n : ℕ},
      0 < n → |Real.exp x - ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial| ≤ |x| ^ n * (↑n.succ / (↑n.factorial * ↑n))

theorem Real.exp_bound' E1 #

∀ {x : ℝ},
  0 ≤ x →
    x ≤ 1 →
      ∀ {n : ℕ},
        0 < n → Real.exp x ≤ ∑ m ∈ Finset.range n, x ^ m / ↑m.factorial + x ^ n * (↑n + 1) / (↑n.factorial * ↑n)

theorem Real.abs_exp_sub_one_le E1 #

∀ {x : ℝ}, |x| ≤ 1 → |Real.exp x - 1| ≤ 2 * |x|

theorem Real.abs_exp_sub_one_sub_id_le E1 #

∀ {x : ℝ}, |x| ≤ 1 → |Real.exp x - 1 - x| ≤ x ^ 2

def Real.expNear E1 #

ℕ → ℝ → ℝ → ℝ

A finite initial segment of the exponential series, followed by an arbitrary tail. For fixed n this is just a linear map w.r.t. r, and each map is a simple linear function of the previous (see expNear_succ), with expNear n x r ⟶ exp x as n ⟶ ∞, for any r.

theorem Real.expNear_zero E0 #

∀ (x r : ℝ), Real.expNear 0 x r = r

theorem Real.expNear_succ E0 #

∀ (n : ℕ) (x r : ℝ), Real.expNear (n + 1) x r = Real.expNear n x (1 + x / (↑n + 1) * r)

theorem Real.expNear_sub E1 #

∀ (n : ℕ) (x r₁ r₂ : ℝ), Real.expNear n x r₁ - Real.expNear n x r₂ = x ^ n / ↑n.factorial * (r₁ - r₂)

theorem Real.exp_approx_end E1 #

∀ (n m : ℕ) (x : ℝ), n + 1 = m → |x| ≤ 1 → |Real.exp x - Real.expNear m x 0| ≤ |x| ^ m / ↑m.factorial * ((↑m + 1) / ↑m)

theorem Real.exp_approx_succ E1 #

∀ {n : ℕ} {x a₁ b₁ : ℝ} (m : ℕ),
  n + 1 = m →
    ∀ (a₂ b₂ : ℝ),
      |1 + x / ↑m * a₂ - a₁| ≤ b₁ - |x| / ↑m * b₂ →
        |Real.exp x - Real.expNear m x a₂| ≤ |x| ^ m / ↑m.factorial * b₂ →
          |Real.exp x - Real.expNear n x a₁| ≤ |x| ^ n / ↑n.factorial * b₁

theorem Real.exp_approx_end' E1 #

∀ {n : ℕ} {x a b : ℝ} (m : ℕ),
  n + 1 = m →
    ∀ (rm : ℝ),
      ↑m = rm →
        |x| ≤ 1 →
          |1 - a| ≤ b - |x| / rm * ((rm + 1) / rm) → |Real.exp x - Real.expNear n x a| ≤ |x| ^ n / ↑n.factorial * b

theorem Real.exp_1_approx_succ_eq E0 #

∀ {n : ℕ} {a₁ b₁ : ℝ} {m : ℕ},
  n + 1 = m →
    ∀ {rm : ℝ},
      ↑m = rm →
        |Real.exp 1 - Real.expNear m 1 ((a₁ - 1) * rm)| ≤ |1| ^ m / ↑m.factorial * (b₁ * rm) →
          |Real.exp 1 - Real.expNear n 1 a₁| ≤ |1| ^ n / ↑n.factorial * b₁

theorem Real.exp_approx_start E1 #

∀ (x a b : ℝ), |Real.exp x - Real.expNear 0 x a| ≤ |x| ^ 0 / ↑(Nat.factorial 0) * b → |Real.exp x - a| ≤ b

theorem Real.exp_bound_div_one_sub_of_interval' E1 #

∀ {x : ℝ}, 0 < x → x < 1 → Real.exp x < 1 / (1 - x)

theorem Real.exp_bound_div_one_sub_of_interval E1 #

∀ {x : ℝ}, 0 ≤ x → x < 1 → Real.exp x ≤ 1 / (1 - x)

theorem Real.add_one_lt_exp E1 #

∀ {x : ℝ}, x ≠ 0 → x + 1 < Real.exp x

theorem Real.add_one_le_exp E1 #

∀ (x : ℝ), x + 1 ≤ Real.exp x

theorem Real.one_sub_lt_exp_neg E1 #

∀ {x : ℝ}, x ≠ 0 → 1 - x < Real.exp (-x)

theorem Real.one_sub_le_exp_neg E1 #

∀ (x : ℝ), 1 - x ≤ Real.exp (-x)

theorem Real.one_sub_div_pow_le_exp_neg E1 #

∀ {n : ℕ} {t : ℝ}, t ≤ ↑n → (1 - t / ↑n) ^ n ≤ Real.exp (-t)

theorem Real.one_add_div_pow_le_exp E1 #

∀ {m : ℕ} {x : ℝ}, -↑m ≤ x → (1 + x / ↑m) ^ m ≤ Real.exp x

theorem Real.one_add_inv_pow_le_exp E1 #

∀ {n : ℕ}, (1 + (↑n)⁻¹) ^ n ≤ Real.exp 1

theorem Real.sum_choose_le_exp_pow E1 #

∀ {d m : ℕ}, d ≤ m → ∑ i ∈ Finset.range (d + 1), ↑(m.choose i) ≤ (Real.exp 1 / ↑d * ↑m) ^ d

For d ≤ m, the number of subsets of size at most d of an m-element set, ∑ i ≤ d, m.choose i, is at most (exp 1 / d * m) ^ d.

theorem Real.le_inv_mul_exp E1 #

∀ (x : ℝ) {c : ℝ}, 0 < c → x ≤ c⁻¹ * Real.exp (c * x)

theorem Real.exp_lt_two_add_div_two_sub E1 #

∀ {x : ℝ}, 0 < x → x < 2 → Real.exp x < (2 + x) / (2 - x)

theorem Real.exp_le_two_add_div_two_sub E1 #

∀ {x : ℝ}, 0 ≤ x → x < 2 → Real.exp x ≤ (2 + x) / (2 - x)

theorem Real.prod_one_add_le_exp_sum E1 #

∀ {ι : Type u_1} (s : Finset ι) {f : ι → ℝ}, (∀ (i : ι), 0 ≤ f i) → ∏ i ∈ s, (1 + f i) ≤ Real.exp (∑ i ∈ s, f i)

def Mathlib.Meta.Positivity.evalExp E1 #

Mathlib.Meta.Positivity.PositivityExt

Extension for the positivity tactic: Real.exp is always positive.

theorem Complex.norm_exp_ofReal E0 #

∀ (x : ℝ), ‖Complex.exp ↑x‖ = Real.exp x

Deprecated aliases

NameNew nameSince
Complex.exp_int_mulComplex.exp_intCast_mul2026-11-13
Complex.exp_nat_mulComplex.exp_natCast_mul2026-11-12
Real.exp_nat_mulReal.exp_natCast_mul2026-11-12