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

30 declarations and 5 deprecated aliases. Mathlib docs · Source

Spectral properties in C⋆-algebras

In this file, we establish various properties related to the spectrum of elements in C⋆-algebras. In particular, we show that the spectrum of a unitary element is contained in the unit circle in ℂ, the spectrum of a selfadjoint element is real, the spectral radius of a selfadjoint element or normal element is its norm, among others.

An essential feature of C⋆-algebras is spectral permanence. This is the property that the spectrum of an element in a closed subalgebra is the same as the spectrum of the element in the whole algebra. For Banach algebras more generally, and even for Banach ⋆-algebras, this fails.

A consequence of spectral permanence is that one may always enlarge the C⋆-algebra (via a unital embedding) while preserving the spectrum of any element. In addition, it allows us to make sense of the spectrum of elements in non-unital C⋆-algebras by considering them as elements in the Unitization of the C⋆-algebra, or indeed any unital C⋆-algebra. Of course, one may do this (that is, consider the spectrum of an element in a non-unital by embedding it in a unital algebra) for any Banach algebra, but the downside in that setting is that embedding in different unital algebras results in varying spectra.

In Mathlib, we don't define the spectrum of an element in a non-unital C⋆-algebra, and instead simply consider the quasispectrum so as to avoid depending on a choice of unital algebra. However, we can still establish a form of spectral permanence.

Main statements

  • Unitary.spectrum_subset_circle: The spectrum of a unitary element is contained in the unit sphere in ℂ.
  • IsSelfAdjoint.spectralRadius_eq_nnNorm: The spectral radius of a selfadjoint element is equal to its norm.
  • IsStarNormal.spectralRadius_eq_nnNorm: The spectral radius of a normal element is equal to its norm.
  • spectralRadius_toReal_star_self_mul_self_eq_normSq: The spectral radius of a⋆ * a is equal to the square of the norm of a.
  • IsSelfAdjoint.mem_spectrum_eq_re: Any element of the spectrum of a selfadjoint element is real.
  • StarSubalgebra.coe_isUnit: for x : S in a C⋆-Subalgebra S of A, then ↑x : A is a Unit if and only if x is a unit.
  • StarSubalgebra.spectrum_eq: spectral permanence for x : S, where S is a C⋆-Subalgebra of A, spectrum ℂ x = spectrum ℂ (x : A).

TODO

  • prove a variation of spectral permanence using StarAlgHom instead of StarSubalgebra.
  • prove a variation of spectral permanence for quasispectrum.

theorem StarAlgEquiv.ofClass.congr_simp E1 #

∀ {F : Type u_1} {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A]
  [inst_3 : Star A] [inst_4 : Add B] [inst_5 : Mul B] [inst_6 : SMul R B] [inst_7 : Star B] [inst_8 : EquivLike F A B]
  [inst_9 : AlgEquivClass F R A B] [inst_10 : StarHomClass F A B] (f f_1 : F),
  f = f_1 → StarAlgEquiv.ofClass f = StarAlgEquiv.ofClass f_1

theorem Unitary.spectrum_subset_circle E3 #

∀ {𝕜 : Type u_1} [inst : NormedField 𝕜] {E : Type u_2} [inst_1 : NormedRing E] [inst_2 : StarRing E] [CStarRing E]
  [inst_4 : NormedAlgebra 𝕜 E] [CompleteSpace E] (u : ↥(unitary E)), spectrum 𝕜 ↑u ⊆ Metric.sphere 0 1

theorem spectrum.subset_circle_of_unitary E1 #

∀ {𝕜 : Type u_1} [inst : NormedField 𝕜] {E : Type u_2} [inst_1 : NormedRing E] [inst_2 : StarRing E] [CStarRing E]
  [inst_4 : NormedAlgebra 𝕜 E] [CompleteSpace E] {u : E}, u ∈ unitary E → spectrum 𝕜 u ⊆ Metric.sphere 0 1

theorem spectrum.norm_eq_one_of_unitary E1 #

