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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.Normed.Algebra.QuaternionExponential

10 declarations. Mathlib docs · Source

Lemmas about NormedSpace.exp on Quaternions

This file contains results about NormedSpace.exp on Quaternion ℝ.

Main results

  • Quaternion.exp_eq: the general expansion of the quaternion exponential in terms of Real.cos and Real.sin.
  • Quaternion.exp_of_re_eq_zero: the special case when the quaternion has a zero real part.
  • Quaternion.norm_exp: the norm of the quaternion exponential is the norm of the exponential of the real part.

theorem Quaternion.exp_coe E0 #

∀ (r : ℝ), NormedSpace.exp ↑r = ↑(NormedSpace.exp r)

theorem Quaternion.expSeries_even_of_imaginary E1 #

∀ {q : Quaternion ℝ},
  q.re = 0 →
    ∀ (n : ℕ),
      ((NormedSpace.expSeries ℝ (Quaternion ℝ) (2 * n)) fun x ↦ q) = ↑((-1) ^ n * ‖q‖ ^ (2 * n) / ↑(2 * n).factorial)

The even terms of expSeries are real, and correspond to the series for $\cos ‖q‖$.

theorem Quaternion.expSeries_odd_of_imaginary E1 #

∀ {q : Quaternion ℝ},
  q.re = 0 →
    ∀ (n : ℕ),
      ((NormedSpace.expSeries ℝ (Quaternion ℝ) (2 * n + 1)) fun x ↦ q) =
        ((-1) ^ n * ‖q‖ ^ (2 * n + 1) / ↑(2 * n + 1).factorial / ‖q‖) • q

The odd terms of expSeries are real, and correspond to the series for $\frac{q}{‖q‖} \sin ‖q‖$.

theorem Quaternion.hasSum_expSeries_of_imaginary E1 #

∀ {q : Quaternion ℝ},
  q.re = 0 →
    ∀ {c s : ℝ},
      HasSum (fun n ↦ (-1) ^ n * ‖q‖ ^ (2 * n) / ↑(2 * n).factorial) c →
        HasSum (fun n ↦ (-1) ^ n * ‖q‖ ^ (2 * n + 1) / ↑(2 * n + 1).factorial) s →
          HasSum (fun n ↦ (NormedSpace.expSeries ℝ (Quaternion ℝ) n) fun x ↦ q) (↑c + (s / ‖q‖) • q)

Auxiliary result; if the power series corresponding to Real.cos and Real.sin evaluated at ‖q‖ tend to c and s, then the exponential series tends to c + (s / ‖q‖).

theorem Quaternion.exp_of_re_eq_zero E3 #

∀ (q : Quaternion ℝ), q.re = 0 → NormedSpace.exp q = ↑(Real.cos ‖q‖) + (Real.sin ‖q‖ / ‖q‖) • q

The closed form for the quaternion exponential on imaginary quaternions.

theorem Quaternion.exp_eq E3 #

∀ (q : Quaternion ℝ),
  NormedSpace.exp q = NormedSpace.exp q.re • (↑(Real.cos ‖q.im‖) + (Real.sin ‖q.im‖ / ‖q.im‖) • q.im)

The closed form for the quaternion exponential on arbitrary quaternions.

theorem Quaternion.re_exp E1 #

∀ (q : Quaternion ℝ), (NormedSpace.exp q).re = NormedSpace.exp q.re * Real.cos ‖q - ↑q.re‖

theorem Quaternion.im_exp E1 #

∀ (q : Quaternion ℝ), (NormedSpace.exp q).im = (NormedSpace.exp q.re * (Real.sin ‖q.im‖ / ‖q.im‖)) • q.im

theorem Quaternion.normSq_exp E1 #

∀ (q : Quaternion ℝ), Quaternion.normSq (NormedSpace.exp q) = NormedSpace.exp q.re ^ 2

theorem Quaternion.norm_exp E3 #

∀ (q : Quaternion ℝ), ‖NormedSpace.exp q‖ = ‖NormedSpace.exp q.re‖

Note that this implies that exponentials of pure imaginary quaternions are unit quaternions since in that case the RHS is 1 via NormedSpace.exp_zero and norm_one.