NLAlib.Ops.Hermitian.complete_writes
Library · theorem
An upper-region implementation followed by the common mirror procedure returns the complete matrix. The mirror's framing, buffer liveness and capacity transport are shared by all three entrywise transformations.
NLAlib.Ops.Hermitian.complete_writes {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine K}
{I : Ops.Interp Op Tst K} (hI : Ops.IsScalar M I) {τ : Ops.Tape K} (up : Ops.Stmt Op Tst) {n : ℕ}
{x c y : ℕ × ℕ} {m : Ops.Mem K} (U : ℕ → ℕ → K × K) (hy : y.1 < List.length m.store)
(hY : y.2 + 2 * (n * n) ≤ m.store.len y.1)
(hu :
Ops.Writes Ops.Mode.total I τ up (Ops.Env.frame [n] [x, c, y])
(Ops.Store.inBlock y.1 y.2 (2 * (n * n)))
(fun μ ↦
μ.store.HoldsRowEntries (Ops.EntryCodec.pair K)
{ buf := y.1, off := y.2, rows := n, cols := n, ld := n } (fun j ↦ j + 1) U ∧
μ.pos = m.pos)
m) :
Ops.Writes Ops.Mode.total I τ (Ops.Hermitian.complete up) (Ops.Env.frame [n] [x, c, y])
(Ops.Store.inBlock y.1 y.2 (2 * (n * n)))
(fun μ ↦
μ.store.HoldsEntries (Ops.EntryCodec.pair K)
{ buf := y.1, off := y.2, rows := n, cols := n, ld := n }
(Ops.Hermitian.completeUpper M U) ∧
μ.pos = m.pos)
mImport NLAlib.Ops.Blas.HermitianCorrect.