NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_newtonSchulzRounded_le
Library · theorem
This statement changed in the recorded rename: 2026-11-eigh-followups.
Headline of newton-schulz-sign-rounded-step
One rounded Newton–Schulz step (Lemma 2.1): under the arithmetic contract NLAlib.FloatMachine.IsArithAccurate u \tau \Omega with product constant \mu, \mu(n) \ge 0, u \ge 0, u(8 + \mu(n)) \le 1/10, 0 \le \tau, 2n\tau \le 1 and \Omega \ge 9, every stored \mathbf{A} whose decoding (still written \mathbf{A}) is Hermitian with \|\mathbf{A}\|_2 \le 11/10 satisfies \Bigl\|\tfrac12\mathbf{A}(3\mathbf{I} - \mathbf{A}^2) - \tilde g(\mathbf{A})\Bigr\|_2 \le 4\sqrt n\,(8 + \mu(n))\,u \,, \tilde g the decoded rounded step NLAlib.newtonSchulzRounded (constants 3 and 4 computed by the machine's conversion). [Shah2024, Lemma 2.1], there \tfrac12(7 + (6 + \mu)a^2)a\,u for \|\mathbf{A}\|_2 \le a without the Hermitian part; the factor \sqrt n is the cost of storing the result exactly Hermitian, and the statement is for the regime a \le 11/10 of the iteration. Result: newton-schulz-sign-rounded-step
NLAlib.FloatMachine.IsArithAccurate.specNorm_sub_decodeMatrix_newtonSchulzRounded_le.{u_4}
{F : Type u_4} {M : FloatMachine F ℝ ℂ} {dec : F → ℝ} {u τ Ω : ℝ} {μ : ℕ → ℝ} {n : ℕ}
(hM : M.IsArithAccurate dec u τ Ω μ) (hμ : 0 ≤ μ n) (hu₀ : 0 ≤ u) (hu : u * (8 + μ n) ≤ 1 / 10)
(hτ₀ : 0 ≤ τ) (hτ : τ * (2 * ↑n) ≤ 1) (hΩ : 9 ≤ Ω) {A : Matrix (Fin n) (Fin n) (F × F)}
(hA : (decodeMatrix dec A).IsHermitian) (hA₁ : specNorm (decodeMatrix dec A) ≤ 11 / 10) :
specNorm
(2⁻¹ • (decodeMatrix dec A * (3 • 1 - decodeMatrix dec A * decodeMatrix dec A)) -
decodeMatrix dec (newtonSchulzRounded M A)) ≤
4 * √↑n * (8 + μ n) * uImport NLAlib.Matrix.FinitePrecision.NewtonSchulzSign.