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.CStarAlgebra.ContinuousFunctionalCalculus.Basic

31 declarations and 1 deprecated aliases. Mathlib docs · Source

Continuous functional calculus

In this file we construct the continuousFunctionalCalculus for a normal element a of a (unital) C⋆-algebra over ℂ. This is a star algebra equivalence C(spectrum ℂ a, ℂ) ≃⋆ₐ[ℂ] elemental ℂ a which sends the (restriction of) the identity map ContinuousMap.id ℂ to the (unique) preimage of a under the coercion of elemental ℂ a to A.

Being a star algebra equivalence between C⋆-algebras, this map is continuous (even an isometry), and by the Stone-Weierstrass theorem it is the unique star algebra equivalence which extends the polynomial functional calculus (i.e., Polynomial.aeval).

For any continuous function f : spectrum ℂ a → ℂ, this makes it possible to define an element f a (not valid notation) in the original algebra, which heuristically has the same eigenspaces as a and acts on eigenvector of a for an eigenvalue λ as multiplication by f λ. This description is perfectly accurate in finite dimension, but only heuristic in infinite dimension as there might be no genuine eigenvector. In particular, when f is a polynomial ∑ cᵢ Xⁱ, then f a is ∑ cᵢ aⁱ. Also, id a = a.

The result we have established here is the strongest possible, but it is not the version which is most useful in practice. The generic API for the continuous functional calculus can be found in Analysis.CStarAlgebra.ContinuousFunctionalCalculus in the Unital and NonUnital files. The relevant instances on C⋆-algebra can be found in the Instances file.

Main definitions

  • continuousFunctionalCalculus : C(spectrum ℂ a, ℂ) ≃⋆ₐ[ℂ] elemental ℂ a: this is the composition of the inverse of the gelfandStarTransform with the natural isomorphism induced by the homeomorphism elemental.characterSpaceHomeo.
  • elemental.characterSpaceHomeo : characterSpace ℂ (elemental ℂ a) ≃ₜ spectrum ℂ a: this homeomorphism is defined by evaluating a character φ at a, and noting that φ a ∈ spectrum ℂ a since φ is an algebra homomorphism. Moreover, this map is continuous and bijective and since the spaces involved are compact Hausdorff, it is a homeomorphism.
  • IsStarNormal.instContinuousFunctionalCalculus: the continuous functional calculus for normal elements in a unital C⋆-algebra over ℂ.
  • CStarAlgebra.instNonnegSpectrumClass: In a unital C⋆-algebra over ℂ which is also a StarOrderedRing, the spectrum of a nonnegative element is nonnegative.

Continuous functional calculus for normal elements

The spectrum of a nonnegative element is nonnegative

theorem Preorder.mk.congr_simp E1 #

∀ {α : Type u_2} [toLE : LE α] [toLE_1 : LE α] (e_toLE : toLE = toLE_1) [toLT : LT α] [toLT_1 : LT α]
  (e_toLT : toLT = toLT_1) (le_refl : ∀ (a : α), a ≤ a) (le_trans : ∀ (a b c : α), a ≤ b → b ≤ c → a ≤ c)
  (lt_iff_le_not_ge : ∀ (a b : α), a < b ↔ a ≤ b ∧ ¬b ≤ a),
  { toLE := toLE, toLT := toLT, le_refl := le_refl, le_trans := le_trans, lt_iff_le_not_ge := lt_iff_le_not_ge } =
    { toLE := toLE_1, toLT := toLT_1, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯ }

theorem PartialOrder.mk.congr_simp E1 #

∀ {α : Type u_2} [toPreorder : Preorder α] [toPreorder_1 : Preorder α] (e_toPreorder : toPreorder = toPreorder_1)
  (le_antisymm : ∀ (a b : α), a ≤ b → b ≤ a → a = b),
  { toPreorder := toPreorder, le_antisymm := le_antisymm } = { toPreorder := toPreorder_1, le_antisymm := ⋯ }

def StarAlgebra.elemental.characterSpaceToSpectrum E1 #

{A : Type u_1} →
  [inst : CStarAlgebra A] → (x : A) → ↑(WeakDual.characterSpace ℂ ↥(StarAlgebra.elemental ℂ x)) → ↑(spectrum ℂ x)

The natural map from characterSpace ℂ (elemental ℂ x) to spectrum ℂ x given by evaluating φ at x. This is essentially just evaluation of the gelfandTransform of x, but because we want something in spectrum ℂ x, as opposed to spectrum ℂ ⟨x, elemental.self_mem ℂ x⟩ there is slightly more work to do.

