NLAlib.Ops.Table.accounts_of_static
Library · theorem
The certificate follows from the static cost and workspace of the trees, for every interpretation.
NLAlib.Ops.Table.accounts_of_static {Op₁ Op₂ Tst K : Type} {T : Ops.Table Op₁ Op₂ Tst}
{W₂ : Op₂ → List ℕ → ℕ} {κ : Op₁ → List ℕ → Ops.Count Op₂ Tst} {W₁ : Op₁ → List ℕ → ℕ}
(himpl :
∀ (o : Op₁) (R : Ops.Impl Op₂ Tst),
T o = Sum.inl R →
∀ (d offs : List ℕ),
d.length = R.nd →
offs.length = R.nin + R.nout →
Ops.stmtCost R.body (d ++ offs) ≤ κ o d ∧ Ops.stmtPeak W₂ R.body (d ++ offs) ≤ W₁ o d)
(hkept :
∀ (o : Op₁) (o' : Op₂),
T o = Sum.inr o' → ∀ (d : List ℕ), Ops.Count.one o' d ≤ κ o d ∧ W₂ o' d ≤ W₁ o d)
(I : Ops.Interp Op₂ Tst K) : T.Accounts I W₂ κ W₁Import NLAlib.Ops.Transfer.