NLA-lib Explorer

NLAlib.Ops.EntryCodec.length_pack

Library · theorem

Packing uses the declared word width, including an empty vector.

NLAlib.Ops.EntryCodec.length_pack {K E : Type} (C : Ops.EntryCodec K E) (n : ℕ) (v : ℕ → E) :
  (C.pack n v).length = n * C.width

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.