NLA-lib Explorer

NLAlib.Ops.PWrites.of_measureReal_le

Library · theorem

A probabilistic block from its failure bound at one memory: under a measurable interpretation whose operations read the tape only in their windows, if the run of c from m misses its frame or Post with probability at most \varphi under every tape with the stream laws, and the outcomes (the frame and Post) form a measurable set, then the block meets NLAlib.Ops.PWrites from m, with the good set "the run succeeds".

NLAlib.Ops.PWrites.of_measureReal_le {Op Tst : Type} {I : Ops.Interp Op Tst ℝ} (hI : I.IsMeasurable)
  {win : Op → List ℕ → ℕ} (hloc : ∀ (o : Op), I.TapeLocal o (win o)) {law : ℕ → Measure ℝ}
  {c : Ops.Stmt Op Tst} {ρ : Ops.Env} {F : Ops.Fp} {Post : Ops.Mem ℝ → Prop} {φ : ℝ} {m : Ops.Mem ℝ}
  (hT : MeasurableSet {x | Ops.Store.EqOff F x.1.store x.2.store ∧ Post x.2})
  (h :
    ∀ {Ω : Type} [inst : MeasurableSpace Ω] {P : Measure Ω} {ξ : Ω → Ops.Tape ℝ},
      Ops.IsTapeLaw law P ξ → P.real {ω | ¬Ops.Writes Ops.Mode.total I (ξ ω) c ρ F Post m} ≤ φ) :
  Ops.PWrites law I c ρ F (fun x ↦ x = m) Post φ

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.Verified.