NLAlib.Ops.Interp.TapeLocal.link
Library · theorem
The window lemma. The meaning induced by an implementation without tests and index binders over tape-local operations is tape-local, with the static window of the tree.
NLAlib.Ops.Interp.TapeLocal.link {Op₁ Op₂ Tst K : Type} {I : Ops.Interp Op₂ Tst K}
{k₂ : Op₂ → List ℕ → ℕ} (hI : ∀ (o : Op₂), I.TapeLocal o (k₂ o)) {T : Ops.Table Op₁ Op₂ Tst}
{o : Op₁} {E : Ops.Impl Op₂ Tst} (hT : T o = Sum.inl E) (hs : E.body.Straight) {w : List ℕ → ℕ}
(hw :
∀ (d offs : List ℕ),
d.length = E.nd →
offs.length = E.nin + E.nout → Ops.staticWindow k₂ E.body (d ++ offs) = w d) :
(I.link T).TapeLocal o wImport NLAlib.Ops.Tape.