NLA-lib Explorer

NLAlib.BlockKrylov.measureReal_not_accepts_le

Library · theorem

Transfer of a tail bound 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 let \mathbf{X} be a random n \times \mathbf{b} matrix on a finite measure space. For every predicate \Phi on m \times n matrices, if \mathbb{P}[\neg\,\Phi(\mathsf{rbki}(\mathbf{A}, \mathbf{X}, q))] \le \delta\,, then with probability at least 1 - \delta the run on the tape of \mathbf{X} succeeds within every budget of the specification, satisfies its postcondition, and its stored product \mathbf{U}\mathbf{S}^{\mathsf{H}}\mathbf{V}^{\mathsf{H}} satisfies \Phi. No law of \mathbf{X}, no measurability of \Phi and no success of the execution is assumed.

NLAlib.BlockKrylov.measureReal_not_accepts_le {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 Ω') [IsFiniteMeasure P] (X : Ω' → Matrix (Fin (d 1)) (Fin (d 2)) ℝ)
  (Φ : Matrix (Fin (d 0)) (Fin (d 1)) ℝ → Prop) {δ : ℝ}
  (hΦ :
    P.real {ω | ¬Φ (rbki (Krylov.GolubKahan.Band.Certification.matrix input) (X ω) (d 3))} ≤ δ) :
  P.real
      {ω |
        ¬S.Accepts alg.program I L.resources (BlockKrylov.packedSampleTape stream (X ω)) d input
            fun c μ ↦
            S.good d input (BlockKrylov.packedSampleTape stream (X ω)) c μ ∧
              Φ (Krylov.GolubKahan.Band.Certification.storedProduct (d 0) (d 1) (d 2) (d 3) μ)} ≤
    δ

Full source on GitHub

Import NLAlib.LowRank.BlockKrylov.Probability.