NLA-lib Explorer

NLAlib.Ops.EntryCodec.pair_entry

Library · theorem

Decoding a pair reads its two actual adjacent words.

NLAlib.Ops.EntryCodec.pair_entry {K : Type} [Inhabited K] (xs : List K) (i : ℕ) :
  (Ops.EntryCodec.pair K).entry xs i = (Ops.vec xs (i * 2), Ops.vec xs (i * 2 + 1))

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.