NLA-lib Explorer

NLAlib.Ops.Store.EqOff.get_prefix

Library · theorem

The next input word survives earlier pointwise writes and disjoint workspace updates. An exact input/output alias is allowed; a shifted overlapping alias is excluded.

NLAlib.Ops.Store.EqOff.get_prefix {K : Type} {s s' : Ops.Store K} {x y : ℕ × ℕ} {n i : ℕ}
  {scratch : Ops.Fp} (hfr : Ops.Store.EqOff (Ops.Store.inBlock y.1 y.2 i ⊔ scratch) s s')
  (hxy : Ops.Fp.Disj (Ops.Store.inBlock x.1 x.2 n) (Ops.Store.inBlock y.1 y.2 n) ∨ x = y)
  (hs : scratch.Disj (Ops.Store.inBlock x.1 x.2 n)) (hi : i < n) :
  s'.get x.1 (x.2 + i) = s.get x.1 (x.2 + i)

Full source on GitHub

Import NLAlib.Ops.Logic.PrefixRead.