theorem StarAlgebra.elemental.characterSpaceToSpectrum_coe E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (x : A) (φ : ↑(WeakDual.characterSpace ℂ ↥(StarAlgebra.elemental ℂ x))),
  ↑(StarAlgebra.elemental.characterSpaceToSpectrum x φ) = φ ⟨x, ⋯⟩

theorem StarAlgebra.elemental.continuous_characterSpaceToSpectrum E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (x : A), Continuous (StarAlgebra.elemental.characterSpaceToSpectrum x)

theorem StarAlgebra.elemental.bijective_characterSpaceToSpectrum E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A) [IsStarNormal a],
  Function.Bijective (StarAlgebra.elemental.characterSpaceToSpectrum a)

def StarAlgebra.elemental.characterSpaceHomeo E3 #

{A : Type u_1} →
  [inst : CStarAlgebra A] →
    (a : A) → [inst_1 : IsStarNormal a] → ↑(WeakDual.characterSpace ℂ ↥(StarAlgebra.elemental ℂ a)) ≃ₜ ↑(spectrum ℂ a)

The homeomorphism between the character space of the unital C⋆-subalgebra generated by a single normal element a : A and spectrum ℂ a.

def continuousFunctionalCalculus E1 #

{A : Type u_1} →
  [inst : CStarAlgebra A] →
    (a : A) → [inst_1 : IsStarNormal a] → C(↑(spectrum ℂ a), ℂ) ≃⋆ₐ[ℂ] ↥(StarAlgebra.elemental ℂ a)

Continuous functional calculus. Given a normal element a : A of a unital C⋆-algebra, the continuous functional calculus is a StarAlgEquiv from the complex-valued continuous functions on the spectrum of a to the unital C⋆-subalgebra generated by a. Moreover, this equivalence identifies (ContinuousMap.id ℂ).restrict (spectrum ℂ a) with a; see continuousFunctionalCalculus_map_id. As such it extends the polynomial functional calculus.

theorem continuousFunctionalCalculus_map_id E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A) [inst_1 : IsStarNormal a],
  (continuousFunctionalCalculus a) (ContinuousMap.restrict (spectrum ℂ a) (ContinuousMap.id ℂ)) = ⟨a, ⋯⟩

theorem IsStarNormal.instContinuousFunctionalCalculus E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A], ContinuousFunctionalCalculus ℂ A IsStarNormal

theorem cfcHom_eq_of_isStarNormal E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A) [ha : IsStarNormal a],
  cfcHom ha = (StarAlgebra.elemental ℂ a).subtype.comp (continuousFunctionalCalculus a).toStarAlgHom

instance IsStarNormal.instIsometricContinuousFunctionalCalculus E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A], IsometricContinuousFunctionalCalculus ℂ A IsStarNormal

instance IsSelfAdjoint.instIsometricContinuousFunctionalCalculus E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A], IsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint

theorem IsStarNormal.instNonUnitalContinuousFunctionalCalculus E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A], NonUnitalClosedEmbeddingContinuousFunctionalCalculus ℂ A IsStarNormal

theorem inr_comp_cfcₙHom_eq_cfcₙAux E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] (a : A) [ha : IsStarNormal a],
  (Unitization.inrNonUnitalStarAlgHom ℂ A).comp (cfcₙHom ha) = cfcₙAux ⋯ a ha

instance IsStarNormal.instNonUnitalIsometricContinuousFunctionalCalculus E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A], NonUnitalIsometricContinuousFunctionalCalculus ℂ A IsStarNormal

instance IsSelfAdjoint.instNonUnitalIsometricContinuousFunctionalCalculus E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A], NonUnitalIsometricContinuousFunctionalCalculus ℝ A IsSelfAdjoint

theorem SpectrumRestricts.nnReal_iff_nnNorm E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A} {t : NNReal},
  IsSelfAdjoint a → ‖a‖₊ ≤ t → (SpectrumRestricts a ⇑ContinuousMap.realToNNReal ↔ ‖(algebraMap ℝ A) ↑t - a‖₊ ≤ t)

theorem SpectrumRestricts.nnreal_add E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a b : A},
  IsSelfAdjoint a →
    IsSelfAdjoint b →
      SpectrumRestricts a ⇑ContinuousMap.realToNNReal →
        SpectrumRestricts b ⇑ContinuousMap.realToNNReal → SpectrumRestricts (a + b) ⇑ContinuousMap.realToNNReal

theorem IsSelfAdjoint.sq_spectrumRestricts E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A},
  IsSelfAdjoint a → SpectrumRestricts (a ^ 2) ⇑ContinuousMap.realToNNReal

theorem SpectrumRestricts.smul_of_nonneg E1 #

