NLAlib.Ops.EntryCodec.forall_vec_packFinMatrix_iff
Library · theorem
A predicate holds on every packed word exactly when it holds on every actual component of every finite matrix entry. This includes matrices with an empty index type.
NLAlib.Ops.EntryCodec.forall_vec_packFinMatrix_iff {K E : Type} [Inhabited K]
(C : Ops.EntryCodec K E) {rows cols : ℕ} (A : Matrix (Fin rows) (Fin cols) E) (P : K → Prop) :
(∀ q < cols * rows * C.width, P (Ops.vec (C.packFinMatrix A) q)) ↔
∀ (i : Fin rows) (j : Fin cols) (z : Fin C.width), P (C.words (A i j) z)Import NLAlib.Ops.Logic.EntryLayout.