NLAlib.Krylov.GolubKahan.Band.accounts_linkTable
Library · theorem
The accounting certificate of the table of a scheme E: if every run of the tree of E at the dimensions d costs at most κ d and uses at most w scratch, statically, and every lower primitive has workspace at most w, then one call of the driver costs at most NLAlib.Krylov.GolubKahan.Band.linkCost and uses at most w scratch, for every lower interpretation.
NLAlib.Krylov.GolubKahan.Band.accounts_linkTable {K Lo Tst : Type} [Ops.Has Ops.OperatorPairOp Lo]
[Ops.Has Ops.SampleOp Lo] (E : Ops.Stmt Lo Tst) (κ : List ℕ → Ops.Count Lo Tst)
(W : Lo → List ℕ → ℕ) (w : ℕ)
(hE :
∀ (d offs : List ℕ),
d.length = 3 →
offs.length = 5 → Ops.stmtCost E (d ++ offs) ≤ κ d ∧ Ops.stmtPeak W E (d ++ offs) ≤ w)
(hW : ∀ (o : Lo) (ds : List ℕ), W o ds ≤ w) (I : Ops.Interp Lo Tst K) :
(Krylov.GolubKahan.Band.linkTable E).Accounts I W (Krylov.GolubKahan.Band.linkCost κ) fun x x_1 ↦
wImport NLAlib.Krylov.GolubKahan.Band.Linked.