NLA-lib Explorer

NLAlib.Ops.Store.readBlock_columns

Library · theorem

The block of the first k columns is read from the columns one by one.

NLAlib.Ops.Store.readBlock_columns {K : Type} {s : Ops.Store K} {b off n : ℕ} {cols : ℕ → List K}
  {k : ℕ} :
  (∀ i < k, s.readBlock b (off + n * i) n = some (cols i)) →
    s.readBlock b off (k * n) = some (List.flatMap cols (List.range k))

Full source on GitHub

Import NLAlib.Ops.Logic.Footprint.