NLA-lib Explorer

NLAlib.Schur.denseSchur_work_le_pow

Library · theorem

The operation count of the dense Schur solver is n^3 times a power of L: there is a constant C such that for every order n + 1, 0 < \delta \le 1 and 0 < \varphi \le 1, the instrumented static count at NLAlib.Schur.denseSchurDims and zero offsets is at most C(n + 1)^3L^{15}, L = \log_2(4(n + 1)/(\delta\varphi)): NLAlib.Schur.denseSchur_work_le_polylog with \log_2 L + 1 \le 3L.

NLAlib.Schur.denseSchur_work_le_pow {O Q : Type} [Ops.Has Ops.ScalarOp O] [Ops.Has Ops.IndexOp O]
  [Ops.Has Ops.SampleOp O] [Ops.Has ShiftedQR.DiskSampleOp O] [Ops.Has Ops.CmpTst Q]
  [Ops.Has Ops.IdxTst Q] (sG : ℕ) :
  ∃ C,
    ∀ {n : ℕ} {δ φ : ℝ},
      0 < δ →
        δ ≤ 1 →
          0 < φ →
            φ ≤ 1 →
              ↑(Ops.Count.size
                    (Ops.stmtCost (Schur.denseSchur sG).instrument
                      (Schur.denseSchurDims n δ φ ++ [0, 0, 0, 0, 0]))) ≤
                C * (↑n + 1) ^ 3 * Real.logb 2 (4 * (↑n + 1) / (δ * φ)) ^ 15

Full source on GitHub

Import NLAlib.Eigensolvers.Schur.DenseBits.