NLAlib.ShiftedQR.copyMatrix_writes
Library · theorem
Copy the actual interleaved words of a matrix using the scalar copy map. A step in the proof of smallEigProg_copy_pwrites, smallEigProg_terminates_of_two_le, trialStep_writes and others.
NLAlib.ShiftedQR.copyMatrix_writes {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine ℝ}
{I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ} {n : ℕ}
{a b : ℕ × ℕ} {H : Matrix (Fin n) (Fin n) ℂ} (hH : HoldsMatrix a H m.store)
(hB : b.2 + 2 * (n * n) ≤ m.store.len b.1)
(hd :
Ops.Fp.Disj (Ops.Store.inBlock a.1 a.2 (2 * (n * n)))
(Ops.Store.inBlock b.1 b.2 (2 * (n * n)))) :
Ops.Writes Ops.Mode.total I τ (Ops.unaryMap (Ops.Has.inj Ops.ScalarOp.copy))
(Ops.Env.frame [2 * (n * n)] [a, b]) (Ops.Store.inBlock b.1 b.2 (2 * (n * n)))
(fun m' ↦ m'.pos = m.pos ∧ HoldsMatrix b H m'.store) mImport NLAlib.Eigensolvers.ShiftedQR.Shift.