NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.dot_function_satisfies

Library · theorem

A numerical dot contract and the sequential functional kernel describe the same actual word. The outputs are read back from the shared operation call before the relations combine.

NLAlib.Krylov.CG.HSPCG.Rounded.dot_function_satisfies {Op Tst : Type} [Ops.Has Ops.Blas1Op Op]
  {F : Ops.Machine ℝ} {I : Ops.Interp Op Tst ℝ} {ε : Ops.Blas1Err} {ok : ℕ → Prop}
  (hB :
    I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
      ((Ops.dotRel id ε.dot).spec (Ops.OutApart ok)))
  (hD :
    I.IsFn Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot) (Ops.dotSeqFn F)
      (Ops.OutApart fun x ↦ True)) :
  I.Satisfies Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot)
    ((Krylov.CG.HSPCG.Rounded.dotEvidenceRel ε fun x r z v ↦
          v = Krylov.CG.HSPCG.Rounded.pairingValue F r z).spec
      (Ops.OutApart ok))

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.Pairing.