NLA-lib Explorer

NLAlib.ShiftedQR.stmtWorkMono_roundedShQRSmallEig

Library · theorem

The monomial work bound of the algorithm with the small-eigenvalue program: the monomial bound NLAlib.Ops.stmtWorkMono of the instrumented tree of NLAlib.ShiftedQR.roundedShQRSmallEig at the slot bounds (n + 1), k, n_p, F, T, F(k + 1 + n_p), k(n + 1) and the offsets 0, n_p, n_p, 0, \dots is 369224\,\mathbf{b}_0^3 \mathbf{b}_1^4 \mathbf{b}_2 \mathbf{b}_3 \mathbf{b}_4^2, by kernel evaluation. It serves both the count of the program and that of its Schur core frame (NLAlib.ShiftedQR.roundedShQRSchur).

NLAlib.ShiftedQR.stmtWorkMono_roundedShQRSmallEig {O Q : Type} [Ops.Has Ops.ScalarOp O]
  [Ops.Has Ops.IndexOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.SampleOp O]
  [Ops.Has Ops.CmpTst Q] [Ops.Has Ops.IdxTst Q] (sG : ℕ) :
  Ops.stmtWorkMono (ShiftedQR.roundedShQRSmallEig sG).instrument
      ([{ c := 1, e := [1] }, { c := 1, e := [0, 1] }, { c := 1, e := [0, 0, 1] },
          { c := 1, e := [0, 0, 0, 1] }, { c := 1, e := [0, 0, 0, 0, 1] },
          { c := 1, e := [0, 1, 1, 1] }, { c := 1, e := [1, 1] }, Ops.WorkMono.const 0,
          { c := 1, e := [0, 0, 1] }, { c := 1, e := [0, 0, 1] }] ++
        List.replicate 4 (Ops.WorkMono.const 0)) =
    { c := 369224, e := [3, 4, 1, 1, 2] }

Full source on GitHub

Import NLAlib.Eigensolvers.ShiftedQR.RoundedSmallEig.