NLA-lib Explorer

Matrix.condExp_trace

Library · theorem

The conditional expectation commutes with the trace: for integrable \mathbf{X}, \operatorname{tr} \mathbb{E}[\mathbf{X} \mid \mathcal{G}] = \mathbb{E}[\operatorname{tr} \mathbf{X} \mid \mathcal{G}] almost everywhere.

Matrix.condExp_trace.{u_1, u_2, u_4} {Ω : Type u_1} {m mΩ : MeasurableSpace Ω} {μ : Measure Ω}
  {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_4} [Fintype n] [DecidableEq n] {X : Ω → Matrix n n 𝕜}
  (hX : Integrable X μ) : (fun ω ↦ (μ[X | m] ω).trace) =ᵐ[μ] μ[fun ω ↦ (X ω).trace | m]

Full source on GitHub

Import NLAlib.ForMathlib.MeasureTheory.Function.ConditionalExpectation.Matrix.