NLAlib.exists_readBlock_padEntries_iff
Library · theorem
An accepted block, cell by cell: the 5w words at offset o of buffer b are the words of w padded entries with planes r, r + 1 < N, exactly when every entry's plane word holds such a natural and its other four words are stored.
NLAlib.exists_readBlock_padEntries_iff {s : Ops.Store ℝ} {b o w N : ℕ} :
(∃ es,
es.length ≤ w ∧
(∀ e ∈ padEntries w es, e.1 + 1 < N) ∧
s.readBlock b o (5 * w) = some (List.flatMap entryWords (padEntries w es))) ↔
∀ i < w,
(∃ p, s.get b (o + 5 * i) = some p ∧ p ∈ {x | ∃ r, r + 1 < N ∧ x = ↑r}) ∧
∀ t < 4, ∃ p, s.get b (o + (5 * i + (t + 1))) = some p ∧ p ∈ Set.univImport NLAlib.Matrix.FinitePrecision.GivensLogSlots.