NLA-lib Explorer

NLAlib.Ops.Store.get_push

Library · theorem

The cells after pushing a fresh buffer: the new buffer is uninitialised.

NLAlib.Ops.Store.get_push {K : Type} (s : Ops.Store K) (n b i : ℕ) :
  (s.push n).get b i = if b < List.length s then s.get b i else none

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.