NLA-lib Explorer

NLAlib.Ops.EntryCodec.entry_pack

Library · theorem

Packing followed by decoding preserves each entry in the declared range.

NLAlib.Ops.EntryCodec.entry_pack {K E : Type} [Inhabited K] (C : Ops.EntryCodec K E) {n i : ℕ}
  (v : ℕ → E) (hi : i < n) : C.entry (C.pack n v) i = v i

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.