NLA-lib Explorer

NLAlib.Krylov.CG.HSPCG.StoredContext.guarded_satisfies

Library · theorem

The two-operator bridge derives every source local law from the actual isolated raw reads and target scalar/vector contracts. It assumes no successful PCG execution.

NLAlib.Krylov.CG.HSPCG.StoredContext.guarded_satisfies
  {I : Ops.Interp Ops.RCLikeBlas.Operation Ops.CmpTst ℝ}
  (hS : Ops.IsScalar Ops.RCLikeBlas.machine I) (hB : Ops.RCLikeBlas.IsExact I)
  (context : List (ℕ × ℕ)) (systemIndex preconditionerIndex : Fin context.length) {n : ℕ}
  {C : ℕ → Prop} (reference : Ops.Store ℝ) (systemRaw preconditionerRaw : List ℝ)
  (hc : ∀ z ∈ context, C z.1)
  (hA : reference.readBlock context[systemIndex].1 context[systemIndex].2 (n * n) = some systemRaw)
  (hP :
    reference.readBlock context[preconditionerIndex].1 context[preconditionerIndex].2 (n * n) =
      some preconditionerRaw)
  (o : Krylov.CG.HSPCG.Signature) :
  (Krylov.CG.HSPCG.StoredContext.guarded I context systemIndex preconditionerIndex C reference n
        systemRaw preconditionerRaw).Satisfies
    Ops.Mode.total o
    ((Krylov.CG.HSPCG.StoredContext.relation (Ops.StoredOperator.denseMatrix n n systemRaw)
          (Ops.StoredOperator.denseMatrix n n preconditionerRaw) o).spec
      (Krylov.CG.HSPCG.StoredContext.admissible n o))

Full source on GitHub

Import NLAlib.Krylov.CG.HSPCG.StoredContext.