NLA-lib Explorer

NLAlib.Ops.Store.EqOff.eq_updBlock

Library · theorem

A store that agrees with s off a block and holds xs in it is s.updBlock b off xs.

NLAlib.Ops.Store.EqOff.eq_updBlock {K : Type} {s s' : Ops.Store K} {b off n : ℕ} {xs : List K}
  (h : Ops.Store.EqOff (Ops.Store.inBlock b off n) s s') (hr : s'.readBlock b off n = some xs) :
  s' = s.updBlock b off xs

Full source on GitHub

Import NLAlib.Ops.Frame.