NLA-lib Explorer

NLAlib.Ops.Mem.room_split_strided

Library · theorem

The enclosing reservation's capacity suffices for both payloads.

NLAlib.Ops.Mem.room_split_strided {K : Type} {m : Ops.Mem K} {buf off stride a b x y : ℕ}
  (hx : x ≤ a * stride) (hy : y ≤ b * stride) (hroom : off + (a + b) * stride ≤ m.store.len buf) :
  m.Room [(buf, off), (buf, off + a * stride)] [x, y]

Full source on GitHub

Import NLAlib.Ops.Logic.BlockPartition.