NLA-lib Explorer

NLAlib.Ops.Mem.length_eq_of_readBlocks

Library · theorem

A list of operands whose blocks of the given lengths are read has as many operands as lengths.

NLAlib.Ops.Mem.length_eq_of_readBlocks {K : Type} {m : Ops.Mem K} {as : List (ℕ × ℕ)} {ns : List ℕ}
  {xs : List (List K)} : m.readBlocks as ns = some xs → as.length = ns.length

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.