NLA-lib Explorer

NLAlib.Ops.Examples.Integrator.myAxpyRel_rel

Library · theorem

NLAlib.Ops.Examples.Integrator.myAxpyRel_rel (e : ℝ) (d : List ℕ) (X : List (List ℝ)) (x✝ : List ℝ)
  (Y : List (List ℝ)) :
  (Ops.Examples.Integrator.myAxpyRel e).rel d X x✝ Y =
    match X, Y with
    | [[a], x, y], [z] =>
      ∀ i < d.headD 0,
        |Ops.vec z i - (Ops.vec y i + a * Ops.vec x i)| ≤ e * (|Ops.vec y i| + |a * Ops.vec x i|)
    | x, x_1 => False

Full source on GitHub

Import NLAlib.Ops.Examples.Integrator.