NLA-lib Explorer

NLAlib.FloatMachine.IsAccurate.specNorm_sub_decodeMatrix_eighProjectors_le_of_isEighNodeBudget

Library · theorem

Computed spectral projectors under a node budget: at an internal node with budget NLAlib.FloatMachine.IsEighNodeBudget and Event I (seed in [-1, 1], every eigenvalue at distance at least w from the ideal shift), the stored \mathbf{P}_\pm are within \beta of \tfrac12(\mathbf{I} \pm \operatorname{sign}(\mathbf{A} - c'\mathbf{I})). [Shah2024, proof of Lemma 4.1].

NLAlib.FloatMachine.IsAccurate.specNorm_sub_decodeMatrix_eighProjectors_le_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)
  (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|) :
  specNorm
        (decodeMatrix dec
            (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)) -
          2⁻¹ • (1 + cfc Real.sign (decodeMatrix dec y.A - (dec y.R / ↑y.ℓ * smp.1) • 1))) ≤
      dec β ∧
    specNorm
        (decodeMatrix dec
            (M.hermScale
              (M.negMat
                (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.one))
              (M.ofNat 2)) -
          2⁻¹ • (1 - cfc Real.sign (decodeMatrix dec y.A - (dec y.R / ↑y.ℓ * smp.1) • 1))) ≤
      dec β

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.SpectralBisection.Projectors.