NLA-lib Explorer

NLAlib.Ops.Hermitian.copyPair_wp

Library · theorem

A pair copy between different buffers specializes the disjoint-block rule. Shared by the trees of NLAlib.ShiftedQR.findRitzCopy, NLAlib.ShiftedQR.columnResidual, NLAlib.Ops.Hermitian.copyTriangle and 1 more.

NLAlib.Ops.Hermitian.copyPair_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 z : ℕ × ℕ} {ar ai : K} (hxz : x.1 ≠ z.1) (hxr : m.store.get x.1 x.2 = some ar)
  (hxi : m.store.get x.1 (x.2 + 1) = some ai) (hz : z.2 + 2 ≤ m.store.len z.1)
  {Q : Ops.Mem K → Prop} (hQ : Q (m.updBlock z [ar, ai])) :
  Ops.Wp md I τ Ops.Hermitian.copyPair (Ops.Env.frame [] [x, z]) Q m

Full source on GitHub

Import NLAlib.Ops.Blas.HermitianEntry.