NLAlib.Ops.fillMap_writes_readBlock
Library · theorem
The fill of NLAlib.Ops.fillMap_writes read back as a block: the n entries at y are n copies of v. A step in the proof of NLAlib.Ops.fillRoutine_meets, which is the statement callers use.
NLAlib.Ops.fillMap_writes_readBlock {K Op Tst : Type} {o : Op} {v : K} {I : Ops.Interp Op Tst K}
(hI : I.IsFn Ops.Mode.total o (Ops.BlockFn.const v) Ops.AnyOperands) {τ : Ops.Tape K}
{m : Ops.Mem K} {n : ℕ} {y : ℕ × ℕ} (hy : y.2 + n ≤ m.store.len y.1) :
Ops.Writes Ops.Mode.total I τ (Ops.fillMap o) (Ops.Env.frame [n] [y])
(Ops.Store.inBlock y.1 y.2 n)
(fun m' ↦ m'.store.readBlock y.1 y.2 n = some (List.replicate n v) ∧ m'.pos = m.pos) mImport NLAlib.Ops.Blas.Fill.