Hermitian diagonalization: an instance in binary128
Library · Source module
Hermitian diagonalization: an instance in binary128
The hypotheses of Theorem 4.2 ([Shah2024, Theorem 4.2]) in its two forms, the bit count and the bounded format, are jointly satisfiable, so the two theorems are not vacuous. The witness is a binary format with p = 113 and E = 15 (the layout of IEEE binary128), the machine NLAlib.binaryFloatMachine of that format with round-to-nearest, ties away from zero (every operation, the black boxes and the samplers included, rounds to the format's grid, overflow not modelled; the black boxes are correctly rounded, \mu_{\mathrm{MM}}(d) = \mu_{\mathrm{QR}}(d) = 2d, c_{\mathrm{N}} = \sqrt2), the parameters \varepsilon = 2^{-15}, \theta = 1/2, R_0 = 1, \ell = 20, \beta = \hat\beta at its bound, and every size 1 \le n \le 1024, with independent node samples of law NLAlib.eighSampleLaw on the infinite product space MeasureTheory.Measure.infinitePi (ProbabilityTheory.exists_iid). Two examples after the instance apply both theorems to it. A third applies Theorem 4.2 at fixed parameters to the same machine and parameters, with \ell = NLAlib.bisectionDepth \varepsilon = 20, 104 sign steps and \beta at the upper end of its window: there \Lambda \le 26 and the precision condition takes at most 94.3 of the 113 bits. The stored type of the machine is ℝ, so \beta and the entries of the input are real parameters, not numbers of the format; the contract holds for every real. The selector is ties away from zero, an optional IEEE 754 attribute, not the default ties to even; the proof uses only that the selector is a nearest selector and odd, r(-\mathbf{x}) = -r(\mathbf{x}), which ties to even also is.
Main results
* NLAlib.exists_isAccurate_binaryFloatMachine_and_hasLaw_eighSampleLaw. * NLAlib.exists_isAccurate_binaryFloatMachine_and_hasLaw_eighSampleLaw_of_le: every n \ge 1, 0 < \varepsilon \le 2^{-15}, \theta > 0 and R_0 > 0, in a format wide enough for them.
Three examples at the end apply the three theorems at every parameter, each in a binary format chosen for the parameters: the bit count and the bounded format through NLAlib.exists_isAccurate_binaryFloatMachine_and_hasLaw_eighSampleLaw_of_le, and Theorem 4.2 at fixed parameters for every n \ge 1, 0 < \varepsilon \le 2^{-15}, 0 < \theta \le 1 and R_0 > 0, with p at least its bit count, E large enough for the floor 300n^3\tau \le \varepsilon\theta\min(R_0, 1) and the range 64(R_0 + n + \Lambda) \le \Omega, \lceil 4\Lambda\rceil sign steps and \beta at the upper end of its window. So the hypotheses of all three theorems are satisfiable for every n, \varepsilon, \theta, R_0.