NLA-lib Explorer

NLAlib.Ops.Examples.FixedPoint.isScalMixedErr_scalF

Library · theorem

Scaling on admitted finite vectors also reuses the generic numerical proof.

NLAlib.Ops.Examples.FixedPoint.isScalMixedErr_scalF (bound scale : ℕ) (hs : 0 < scale)
  (a : Ops.Examples.FixedPoint.Word bound) (x : ℕ → Ops.Examples.FixedPoint.Word bound) (n : ℕ)
  (h : Ops.ScalSafe (Ops.Examples.FixedPoint.decode scale) (fun z ↦ |z| ≤ ↑bound / ↑scale) n a x) :
  Ops.IsScalMixedErr (Ops.Examples.FixedPoint.decode scale) 0 (1 / 2 / ↑scale) n a x
    (Ops.vec (Ops.scalF (Ops.Examples.FixedPoint.machine bound scale) a x n))

Full source on GitHub

Import NLAlib.Ops.Examples.FixedPoint.