NLA-lib Explorer

NLAlib.ShiftedQR.ritzSearchContract_findRitzSearch

Library · theorem

Exact arithmetic

The actual scalar promising-Ritz search satisfies the composed strategy's local word interface. No operation of the access model represents the whole binary search.

NLAlib.ShiftedQR.ritzSearchContract_findRitzSearch {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] {M : Ops.Machine ℝ}
  {I : Ops.Interp O Q ℝ} (hS : Ops.IsScalar M I) (hE : Ops.ExactModel id M) (hC : Ops.IsCmp id I)
  (hL : Ops.IsIndexLit M I) (hQ : Ops.IsToNat id I) :
  ShiftedQR.RitzSearchContract ShiftedQR.findRitzSearch I

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.IterationSearch.