NLA-lib Explorer

NLAlib.Ops.Mem.writes_eq_some_iff

Library · theorem

Guarded writes of several blocks succeed exactly when there is room, and are then the total writes.

NLAlib.Ops.Mem.writes_eq_some_iff {K : Type} {m m' : Ops.Mem K} {zs : List (ℕ × ℕ)}
  {ys : List (List K)} :
  m.writes zs ys = some m' ↔ m.Room zs (List.map List.length ys) ∧ m' = m.updBlocks zs ys

Full source on GitHub

Import NLAlib.Ops.BlockRel.