NLA-lib Explorer

NLAlib.Ops.Store.upd_top

Library · theorem

NLAlib.Ops.Store.upd_top {K : Type} {s : Ops.Store K} {b : ℕ} (hb : b = List.length s)
  (tb : Ops.Buf K) (i : ℕ) (v : K) : (s ++ [tb]).upd b i v = s ++ [List.set tb i (some v)]

Full source on GitHub

Import NLAlib.Ops.Store.