NLA-lib Explorer

NLAlib.FloatMachine.IsAccurate.min_toNat_eq_inertiaPos_of_isEighNodeBudget

Library · theorem

The rank estimate under a node budget: at an internal node of size k \ge 2 with budget NLAlib.FloatMachine.IsEighNodeBudget, not a leaf (\mathrm{fl}(R) > \mathrm{fl}(\varepsilon R_0)), and Event I (seed \mathbf{v} \in [-1, 1], every eigenvalue at distance at least w from the ideal shift c' = (R/\ell)\mathbf{v}), the rounded trace of the stored projector \mathbf{P}_+ of NLAlib.eighStep, capped at k, is the inertia i_+(\mathbf{A} - c'\mathbf{I}). [Shah2024, proof of Lemma 4.1].

NLAlib.FloatMachine.IsAccurate.min_toNat_eq_inertiaPos_of_isEighNodeBudget.{u_1} {F : Type u_1}
  {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω cN : ℝ} {μM μQ : ℕ → ℝ} {N signFuel : ℕ} {R₀ β : F}
  {w x t : ℝ} {y : EighNode F} (hM : M.IsAccurate dec u τ Ω μM μQ cN)
  (hB : M.IsEighNodeBudget dec u τ Ω μM μQ cN R₀ β signFuel w x t y) (hk : 2 ≤ y.k)
  (hint : M.le y.R (M.mul y.ε R₀) = false) {smp : EighSample ℝ ℂ N} (hv : smp.1 ∈ Set.Icc (-1) 1)
  (hI : ∀ e ∈ spectrum ℝ (decodeMatrix dec y.A), w ≤ |e - dec y.R / ↑y.ℓ * smp.1|) :
  min y.k
      (M.toNat
        (M.add
          (M.traceRe
            (M.hermScale
              (M.hermShift
                (newtonSchulzSign M β (M.mul (M.ofNat 2) y.R) signFuel
                  (M.hermShift y.A (M.unif (M.div y.R (M.ofNat y.ℓ)) smp.1)))
                (M.neg M.one))
              (M.ofNat 2)))
          (M.div M.one (M.ofNat 2)))) =
    inertiaPos (decodeMatrix dec y.A - (dec y.R / ↑y.ℓ * smp.1) • 1)

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.SpectralBisection.Projectors.