NLAlib.Ops.RoundedScalarBlas.nrm2_writes_stdModel
Library · theorem
Standard rounding
The judgment NLAlib.Ops.RoundedScalarBlas.nrm2_meets_stdModel read at one cell. A corollary kept in operand form because its caller frames the tree inside a stage whose contract states the stored cell (NLAlib.Schur.frobNormStage), not a reported block.
NLAlib.Ops.RoundedScalarBlas.nrm2_writes_stdModel {Tst Op : Type} [Ops.Has Ops.ScalarOp Op]
{M : Ops.Machine ℝ} {u : ℝ} {I : Ops.Interp Op Tst ℝ} (hS : Ops.IsScalar M I)
(hM : Ops.StdModel u id M) {n : ℕ} (hu : (↑n + 2) * u ≤ 1 / 2) {τ : Ops.Tape ℝ} {m : Ops.Mem ℝ}
{x z : ℕ × ℕ} {xs : List ℝ} (hl : m.Live [x, z]) (hx : m.store.readBlock x.1 x.2 n = some xs)
(hz : z.2 < m.store.len z.1) (hxz : x.1 ≠ z.1) :
Ops.Writes Ops.Mode.total I τ Ops.RoundedScalarBlas.nrm2.body (Ops.Env.frame [n] [x, z])
(Ops.Store.inBlock z.1 z.2 1)
(fun μ ↦
μ.pos = m.pos ∧
∃ v,
μ.store.get z.1 z.2 = some v ∧
(1 - (↑n + 2) * u) * √(∑ i ∈ Finset.range n, Ops.vec xs i ^ 2) ≤ v ∧
v ≤ (1 + (↑n + 2) * u) * √(∑ i ∈ Finset.range n, Ops.vec xs i ^ 2))
mImport NLAlib.Ops.Profiles.RoundedScalarBlas.