NLAlib.BlockKrylov.integral_comp_storedOutput
Library · theorem
Transfer of expectations to the stored output. Let a program be certified for the block Golub–Kahan problem with a postcondition that implies the exact-run postcondition, let \mathbf{A} be the m \times n input matrix and \mathbf{X} a random n \times \mathbf{b} matrix. For every real function f of an m \times n matrix, with \widehat{\mathbf{A}} the stored product of the run on the tape of \mathbf{X}, \mathbb{E}\,f(\widehat{\mathbf{A}}) = \mathbb{E}\,f(\mathsf{rbki}(\mathbf{A}, \mathbf{X}, q))\,. The two integrands are equal at every sample, so no law, measurability or integrability is assumed.
NLAlib.BlockKrylov.integral_comp_storedOutput {Lo : Type}
{L : Ops.AccessModel Lo Ops.CmpTst Krylov.GolubKahan.Band.Certification.problem}
{S : Ops.Specification Lo Ops.CmpTst Krylov.GolubKahan.Band.Certification.problem}
(alg : Ops.Algorithm L S) (stream : ℕ)
(hgood :
∀ (d : Fin 4 → ℕ) (x : Krylov.GolubKahan.Band.Certification.problem.Input d) (τ : Ops.Tape ℝ)
(c : Ops.Count (Lo ⊕ Ops.Bookkeeping) Ops.CmpTst) (μ : Ops.Mem ℝ),
S.good d x τ c μ →
Krylov.GolubKahan.Band.Certification.Good stream d
(Krylov.GolubKahan.Band.Certification.matrix x) τ μ)
{d : Fin 4 → ℕ} (input : Krylov.GolubKahan.Band.Certification.problem.Input d)
(I : Ops.Interp Lo Ops.CmpTst ℝ) (hI : L.contracts d input I) {Ω' : Type} [MeasurableSpace Ω']
(P : Measure Ω') (X : Ω' → Matrix (Fin (d 1)) (Fin (d 2)) ℝ)
(f : Matrix (Fin (d 0)) (Fin (d 1)) ℝ → ℝ) :
∫ (ω : Ω'), f (BlockKrylov.storedOutput alg stream input I (X ω)) ∂P =
∫ (ω : Ω'), f (rbki (Krylov.GolubKahan.Band.Certification.matrix input) (X ω) (d 3)) ∂PImport NLAlib.LowRank.BlockKrylov.Probability.