NLA-lib Explorer

NLAlib.variance_girardHutchinson

Library · theorem

General form: sizes are index types

The variance of the real Girard–Hutchinson estimator: for m nonempty, independent isotropic real probes whose single-probe estimates are square integrable with variance \mathbf{v}, \operatorname{Var}[\mathsf{girardHutchinson}(\mathbf{A}, \mathbf{\Omega})] = \mathbf{v} / m. With the single-probe variances of NLAlib.variance_quadForm_of_hasLaw_gaussianVector, NLAlib.variance_quadForm_of_hasLaw_rademacherVector and NLAlib.variance_quadForm_sqrt_smul_of_hasLaw_uniformSphereVector. [Epperly2023, Variance]. Result: girard-hutchinson-variance

NLAlib.variance_girardHutchinson.{u_1, u_3, u_4} {Ω : Type u_1} {mΩ : MeasurableSpace Ω}
  {μ : Measure Ω} {n : Type u_3} {m : Type u_4} [Fintype n] [Fintype m] [DecidableEq n] [Nonempty m]
  {X : Ω → Matrix n m ℝ} (hind : iIndepFun (fun j ω i ↦ X ω i j) μ)
  (hX : ∀ (j : m), IsIsotropic (fun ω i ↦ X ω i j) μ) {A : Matrix n n ℝ}
  (hL2 : ∀ (j : m), MemLp (fun ω ↦ quadForm A fun i ↦ X ω i j) 2 μ) {v : ℝ}
  (hv : ∀ (j : m), Var[fun ω ↦ quadForm A fun i ↦ X ω i j; μ] = v) :
  Var[fun ω ↦ girardHutchinson A (X ω); μ] = v / ↑(Fintype.card m)

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.