NLA-lib Explorer

NLAlib.Ops.Examples.Integrator.myStep_meets

Library · theorem

One step meets its specification, from the two contracts.

NLAlib.Ops.Examples.Integrator.myStep_meets (A : (n : ℕ) → Matrix (Fin n) (Fin n) ℝ) (δ e : ℝ)
  (he : 0 ≤ e) {I : Ops.Interp Ops.Examples.Integrator.MyOperation Empty ℝ}
  (hmatvec :
    I.Satisfies Ops.Mode.total Ops.Examples.Integrator.MyOperation.matvec
      ((Ops.Examples.Integrator.myMatvecRel A δ).spec (Ops.OutApart fun x ↦ True)))
  (haxpy :
    I.Satisfies Ops.Mode.total Ops.Examples.Integrator.MyOperation.axpy
      ((Ops.Examples.Integrator.myAxpyRel e).spec (Ops.InPlace fun x ↦ True))) :
  Ops.Examples.Integrator.myStep.Meets I (Ops.Examples.Integrator.myStepSpec A δ e)

Full source on GitHub

Import NLAlib.Ops.Examples.Integrator.