NLA-lib Explorer

NLAlib.ShiftedQR.iteration_contract

Library · theorem

Exact arithmetic

Actual scalar strategy code, under the declared scalar/index/comparison and local Ritz contracts, supplies both its exact stored step and the mathematical Ritz optimality needed by capped decoupling. The promising search is the concrete scalar binary-search tree.

NLAlib.ShiftedQR.iteration_contract {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has ShiftedQR.EigenvalueKernelOp O] [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q]
  {M : Ops.Machine ℝ} {I : Ops.Interp O Q ℝ} {θ : ℝ} {K : ShiftedQR.KernelRoutines θ}
  (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M) (hL : Ops.IsIndexLit M I) (hC : Ops.IsCmp id I)
  (hQ : Ops.IsToNat id I) (hK : ShiftedQR.IsEigenvalueKernels K I) :
  ShiftedQR.IterationContract θ ShiftedQR.iteration I

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.IterationCorrect.