NLAlib.ShiftedQR.rowSolveTriangular_writes
Library · theorem
Exact arithmetic
The complete checked triangular and reverse-rotation phase initializes its own report. Singular inputs return their certificate, while nonsingular inputs return the inverse row. [GolubVanLoan2013, §5.2.5]. A fragment of the exact decoupler NLAlib.ShiftedQR.scalarDecouple, which exact shifted QR (NLAlib.ShiftedQR.deflationRoutine) takes as its decoupler.
NLAlib.ShiftedQR.rowSolveTriangular_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
[Ops.Has Ops.CmpTst Tst] {M : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I)
(hE : Ops.ExactModel id M) (hCmp : Ops.IsCmp id I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n : ℕ}
{a v cf z t f : ℕ × ℕ} {D : Matrix (Fin (n + 1)) (Fin (n + 1)) ℂ} {w : Fin (n + 1) → ℂ}
(hD : IsUpperHessenberg D) (hR : HoldsMatrix a (givensHessenbergR D) m.store)
(hV : ShiftedQR.HoldsVector v w m.store) (hCf : ShiftedQR.HoldsCoefficients cf D n m.store)
(hSep : ShiftedQR.RowSolveSeparate a v cf z t f) (hc : cf.2 + 4 * (n + 1) ≤ m.store.len cf.1)
(hz : z.2 + 2 ≤ m.store.len z.1) (ht : t.2 + 10 ≤ m.store.len t.1)
(hf : f.2 + 1 ≤ m.store.len f.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.rowSolveTriangular
(Ops.Env.frame [n + 1] [a, v, cf, z, t, f, v, f]) (ShiftedQR.rowSolveFp (n + 1) a v cf z t f)
(fun m' ↦ m'.pos = m.pos ∧ ShiftedQR.RowSolveResult v f D w m'.store) mImport NLAlib.Eigensolvers.ShiftedQR.RowSolveCore.