NLA-lib Explorer

NLAlib.FloatMachine.IsAccurate.measure_not_isEighGoodSample_le_of_isEighNodeBudget

Library · theorem

Probability of the good events of a node: let the machine meet NLAlib.FloatMachine.IsAccurate, and let the node y = (k, \mathbf{A}, R, \varepsilon, \ell) of size 2 \le k \le N, at which the leaf test R \le \mathrm{fl}(\varepsilon R_0) fails, meet the node budget NLAlib.FloatMachine.IsEighNodeBudget with shift distance w, singular value threshold \mathbf{x} = \sqrt{15\rho/(16\min(k^2, e k))} and norm threshold t = 2\sqrt2\sqrt k + \sqrt{\log(16/\rho)}, for 0 < \rho \le 1. Then the sample law NLAlib.eighSampleLaw N gives the bad events (NLAlib.IsEighGoodSample with w, \mathbf{x}, t failing) probability at most \frac{kw\ell}{R} + 2\rho\,\mathbb{P}[\text{the node splits}] \,, the node splitting when NLAlib.eighStep is NLAlib.EighStep.split. [Shah2024, Lemma 4.1], "Event I occurs with probability at least 1 - wn/R and Event II with probability at least 1 - 2\rho"; here Event II on each side fails with probability at most \rho/16 (the norm tail e^{-s^2} above 2\sqrt2\sqrt k) plus 15\rho/16 (the tail \min(r^2, e r)\mathbf{x}^2 of the smallest singular value).

NLAlib.FloatMachine.IsAccurate.measure_not_isEighGoodSample_le_of_isEighNodeBudget.{u_1}
  {F : Type u_1} {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω cN : ℝ} {μM μQ : ℕ → ℝ}
  (hM : M.IsAccurate dec u τ Ω μM μQ cN) {N signFuel : ℕ} {R₀ β : F} {ρ w : ℝ} {y : EighNode F}
  (hB :
    M.IsEighNodeBudget dec u τ Ω μM μQ cN R₀ β signFuel w
      (√(15 * ρ / (16 * min (↑y.k ^ 2) (rexp 1 * ↑y.k)))) (2 * √2 * √↑y.k + √(Real.log (16 / ρ))) y)
  (hk : 2 ≤ y.k) (hkN : y.k ≤ N) (hint : M.le y.R (M.mul y.ε R₀) = false) (hρ : 0 < ρ)
  (hρ₁ : ρ ≤ 1) :
  (eighSampleLaw N)
      {s |
        ¬IsEighGoodSample dec w (√(15 * ρ / (16 * min (↑y.k ^ 2) (rexp 1 * ↑y.k))))
            (2 * √2 * √↑y.k + √(Real.log (16 / ρ))) y s} ≤
    ENNReal.ofReal (↑y.k * w * ↑y.ℓ / dec y.R) +
      ENNReal.ofReal (2 * ρ) *
        (eighSampleLaw N) {s | (eighStep M N signFuel R₀ β y.A y.R y.ε y.ℓ s).IsSplit}

Full source on GitHub

Import NLAlib.Eigensolvers.SpectralBisection.