NLA-lib Explorer

NLAlib.Ops.Mem.Room.ofFn

Library · theorem

An indexed collection has room when each of its blocks fits its buffer.

NLAlib.Ops.Mem.Room.ofFn {K : Type} {m : Ops.Mem K} {q : ℕ} (x : Fin q → ℕ × ℕ) (ls : Fin q → ℕ)
  (h : ∀ (i : Fin q), (x i).2 + ls i ≤ m.store.len (x i).1) : m.Room (List.ofFn x) (List.ofFn ls)

Full source on GitHub

Import NLAlib.Ops.Logic.BlockSequence.