NLA-lib Explorer

NLAlib.Ops.Count.totalWeight

Library · def

Weight the full canonical count. Every class of instruction has an explicit weight; there is no silent default for queries or structural work.

NLAlib.Ops.Count.totalWeight {Op Tst : Type} (op : Op → List ℕ → ℕ) (query : Tst → List ℕ → ℕ)
  (core : Ops.Bookkeeping → List ℕ → ℕ) : Ops.Count (Op ⊕ Ops.Bookkeeping) Tst →+ ℕ

Full source on GitHub

Import NLAlib.Ops.Transfer.