NLA-lib Explorer

NLAlib.Ops.Store.get_pop

Library · theorem

The cells after popping the top buffer.

NLAlib.Ops.Store.get_pop {K : Type} (s : Ops.Store K) (b i : ℕ) :
  s.pop.get b i = if b < List.length s - 1 then s.get b i else none

Full source on GitHub

Import NLAlib.Ops.RunMeasurable.