NLA-lib Explorer

NLAlib.Ops.Store.readsOnly_holdsEntries

Library · theorem

Fixed-width matrices read only their containing word block. This lets the existing frame rule preserve them without per-component frame arguments in algorithms.

NLAlib.Ops.Store.readsOnly_holdsEntries {K E : Type} (C : Ops.EntryCodec K E) (L : Ops.MatLayout)
  (A : ℕ → ℕ → E) (hL : L.Valid) :
  Ops.Store.ReadsOnly (Ops.Store.inBlock L.buf L.off (C.width * (L.cols * L.ld))) fun s ↦
    s.HoldsEntries C L A

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.