NLA-lib Explorer

Accuracy of the rounded Newton–Schulz sign algorithm

Library · Source module

Accuracy of the rounded Newton–Schulz sign algorithm

The stopping test and the error of NLAlib.newtonSchulzSign on a NLAlib.FloatMachine ([Shah2024, Theorem 2.6]). The eigenvalues of the rounded iterates lie on perturbed scalar chains (NLAlib.IsNewtonSchulzChain, NLAlib/Matrix/Computation/NewtonSchulzSign.lean); the test at the computed threshold \mathrm{fl}(\varepsilon/\mathrm{fl}(4n)) passes once they are within \varepsilon/(16n) of \pm 1, and an iterate that passes is within 2\varepsilon/3 of its sign. Two accuracy theorems: one charges every step the error 2\delta/s of the first (the precision condition carries the step count), the other sums the step errors as a geometric series while the least eigenvalue modulus grows by the factor 11/8 of NLAlib.div_mul_abs_le_abs_newtonSchulz_of_abs_le, so that the step count and the dimension factor of the stopping test leave the binding condition.

Main results

* NLAlib.FloatMachine.IsArithAccurate.newtonSchulzTest_of_forall_mem_spectrum: the test passes near \pm 1. * NLAlib.FloatMachine.IsArithAccurate.specNorm_cfc_sign_sub_decodeMatrix_newtonSchulzSign_le, FloatMachine.IsArithAccurate.specNorm_cfc_sign_sub_decodeMatrix_newtonSchulzSign_le_of_mul_le: Theorem 2.6. * NLAlib.FloatMachine.IsArithAccurate.exists_le_newtonSchulzTest_iterate: the stopping test passes within N_0 + 1 steps.

Declarations