∀ {A : Type u_2} [inst : Ring A] [inst_1 : Algebra ℝ A] {a : A},
  SpectrumRestricts a ⇑ContinuousMap.realToNNReal →
    ∀ {r : ℝ}, 0 ≤ r → SpectrumRestricts (r • a) ⇑ContinuousMap.realToNNReal

theorem spectrum_star_mul_self_nonneg E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {b : A}, ∀ x ∈ spectrum ℝ (star b * b), 0 ≤ x

The ℝ-spectrum of an element of the form star b * b in a C⋆-algebra is nonnegative.

This is the key result used to establish CStarAlgebra.instNonnegSpectrumClass.

theorem IsSelfAdjoint.coe_mem_spectrum_complex E0 #

∀ {A : Type u_2} [inst : TopologicalSpace A] [inst_1 : Ring A] [inst_2 : StarRing A] [inst_3 : Algebra ℂ A]
  [ContinuousFunctionalCalculus ℂ A IsStarNormal] {a : A} {x : ℝ},
  autoParam (IsSelfAdjoint a) IsSelfAdjoint.coe_mem_spectrum_complex._auto_1 → (↑x ∈ spectrum ℂ a ↔ x ∈ spectrum ℝ a)

instance CStarAlgebra.instNonnegSpectrumClass E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] [inst_1 : PartialOrder A] [StarOrderedRing A], NonnegSpectrumClass ℝ A

instance CStarAlgebra.instNonnegSpectrumClassComplexUnital E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] [inst_1 : PartialOrder A] [StarOrderedRing A], NonnegSpectrumClass ℂ A

def CStarAlgebra.spectralOrder E1 #

(A : Type u_1) → [NonUnitalCStarAlgebra A] → PartialOrder A

The partial order on a C⋆-algebra defined by x ≤ y if and only if y - x is selfadjoint and has nonnegative spectrum.

This is not declared as an instance because one may already have a partial order with better definitional properties. However, it can be useful to invoke this as an instance in proofs.

theorem CStarAlgebra.spectralOrderedRing E1 #

∀ (A : Type u_1) [inst : NonUnitalCStarAlgebra A], StarOrderedRing A

The CStarAlgebra.spectralOrder on a C⋆-algebra is a StarOrderedRing.

instance CStarAlgebra.instNonnegSpectrumClass' E0 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] [inst_1 : PartialOrder A] [StarOrderedRing A], NonnegSpectrumClass ℝ A

theorem Unitization.cfcₙ_eq_cfc_inr E2 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {R : Type u_2} [inst_1 : Semifield R] [inst_2 : StarRing R]
  [inst_3 : MetricSpace R] [inst_4 : IsTopologicalSemiring R] [inst_5 : ContinuousStar R] [inst_6 : Module R A]
  [inst_7 : IsScalarTower R A A] [inst_8 : SMulCommClass R A A] [inst_9 : Algebra R ℂ] [inst_10 : IsScalarTower R ℂ A]
  {p : A → Prop} {p' : Unitization ℂ A → Prop} [inst_11 : NonUnitalContinuousFunctionalCalculus R A p]
  [inst_12 : ContinuousFunctionalCalculus R (Unitization ℂ A) p'] [ContinuousMapZero.UniqueHom R (Unitization ℂ A)],
  (∀ {a : A}, p' ↑a ↔ p a) →
    ∀ (a : A) (f : R → R), autoParam (f 0 = 0) Unitization.cfcₙ_eq_cfc_inr._auto_1 → ↑(cfcₙ f a) = cfc f ↑a

This lemma requires a lot from type class synthesis, and so one should instead favor the bespoke versions for ℝ≥0, ℝ, and ℂ.

theorem Unitization.complex_cfcₙ_eq_cfc_inr E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] (a : A) (f : ℂ → ℂ),
  autoParam (f 0 = 0) Unitization.complex_cfcₙ_eq_cfc_inr._auto_1 → ↑(cfcₙ f a) = cfc f ↑a

theorem Unitization.real_cfcₙ_eq_cfc_inr E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] (a : A) (f : ℝ → ℝ),
  autoParam (f 0 = 0) Unitization.real_cfcₙ_eq_cfc_inr._auto_1 → ↑(cfcₙ f a) = cfc f ↑a

note: the version for ℝ≥0, Unitization.nnreal_cfcₙ_eq_cfc_inr, can be found in Mathlib/Analysis/CStarAlgebra/ContinuousFunctionalCalculus/Order.lean

Deprecated aliases

NameNew nameSince
SpectrumRestricts.nnreal_iff_nnnormSpectrumRestricts.nnReal_iff_nnNorm2026-10-31