∀ {𝕜 : Type u_1} [inst : NormedField 𝕜] {E : Type u_2} [inst_1 : NormedRing E] [inst_2 : StarRing E] [CStarRing E]
  [inst_4 : NormedAlgebra 𝕜 E] [CompleteSpace E] {u : E}, u ∈ unitary E → ∀ ⦃z : 𝕜⦄, z ∈ spectrum 𝕜 u → ‖z‖ = 1

theorem CStarAlgebra.le_nnNorm_of_mem_quasispectrum E1 #

∀ {A : Type u_1} [inst : NonUnitalCStarAlgebra A] {a : A} {x : NNReal}, x ∈ quasispectrum NNReal a → x ≤ ‖a‖₊

theorem IsSelfAdjoint.spectralRadius_eq_nnNorm E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A}, IsSelfAdjoint a → spectralRadius ℂ a = ↑‖a‖₊

theorem IsSelfAdjoint.toReal_spectralRadius_complex_eq_norm E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A}, IsSelfAdjoint a → (spectralRadius ℂ a).toReal = ‖a‖

In a C⋆-algebra, the spectral radius of a self-adjoint element is equal to its norm. See IsSelfAdjoint.toReal_spectralRadius_eq_norm for a version involving spectralRadius ℝ a.

theorem IsStarNormal.spectralRadius_eq_nnNorm E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A) [IsStarNormal a], spectralRadius ℂ a = ↑‖a‖₊

theorem CStarAlgebra.toReal_spectralRadius_star_mul_self_eq_norm_sq E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A), (spectralRadius ℂ (star a * a)).toReal = ‖a‖ ^ 2

theorem CStarAlgebra.toReal_spectralRadius_self_mul_star_eq_norm_sq E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A), (spectralRadius ℂ (a * star a)).toReal = ‖a‖ ^ 2

theorem CStarAlgebra.sqrt_toReal_spectralRadius_star_mul_self_eq_norm E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A), √(spectralRadius ℂ (star a * a)).toReal = ‖a‖

theorem CStarAlgebra.sqrt_toReal_spectralRadius_self_mul_star_eq_norm E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : A), √(spectralRadius ℂ (a * star a)).toReal = ‖a‖

theorem IsSelfAdjoint.mem_spectrum_eq_re E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A}, IsSelfAdjoint a → ∀ {z : ℂ}, z ∈ spectrum ℂ a → z = ↑z.re

Any element of the spectrum of a selfadjoint is real.

theorem selfAdjoint.mem_spectrum_eq_re E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : ↥(selfAdjoint A)) {z : ℂ}, z ∈ spectrum ℂ ↑a → z = ↑z.re

Any element of the spectrum of a selfadjoint is real.

theorem IsSelfAdjoint.im_eq_zero_of_mem_spectrum E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A}, IsSelfAdjoint a → ∀ {z : ℂ}, z ∈ spectrum ℂ a → z.im = 0

Any element of the spectrum of a selfadjoint is real.

theorem IsSelfAdjoint.val_re_map_spectrum E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A},
  IsSelfAdjoint a → spectrum ℂ a = Complex.ofReal ∘ Complex.re '' spectrum ℂ a

The spectrum of a selfadjoint is real

theorem selfAdjoint.val_re_map_spectrum E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (a : ↥(selfAdjoint A)),
  spectrum ℂ ↑a = Complex.ofReal ∘ Complex.re '' spectrum ℂ ↑a

The spectrum of a selfadjoint is real

theorem IsSelfAdjoint.isConnected_spectrum_compl E1 #

∀ {A : Type u_1} [inst : CStarAlgebra A] {a : A}, IsSelfAdjoint a → IsConnected (spectrum ℂ a)ᶜ

The complement of the spectrum of a selfadjoint element in a C⋆-algebra is connected.

theorem StarSubalgebra.coe_isUnit E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (S : StarSubalgebra ℂ A) [hS : IsClosed ↑S] {a : ↥S}, IsUnit ↑a ↔ IsUnit a

For a unital C⋆-subalgebra S of A and x : S, if ↑x : A is invertible in A, then x is invertible in S.

