NLAlib.Ops.Impl.Satisfies.runs_rel
Library · theorem
The bridge, in operand form: on admitted, live operands, with the input blocks xs read and room for the outputs, the tree terminates within its static counts and workspace and has written output blocks related to xs and to the window.
NLAlib.Ops.Impl.Satisfies.runs_rel {Op Tst K : Type} {E : Ops.Impl Op Tst} {I : Ops.Interp Op Tst K}
{B : Ops.BlockRel K} {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
(h : E.Satisfies I Ops.Mode.total (B.spec adm)) (W : Op → List ℕ → ℕ) {d : List ℕ}
{ins outs : List (ℕ × ℕ)} {τ : Ops.Tape K} {m : Ops.Mem K} {xs : List (List K)}
(hnd : d.length = B.nd) (hadm : adm d ins outs) (hl : m.Live (ins ++ outs))
(hr : m.readBlocks ins (B.inLens d) = some xs)
(hdom : B.dom d xs (τ.window B.stream m.pos (B.win d))) (hz : m.Room outs (B.outLens d)) :
Ops.ConditionalRuns I W τ E.body (Ops.Env.frame d (ins ++ outs)) m
(Ops.stmtCost E.body (d ++ List.map Prod.snd (ins ++ outs)))
(Ops.stmtPeak W E.body (d ++ List.map Prod.snd (ins ++ outs)))
(B.Post d xs outs (τ.window B.stream m.pos (B.win d)) m)Import NLAlib.Ops.Cert.