NLAlib.Ops.Interp.link_isFn
Library · theorem
Grounding a functional contract (exact satisfaction).
NLAlib.Ops.Interp.link_isFn {Op₁ Op₂ Tst K : Type} {I : Ops.Interp Op₂ Tst K}
{T : Ops.Table Op₁ Op₂ Tst} {o : Op₁} {E : Ops.Impl Op₂ Tst} (hT : T o = Sum.inl E)
{f : Ops.BlockFn K} {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
(h :
∀ (d : List ℕ) (ins outs : List (ℕ × ℕ)) (τ : Ops.Tape K) (m m' : Ops.Mem K),
adm d ins outs →
f.apply d ins outs τ m = some m' →
E.Fits d.length ins.length outs.length ∧
Ops.eval I τ E.body (Ops.Env.frame d (ins ++ outs)) m = some m') :
(I.link T).IsFn Ops.Mode.total o f admImport NLAlib.Ops.Cert.