NLA-lib Explorer

NLAlib.Ops.Store.upd_updBlock_comm

Library · theorem

An update outside a block commutes with the block update.

NLAlib.Ops.Store.upd_updBlock_comm {K : Type} {s : Ops.Store K} {b off b' i : ℕ}
  (h : b' ≠ b ∨ i < off) (xs : List K) (v : K) :
  (s.updBlock b off xs).upd b' i v = (s.upd b' i v).updBlock b off xs

Full source on GitHub

Import NLAlib.Ops.Store.