NLA-lib Explorer

NLAlib.Ops.Store.EqOff.eq_updBlock₂

Library · theorem

A store that agrees with s off two blocks and holds xs and ys in them is s with the two blocks written, the second after the first.

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

Full source on GitHub

Import NLAlib.Ops.Frame.