NLA-lib Explorer

NLAlib.integral_girardHutchinson

Library · theorem

Headline of girard-hutchinson-unbiased General form: sizes are index types

The Girard–Hutchinson estimator is unbiased: for m nonempty, if every probe is isotropic, \mathbb{E}[\mathsf{girardHutchinson}(\mathbf{A}, \mathbf{\Omega})] = \operatorname{tr}\mathbf{A}. No independence is needed. [Epperly2023, Unbiasedness]. Result: girard-hutchinson-unbiased

NLAlib.integral_girardHutchinson.{u_1, u_2, u_3, u_4} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {𝕜 : Type u_2} [RCLike 𝕜] {n : Type u_3} {m : Type u_4} [Fintype n] [Fintype m]
  [DecidableEq n] [Nonempty m] {X : Ω → Matrix n m 𝕜}
  (hX : ∀ (j : m), IsIsotropic (fun ω i ↦ X ω i j) μ) (A : Matrix n n 𝕜) :
  ∫ (ω : Ω), girardHutchinson A (X ω) ∂μ = A.trace

Full source on GitHub

Import NLAlib.Estimation.Trace.GirardHutchinson.

General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k ≥ 1.