NLA-lib Explorer

Matrix.IsHermitian.cfc_integral

Library · theorem

The functional calculus of a fixed Hermitian matrix commutes with the integral: for Hermitian \mathbf{B}, if \omega \mapsto f_\omega(\mathbf{x}) is integrable for every \mathbf{x}, then g(\mathbf{B}) = \mathbb{E} f_\omega(\mathbf{B}) with g(\mathbf{x}) = \mathbb{E} f_\omega(\mathbf{x}), where f(\mathbf{B}) is cfc f B. Unlike Mathlib's cfc_integral, no continuity in \omega or \mathbf{x} is needed: the spectrum of a matrix is finite.

Matrix.IsHermitian.cfc_integral.{u_1, u_2, u_3} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_3} [Fintype n] [DecidableEq n]
  {B : Matrix n n 𝕜} (hB : B.IsHermitian) {f : Ω → ℝ → ℝ}
  (hf : ∀ (x : ℝ), Integrable (fun ω ↦ f ω x) μ) :
  cfc (fun x ↦ ∫ (ω : Ω), f ω x ∂μ) B = ∫ (ω : Ω), cfc (f ω) B ∂μ

Full source on GitHub

Import NLAlib.Probability.MatrixIntegral.