# Output of: python3 verify_explicit_waring.py (all checks, Parts 1-15; Python 3.13.18, NumPy 2.5.3) 1. Definition 2.1 and Lemma 10.1: varsigma, sigma, theta* [ok] varsigma is continuous (no jumps on a grid of 10^6 points up to U = 3000) [ok] table of sigma (Lemma 10.1(ii)) = running minimum of varsigma (max rel. deviation 4.2e-16 at 20013 points) [ok] ... and it matches the running minimum computed on the grid [ok] table of theta* (Lemma 10.1(iii)) is the generalised inverse of sigma (4000 random s) 2. Lemma 10.2 (the integral I, the constant C_0) and Lemma 10.3 Lambda in [1.096145374, 1.096145374], C_0 in [6.389515326, 6.389515326] [ok] sum_{D>=6} log(1+2/D)/(D+1) = 0.307897..., Lambda = 1.096145..., C_0 = 6.389515... [ok] brute-force optimisation over the switching point (Section 2.2): min = 6.38951 at z = 0.10000; closed form C_0 = 6.38952 at z = 1/10 [ok] I(1/5) = Lambda (2.1) [ok] I(2w) = Lambda - (1/3) log((3-12w)/(18w)) for 1/16 <= w <= 1/10 (Lemma 10.2(iii)) [ok] closed form of I against quadrature of 1/(t theta*(t)): 1.0941435 vs 1.0941434 [ok] 2/(N+1) <= I(v_N) <= 2/N (Lemma 10.2(i)) [ok] sigma(Theta) <= 1/(Theta^2+Theta-1) for Theta >= 5 (Lemma 10.3) [ok] T(Theta) >= 2/(Theta+2) for Theta >= 5 (Lemma 10.3) 3. Lemma 4.5 and Table 2: exponents after rounding [ok] 540000 parameter sets (k, Theta, theta, U, vartheta), k from 37 to 1e+09, including Theta = largest admissible value, U = theta and the end points of the ranges: min[(exponent of Table 2) - (1-eta_k(theta)) varsigma(U)] = -6.9e-18 (zero up to rounding: equality occurs, e.g. for k = 100, U = theta = Theta = 50/13); side conditions hold [ok] last column of Table 2: Delta/varsigma(U) is at most the stated multiple of vartheta (grid of U up to 40) 4. Section 8: the potential Phi [ok] k=40, Theta=2.5000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +1.0154, sup[(Phi(x,l)-r l)/x] = 0.0886 <= b = 0.0886; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 5.44792 <= bound of Lemma 8.1(i) = 5.45411 [ok] k=67, Theta=3.1250: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.9422, sup[(Phi(x,l)-r l)/x] = 0.0709 <= b = 0.0709; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 5.59100 <= bound of Lemma 8.1(i) = 5.59301 [ok] k=100, Theta=3.8462: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.6038, sup[(Phi(x,l)-r l)/x] = 0.0576 <= b = 0.0576; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 5.95704 <= bound of Lemma 8.1(i) = 5.95791 [ok] k=150, Theta=4.3243: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.6647, sup[(Phi(x,l)-r l)/x] = 0.0512 <= b = 0.0512; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 5.95085 <= bound of Lemma 8.1(i) = 5.95123 [ok] k=211, Theta=5.2300: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.4891, sup[(Phi(x,l)-r l)/x] = 0.0424 <= b = 0.0424; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.12495 <= bound of Lemma 8.1(i) = 6.12514 [ok] k=1000, Theta=14.2700: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.2041, sup[(Phi(x,l)-r l)/x] = 0.0155 <= b = 0.0155; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.25232 <= bound of Lemma 8.1(i) = 6.25233 [ok] k=1000, Theta=24.7900: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = -0.0386, sup[(Phi(x,l)-r l)/x] = 0.0089 <= b = 0.0089; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.44921 <= bound of Lemma 8.1(i) = 6.44922 [ok] k=10000, Theta=36.5000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.1234, sup[(Phi(x,l)-r l)/x] = 0.0061 <= b = 0.0061; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.30410 <= bound of Lemma 8.1(i) = 6.30410 [ok] k=10000, Theta=87.7000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = -0.0216, sup[(Phi(x,l)-r l)/x] = 0.0025 <= b = 0.0025; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.41000 <= bound of Lemma 8.1(i) = 6.41000 [ok] k=1e+06, Theta=197.0000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.0376, sup[(Phi(x,l)-r l)/x] = 0.0011 <= b = 0.0011; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.37014 <= bound of Lemma 8.1(i) = 6.37014 [ok] k=1e+06, Theta=897.0000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = -0.0021, sup[(Phi(x,l)-r l)/x] = 0.0002 <= b = 0.0002; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.39103 <= bound of Lemma 8.1(i) = 6.39103 [ok] k=1e+09, Theta=2190.0000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = +0.0053, sup[(Phi(x,l)-r l)/x] = 0.0001 <= b = 0.0001; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.38770 <= bound of Lemma 8.1(i) = 6.38770 [ok] k=1e+09, Theta=28400.0000: (8.1)-(8.3), Lemma 8.1(ii)-(v), Cases 1-2 of Prop. 8.2 at 2500 random states; a_* = -0.0001, sup[(Phi(x,l)-r l)/x] = 0.0000 <= b = 0.0000; Cor. 8.3 for seven further b (ratio 1.0000); calG(u_Theta) = 6.38956 <= bound of Lemma 8.1(i) = 6.38956 5. Theorem 2.3, Propositions 10.5-10.7, Table 3, Theorems 1.1 and 1.2 [ok] C(h) = Psi(z) + 2 I(2w) with w = 1/10 - h/50, z = (1-h) w; C(0) = C_0 [ok] 0 < C' < 7/5 on [0, 1/5] (slopes between 1.111 and 1.354); k C(h_k) <= C_0 k + 11 for k >= 37 [ok] delta_* + log delta_* + 1 = 0 for delta_* = 0.2784645428; 4/(1-2 delta_*) = 9.0279002 < 9.027901 (9.13) [ok] k a_*(b) + b/tau_k >= k c_Theta log(u_Theta/tau_k) for all b > 0, with equality at b = k c_Theta tau_k, where a_* = c_Theta(log(u_Theta/tau_k) - 1); Psi(1/10) > 4.19, 4.19 k >= 4k+1 (Section 9.1) example k = 37, Theta = 37/16: C(h_k) = 6.63417, T = 0.84915, R_k = 0.21489, y_k = 10.06571, W_k = 1.99709, B = 7.38976, floor(37 B) = 273 [ok] Theta^sharp(k) is admissible for 37 <= k <= 5000; the distance of k B^sharp(k) from the nearest integer is at least 1.3e-04 in all cases Table 3: k Theta B floor(kB) (1.1) 37 2.3125 7.3898 273 290 38 2.3750 7.3566 279 298 39 2.4375 7.3249 285 307 40 2.5000 7.2946 291 316 41 2.5625 7.2656 297 325 50 3.1250 7.0622 353 406 67 3.1250 7.1902 481 564 81 3.1250 7.2843 590 697 100 3.8462 7.0917 709 881 150 4.3243 7.0851 1062 1382 174 4.3243 7.1344 1241 1629 200 4.9587 7.0385 1407 1900 212 5.2562 6.9981 1483 2027 250 6.1983 6.8993 1724 2431 330 8.1818 6.7632 2231 3300 500 12.3967 6.6186 3309 5208 700 17.3554 6.5408 4578 7526 927 22.9835 6.5000 6025 10227 1000 24.7934 6.4922 6492 11109 2000 38.0621 6.4515 12902 23603 5000 61.4294 6.4232 32116 63588 10000 87.778 6.4113 64112 134107 (Theta = Theta^sharp(k) = (9/10) a_k; fractional part of kB: 0.9645) 100000 282.364 6.3952 639520 1571325 (Theta = Theta^sharp(k) = (9/10) a_k; fractional part of kB: 0.4118) 1000000 897.753 6.3912 6391170 18015831 (Theta = Theta^sharp(k) = (9/10) a_k; fractional part of kB: 0.2107) [ok] Table 3 for k = 10^4, 10^5, 10^6: 64112, 639520, 6391170 [ok] Proposition 10.5(i): max of B^sharp over 37 <= k <= 5000 is 7.38976 (k = 37) < 7.3898; B^sharp(k) <= 7.35659 < 7.3567 for k >= 38 [ok] Proposition 10.5(ii): B^sharp(k) < 7 for 212 <= k <= 5000 (max 6.99812), not for k = 211; floor(k B^sharp(k)) < 6.5 k for 927 <= k <= 5000, not for k = 926 (B^sharp < 6.5 from k = 927) [ok] Proposition 10.5(iii): max of (floor(k B^sharp) - C_0 k)/sqrt(k) over 37 <= k <= 5000 is 9.8146 (k = 175) < 9.82 [C_0 k + 10 sqrt k - floor(k B^sharp) >= 2.453]; it is < 4 for 697 <= k <= 5000 (max 3.9990 at k = 699), not for k = 696; it is < 3 for 1339 <= k <= 5000 (max 2.9984 at k = 1343), not for k = 1338; value at k = 5000: 2.3819 [ok] margins: the bounds for B^sharp in Proposition 10.5(i), (ii) hold with a margin of at least 4.1e-05; C_0 k + 10 sqrt k - G >= 2.453, C_0 k + 4 sqrt k - G >= 0.026 (k >= 697), C_0 k + 3 sqrt k - G >= 0.060 (k >= 1339), 6.5 k - G >= 0.5 (k >= 927); Theta^sharp(k) = (9/10) a_k exactly for k >= 1137 [ok] Theta_max(k) >= 37/16, (9/10) a_37 > 9/4, a_k (a_k + 5) = k (admissibility of Theta^sharp, Section 10.2) [ok] Theorem 1.2 for k <= 36: max of ceil(k(log k+4.20032))/k = 7.8056 (k = 36, bound 281) < 7.81 [ok] the bound is smaller than (1.1) for every 37 <= k <= 5000: by 17 at k = 37, by more than k for k >= 49 [ok] examples of Section 1: G(37) <= 273, G(50) <= 353, G(100) <= 709, G(1000) <= 6492; (1.1) gives 290, 406, 881, 11109 [ok] optimising Theta numerically instead of using Theta^sharp lowers B by at most 3.8e-06, and floor(kB) by at most 1, for 37 <= k <= 5000 (sample) [ok] Remark 10.8: dB/dTheta = -(2/Theta^2) log y_k(Theta) (finite differences, deviation 1.1e-09), B is continuous in Theta (jumps 1.3e-08); the least value of B(k,.) is attained at the largest admissible Theta (= Theta^sharp(k)) for k <= 1132 and where y_k = 1 for k >= 1133 (for 1133 <= k <= 5000 this point exceeds Theta^sharp(k) for 3623 of the 3868 values of k, among them all k >= 2313): it is smaller than B^sharp(k) by at most 4.1e-06, and the integer is floor(k B^sharp) - 1 for 18 values of k <= 5000, floor(k B^sharp) otherwise; k = 10^6: Theta = 902.36 gives 6391169 [ok] Proposition 10.6: for k >= 5000 and Theta = (9/10) a_k: -2kT <= -(40/9) sqrt k -0.84, 2k R_k <= 2 sqrt k log 19 + 5 log k + 39.76, k W_k <= (20/9) log(19 D/162) sqrt k + 3.98 (45001 values of k up to 1e12, least slacks 0.96, 23.90, 5.22); the elementary inequalities of the proof hold; constants add up to 54.900 < 55; coefficient of sqrt k: c_3 = 1.57146 < 1.572 [ok] 1.572 sqrt k + 5 log k + 55 < 3 sqrt k for k >= 5000 (hence G(k) < C_0 k + 3 sqrt k < 6.45 k there) [ok] Theorem 1.3 for 37 <= k <= 5000: the least l with 2l > Y is ceil(floor(k B^sharp)/2); Y < 7.39 k; 2.09 k < l < 4k; l < C_0 k/2 + 5 sqrt k (largest value of (l - C_0 k/2)/sqrt k: 4.9361) [ok] Theorem 1.3, examples: G^+(37) <= 137, G^+(50) <= 177, G^+(100) <= 355, G^+(1000) <= 3246, where [BW2023, Theorem 9.1] gives 145, 203, 441, 5555; powers of 2: l = 229, 450, 881, 1693, 3323, 6605, 13164 for k = 64, 128, ..., 4096 (to be compared with 4k) [ok] Theorem 1.3 for k >= 5000: Y <= C_0 k + c_3 sqrt k + 5 log k + 54 (constants add up to 53.90); floor(Y/2) + 1 <= C_0 k/2 + 0.786 sqrt k + (5/2) log k + 28 < C_0 k/2 + 5 sqrt k (also compared with the exact values at 1801 values of k); Y < C_0 k + 3 sqrt k < 8k [ok] G^+(k) <= 4k for every k that is not a power of 2: ceil(k(log k + 4.20032)/2) < 4k for k <= 36 (largest ratio 47/12, at k = 36); l <= (7.39 k + 1)/2 < 4k for 37 <= k <= 5000; C_0 k/2 + 5 sqrt k < 4k for k >= 5000 [ok] Corollary 2.6: Y < A_1 k + A_2 sqrt k for k_1 <= k <= 5000 and (k_1, A_1, A_2) = (37, 7.39, 0), (37, C_0, 10), (212, 7, 0), (697, C_0, 4), (927, 6.5, 0), (1339, C_0, 3); for k >= 5000: Y <= C_0 k + 1.572 sqrt k + 5 log k + 54 < C_0 k + 3 sqrt k < 6.45 k, and < C_0 k + 2 sqrt k for k >= 70000; phi(0.90478) = 1.571122 < 1.5712 [ok] Section 11.5: chi_0 = 0.8024246, C_0 + 4.5139505 = 10.903466 < 10.9035; for 37 <= k <= 5000 the number s_0^sharp(k) is floor(y/2) + 1 > 3k, where y = Y - 2 chi_0 k/Theta^sharp, and y/2 has distance at least 1.3e-05 from the integers [ok] Proposition 11.10(i): the largest value of (E^sharp(k) - 10.9035 k)/sqrt k for 37 <= k <= 5000 is 11.50254 (k = 175) < 12; it is < 4 for k >= 888 (largest value 3.98082 for k >= 900); E^sharp(k) < 12k for k >= 41 (largest E^sharp(k)/k for k >= 42: 11.98634 at k = 80), < 11k for k >= 1318, < k(log k + 8.02113) for k >= 46 and not for 37 <= k <= 45; margins for k >= 900, 42, 1339, 46: 0.58, 1.09, 1.59, 1.04 Table 4: k Theta^sharp b^sharp 2 s_0^sharp E^sharp(k) k(log k+8.02113) 9.028 k 37 2.3125 0.07862 248 450.43 430.39 334.0 46 2.8750 0.06324 302 544.05 545.09 415.3 50 3.1250 0.05818 328 587.90 596.66 451.4 100 3.8462 0.04727 668 1174.94 1262.63 902.8 200 4.9587 0.03667 1342 2330.23 2663.89 1805.6 500 12.3967 0.01467 3244 5582.86 7117.87 4514.0 1000 24.7934 0.00733 6428 11022.78 14928.89 9028.0 2000 38.0621 0.00478 12818 21950.76 31244.06 18056.0 5000 61.4294 0.00296 31986 54717.71 82691.62 45140.0 10000 87.7781 0.00207 63930 109295.89 172314.70 90280.0 100000 282.3639 0.00064 638952 1091049.59 1953405.55 902800.0 1000000 897.7528 0.00020 6389382 10905541.15 21836640.56 9028000.0 [ok] Table 4 and the examples of Section 1: E^sharp(100) < 1175, E^sharp(1000) < 11023; 100(log 100 + 8.02113) = 1262.6..., 1000(log 1000 + 8.02113) = 14928.8... [ok] Proposition 11.10(ii): the elementary inequalities of the proof; E^sharp(k) < 10.9035 k + 2 sqrt k + 5 log k + 58 at 45001 values of k between 5000 and 1e12 (least slack 41.3); 2 sqrt k + 5 log k + 58 < 3.5 sqrt k and 10.9035 k + 3.5 sqrt k < 11 k for k >= 5000 [ok] k R_k(16) <= 59.96 < 60 for k >= 1000, decreasing in k (Lemma 10.4) [ok] Proposition 10.7: phi' = -(2/lambda^2) log(D(1-lambda^2)/(2 lambda^2)); min of phi = 1.57112 at lambda_0 = sqrt(D/(D+2)) = 0.90479; phi(9/10) = c_3 = 1.57146 < 1.572 [ok] k B(k, lambda sqrt k) - C_0 k - phi(lambda) sqrt k - 5 log k stays bounded: lambda = 0.5000: -9.7, -9.8, -9.8; lambda = 0.7500: 5.9, 5.9, 5.9; lambda = 0.9000: 14.1, 14.0, 14.0; lambda = 0.9048: 14.5, 14.4, 14.4; lambda = 0.9500: 18.6, 18.4, 18.4 (k = 1e6, 1e8, 1e10) [ok] the number (9.19), r + t = k(calG(u_Theta)+a_*) + b/tau_k, from the potential tabulated with delta_0 = eps_2 = 1e-8 is at most the number Y in the proof of Theorem 2.3 (slack/k between 4.6e-08 and 6.2e-03) [ok] likewise k(calG(u_Theta) + a_*(b)) is at most Y - (2k/Theta)(1 + log(9.027901 Theta b/2)), the number in Theorem 2.7, for b = 2/(11 Theta), 0.01, 0.5, 0.99 (slack/k between 4.6e-08 and 6.2e-03) [ok] Lemma 10.4: closed form of R_k agrees with Riemann-Stieltjes sums of its definition, also for Theta > 16 (max rel. deviation 1.5e-10) [ok] independent 40-digit implementation of B(k,Theta^sharp(k)), 37 <= k <= 5000: max deviation from double precision 9.6e-11; the integers floor(k B) agree for every k (also for k = 10^4, 10^5, 10^6: deviation 9.6e-11) [ok] the integers s_0^sharp(k) of Section 11.5 computed from the 40-digit values agree with those above for 37 <= k <= 5000 6. the recursion behind Proposition 8.2 (Section 10.4) solved by dynamic programming, independently of the potential [ok] k=40, Theta=2.5000 (mesh 0.0006), b = 0.0886: least r/k admitted by the recursion = 6.3850 <= 6.4696 = r/k of Theorem 2.3 (t/k = b/(k tau_k) = 0.8000) [ok] k=100, Theta=3.8462 (mesh 0.0005), b = 0.0576: least r/k admitted by the recursion = 6.5314 <= 6.5617 = r/k of Theorem 2.3 (t/k = b/(k tau_k) = 0.5200) [ok] k=250, Theta=6.1983 (mesh 0.0002), b = 0.0357: least r/k admitted by the recursion = 6.5658 <= 6.5727 = r/k of Theorem 2.3 (t/k = b/(k tau_k) = 0.3227) 7. falsification test of Lemmas 4.3 and 4.4 on actual sums (|S| / X^(1-varsigma(U))) [ok] 400 sums with k in {9, 11, 13} and X up to 60000: largest |S|/X^(1-varsigma(U)) = 0.591 8. Section 12.1: bounds on each residue class with an intermediate coefficient [ok] vectorised evaluation agrees with the direct maximum over all (D, r) [ok] the saving (12.2) never exceeds varsigma(U) for 1 < U <= 600 (max ratio 1.0000 at U = 1.500); nor when the term q_r Y^-r is dropped [ok] ratio <= 0.5833 for U >= 2, <= 0.5167 for U >= 50/13, 0.1491 at U = 600 (4/27 = 0.1481) [ok] constant: 6.3895 with varsigma; unchanged if (12.1) is added; 6.9160 if (12.1) replaces Lemma 4.4; 7.4044 if it also replaces Lemma 4.3(ii) [ok] using alpha_r with r < D (and any A = q^tau) inside the proof of Lemma 4.4 gives at most the saving of Lemma 4.4 (max ratio 1.000000) (hypothetical: if the count in Lemma 4.4 were as small as the pigeonhole principle allows, the constant would be 6.3045) (with the saving X^(-c/theta^2), c = 1/1000, the constant would be 12.987 = 4 + log(8000) = 12.987) 9. Section 12.3: the constant in the paper of Chow and Dietmann as written [ok] A_0 = 4000001, b = A_0^(-1/2) < c/2 = 1/2000; s = 2k + 3 A_0 k + 1 = 12000005 k + 1 [ok] inequality (3.5) of Chow and Dietmann holds for all U in (1, 3 log k] exactly when k >= 122878 [ok] ceil(k(log k+4.20032)) <= 8.4 k exactly for k <= 66 10. Section 9: consistency checks for the lemmas on arcs (not needed for the proofs) [ok] (9.9): int over M_q(Q;P) of f(d^k alpha) = d^(-k) (phi(q)/phi(q'')) int over M_q''(Q/g;P/d) of f <= (d/d_q(d))^(-k) int over M_q''(Q;P/d) of f (500 random cases with (q,d) arbitrary; rel. deviation 1.4e-08) [ok] Lemma 9.5: an approximation b/r with |beta-b/r| <= r^(-2) and 1/r + r/X^k <= 12/Xi exists as constructed (2407 random cases in exact arithmetic; largest (1/r+r/X^k) Xi = 4.72) [ok] Lemma 9.4, inequality (9.11) with coefficients |xi_m| <= 1 (equal to 1, of the form e(theta m), or random; Hoelder twice, as in Wooley (1995), Lemma 3.1): largest lhs/rhs = 0.057 in 400 random cases with k in {2,3} [ok] Lemma 9.9: N(p^e) <= 2k(e+1)p^(2e-2e/k) (p^e <= 800; largest ratio 0.239); sum over d1, d2 <= M_1 of (q,d1^k-d2^k)^(2/k) <= 4 M_1^2 sum_(g|q) g^(2/k-2) N(g) (largest ratio 0.250); sum over d1 != d2 of min(Y^2,|beta h|^(-2/k)) <= 12(1+log M_1)(M_1 Y)^2(1+(M_1 Y)^k|beta|)^(-2/k) (largest ratio 0.129) [ok] the numerical inequalities in the proofs of Proposition 8.2 (Case 3), Lemmas 3.2, 9.7, 9.8 and 9.9, and of (9.4)-(9.6), for k >= 37; the integral of min(M, 1/(2|theta|)) over [-1/2,1/2] is 1 + log M 11. Section 11: the large sieve estimate (not needed for the theorems of Section 1) [ok] x^k = u (mod q) has at most (2k)^nu(q) solutions for (u,q) = 1, nu(q) the number of prime factors of q (the moduli of the next test) [ok] Lemma 11.4: every arc of length delta_1 contains at most 1 + 2 V_1/(q + (Y V_0)^k |q beta - a|) of the points beta m^k of a class: 3171 classes in 1500 random cases {'q > V_1': 452, 'q <= V_1, count bound > 3': 649, 'q <= V_1, count bound <= 3': 399}; largest ratio count/bound = 1.000 [ok] Lemmas 11.3 and 11.4 combined, as in the proof of Proposition 11.6: 692 classes in 400 random cases, largest ratio lhs/rhs = 0.038 [ok] Lemma 11.3 (large sieve with multiplicities): 300 random cases, largest ratio lhs/rhs = 0.119 [ok] xi_1 -> 1/(1 + 2 C_0/D) = 0.41399; 1/tau^(1) = (C_0 + D/2) k = 10.9035 k; the large sieve exponent exceeds tau_k for xi < 1 - C_0/D = 0.2922; 2 C_0 = 12.779; fd(C_0 k) = 0.00454 (D = 9.027901) [ok] (11.2): 2 C_0 xi/(1-xi) = (0.67, 1.42, 3.19, 5.48, 9.03, 12.78) for xi = 0.05, 0.1, 0.2, 0.3, 0.414, 0.5; calG_inf(1/(2 C_0 h)) = (4.45, 5.02, 5.55, 5.82, 6.15) for h = 1, 2, 5, 10, 50; c_2(8) = 1.302, c_2(C_0) = 0.794, c_2(4) = -0.314, c_2(9.027901) = 1.57112 (Remark 11.8) [ok] Proposition 11.9(i): d_inf(v) = fd(vk) for v <= v_c = 3.0861, 0 < d_inf(v) < fd(vk) for v_c < v < C_0, d_inf(C_0) = 0 (grid); calG_inf < C_0 [ok] Proposition 11.9(ii) and the remarks after it: E(mu) <= E(1/2) on the grid; E(1/2; 2, 2) = 1/9.02790; largest value on the grid 0.110782 = 1/9.0267 at v_A = v_B = 1.985 (Bruedern and Wooley (2023): 1/9.026725 at 1.98464); E <= 1/v_c^2 = 1/9.524 if v_A, v_B >= v_c (grid: 0.0815); E(1/2) <= 0.105662 = 1/9.4642 < 1/9.46 if v_A >= v_c >= v_B (attained at v_A = 3.0861, v_B = 1.242) [ok] at z = delta_*/(1+delta_*) = 0.2178 the largest permitted step is theta*(2z) = 1.129, and 2/theta*(2z) > 1/(1-z) 12. Sections 3, 9 and 11: the set of variables on a small example (not needed for the proofs) H = 1: primes in (40, 80], 10 of them; P = 2560000 [ok] Lemma 3.1(b): n determines d and m; m <= R is implied by dm <= X; #C_j(X) <= X; 2^(-HJ) R <= X/d <= R (extreme values 0.1250 R and 1.0000 R) [ok] Lemma 3.1(c): binom(j,i) F_j^e(alpha;X) = sum over d in D_i^e of F_(j-i)^(e+[d])(d^k alpha; X/d), with X/d attached to j-i (10 random cases; largest deviation 8.7e-14); sum of 1/d over D_i <= 1 (sum of 1/p = 0.1765) [ok] Lemma 3.1(d): the terms with d_1 | n form F_(j-i_1)^(e+[d_1])(d_1^k alpha; X/d_1); the terms coprime to d form F_j^(e+[d]), which equals the alternating sum over the divisors d_1 of d used in the proof of Lemma 6.1 (10 random cases) [ok] Lemma 9.6: every element of C_j^e(X) is dn for exactly one pair with d in D_i^e, n in C_(j-i)^e(X/R^i), dn <= X and p^+(n) < p^-(d); D_i^e lies in (M_0, M_1] (10 random cases) [ok] (9.16): (sum over n in B of |sum over d of xi_d e(alpha d^k n^k)|)^2 <= Y sum over d_1, d_2 of |sum over n <= Y of e(alpha h n^k)| for i = 2, #D_i = 45, #B = 279, Y = 1600 (3 random cases; largest ratio 0.013) [ok] Lemma 3.2: S_1^J - binom(J,2) S_2 S_1^(J-2) <= J! Pi <= S_1^J (0.003767 <= 0.003894 <= 0.005498); #C = 1604 = Pi P + O(#D_J) with Pi P = 1661.5, #D_J = 120 [ok] Lemma 9.10: |F(a/q + xi P^-k) - Pi q^-1 S(q,a) P V(xi)| <= 3 #D_J q^(1/2) (1+|xi|)^(1/2) for q <= 7 and xi = 0, 0.5, -2, 7 (largest ratio 0.160; main term up to 1661) H = 2: primes in (40, 160], 25 of them; P = 2560000 [ok] Lemma 3.1(b): n determines d and m; m <= R is implied by dm <= X; #C_j(X) <= X; 2^(-HJ) R <= X/d <= R (extreme values 0.0156 R and 1.0000 R) [ok] Lemma 3.1(c): binom(j,i) F_j^e(alpha;X) = sum over d in D_i^e of F_(j-i)^(e+[d])(d^k alpha; X/d), with X/d attached to j-i (6 random cases; largest deviation 6.6e-13); sum of 1/d over D_i <= 1 (sum of 1/p = 0.3068) [ok] Lemma 3.1(d): the terms with d_1 | n form F_(j-i_1)^(e+[d_1])(d_1^k alpha; X/d_1); the terms coprime to d form F_j^(e+[d]), which equals the alternating sum over the divisors d_1 of d used in the proof of Lemma 6.1 (6 random cases) [ok] Lemma 9.6: every element of C_j^e(X) is dn for exactly one pair with d in D_i^e, n in C_(j-i)^e(X/R^i), dn <= X and p^+(n) < p^-(d); D_i^e lies in (M_0, M_1] (6 random cases) [ok] Lemma 3.2: S_1^J - binom(J,2) S_2 S_1^(J-2) <= J! Pi <= S_1^J (0.024782 <= 0.024930 <= 0.028871); #C = 9500 = Pi P + O(#D_J) with Pi P = 10636.9, #D_J = 2300 [ok] Section 3.2 (H = 2): C is the disjoint union of the 4 sets C(h_1,h_2,h_3), of sizes {(0, 0, 0): 1604, (0, 0, 1): 4311, (0, 1, 1): 3045, (1, 1, 1): 540}; C(0,0,0) is the set C that belongs to H = 1; the two sets C(h,h,h) contain 2144 of the 9500 elements [ok] Lemma 9.10: |F(a/q + xi P^-k) - Pi q^-1 S(q,a) P V(xi)| <= 3 #D_J q^(1/2) (1+|xi|)^(1/2) for q <= 7 and xi = 0, 0.5, -2, 7 (largest ratio 0.165; main term up to 10637) [ok] the kernels of Lemmas 9.6 and 11.5: int e(d psi) K_y = [d <= y], int e(-c psi) K~_a = [c > a], int e(a psi) K'_c = [a < c] (d <= 50; a, c <= 160) 13. Section 9.6: the congruences of Lemma 9.13 [ok] k = 4, 8, ..., 128: x^k = 1 (mod 4k) for odd x and x^k = 0 (mod 4k) for even x; x^k = 0 (mod 8k) for even x when k >= 8 (for k = 4 the residue 16 modulo 32 occurs) [ok] least number of k-th powers whose sum lies in a given class modulo 8k: it is j for the class of j when 1 <= j < 4k; k = 8: the class of 4k = 32 modulo 64 needs 32 k-th powers; k = 16: the class of 4k = 64 modulo 128 needs 64 k-th powers 14. Sections 9.7 and 11.5: Theorem 2.5(i) from below, the lemma of Harman, the end of the proof of Theorem 2.7 [ok] |sum_{n in C} e(alpha n^k)| >= #C/2 for |alpha| <= 1/(4 pi P^k) (200 random sets C in [1, P], 2 <= k <= 6) [ok] if ||x_n|| >= 1/L for all n, then sum_{l <= L} |sum_n e(l x_n)| >= N/6: 600 data sets, least value of the ratio to N: 0.738 [ok] the exponent identity (k-1)k/(k+1) + k/(k+1) - k = -k/(k+1); n = ql <= P and ||alpha n^k|| <= (ql)^(k-1) |q l alpha - a| < 1/L on 300 random examples in exact arithmetic 15. Appendix A [ok] Lambda^star lies in [1.042453527327, 1.042453527330] (series up to D = 1e6, tail between 2/(1e6+1.5) and 2/1e6) [ok] C_0^star = 2 + log 9 + 2 Lambda^star lies in [6.282131631990, 6.282131631997]; C_0 - C_0^star = 0.107384 [ok] C_0^star + 9.027901/2 = 10.7960821 < 10.7961 (exact comparison of the upper bound) [ok] the same intervals contain the enclosures for Lambda^star and C_0^star that are obtained in decimal arithmetic with 30 digits and a correctly rounded logarithm (C_0^star lies in [6.2821316319907, 6.2821316319967]); and the numbers ceil(k(log k + 4.20032)) of (1.1) for k <= 36, and ceil(k(log k + 4.20032)/2) of [BW2023, Theorem 9.1] for 13 <= k <= 36, are confirmed in the same way [ok] np.log, applied to arrays, on 60000 sample arguments in [1/4, 2^21] and in (1, 3/2] is accurate to 0.58 units in the last place, and agrees with its values for single arguments; np.log1p on 20000 of the arguments that occur in the series for Lambda^star is accurate to 0.57 units (the computations allow 4 units for the logarithm) [ok] without Lemma 4.3(ii) for j = 3 the constant would be 6.28305 [ok] Lemma A.12: varsigma^star(U, 0) equals the function (A.5) on [1, 60], is nonincreasing, and is not improved by Lemma 4.3(ii) with j = 4, 5 or by Lemma 4.4 [ok] Lemma A.12 (ii), (iii): for k = 13, 14, 17, 25 one has varsigma^star(U, 0) <= (A.5) on a grid of U <= k + 3, with equality for U <= k - 1 (and up to U = k - 1 + 2/(k+1)), and strict inequality beyond; and 2^(j+1) >= (j+1)(j+2) for j >= 4 [ok] varsigma^star(U) >= varsigma(U) on [1, 60], with equality exactly for U <= 17/6 and 10/3 <= U <= 7/2 [ok] min over z_0 of Psi(z_0) + 2 int_0^z_0 du/(u theta(2u)), from the definition on a grid: 6.28210 at z_0 = 0.1000 [ok] Lemma A.7 (valuations) on random pairs of equivalent integers, 36 classes in 7 configurations (k, D, q, X) [ok] Lemma A.8 in the situation of Lemma A.9, 7 configurations: exact counts of the pairs of both kinds against the bounds of the proof; largest ratio count/bound = 0.010 [ok] a plausibility check for the proof of Lemma A.9 (the lemma does not assert this inequality): the sum of |g_Y|^w over a class, divided by Y^w M^(1/2), is at most 0.504 [ok] Lemma A.8 on 200 random configurations (3 <= k <= 12, up to three primes, moduli r_1 | r_2 including r_1 = 1 and r_1 = r_2, negative integers, delta_1 and delta_2 of several sizes): 400 sets V, exact counts against the bound of the lemma and the intermediate bounds of its proof; no failure, largest ratio count/bound = 0.346; r_1 = 1 in 87 configurations, r_1 = r_2 in 74, pairs with r_1 not dividing n - n' in 55 sets [ok] the last step of the proof of Lemma A.9 (exact arithmetic, 2000 random values of the quantities with q_D <= X and d(q_(D-1)) <= (k+1)^J): N_1(delta_2) <= 8 C X^2 B, N_1(2 delta_2) <= 16 C X^2 B and M/X^2 <= 192 C times the expression in the lemma, where C = 4 k^J (k+1)^J [ok] 60 sums with k in {9, 11, 13}, 2.4 < U < 4: largest |S|/X^(1-varsigma^star(U,vartheta)) = 0.026; a consistency check only: the saving varsigma^star is positive for 8 of the sums, and at most 0.0080 [ok] 160 random pairs (k, t): for the largest theta given by the chains, varsigma^star(U, theta/k) >= t for all U <= theta on a grid (least relative margin -1.3e-14) [ok] Lemma A.14 (iv): for the intervals I_1, I_2, I_3 and the tents T_D (3 <= D <= 3000) every term of a right end point has rho_2 >= 3 and rho_0 <= rho_2 + 1, and the left end points have lambda_0 >= 3/2 or lambda_2 >= 4; every condition vartheta <= a_1 - a_2 t in the program's chains has a_1 < 1; and for D <= 1600 the three constants of each junction and end condition in the program are the exact fractions derived from the end points of Lemma A.14, rounded in the safe direction [ok] the tables of [VW2000] for 13 <= k <= 20 (lambda_s and phi_1 for 3 <= s <= 36, 40, 43, 47, 50, 54, 58, 62; 374 rows): the relation lambda_s = lambda_(s-1)(1 - phi_1) + 1 + (2s - 2) phi_1 of [VW2000, (4.10)] holds for every row to within 2.8e-07 (the entries have 7 and 8 decimals) [ok] the same tables: the largest value of (k - 2 Delta_s)/(4s^2 - 1) is attained at s = k - 1 and agrees with the number tau(k) printed below each table; and T_k is 4u^2/(k - 2 Delta_u) with u = k - 1, rounded up to two decimals [ok] Theorem A.21 in the second case, 13 <= k <= 20 (exact arithmetic): (V1), (V2), (V3); (R1): c_0 < 1/T_k, c_n < 1/10 and theta_k(2 c_n) >= 3/2 (the chains give at least 1.7868); (R3); Y^VW(k) >= 4k + 1; and Y^VW(k) >= 4.19 k, so that part (ii) of the theorem applies to Theorem 2.4 as well [ok] (R2) for single steps: at 108 starting points c (64 of the steps cross a point p_D/2 = 1/(2D(D+1))), the least value of v/(1 - theta_k(2v)/k) over 201 points v in [c, c'] and just beyond each point of division, with theta_k from Definition A.11, is at least c' (least ratio - 1: 2.2e-16) [ok] Theorem A.21 in the first case for 17 <= k <= 5000: sequences with (R1)-(R3) and upper bounds Y^flat(k) for k Psi(c_n) + 2n (directed rounding); for k >= 37 the number n of steps lies between k and 1.0334 k, and c_n between 0.0932 and 0.09996 [ok] the same sequences, in decimal arithmetic with 40 digits and a correctly rounded logarithm: (R3) holds (least value of Psi(c_(n-1)) - Psi(c_n) - 2/k: 1.1e-10), and Y^flat(k) >= k Psi(c_n) + 2n (the difference lies between 7.6e-14 and 2.7e-11) [ok] Proposition A.22 (ii): G^flat(k) < 6.34 k for 37 <= k <= 5000 (largest ratio 19/3, at k = 39, where G^flat = 247); G^flat(k) < 6.3 k for k >= 47, but not for k = 46 [ok] Proposition A.22 (iii): G^flat(k) < C_0^star k + 0.32 sqrt k (largest ratio 0.3198, at k = 39) and Y^flat(k) < C_0^star k + 0.23 sqrt k (largest ratio 0.2266, at k = 37) for 37 <= k <= 5000; G^flat(k) < C_0^star k for k >= 56, G^flat(k) < C_0^star k - sqrt(k)/4 for k >= 78, Y^flat(k) < C_0^star k for k >= 50, Y^flat(k) < C_0^star k - sqrt(k)/4 for k >= 69; the computed inequalities fail for k = 55, 77, 49, 68 [ok] Proposition A.22 (iv): l^flat(k) < C_0^star k/2 + 0.24 sqrt k for 37 <= k <= 5000 (largest ratio 0.2399, at k = 39); l^flat(k) < C_0^star k/2 for k >= 64, but not for k = 63 [ok] l^flat = 201, 399, 798, 1597, 3199, 6407, 12827 for k = 64, ..., 4096, and 117, 157, 312, 3124 for k = 37, 50, 100, 1000; G^flat = 135, 234, 314, 624, 6248, 31323 for k = 21, 37, 50, 100, 1000, 5000 [ok] G^flat(k) is smaller than G^sharp(k) by at least 38 (k = 39) and by 793 for k = 5000; by 2.47 per cent (k = 4999) to 14.29 per cent (k = 37); G^sharp = 273, 353, 709, 6492 for k = 37, 50, 100, 1000 [ok] for 37 <= k <= 5000 the fractional part of Y^flat(k) exceeds 0.999 for k = 257, 513, 623, 1656, 1693, 2811, 4481 (largest: 0.99969, at k = 513), and it is smaller than 0.001 for 10 values of k (smallest: 0.00005, at k = 2885) Table 6: k n Y^flat G^flat l^flat before 21 21 134.0179 135 68 153 22 22 140.2882 141 71 161 23 23 146.6033 147 74 169 24 25 152.8904 153 77 178 25 26 159.2111 160 80 186 26 27 165.5140 166 83 194 27 28 171.7246 172 86 203 28 29 177.8940 178 89 211 29 30 184.1304 185 93 220 30 31 190.3041 191 96 229 31 32 196.5224 197 99 237 32 33 202.7877 203 102 246 33 34 209.0098 210 105 254 34 35 215.2477 216 108 263 35 36 221.4729 222 111 272 36 37 227.6492 228 114 281 37 38 233.8173 234 117 273 38 39 239.9664 240 120 279 39 40 246.0702 247 124 285 40 41 252.3324 253 127 291 41 42 258.4626 259 130 297 50 51 313.9727 314 157 353 56 56 350.9112 351 176 398 67 67 418.7500 419 210 481 78 78 486.9647 487 244 566 81 81 505.5671 506 253 590 100 100 623.5525 624 312 709 150 151 933.7193 934 467 1062 174 175 1083.1920 1084 542 1241 200 201 1245.1492 1246 623 1407 212 214 1320.0039 1321 661 1483 250 252 1556.6930 1557 779 1724 330 334 2056.2439 2057 1029 2231 500 509 3118.9115 3119 1560 3309 700 715 4370.0634 4371 2186 4578 927 948 5790.3206 5791 2896 6025 1000 1024 6247.6151 6248 3124 6492 2000 2057 12511.3081 12512 6256 12902 3000 3093 18780.3738 18781 9391 19309 5000 5167 31322.5609 31323 15662 32116 [ok] the entries of Table 6; for 21 <= k <= 36 the numbers G^flat(k) are smaller than the bounds of (1.1) by 18 to 53, G^flat(k)/k <= 135/21, Y^flat(k) lies below the next integer by at least 0.106, and c_n lies between 0.0846 and 0.0938 [ok] without the tables of [VW2000] the recursion gives G^flat = 109, 116, 122, 128 and l^flat = 55, 58, 61, 64 for k = 17, ..., 20 Table 7: k T_k n c_n Y^VW G^VW before l^VW before 13 104.95 10 0.0583 79.0746 80 81 40 44 14 114.19 11 0.0590 85.7394 86 89 43 45 15 123.40 12 0.0602 92.2842 93 97 47 49 16 132.60 14 0.0696 98.7888 99 105 50 53 17 141.78 15 0.0701 105.2755 106 113 53 57 18 150.95 16 0.0704 111.8246 112 121 56 61 19 160.07 17 0.0707 118.3697 119 129 60 65 20 169.18 19 0.0788 124.7279 125 137 63 69 [ok] the entries of Table 7: G(k) <= 80, 86, 93, 99, 106, 112, 119, 125 for k = 13, ..., 20 (previously 81, 89, 97, 105, 113, 121, 129, 137); the numbers Y^VW(k) lie below the next integer by at least 0.175; Y^VW(13) = 79.0745...; G^VW(k)/k <= 119/19 [ok] Theorem A.3(ii): l^VW(k) = 40, 43, 47, 50, 53, 56, 60, 63 for 13 <= k <= 20; the bounds for G^+(k) of [BW2023, Theorem 9.1] are 44 (k = 13), 45, 49, 57, 61, 65, 69 (Table 3 there) and between 77 and 141 for 21 <= k <= 36, k != 32; the new bounds are smaller by 2 to 6 for k <= 20 and by 9 to 27 for 21 <= k <= 36 (l^flat(k) between 68 and 114 there); for 17 <= k <= 20 l^VW(k) is smaller than l^flat(k) by 1 or 2; for k = 16 and 32 the admissible numbers 50 and 102 replace 53 and 123 of [BW2023, Theorem 9.2] [ok] the recursion in plain double precision, with theta_k computed from Definition A.11 by bisection instead of chains, gives the same n and the same value of k Psi(c_n) + 2n to within 6.3e-09 (k = 17, 21, 37, 100, 577, 1000, 5000, and 13 <= k <= 20 with the tables) [ok] the potential in the proof of Theorem A.21 for k = 21, 37, 100, on a grid of 40000 points (plain double precision, delta_0 = eps_2 = 0): it is nonincreasing, g <= G - 2.1 on (0, 1/5], G(z) - G(z/(1 - theta_k(2z)/k)) >= 2/k below z_0 (least value of the difference minus 2/k: -1.2e-15), and k G(c_0) agrees with Y^flat(k) to within 0.0029 [ok] Theorem A.2: G(k) < 6.43 k for every k: by (1.1) for k <= 8 (largest ratio 51/8 = 6.375), by [Woo2016] for 9 <= k <= 12 (at most 6), by Table 7 for 13 <= k <= 20 (at most 119/19 = 6.2632), by Table 6 for 21 <= k <= 36 (at most 135/21 = 6.4286), and by Proposition A.22 for k >= 37 [ok] (A.21) for 37 <= k <= 5000: Theta^nat(k) >= 9/4 (least value 5.6507..., at k = 37), and upper bounds Y^nat(k) = k B^nat(k) - 1; the subdivision is refined eightfold for the 45 values of k at which k B^nat(k) has fractional part < 0.01 [ok] Proposition A.24 (i): E^nat(k) < 10.7961 k + sqrt k (largest ratio 0.9910, at k = 45); 10.7961 k - E^nat(k) > 0.03 for k >= 135, and the computed value of this difference is negative for k = 134; 11 k - E^nat(k) > 1.9 for all k (least value 1.95); s_0^nat(k) > 3k [ok] Proposition A.24 (i): k(log k + 8.02113) - E^nat(k) > 25.3 for all k (least value 25.33); E^nat(k) <= 10.94740 k, the maximum being at k = 37 [ok] plain double precision agrees with directed rounding to within 1.6e-09 in k B^nat(k) (k = 37, 100, 500, 1000, 1201, 5000) [ok] k = 37: the second implementation gives k B^nat = 236.318392122504 on the same subdivision (directed rounding: 236.318392123) [ok] k = 577: the second implementation gives k B^nat = 3604.000068047759 on the same subdivision (directed rounding: 3604.000068048) [ok] k = 1201: the second implementation gives k B^nat = 7510.000094137521 on the same subdivision (directed rounding: 7510.000094138) [ok] k = 577, refined subdivision: the second implementation gives k B^nat = 3603.999943632738 (directed rounding: 3603.999943634) [ok] k = 1201, refined subdivision: the second implementation gives k B^nat = 7509.999973065277 (directed rounding: 7509.999973068) Table 8: k Theta^nat b^nat 2 s_0^nat E^nat Table 4 37 5.651 0.0297 226 405.05 450.43 46 6.423 0.0263 282 502.88 544.05 50 6.788 0.0250 306 545.31 587.90 100 10.560 0.0163 612 1081.02 1174.94 200 15.614 0.0112 1228 2154.90 2330.23 500 26.006 0.0068 3092 5385.65 5582.86 1000 37.615 0.0047 6210 10775.05 11022.78 2000 54.460 0.0033 12458 21556.89 21950.76 5000 87.573 0.0021 31236 53916.71 54717.71 10000 125.397 0.0014 62572 107866.93 109295.89 100000 401.897 0.0005 627394 1079276.33 1091049.59 1000000 1276.717 0.0001 6279514 10795000.84 10905541.15 [ok] the entries of Table 8; the exponents 1/1082 and 1/10776 for k = 100 and k = 1000 [ok] Lemma A.18 at 3000 random points (k, t) with 5000 <= k <= 1e9: the chains give at least the stated lower bound for theta_k(t) [ok] the junction condition at the level 1/((D+1)(D+2)) is vt <= D(D^2-3)/((D+2)(D^3+4D^2-1)); this is at least 1/(D+8) for D >= 8 and exceeds 0.066 for 4 <= D <= 7 [ok] the proof of Lemma A.18: D(D^2+4D-1)/(D-3) - D = D^2+6D+20+60/(D-3) and D(D^2+3D-1)/(D-2) - D = D^2+4D+9+18/(D-2); these increase for D >= 5, they are 120 and 50 for D = 4, and they are at most D^2+6D+32 for D >= 67 [ok] Proposition A.19 at 55019 values of k between 5000 and 1e12: k(C^star(k) - C_0^star) <= 6.581; the three estimates of the proof hold; -log(z_k/tau_k) <= -log k + 0.1040; Y - C_0^star k + c_star sqrt k - log k <= 15.20 [ok] c_star = 4 - 2 log(9.027901/2) = 0.9856546; 0.7356 sqrt k > log k + 20 and 0.4928 sqrt k > (1/2) log k + 11 for k >= 5000; -log(9.027901 z_k) <= 0.1040 for k >= 5000 [ok] the five bounds in the proof of Proposition A.19: 9.613, -0.181, -5.774, 16.122, -13.075 [ok] the numerical constants in the proof of Proposition A.19 (n = 67) [ok] Proposition A.24 (ii) at the same values of k: E - 10.7961 k + 0.62 sqrt k - log k <= 18.14 (k = 5351) [ok] 0.62 sqrt k > log k + 24 for k >= 5000, and the numerical constants in the proof of Proposition A.24 (ii); 10.7961 < log k + 8.02113 for k >= 5000 [ok] the two cases at the end of the proof of Lemma A.18; 1/(1 + 2 C_0^star/9.027901) = 0.4181... [ok] for k = 5000 the first bound of Proposition A.19 is Y <= 31363.10, against Y^nat = 31326.34 from the chains; the bound for G(5000) in Theorem A.1 is 31369, against G^flat(5000) = 31323 [ok] with the integrand 2/(-k log(1 - theta/k)) in place of 2/theta - 1/k, Y_k(Theta_k) would be smaller by 0.0571, 0.0451, 0.0177, 0.0084 for k = 37, 100, 1000, 5000 (quadrature, theta_k from Definition A.11) [ok] the numbers that are inserted in the text of Sections A.5 and A.7 agree with the computation [ok] Remark A.25: (k B^nat(k) - C_0^star k)/sqrt k decreases from 0.6378 at k = 37 to -1.1784 at k = 5000, and Theta^nat(k) increases with k [ok] Remark A.25: Theta^nat(k)/sqrt k lies between 0.909 and 1.245; it is 0.93, 1.06, 1.19, 1.24 for k = 37, 100, 1000, 5000 [ok] Remark A.25: for k = 1e4, 1e5, 1e6 the same computation (directed rounding) gives floor(k B^nat(k)) = 62698, 627793, 6280769, and (k B^nat(k) - C_0^star k)/sqrt k = -1.23, -1.33, -1.36 [ok] Lemma A.18 against theta_k computed directly from Definition A.11 at 1200 points (k, t) with 5000 <= k <= 1e6: least relative margin -1.1e-14; equality (to 1e-9) at all 1094 points with t > 1/(D_star(D_star+1)), and at 0 of the others [ok] Remark A.25: for k = 5000 and Theta as in Lemma A.18, Y_k(Theta) = 31363.105 by quadrature, against 31363.105 for the first bound of Proposition A.19; Y^nat(5000) = 31326.34 [ok] Remark A.25: -4 + sqrt(2) int_(2/9.027901)^1 sqrt(1+x) dx/x = -1.3819 [ok] Remark A.26, with the estimates of Section 4 alone: Y + 1 lies in [251.104, 251.112], [656.013, 656.021] and [6445.063, 6445.191] for k = 37, 100, 1000, so that G(k) <= 251, 656, 6445; the largest steps are 3.70, 8.03, 27.07 [ok] Remark A.27: G^nat = 236, 316, 626, 6251, 31327 for k = 37, 50, 100, 1000, 5000; Y^nat(k) - Y^flat(k) lies between 1.4922 (k = 42) and 4.4960 (k = 4193); G^nat(k) - G^flat(k) = 1, 2, 3, 4, 5 for 26, 395, 2432, 2084, 27 values of k; l^nat(k) - l^flat(k) lies between 0 and 3 [ok] Remark A.27: Theta_k = theta_k(2 tau_k) computed directly from Definition A.11 equals Theta^nat(k) for k = 37, 100, 1000, 3109, 5000, 1e4, 1e5, 1e6 (largest relative difference 1.0e-15) [ok] Remark A.27: rigorous lower Riemann sums for Y_k(Theta_k) + 1 (theta_k from Definition A.11 by bisection): 236.30, 626.22, 6251.27, 31327.07 for k = 37, 100, 1000, 5000; hence G^nat(k) = floor(Y_k(Theta_k)) + 1 for these k ALL CHECKS PASSED