NLAlib.Ops.Examples.runsLaw_hutch
Library · theorem
Random tape
The abstract theorem of the Girard–Hutchinson estimator, from its certificate by the law-level bridge, for every interpretation satisfying the contracts and every law of the tape whose decoded probes are isotropic. For every sample: N calls of each operation, 2 n + 1 scratch cells. In law, from est = 0: the estimate est / N has mean tr A and the variance of one quadratic form divided by N.
NLAlib.Ops.Examples.runsLaw_hutch {K Tst : Type} [Inhabited K] [MeasurableSpace K] {dec : K → ℝ}
{n : ℕ} {A : Matrix (Fin n) (Fin n) ℝ} {J : Ops.Interp Ops.ROp Tst K} (hJ : Ops.IsRandLin dec A J)
{law : ℕ → Measure K} {Ω : Type} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {ξ : Ω → Ops.Tape K}
(h : Ops.IsTapeLaw law P ξ) (hdec : Measurable dec)
(hiso : Ops.IsIsotropic (Ops.probeLaw dec (law Ops.Stream.gauss) n))
(hq : MemLp (Ops.quadForm A) 2 (Ops.probeLaw dec (law Ops.Stream.gauss) n))
(W : Ops.ROp → List ℕ → ℕ) {N : ℕ} (hN : 0 < N) {e : ℕ × ℕ} {m : Ops.Mem K} {z₀ : K}
(he : m.store.get e.1 e.2 = some z₀) (hz : dec z₀ = 0) :
Ops.ConditionalRunsLaw J W ξ Ops.Examples.hutch (Ops.Env.frame [N, n] [e, e]) m
(Ops.Examples.hutchCount N n) (Ops.Examples.hutchPeak W n) (Ops.Examples.HutchPost dec N n e m)
fun X ↦
∫ (ω : Ω), X ω / ↑N ∂P = A.trace ∧
Var[fun ω ↦ X ω / ↑N; P] = Var[Ops.quadForm A; Ops.probeLaw dec (law Ops.Stream.gauss) n] / ↑NImport NLAlib.Ops.Examples.Hutch.