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 / V15. Real analysis in one variable

Mathlib.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.ExpLog.Basic

18 declarations. Mathlib docs · Source

The exponential and logarithm based on the continuous functional calculus

This file defines the logarithm via the continuous functional calculus (CFC) and builds its API. This allows one to take logs of matrices, operators, elements of a C⋆-algebra, etc.

It also shows that exponentials defined via the continuous functional calculus are equal to NormedSpace.exp (defined via power series) whenever the former are not junk values.

Main declarations

  • CFC.log: the real log function based on the CFC, i.e. cfc Real.log
  • CFC.exp_eq_normedSpace_exp: exponentials based on the CFC are equal to exponentials based on power series.
  • CFC.log_exp and CFC.exp_log: CFC.log and NormedSpace.exp ℝ are inverses of each other.

Implementation notes

Since cfc Real.exp and cfc Complex.exp are strictly less general than NormedSpace.exp (defined via power series), we only give minimal API for these here in order to relate NormedSpace.exp to functions defined via the CFC. In particular, we don't give separate definitions for them.

TODO

  • Show that log (a * b) = log a + log b whenever a and b commute (and the same for indexed products).
  • Relate CFC.log to rpow, zpow, sqrt, inv.

theorem CFC.log.congr_simp E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] (a a_1 : A), a = a_1 → CFC.log a = CFC.log a_1

theorem NormedSpace.exp_continuousMap_eq E0 #

∀ {𝕜 : Type u_1} {α : Type u_2} [inst : RCLike 𝕜] [inst_1 : TopologicalSpace α] [inst_2 : CompactSpace α] (f : C(α, 𝕜)),
  NormedSpace.exp f = { toFun := NormedSpace.exp ∘ ⇑f, continuous_toFun := ⋯ }

theorem CFC.exp_eq_normedSpace_exp E3 #

∀ {𝕜 : Type u_1} {A : Type u_2} [inst : RCLike 𝕜] {p : A → Prop} [inst_1 : NormedRing A] [inst_2 : StarRing A]
  [inst_3 : NormedAlgebra 𝕜 A] [inst_4 : ContinuousFunctionalCalculus 𝕜 A p] {a : A},
  autoParam (p a) CFC.exp_eq_normedSpace_exp._auto_1 → cfc NormedSpace.exp a = NormedSpace.exp a

theorem CFC.real_exp_eq_normedSpace_exp E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] {a : A},
  autoParam (IsSelfAdjoint a) CFC.real_exp_eq_normedSpace_exp._auto_1 → cfc Real.exp a = NormedSpace.exp a

theorem IsSelfAdjoint.exp_nonneg E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [inst_4 : PartialOrder A] [StarOrderedRing A] {a : A},
  IsSelfAdjoint a → 0 ≤ NormedSpace.exp a

theorem CFC.complex_exp_eq_normedSpace_exp E1 #

∀ {A : Type u_1} {p : A → Prop} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℂ A]
  [inst_3 : ContinuousFunctionalCalculus ℂ A p] {a : A},
  autoParam (p a) CFC.complex_exp_eq_normedSpace_exp._auto_1 → cfc Complex.exp a = NormedSpace.exp a

def CFC.log E3 #

{A : Type u_1} →
  [inst : NormedRing A] →
    [inst_1 : StarRing A] → [inst_2 : NormedAlgebra ℝ A] → [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] → A → A

The real logarithm, defined via the continuous functional calculus. This can be used on matrices, operators on a Hilbert space, elements of a C⋆-algebra, etc.

theorem IsSelfAdjoint.log E0 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] {a : A}, IsSelfAdjoint (CFC.log a)

theorem CFC.log_zero E0 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint], CFC.log 0 = 0

theorem CFC.log_one E0 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint], CFC.log 1 = 0

theorem CFC.log_algebraMap E0 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] {r : ℝ},
  CFC.log ((algebraMap ℝ A) r) = (algebraMap ℝ A) (Real.log r)

theorem CFC.log_smul E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] {r : ℝ} (a : A),
  (∀ x ∈ spectrum ℝ a, x ≠ 0) →
    r ≠ 0 →
      autoParam (IsSelfAdjoint a) CFC.log_smul._auto_1 → CFC.log (r • a) = (algebraMap ℝ A) (Real.log r) + CFC.log a

theorem CFC.log_smul' E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [inst_4 : PartialOrder A] [StarOrderedRing A]
  [NonnegSpectrumClass ℝ A] {r : ℝ} (a : A),
  0 < r →
    autoParam (IsStrictlyPositive a) CFC.log_smul'._auto_1 → CFC.log (r • a) = (algebraMap ℝ A) (Real.log r) + CFC.log a

theorem CFC.log_pow E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] (n : ℕ) (a : A),
  (∀ x ∈ spectrum ℝ a, x ≠ 0) → autoParam (IsSelfAdjoint a) CFC.log_pow._auto_1 → CFC.log (a ^ n) = n • CFC.log a

theorem CFC.log_pow' E1 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [inst_4 : PartialOrder A] [StarOrderedRing A]
  [NonnegSpectrumClass ℝ A] (n : ℕ) (a : A),
  autoParam (IsStrictlyPositive a) CFC.log_pow'._auto_1 → CFC.log (a ^ n) = n • CFC.log a

theorem CFC.log_exp E3 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] (a : A),
  autoParam (IsSelfAdjoint a) CFC.log_exp._auto_1 → CFC.log (NormedSpace.exp a) = a

theorem CFC.exp_log E3 #

∀ {A : Type u_1} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [inst_4 : PartialOrder A] [StarOrderedRing A]
  [NonnegSpectrumClass ℝ A] (a : A),
  autoParam (IsStrictlyPositive a) CFC.exp_log._auto_1 → NormedSpace.exp (CFC.log a) = a

theorem CFC.continuousOn_log E1 #

∀ {A : Type u_2} [inst : NormedRing A] [inst_1 : StarRing A] [inst_2 : NormedAlgebra ℝ A]
  [inst_3 : IsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [ContinuousStar A] [CompleteSpace A],
  ContinuousOn CFC.log {a | IsSelfAdjoint a ∧ IsUnit a}