NLA-lib Explorer

NLAlib.Ops.EntryCodec.packFinMatrix_eq_packMatrix

Library · theorem

Restricting a logical matrix to finite indices gives the same packed word list.

NLAlib.Ops.EntryCodec.packFinMatrix_eq_packMatrix {K E : Type} (C : Ops.EntryCodec K E)
  (rows cols : ℕ) (A : ℕ → ℕ → E) :
  C.packFinMatrix (of fun i j ↦ A ↑i ↑j) = C.packMatrix rows cols A

Full source on GitHub

Import NLAlib.Ops.Logic.EntryLayout.