theorem StarSubalgebra.mem_spectrum_iff E0 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (S : StarSubalgebra ℂ A) [hS : IsClosed ↑S] {a : ↥S} {z : ℂ},
  z ∈ spectrum ℂ a ↔ z ∈ spectrum ℂ ↑a

theorem StarSubalgebra.spectrum_eq E3 #

∀ {A : Type u_1} [inst : CStarAlgebra A] (S : StarSubalgebra ℂ A) [hS : IsClosed ↑S] {a : ↥S},
  spectrum ℂ a = spectrum ℂ ↑a

Spectral permanence. The spectrum of an element is invariant of the (closed) StarSubalgebra in which it is contained.

theorem NonUnitalStarAlgHom.nnNorm_apply_le E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : FunLike F A B] [NonUnitalAlgHomClass F ℂ A B] [StarHomClass F A B] (φ : F) (a : A), ‖φ a‖₊ ≤ ‖a‖₊

A non-unital star algebra homomorphism of complex C⋆-algebras is norm contractive.

theorem NonUnitalStarAlgHom.norm_apply_le E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : FunLike F A B] [NonUnitalAlgHomClass F ℂ A B] [StarHomClass F A B] (φ : F) (a : A), ‖φ a‖ ≤ ‖a‖

A non-unital star algebra homomorphism of complex C⋆-algebras is norm contractive.

theorem NonUnitalStarAlgHom.instContinuousLinearMapClassComplex E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : FunLike F A B] [NonUnitalAlgHomClass F ℂ A B] [StarHomClass F A B], ContinuousLinearMapClass F ℂ A B

Non-unital star algebra homomorphisms between C⋆-algebras are continuous linear maps. See note [lower instance priority]

theorem StarAlgEquiv.nnNorm_map E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : EquivLike F A B] [AlgEquivClass F ℂ A B] [StarHomClass F A B] (φ : F) (a : A), ‖φ a‖₊ = ‖a‖₊

theorem StarAlgEquiv.norm_map E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : EquivLike F A B] [AlgEquivClass F ℂ A B] [StarHomClass F A B] (φ : F) (a : A), ‖φ a‖ = ‖a‖

theorem StarAlgEquiv.isometry E1 #

∀ {F : Type u_1} {A : Type u_2} {B : Type u_3} [inst : NonUnitalCStarAlgebra A] [inst_1 : NonUnitalCStarAlgebra B]
  [inst_2 : EquivLike F A B] [AlgEquivClass F ℂ A B] [StarHomClass F A B] (φ : F), Isometry ⇑φ

instance WeakDual.Complex.instStarHomClass E0 #

∀ {F : Type u_1} {A : Type u_2} [inst : CStarAlgebra A] [inst_1 : FunLike F A ℂ] [hF : AlgHomClass F ℂ A ℂ],
  StarHomClass F A ℂ

This instance is provided instead of StarHomClass to avoid type class inference loops. See note [lower instance priority]

theorem AlgHomClass.instStarHomClass E1 #

∀ {F : Type u_1} {A : Type u_2} [inst : CStarAlgebra A] [inst_1 : FunLike F A ℂ] [hF : AlgHomClass F ℂ A ℂ],
  StarHomClass F A ℂ

This is not an instance to avoid type class inference loops. See WeakDual.Complex.instStarHomClass.

instance WeakDual.CharacterSpace.instStarHomClass E0 #

∀ {A : Type u_2} [inst : CStarAlgebra A], StarHomClass (↑(WeakDual.characterSpace ℂ A)) A ℂ

Deprecated aliases

NameNew nameSince
CStarAlgebra.le_nnnorm_of_mem_quasispectrumCStarAlgebra.le_nnNorm_of_mem_quasispectrum2026-10-31
IsSelfAdjoint.spectralRadius_eq_nnnormIsSelfAdjoint.spectralRadius_eq_nnNorm2026-10-31
IsStarNormal.spectralRadius_eq_nnnormIsStarNormal.spectralRadius_eq_nnNorm2026-10-31
NonUnitalStarAlgHom.nnnorm_apply_leNonUnitalStarAlgHom.nnNorm_apply_le2026-10-31
StarAlgEquiv.nnnorm_mapStarAlgEquiv.nnNorm_map2026-10-31