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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.PowerSeries.Exp

12 declarations. Mathlib docs · Source

Exponential Power Series

This file defines the exponential power series exp A = ∑ Xⁿ/n! over ℚ-algebras and develops its key properties, including the fundamental differential equation (exp A)' = exp A, a uniqueness characterization, and the functional equation for multiplication.

Main definitions

  • PowerSeries.exp: The exponential power series exp A = ∑ Xⁿ/n! over a ℚ-algebra A.

Main results

  • PowerSeries.coeff_exp: The coefficient of exp A at n is 1/n!.
  • PowerSeries.constantCoeff_exp: The constant term of exp A is 1.
  • PowerSeries.map_exp: exp is preserved by ring homomorphisms between ℚ-algebras.
  • PowerSeries.derivative_exp: The derivative of exp equals exp: d⁄dX (exp A) = exp A.
  • PowerSeries.exp_unique_of_derivative_eq_self: A power series with derivative equal to itself and constant term 1 must be exp.
  • PowerSeries.isUnit_exp: exp A is a unit (invertible).
  • PowerSeries.order_exp: The order of exp A is 0.
  • PowerSeries.exp_mul_exp_eq_exp_add: The functional equation e^{aX} * e^{bX} = e^{(a+b)X}.
  • PowerSeries.exp_mul_exp_neg_eq_one: The identity e^X * e^{-X} = 1.
  • PowerSeries.exp_pow_eq_rescale_exp: Powers of exp satisfy (e^X)^k = e^{kX}.
  • PowerSeries.exp_pow_sum: Formula for the sum of powers of exp.

Derivative of exp

Uniqueness characterization

Order and invertibility

def PowerSeries.exp E3 #

(A : Type u_1) → [inst : Ring A] → [Algebra ℚ A] → PowerSeries A

Power series for the exponential function at zero.

theorem PowerSeries.coeff_exp E3 #

∀ {A : Type u_1} [inst : Ring A] [inst_1 : Algebra ℚ A] (n : ℕ),
  (PowerSeries.coeff n) (PowerSeries.exp A) = (algebraMap ℚ A) (1 / ↑n.factorial)

theorem PowerSeries.constantCoeff_exp E3 #

∀ {A : Type u_1} [inst : Ring A] [inst_1 : Algebra ℚ A], PowerSeries.constantCoeff (PowerSeries.exp A) = 1

theorem PowerSeries.map_exp E3 #

∀ {A : Type u_1} {A' : Type u_2} [inst : Ring A] [inst_1 : Ring A'] [inst_2 : Algebra ℚ A] [inst_3 : Algebra ℚ A']
  (f : A →+* A'), (PowerSeries.map f) (PowerSeries.exp A) = PowerSeries.exp A'

theorem PowerSeries.derivative_exp E3 #

∀ (A : Type u_3) [inst : CommRing A] [inst_1 : Algebra ℚ A],
  PowerSeries.derivative (PowerSeries.exp A) = PowerSeries.exp A

theorem PowerSeries.exp_unique_of_derivative_eq_self E3 #

∀ {A : Type u_3} [inst : CommRing A] [inst_1 : Algebra ℚ A] [HasUniqueDiv A] {f : PowerSeries A},
  PowerSeries.derivative f = f → PowerSeries.constantCoeff f = 1 → f = PowerSeries.exp A

A power series with derivative equal to itself and constant term 1 must be exp.

The proof uses induction on coefficients: if f' = f and f(0) = 1, then coeff (n+1) f * (n+1) = coeff n f, which determines all coefficients uniquely.

theorem PowerSeries.isUnit_exp E3 #

∀ (A : Type u_4) [inst : Ring A] [inst_1 : Algebra ℚ A], IsUnit (PowerSeries.exp A)

theorem PowerSeries.order_exp E3 #

∀ (A : Type u_4) [inst : Ring A] [inst_1 : Algebra ℚ A] [Nontrivial A], (PowerSeries.exp A).order = 0

theorem PowerSeries.exp_mul_exp_eq_exp_add E3 #

∀ {A : Type u_4} [inst : CommRing A] [inst_1 : Algebra ℚ A] (a b : A),
  (PowerSeries.rescale a) (PowerSeries.exp A) * (PowerSeries.rescale b) (PowerSeries.exp A) =
    (PowerSeries.rescale (a + b)) (PowerSeries.exp A)

Shows that $e^{aX} * e^{bX} = e^{(a + b)X}$

theorem PowerSeries.exp_mul_exp_neg_eq_one E3 #

∀ {A : Type u_4} [inst : CommRing A] [inst_1 : Algebra ℚ A],
  PowerSeries.exp A * PowerSeries.evalNegHom (PowerSeries.exp A) = 1

Shows that $e^{x} * e^{-x} = 1$

theorem PowerSeries.exp_pow_eq_rescale_exp E3 #

∀ {A : Type u_4} [inst : CommRing A] [inst_1 : Algebra ℚ A] (k : ℕ),
  PowerSeries.exp A ^ k = (PowerSeries.rescale ↑k) (PowerSeries.exp A)

Shows that $(e^{X})^k = e^{kX}$.

theorem PowerSeries.exp_pow_sum E3 #

∀ {A : Type u_4} [inst : CommRing A] [inst_1 : Algebra ℚ A] (n : ℕ),
  ∑ k ∈ Finset.range n, PowerSeries.exp A ^ k =
    PowerSeries.mk fun p ↦ ∑ k ∈ Finset.range n, ↑k ^ p * (algebraMap ℚ A) (↑p.factorial)⁻¹

Shows that $\sum_{k = 0}^{n - 1} (e^{X})^k = \sum_{p = 0}^{\infty} \sum_{k = 0}^{n - 1} \frac{k^p}{p!}X^p$.