NLAlib.Krylov.CG.HSCG.Carried.Rounded.storesValues_iff
Library · theorem
A memory stores the values of a state exactly when its four blocks hold them.
NLAlib.Krylov.CG.HSCG.Carried.Rounded.storesValues_iff {K : Type} [Inhabited K] {dec : K → ℝ}
{n : ℕ} {x r p v : ℕ × ℕ} {s : CGState ℝ (Fin n)} {rho : ℝ} {μ : Ops.Mem K} :
Krylov.CG.HSCG.Carried.Rounded.StoresValues dec n x r p v s rho μ ↔
∃ ys,
μ.readBlocks [x, r, p, v] [n, n, n, 1] = some ys ∧
Krylov.CG.HSCG.Carried.Rounded.HoldsValues dec n ys s rhoImport NLAlib.Krylov.CG.HSCG.Carried.Rounded.State.