NLAlib.Ops.Table.AccountsW
Library · structure
The weighted accounting certificate of a table. w₂ is a weight of the lower counts (an additive map to an ordered monoid A: flops, kernel work T(k), the counts themselves) and t o d bounds the weight of one call of o at the dimensions d. Every successful run of an implementation adds at most t o d to the weight and stays within the workspace of its operation. The counts of a run of an implementation may depend on the data (a split read from the store, a loop with early exit); only their weight is bounded. Nothing about values.
NLAlib.Ops.Table.AccountsW {Op₁ Op₂ Tst K A : Type} [AddCommMonoid A] [PartialOrder A]
(T : Ops.Table Op₁ Op₂ Tst) (I : Ops.Interp Op₂ Tst K) (W₂ : Op₂ → List ℕ → ℕ)
(w₂ : Ops.Count Op₂ Tst →+ A) (t : Op₁ → List ℕ → A) (W₁ : Op₁ → List ℕ → ℕ) : PropImport NLAlib.Ops.Transfer.