NLA-lib Explorer

NLAlib.Ops.Tools.logWeight_eq

Library · theorem

Computable weights agree with the core's full count homomorphism.

NLAlib.Ops.Tools.logWeight_eq {Op Tst : Type} (f : Op ⊕ Tst → List ℕ → ℕ)
  (l : List (Ops.Tools.Key Op Tst)) :
  Ops.Tools.logWeight f l = (Ops.Count.lift f) (Ops.Tools.logCount l)

Full source on GitHub

Import NLAlib.Ops.Tools.Program.