NLA-lib Explorer

NLAlib.Krylov.CG.HSCG.Carried.Rounded.StoresValues.read_rho

Library · theorem

The actual retained scalar word is readable and decodes to the stored cache value.

NLAlib.Krylov.CG.HSCG.Carried.Rounded.StoresValues.read_rho {K : Type} [Inhabited K] {dec : K → ℝ}
  {n : ℕ} {x r p v : ℕ × ℕ} {s : CGState ℝ (Fin n)} {rho : ℝ} {μ : Ops.Mem K}
  (h : Krylov.CG.HSCG.Carried.Rounded.StoresValues dec n x r p v s rho μ) :
  ∃ rr, μ.store.get v.1 v.2 = some rr ∧ dec rr = rho

Full source on GitHub

Import NLAlib.Krylov.CG.HSCG.Carried.Rounded.State.