NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.guarded_dot

Library · theorem

The proof-side guard preserves the actual deterministic dot function, alongside its numerical relation. Repeated dot calls on identical words therefore agree.

NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.guarded_dot
  {I : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ} {M : Ops.Machine ℝ} {e : Ops.Blas1Err}
  {u : ℝ}
  (hD :
    I.IsFn Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot) (Ops.dotSeqFn M)
      (Ops.OutApart fun x ↦ True))
  (context : List (ℕ × ℕ)) (systemIndex preconditionerIndex : Fin context.length) (C : ℕ → Prop)
  (reference : Ops.Store ℝ) (n : ℕ) (systemRaw preconditionerRaw : List ℝ) :
  (Krylov.CG.HSPCG.Rounded.StoredContext.guarded I M e u context systemIndex preconditionerIndex C
        reference n systemRaw preconditionerRaw).IsFn
    Ops.Mode.total (Ops.Has.inj Ops.Blas1Op.dot) (Ops.dotSeqFn M) (Ops.OutApart fun x ↦ True)

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.Rounded.StoredContext.