NLAlib.Ops.Examples.runsL_scale
Library · theorem
A liberal abstract theorem: for every interpretation satisfying the liberal contract of div, if the run of scale succeeds then its conclusion holds. No hypothesis on the divisor, on the readability of the block or on the handles: the evaluator rejects a handle outside the store. Its success companion is runs_scale.
NLAlib.Ops.Examples.runsL_scale {K : Type} [Inhabited K] {dec : K → ℝ} {ε : ℝ}
{J : Ops.Interp Ops.Examples.DOp Empty K}
(hJ : J.Satisfies Ops.Mode.liberal Ops.Examples.DOp.div (Ops.Examples.divSpec dec ε))
{τ : Ops.Tape K} {n : ℕ} {v s : ℕ × ℕ} {m : Ops.Mem K} (hvs : v.1 ≠ s.1) :
Ops.ConditionalRunsL J τ Ops.Examples.scale { idx := [n, v.2, s.2], buf := [v.1, s.1] } m
(Ops.Examples.ScalePost dec ε n v s m)Import NLAlib.Ops.Examples.Liberal.