NLAlib.ShiftedQR.roundedLeafUpdate_writes
Library · theorem
The words of the leaf update: on a scalar machine and every tape, for the block [lo, lo + d) of order-N matrices \mathbf{A} at a and \mathbf{U} at uo and the leaf accumulator \mathbf{U}_\mathbf{b} at ub (three blocks apart), roundedLeafUpdate writes only the matrix and the accumulator, and stores NLAlib.ShiftedQR.leafUpdateMatrix and NLAlib.ShiftedQR.leafUpdateAccumulator. Shared by the trees of NLAlib.ShiftedQR.roundedProcessLargeWith, NLAlib.ShiftedQR.roundedProcessRangeWith, NLAlib.ShiftedQR.roundedLeafRest.
NLAlib.ShiftedQR.roundedLeafUpdate_writes {O Q : Type} [Ops.Has Ops.ScalarOp O] {M : Ops.Machine ℝ}
{I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar M I) {τ : Ops.Tape ℝ} {μ : Ops.Mem ℝ} {N lo d : ℕ}
(hN : lo + d ≤ N) {ub a uo : ℕ × ℕ} {Ub : Matrix (Fin d) (Fin d) ℂ}
{A U : Matrix (Fin N) (Fin N) ℂ} (hl : μ.Live [ub, a, uo]) (hUb : HoldsMatrix ub Ub μ.store)
(hA : HoldsMatrix a A μ.store) (hU : HoldsMatrix uo U μ.store)
(hra : a.2 + 2 * (N * N) ≤ μ.store.len a.1) (hru : uo.2 + 2 * (N * N) ≤ μ.store.len uo.1)
(hba :
Ops.Fp.Disj (Ops.Store.inBlock ub.1 ub.2 (2 * (d * d)))
(Ops.Store.inBlock a.1 a.2 (2 * (N * N))))
(hau :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * (N * N)))
(Ops.Store.inBlock uo.1 uo.2 (2 * (N * N)))) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.roundedLeafUpdate (Ops.Env.frame [N, lo, d] [ub, a, uo])
(Ops.Store.inBlock a.1 a.2 (2 * (N * N)) ⊔ Ops.Store.inBlock uo.1 uo.2 (2 * (N * N)))
(fun μ' ↦
μ'.pos = μ.pos ∧
HoldsMatrix a (ShiftedQR.leafUpdateMatrix M lo Ub A) μ'.store ∧
HoldsMatrix uo (ShiftedQR.leafUpdateAccumulator M lo Ub U) μ'.store)
μImport NLAlib.Eigensolvers.ShiftedQR.RoundedSolveUpdates.