NLAlib.Ops.scalarPower_writes
Library · theorem
Sequential multiplication returns its actual machine word, preserving the input through spatial separation. The output word need not be initialized and zero exponents are admitted. A fragment of the tree NLAlib.ShiftedQR.iterationConstantsWithScratch.
NLAlib.Ops.scalarPower_writes {K Op Tst : Type} [Ops.Has Ops.ScalarOp Op] {M : Ops.Machine K}
{I : Ops.Interp Op Tst K} (hS : Ops.IsScalar M I) {τ : Ops.Tape K} {m : Ops.Mem K} {n : ℕ}
{x z : ℕ × ℕ} {v : K} (hx : m.store.get x.1 x.2 = some v) (hz : z.2 < m.store.len z.1)
(hsep : Ops.Fp.Disj (Ops.Store.inBlock x.1 x.2 1) (Ops.Store.inBlock z.1 z.2 1)) :
Ops.Writes Ops.Mode.total I τ Ops.scalarPower (Ops.Env.frame [n] [x, z])
(Ops.Store.inBlock z.1 z.2 1)
(fun m' ↦ m'.pos = m.pos ∧ m'.store.get z.1 z.2 = some ((fun y ↦ M.mul y v)^[n] (M.lit 1))) mImport NLAlib.Ops.Blas.Power.