NLA-lib Explorer

NLAlib.Ops.get_updCells

Library · theorem

The value of a cell after the block: the last value written to it (one lemma per output word, not one simp over the whole block).

NLAlib.Ops.get_updCells {K : Type} {m : Ops.Mem K} {ws₁ ws₂ : List ((ℕ × ℕ) × K)} {z : ℕ × ℕ}
  {v : K} (hl : z.2 < m.store.len z.1) (hz : z ∉ List.map Prod.fst ws₂) :
  (m.updCells (ws₁ ++ (z, v) :: ws₂)).store.get z.1 z.2 = some v

Full source on GitHub

Import NLAlib.Ops.Logic.Scalar.