NLA-lib Explorer

NLAlib.holdsMatrix_storedMatrix

Library · theorem

A block whose words are all initialised holds the matrix read from it.

NLAlib.holdsMatrix_storedMatrix {rows cols : ℕ} {b : ℕ × ℕ} {s : Ops.Store ℝ}
  (h : ∀ j < 2 * (cols * rows), (s.get b.1 (b.2 + j)).isSome = true) :
  HoldsMatrix b (storedMatrix b rows cols s) s

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.StoredMatrix.