NLA-lib Explorer

NLAlib.Ops.Tape.window_ofStream

Library · theorem

Reading the supplied stream from position zero returns exactly the supplied list.

NLAlib.Ops.Tape.window_ofStream {K : Type} [Inhabited K] (stream : ℕ) (words : List K) :
  (Ops.Tape.ofStream stream words).window stream 0 words.length = words

Full source on GitHub

Import NLAlib.Ops.Stream.