NLA-lib Explorer

NLAlib.Ops.Store.readView_congr

Library · theorem

The read of a view depends only on its cells.

NLAlib.Ops.Store.readView_congr {K : Type} {s s' : Ops.Store K} {b off : ℕ} {v : Ops.View}
  (h : ∀ k < v.cells, s'.get b (off + v.offset k) = s.get b (off + v.offset k)) :
  s'.readView b off v = s.readView b off v

Full source on GitHub

Import NLAlib.Ops.Logic.View.