NLAlib.ShiftedQR.rowSolveCore_writes
Library · theorem
Exact arithmetic
The concrete scalar row-solve core is total on every upper Hessenberg input, reporting singularity or returning the original row multiplied by the inverse. [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.rowSolveCore_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 D m.store) (hV : ShiftedQR.HoldsVector v w 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.rowSolveCore
(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.