NLA-lib Explorer

NLAlib.Ops.Hermitian.shiftDiagonal_wp

Library · theorem

Diagonal shifting returns the actual rounded difference and literal zero. Shared by the trees of NLAlib.ShiftedQR.rowShiftStep, NLAlib.ShiftedQR.solveShiftedWorking, NLAlib.ShiftedQR.initializeState and 1 more.

NLAlib.Ops.Hermitian.shiftDiagonal_wp {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op]
  {M : Ops.Machine K} {I : Ops.Interp Op Tst K} (hI : Ops.IsScalar M I) {md : Ops.Mode}
  {τ : Ops.Tape K} {m : Ops.Mem K} {x c z : ℕ × ℕ} {ar a : K} (hxr : m.store.get x.1 x.2 = some ar)
  (hc : m.store.get c.1 c.2 = some a) (hz : z.2 + 2 ≤ m.store.len z.1) {Q : Ops.Mem K → Prop}
  (hQ : Q (m.updBlock z [M.sub ar a, M.lit 0])) :
  Ops.Wp md I τ Ops.Hermitian.shiftDiagonal (Ops.Env.frame [] [x, c, z]) Q m

Full source on GitHub

Import NLAlib.Ops.Blas.HermitianEntry.