NLA-lib Explorer

NLAlib.Ops.Writes.keep_readBlocks

Library · theorem

Carry a tuple of actual readable input blocks through a disjoint mathematical block. The next named state receives those same input reads, without an update-chain invariant.

NLAlib.Ops.Writes.keep_readBlocks {K Op Tst : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K}
  {τ : Ops.Tape K} {ρ : Ops.Env} {m : Ops.Mem K} {c : Ops.Stmt Op Tst} {F : Ops.Fp}
  {P : Ops.Mem K → Prop} {zs : List (ℕ × ℕ)} {ls : List ℕ} {xs : List (List K)}
  (h : Ops.Writes md I τ c ρ F P m) (hr : m.readBlocks zs ls = some xs)
  (hdis : F.Disj (Ops.Fp.blocks zs ls)) :
  Ops.Writes md I τ c ρ F (fun m' ↦ P m' ∧ m'.readBlocks zs ls = some xs) m

Full source on GitHub

Import NLAlib.Ops.Logic.BlockSequence.