NLAlib.ShiftedQR.matrixNorm_writes
Library · theorem
Exact arithmetic
Exact scalar arithmetic computes the matrix Frobenius norm directly from every supplied real and imaginary component word. No matrix norm operation remains a primitive. Shared by the trees of NLAlib.ShiftedQR.deflationRoutine and NLAlib.ShiftedQR.scalarDecouple, on their scratch.
NLAlib.ShiftedQR.matrixNorm_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine ℝ}
{I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M) {τ : Ops.Tape ℝ}
{m : Ops.Mem ℝ} {rows cols : ℕ} {a z : ℕ × ℕ} {H : Matrix (Fin rows) (Fin cols) ℂ}
(hl : m.Live [a, z]) (hH : HoldsMatrix a H m.store) (hz : z.2 < m.store.len z.1)
(haz : a.1 ≠ z.1) :
Ops.Writes Ops.Mode.total I τ ShiftedQR.matrixNorm (Ops.Env.frame [rows, cols] [a, z])
(Ops.Store.inBlock z.1 z.2 1) (fun μ ↦ μ.pos = m.pos ∧ μ.store.get z.1 z.2 = some (frobNorm H))
mImport NLAlib.Eigensolvers.ShiftedQR.StorageNorm.