NLA-lib Explorer

NLAlib.Ops.Store.readsOnly_readBlocks

Library · theorem

A successful tuple of block reads depends only on the union of its requested cells. The memory position plays no role in reading the tuple.

NLAlib.Ops.Store.readsOnly_readBlocks {K : Type} (zs : List (ℕ × ℕ)) (ls : List ℕ)
  (xs : List (List K)) (pos : ℕ) :
  Ops.Store.ReadsOnly (Ops.Fp.blocks zs ls) fun s ↦
    { store := s, pos := pos }.readBlocks zs ls = some xs

Full source on GitHub

Import NLAlib.Ops.Logic.BlockSequence.