NLA-lib Explorer

NLAlib.FloatMachine.IsAccurate.eighNodeAt_eq_none_of_lt_length

Library · theorem

The recursion stops by depth \ell: under NLAlib.FloatMachine.IsAccurate with 0 \le u, 100\ell^2u \le 1, 0 \le \tau, 100\tau \le \varepsilon\min(R_0, 1) (an absolute floor bound: the rounded parameters \mathrm{fl}(2/\ell), \mathrm{fl}((1 - 1/\ell)\varepsilon_j) have floor errors u\tau) and 16(R_0 + \ell) \le \Omega, for stored \varepsilon, R_0 with 0 < \varepsilon \le 2^{-15}, R_0 > 0 and a depth counter \ell \ge \lceil \log_2(1/\varepsilon) \rceil + 5 (NLAlib.bisectionDepth), the tree of NLAlib.eighNodeAt from the root (\mathbf{A}, R_0, \varepsilon, \ell) has no node at a path longer than \ell, for every accuracy and samples. [Shah2024, proof of Theorem 4.2], "the depth of the tree d is no more than \ell".

NLAlib.FloatMachine.IsAccurate.eighNodeAt_eq_none_of_lt_length.{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} (hε : 0 < dec ε)
  (hε₁ : dec ε ≤ 2⁻¹ ^ 15) (hR₀ : 0 < dec R₀) {ℓ : ℕ} (hℓ : bisectionDepth (dec ε) ≤ ℓ) (hu : 0 ≤ u)
  (hu₁ : 100 * ↑ℓ ^ 2 * u ≤ 1) (hτ₀ : 0 ≤ τ) (hτ : 100 * τ ≤ dec ε * min (dec R₀) 1)
  (hΩ : 16 * (dec R₀ + ↑ℓ) ≤ Ω) {k : ℕ} (A : Matrix (Fin k) (Fin k) (F × F))
  (s : List Bool → EighSample ℝ ℂ N) {a : List Bool} (ha : ℓ < a.length) :
  eighNodeAt M N signFuel R₀ β a { k := k, A := A, R := R₀, ε := ε, ℓ := ℓ } s = none

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.SpectralBisection.Tree.