============================================================================== TASK 1: group law M_a o M_b = M_ab, and the geometric pgf ============================================================================== Symbolic (exact polynomial in a,b,w): denom of M_a(M_b(w)) after clearing = 1*a^0b^0w^1 + 1*a^1b^1w^0 + -1*a^1b^1w^1 denom of M_ab(w) = 1*a^0b^0w^1 + 1*a^1b^1w^0 + -1*a^1b^1w^1 difference = 0 GROUP LAW symbolic: PASS (identically zero, numerators both = w) Exact rational check at 36 random points: 36/36 exact equalities Float check over 36 random triples: max |M_a(M_b(w)) - M_ab(w)| = 1.665e-16 (record: 3.7e-16) GROUP LAW numeric: PASS --- pgf of Geometric(mean alpha) on {1,2,...} equals M_alpha(w) --- exact partial-sum + exact tail == M_alpha(w): PASS (12 random rational (alpha,w)) float: max |partial sum (60 terms) - M_alpha(w)| = 2.534e-09 mean = M_alpha'(1) = alpha/(alpha-(alpha-1)*1)^2 = alpha (exact) [task 1 done at 0.0 s] ============================================================================== TASK 2: null law by brute-force pmf recursion, folds 5..29 ============================================================================== recursion in float64: fold alpha rho max_rel(f>1e-300) at k max_rel(f>1e-100) max_rel(f>1e-30) mean(kappa) alpha-mean 5 1.666666666667 0.400000000000 8.794e-16 213 8.794e-16 6.434e-16 1.6666666667 +2.22e-16 7 2.333333333333 0.571428571429 6.849e-14 1231 2.189e-14 6.127e-15 2.3333333333 +0.00e+00 11 2.851851851852 0.649350649351 2.145e-14 1592 6.941e-15 2.791e-15 2.8518518519 +0.00e+00 13 3.370370370370 0.703296703297 1.453e-13 1960 4.683e-14 1.337e-14 3.3703703704 +4.44e-16 17 3.819753086420 0.738202973497 1.293e-13 2271 4.163e-14 1.236e-14 3.8197530864 +8.88e-16 19 4.269135802469 0.765760555234 9.873e-14 2581 3.074e-14 9.313e-15 4.2691358025 +1.78e-15 23 4.675720164609 0.786129202605 4.787e-13 2865 1.567e-13 4.593e-14 4.6757201646 +2.66e-15 29 5.022069806432 0.800878912770 1.683e-13 3103 5.397e-14 1.589e-14 5.0220698064 +2.66e-15 MAX relative deviation over folds 5..29 (float64, f>1e-300): 4.787e-13 (record: 1.02e-14) recursion in longdouble (64-bit): fold alpha rho max_rel(f>1e-300) at k max_rel(f>1e-100) max_rel(f>1e-30) mean(kappa) alpha-mean 5 1.666666666667 0.400000000000 8.794e-16 213 8.794e-16 6.434e-16 1.6666666667 +2.22e-16 7 2.333333333333 0.571428571429 2.120e-14 1178 9.706e-15 7.936e-15 2.3333333333 +0.00e+00 11 2.851851851852 0.649350649351 4.717e-14 1589 8.034e-15 2.856e-15 2.8518518519 +0.00e+00 13 3.370370370370 0.703296703297 2.187e-13 1959 5.737e-14 1.459e-14 3.3703703704 +4.44e-16 17 3.819753086420 0.738202973497 2.113e-13 2262 4.322e-14 1.308e-14 3.8197530864 +8.88e-16 19 4.269135802469 0.765760555234 1.883e-13 2582 3.371e-14 9.787e-15 4.2691358025 +1.78e-15 23 4.675720164609 0.786129202605 5.625e-13 2862 1.596e-13 4.579e-14 4.6757201646 +2.66e-15 29 5.022069806432 0.800878912770 2.340e-13 3102 5.617e-14 1.603e-14 5.0220698064 +2.66e-15 MAX relative deviation over folds 5..29 (longdouble (64-bit), f>1e-300): 5.625e-13 (record: 1.02e-14) [task 2 done at 0.2 s] ============================================================================== TASK 3: c_null(p) and the refit of r_null(p) ============================================================================== --- c_null(p) = (mbar/6) ln(1/(1-6/mbar)), mbar = mbar_before(p) --- p= 7 mbar_before= 10.000000 c_null=1.527151 (record 1.527151) p= 11 mbar_before= 14.000000 c_null=1.305770 p= 13 mbar_before= 17.111111 c_null=1.231379 p= 17 mbar_before= 20.222222 c_null=1.186291 p= 19 mbar_before= 22.918519 c_null=1.159434 p= 23 mbar_before= 25.614815 c_null=1.139372 p= 29 mbar_before= 28.054321 c_null=1.125138 p= 31 mbar_before= 30.132419 c_null=1.115128 p= 101 mbar_before= 52.223356 c_null=1.062263 p= 211 mbar_before= 70.114346 c_null=1.045396 p= 421 mbar_before= 88.684228 c_null=1.035436 p= 1009 mbar_before= 115.522593 c_null=1.026905 p= 1499 mbar_before= 129.453540 c_null=1.023916 (record 1.023916) 1 + 3/mbar at p=1499 = 1.023174 (expansion c_null = 1 + 3/mbar + O(mbar^-2)) --- OLS fit ln r_null(p) = ln A - c*(theta_p/mbar) over 214 primes 100<=p<=1499 (record: A=4.7843e-2, c=1.0577) --- V1 r_null(full, mbar_before), x = theta/mbar_before [as specified] A = 4.7843e-02 c = 1.0577 <== matches record V2 r_null(full, mbar_after), x = theta/mbar_after A = 4.7366e-02 c = 1.0573 V3 leading term rho^(kc-1)/(2a(1-rho^p)), mbar_before A = 4.7638e-02 c = 1.0575 V4 (3/mbar) exp(-c_null theta/mbar), mbar_before A = 4.3022e-02 c = 1.0548 V5 r_null(full, mbar_before), x = theta/mbar_after A = 4.4686e-02 c = 1.0560 V6 r_null(full, mbar_after), x = theta/mbar_before A = 5.0717e-02 c = 1.0591 V7 r_null(full, mbar_before), x = 2p/mbar_before (theta=2p) A = 4.7783e-02 c = 1.0577 <== matches record [task 3 done at 0.2 s] ============================================================================== TASK 4: exact tiles T_5..T_29, fold identities, moments ============================================================================== T_5 by direct sieve: [11, 17, 29] W = 30 N = 3 gaps = [6, 12, 12] --- fold by p=7: T_5 (N=3, W=30, mbar=10.000000) -> T_7 --- N_new = 15 prod(q-2) = 15 (p-2)N = 15 PASS G2(T_7) = 30 expected 30 PASS mean gap new = 14.000000 = mbar_old*p/(p-2) = 14.000000 each old slot killed in exactly 2 of p copies: PASS total killed = 6 (2N = 6) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 3); random sample of 3: PASS Consumption: Q0=0 Q+=0 Q-=2 2Q0+Q++Q- = 2 sum(omega) = 2 2N-M = 2 sum(l-1) over runs = 2 PASS runs M = 4 L = 2 spectrum = {1: 2, 2: 2} wrapped-run present: False record: spectrum = {1: 2, 2: 2} X = 2 L = 2 PASS spans of the 2 run(s) of maximal length 2: max span = 30, max span over all runs = 30 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.2871839526 1.6529143905 0.8999058717 1.4436665062 -8.489540e-01 0.00e+00 0.00e+00 0.50 1.6646988028 2.7464410484 1.2147458669 2.1672740793 -8.653540e-01 0.00e+00 0.00e+00 0.75 2.1625061359 4.5881661753 1.6397354074 3.4048056120 -2.795581e-01 3.55e-15 2.09e-16 0.90 2.5351219881 6.2591060972 1.9631197007 4.5714067385 +7.703358e-01 7.11e-15 3.11e-16 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +5.095189e-02 8.999059e-01 -8.489540e-01 -7.856275e-03 9.595015e-02 1.32e-16 +0.00e+00 1.18e-16 2.23e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.39e-16, |Gamma_poly-Gamma| 9.71e-17] 0.50 +3.493919e-01 1.214746e+00 -8.653540e-01 -4.956211e-02 8.015085e-01 1.05e-15 +0.00e+00 2.22e-15 4.43e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 5.55e-16, |Gamma_poly-Gamma| 5.55e-17] 0.75 +1.360177e+00 1.639735e+00 -2.795581e-01 -1.765332e-01 4.370046e+00 3.11e-15 +0.00e+00 5.77e-15 1.81e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 8.88e-16, |Gamma_poly-Gamma| 2.22e-16] 0.90 +2.733456e+00 1.963120e+00 +7.703358e-01 -3.354748e-01 1.238347e+01 3.11e-15 +0.00e+00 8.88e-15 8.89e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 8.88e-16, |Gamma_poly-Gamma| 4.44e-16] Delta/((p-2)Phi_new) at u=0.5 = -7.986e-02 c'_min (lambda=u/mbar_old): 1.9181 1.8105 1.6722 1.5743 record: 1.9181 1.8105 1.6722 1.5743 c'_min (lambda=u/mbar_new): 1.9438 1.8755 1.7927 1.7353 c'_min at u=0.01, 0.05 (mbar_old): 1.99713 1.98533 K = Psi/Phi^2: 0.99762914 0.99105772 0.98112523 0.97390050 direct sieve of T_7 (W=210) equals folded tile: PASS [fold 7 took 0.0 s; elapsed 0.2 s] --- fold by p=11: T_7 (N=15, W=210, mbar=14.000000) -> T_11 --- N_new = 135 prod(q-2) = 135 (p-2)N = 135 PASS G2(T_11) = 42 expected 42 PASS mean gap new = 17.111111 = mbar_old*p/(p-2) = 17.111111 each old slot killed in exactly 2 of p copies: PASS total killed = 30 (2N = 30) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 15); random sample of 15: PASS Consumption: Q0=0 Q+=0 Q-=0 2Q0+Q++Q- = 0 sum(omega) = 0 2N-M = 0 sum(l-1) over runs = 0 PASS runs M = 30 L = 1 spectrum = {1: 30} wrapped-run present: False record: spectrum = {1: 30} X = 0 L = 1 PASS spans of the 30 run(s) of maximal length 1: max span = 42, max span over all runs = 42 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.2951081406 1.6662708311 0.0000000000 1.3775887385 +0.000000e+00 1.78e-15 1.43e-16 0.50 1.7093561842 2.8368635221 0.0000000000 1.9599133704 +8.881784e-16 0.00e+00 0.00e+00 0.75 2.3050299573 4.9354919791 0.0000000000 2.8895770732 +0.000000e+00 0.00e+00 0.00e+00 0.90 2.7890559050 6.9513793108 0.0000000000 3.7140166618 -7.105427e-15 7.11e-15 2.13e-16 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +0.000000e+00 0.000000e+00 +0.000000e+00 -2.206853e-02 5.364677e-02 0.00e+00 +0.00e+00 8.19e-16 1.08e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 0.00e+00, |Gamma_poly-Gamma| 0.00e+00] 0.50 +0.000000e+00 0.000000e+00 +8.881784e-16 -1.700701e-01 4.538144e-01 8.88e-16 +0.00e+00 4.44e-16 7.12e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 0.00e+00, |Gamma_poly-Gamma| 0.00e+00] 0.75 +0.000000e+00 0.000000e+00 +0.000000e+00 -7.553422e-01 2.457428e+00 0.00e+00 +0.00e+00 2.22e-15 6.91e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 0.00e+00, |Gamma_poly-Gamma| 0.00e+00] 0.90 +0.000000e+00 0.000000e+00 -7.105427e-15 -1.654907e+00 6.585890e+00 7.11e-15 +0.00e+00 3.55e-15 4.31e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 0.00e+00, |Gamma_poly-Gamma| 0.00e+00] Delta/((p-2)Phi_new) at u=0.5 = +5.035e-17 c'_min (lambda=u/mbar_old): 1.8553 1.6797 1.4763 1.3441 record: 1.8553 1.6797 1.4763 1.3441 c'_min (lambda=u/mbar_new): 1.8839 1.7471 1.5903 1.4880 c'_min at u=0.01, 0.05 (mbar_old): 1.99480 1.97353 K = Psi/Phi^2: 0.99342143 0.97089733 0.92891784 0.89362755 direct sieve of T_11 (W=2310) equals folded tile: PASS [fold 11 took 0.0 s; elapsed 0.2 s] --- fold by p=13: T_11 (N=135, W=2310, mbar=17.111111) -> T_13 --- N_new = 1485 prod(q-2) = 1485 (p-2)N = 1485 PASS G2(T_13) = 66 expected 66 PASS mean gap new = 20.222222 = mbar_old*p/(p-2) = 20.222222 each old slot killed in exactly 2 of p copies: PASS total killed = 270 (2N = 270) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 135); random sample of 135: PASS Consumption: Q0=0 Q+=0 Q-=6 2Q0+Q++Q- = 6 sum(omega) = 6 2N-M = 6 sum(l-1) over runs = 6 PASS runs M = 264 L = 2 spectrum = {1: 258, 2: 6} wrapped-run present: False record: spectrum = {1: 258, 2: 6} X = 6 L = 2 PASS spans of the 6 run(s) of maximal length 2: max span = 48, max span over all runs = 66 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.2966823404 1.6778022498 0.0631106365 1.3660983367 -6.177450e-02 3.55e-15 2.36e-16 0.50 1.7172577083 2.9251612720 0.0896164298 1.9376966209 -8.059552e-02 7.11e-15 3.33e-16 0.75 2.3274551938 5.3242818713 0.1272543732 2.8754682304 -9.276433e-02 0.00e+00 0.00e+00 0.90 2.8263126903 7.7973167783 0.1570521054 3.7363577967 -8.856411e-02 0.00e+00 0.00e+00 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +1.336140e-03 6.311064e-02 -6.177450e-02 -7.165684e-03 4.386990e-02 4.68e-16 +0.00e+00 4.50e-15 9.05e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.95e-17, |Gamma_poly-Gamma| 0.00e+00] 0.50 +9.020911e-03 8.961643e-02 -8.059552e-02 -4.762553e-02 3.694358e-01 4.51e-17 +0.00e+00 5.00e-15 1.22e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 3.33e-16, |Gamma_poly-Gamma| 1.21e-17] 0.75 +3.449005e-02 1.272544e-01 -9.276433e-02 -1.855316e-01 1.965849e+00 2.10e-15 +0.00e+00 8.88e-16 4.20e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.11e-15, |Gamma_poly-Gamma| 2.78e-17] 0.90 +6.848799e-02 1.570521e-01 -8.856411e-02 -3.814533e-01 5.132138e+00 3.62e-15 +0.00e+00 1.24e-14 2.28e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.67e-16, |Gamma_poly-Gamma| 0.00e+00] Delta/((p-2)Phi_new) at u=0.5 = -3.781e-03 (record -3.78e-03) c'_min (lambda=u/mbar_old): 1.9010 1.7796 1.6321 1.5297 record: 1.9010 1.7796 1.6321 1.5297 c'_min (lambda=u/mbar_new): 1.9175 1.8196 1.7037 1.6246 c'_min at u=0.01, 0.05 (mbar_old): 1.99642 1.98178 K = Psi/Phi^2: 0.99786911 0.99192507 0.98287521 0.97612348 direct sieve of T_13 (W=30030) equals folded tile: PASS [fold 13 took 0.0 s; elapsed 0.2 s] --- fold by p=17: T_13 (N=1485, W=30030, mbar=20.222222) -> T_17 --- N_new = 22275 prod(q-2) = 22275 (p-2)N = 22275 PASS G2(T_17) = 108 expected 108 PASS mean gap new = 22.918519 = mbar_old*p/(p-2) = 22.918519 each old slot killed in exactly 2 of p copies: PASS total killed = 2970 (2N = 2970) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 1485); random sample of 1485: PASS Consumption: Q0=0 Q+=60 Q-=12 2Q0+Q++Q- = 72 sum(omega) = 72 2N-M = 72 sum(l-1) over runs = 72 PASS runs M = 2898 L = 2 spectrum = {1: 2826, 2: 72} wrapped-run present: False record: spectrum = {1: 2826, 2: 72} X = 72 L = 2 PASS spans of the 72 run(s) of maximal length 2: max span = 108, max span over all runs = 108 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.2991321288 1.6853309670 0.0813265986 1.3513068077 -7.110409e-02 3.55e-15 1.75e-16 0.50 1.7323982055 2.9823007868 0.1397204417 1.9056405784 -4.089001e-02 1.07e-14 3.73e-16 0.75 2.3819299250 5.5788613269 0.2469981224 2.8453057728 +3.097768e-01 7.11e-15 1.66e-16 0.90 2.9319198597 8.3618128271 0.3530155556 3.7501849539 +1.061175e+00 0.00e+00 0.00e+00 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +1.022251e-02 8.132660e-02 -7.110409e-02 -4.826642e-03 3.228677e-02 2.01e-16 +0.00e+00 4.82e-15 1.79e-13 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 6.25e-16, |Gamma_poly-Gamma| 1.04e-17] 0.50 +9.883043e-02 1.397204e-01 -4.089001e-02 -3.780551e-02 2.746234e-01 3.19e-16 +0.00e+00 5.05e-15 2.36e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.78e-15, |Gamma_poly-Gamma| 1.39e-17] 0.75 +5.567749e-01 2.469981e-01 +3.097768e-01 -1.894577e-01 1.487019e+00 1.67e-15 +0.00e+00 1.35e-14 1.21e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 3.55e-15, |Gamma_poly-Gamma| 1.11e-16] 0.90 +1.414190e+00 3.530156e-01 +1.061175e+00 -4.686825e-01 3.930564e+00 2.22e-16 +0.00e+00 2.22e-15 7.44e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.84e-14, |Gamma_poly-Gamma| 0.00e+00] Delta/((p-2)Phi_new) at u=0.5 = -1.430e-03 (record -1.43e-03) c'_min (lambda=u/mbar_old): 1.9434 1.8772 1.7922 1.7252 record: 1.9434 1.8772 1.7922 1.7252 c'_min (lambda=u/mbar_new): 1.9505 1.8940 1.8252 1.7741 c'_min at u=0.01, 0.05 (mbar_old): 1.99787 1.98925 K = Psi/Phi^2: 0.99857009 0.99370161 0.98330355 0.97273883 direct sieve of T_17 (W=510510) equals folded tile: PASS [fold 17 took 0.0 s; elapsed 0.2 s] --- fold by p=19: T_17 (N=22275, W=510510, mbar=22.918519) -> T_19 --- N_new = 378675 prod(q-2) = 378675 (p-2)N = 378675 PASS G2(T_19) = 150 expected 150 PASS mean gap new = 25.614815 = mbar_old*p/(p-2) = 25.614815 each old slot killed in exactly 2 of p copies: PASS total killed = 44550 (2N = 44550) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 22275); random sample of 10000: PASS Consumption: Q0=0 Q+=66 Q-=1022 2Q0+Q++Q- = 1088 sum(omega) = 1088 2N-M = 1088 sum(l-1) over runs = 1088 PASS runs M = 43462 L = 2 spectrum = {1: 42374, 2: 1088} wrapped-run present: False record: spectrum = {1: 42374, 2: 1088} X = 1088 L = 2 PASS spans of the 1088 run(s) of maximal length 2: max span = 150, max span over all runs = 150 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.3016897906 1.6926137812 0.0748864295 1.3482300075 -6.555072e-02 3.55e-15 1.55e-16 0.50 1.7496626566 3.0464617803 0.1168756258 1.9072837653 -3.091503e-02 0.00e+00 0.00e+00 0.75 2.4510841637 5.9220205286 0.1870713867 2.8870605928 +2.826552e-01 1.42e-14 2.90e-16 0.90 3.0764402576 9.2231748881 0.2520082464 3.8693086122 +9.332845e-01 1.42e-14 2.16e-16 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +9.335706e-03 7.488643e-02 -6.555072e-02 -3.565060e-03 2.890243e-02 5.29e-16 +0.00e+00 4.16e-17 1.80e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 9.99e-16, |Gamma_poly-Gamma| 5.20e-18] 0.50 +8.596060e-02 1.168756e-01 -3.091503e-02 -2.971526e-02 2.537438e-01 1.05e-15 +0.00e+00 2.89e-15 1.46e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 3.55e-15, |Gamma_poly-Gamma| 2.78e-17] 0.75 +4.697266e-01 1.870714e-01 +2.826552e-01 -1.715861e-01 1.464371e+00 1.17e-15 +0.00e+00 9.10e-15 7.81e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.13e-14, |Gamma_poly-Gamma| 0.00e+00] 0.90 +1.185293e+00 2.520082e-01 +9.332845e-01 -4.826195e-01 4.129920e+00 2.22e-15 +0.00e+00 2.22e-15 6.48e-16 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.84e-14, |Gamma_poly-Gamma| 0.00e+00] Delta/((p-2)Phi_new) at u=0.5 = -9.535e-04 (record -9.53e-04) c'_min (lambda=u/mbar_old): 1.9508 1.8866 1.7909 1.7066 record: 1.9508 1.8866 1.7909 1.7066 c'_min (lambda=u/mbar_new): 1.9565 1.9020 1.8260 1.7628 c'_min at u=0.01, 0.05 (mbar_old): 1.99821 1.99092 K = Psi/Phi^2: 0.99894799 0.99514666 0.98571976 0.97450365 direct sieve of T_19 (W=9699690) equals folded tile: PASS [fold 19 took 0.3 s; elapsed 0.5 s] --- fold by p=23: T_19 (N=378675, W=9699690, mbar=25.614815) -> T_23 --- N_new = 7952175 prod(q-2) = 7952175 (p-2)N = 7952175 PASS G2(T_23) = 204 expected 204 PASS mean gap new = 28.054321 = mbar_old*p/(p-2) = 28.054321 each old slot killed in exactly 2 of p copies: PASS total killed = 757350 (2N = 757350) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 378675); random sample of 10000: PASS Consumption: Q0=86 Q+=10462 Q-=1236 2Q0+Q++Q- = 11870 sum(omega) = 11870 2N-M = 11870 sum(l-1) over runs = 11870 PASS runs M = 745480 L = 3 spectrum = {1: 733672, 2: 11746, 3: 62} wrapped-run present: False record: spectrum = {1: 733672, 2: 11746, 3: 62} X = 11870 L = 3 PASS spans of the 62 run(s) of maximal length 3: max span = 204, max span over all runs = 204 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.3038779073 1.6976345025 0.0537405602 1.3416233826 -4.859877e-02 1.07e-14 3.78e-16 0.50 1.7644012533 3.0884358472 0.0961397992 1.8929713856 -4.423621e-02 1.42e-14 3.57e-16 0.75 2.5104513795 6.1338051842 0.1839951198 2.8705156236 +1.306464e-01 0.00e+00 0.00e+00 0.90 3.2017765208 9.7358260027 0.2842656030 3.8645748501 +5.664003e-01 0.00e+00 0.00e+00 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +5.141791e-03 5.374056e-02 -4.859877e-02 -4.926189e-03 2.361729e-02 4.74e-16 +0.00e+00 7.50e-15 3.20e-13 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.33e-15, |Gamma_poly-Gamma| 3.47e-18] 0.50 +5.190359e-02 9.613980e-02 -4.423621e-02 -4.935187e-02 2.117910e-01 4.44e-16 +0.00e+00 8.05e-15 3.85e-14 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 8.88e-15, |Gamma_poly-Gamma| 0.00e+00] 0.75 +3.146415e-01 1.839951e-01 +1.306464e-01 -3.371219e-01 1.274258e+00 1.72e-15 +0.00e+00 3.11e-15 2.40e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.14e-13, |Gamma_poly-Gamma| 0.00e+00] 0.90 +8.506660e-01 2.842656e-01 +5.664003e-01 -1.031094e+00 3.740954e+00 8.88e-16 +0.00e+00 1.78e-14 4.53e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.27e-13, |Gamma_poly-Gamma| 2.22e-16] Delta/((p-2)Phi_new) at u=0.5 = -1.113e-03 (record -1.11e-03) c'_min (lambda=u/mbar_old): 1.9490 1.8769 1.7636 1.6621 record: 1.9490 1.8769 1.7636 1.6621 c'_min (lambda=u/mbar_new): 1.9541 1.8916 1.7988 1.7190 c'_min at u=0.01, 0.05 (mbar_old): 1.99822 1.99092 K = Psi/Phi^2: 0.99855120 0.99207355 0.97325434 0.94970948 [fold 23 took 1.0 s; elapsed 1.5 s] --- fold by p=29: T_23 (N=7952175, W=223092870, mbar=28.054321) -> T_29 --- N_new = 214708725 prod(q-2) = 214708725 (p-2)N = 214708725 PASS G2(T_29) = 258 expected 258 PASS mean gap new = 30.132419 = mbar_old*p/(p-2) = 30.132419 each old slot killed in exactly 2 of p copies: PASS total killed = 15904350 (2N = 15904350) Merge Rate Identity (destroyed copies == 4 - omega): whole word PASS (mismatches 0 of 7952175); random sample of 10000: PASS Consumption: Q0=6 Q+=243370 Q-=440 2Q0+Q++Q- = 243822 sum(omega) = 243822 2N-M = 243822 sum(l-1) over runs = 243822 PASS runs M = 15660528 L = 2 spectrum = {1: 15416706, 2: 243822} wrapped-run present: False record: spectrum = {1: 15416706, 2: 243822} X = 243822 L = 2 PASS spans of the 243822 run(s) of maximal length 2: max span = 258, max span over all runs = 258 Fold Moment Identity (p-2)Phi_new = (p-4)Phi + Omega + 2Psi + Delta, lambda = u/mbar_old: u Phi Psi Omega Phi_new Delta abs_res rel_res 0.25 1.3054781784 1.7011818126 0.0523981481 1.3349135388 -4.905068e-02 7.11e-15 1.97e-16 0.50 1.7750547260 3.1175604181 0.0896208292 1.8757517199 -5.581338e-02 0.00e+00 0.00e+00 0.75 2.5531530945 6.2798672479 0.1535195715 2.8367377980 +4.983912e-02 0.00e+00 0.00e+00 0.90 3.2921211721 10.0920955852 0.2123072298 3.8160310090 +3.333095e-01 1.42e-14 1.38e-16 TASK 6: Gamma = (1/N) sum_R F_R from the kill runs; checks Gamma = Omega + Delta, F_R >= 0, and (p-2)(Phi_new - N_p Phi) = 2(Psi - Phi^2) + Gamma - 4Phi(Phi-1)^2/(p-2Phi), N_p Phi = (1-2/p)Phi/(1-2Phi/p) u Gamma Omega Delta 2(Psi-Phi^2) 4Phi(Phi-1)^2/(p-2Phi) |Gamma-(Om+Delta)| min F_R |lhs-rhs| rel 0.25 +3.347463e-03 5.239815e-02 -4.905068e-02 -6.182923e-03 1.846572e-02 1.43e-16 +0.00e+00 1.67e-14 7.83e-13 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.44e-15, |Gamma_poly-Gamma| 1.30e-18] 0.50 +3.380745e-02 8.962083e-02 -5.581338e-02 -6.651772e-02 1.675909e-01 3.68e-16 +0.00e+00 2.22e-16 1.11e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 2.13e-14, |Gamma_poly-Gamma| 1.39e-17] 0.75 +2.033587e-01 1.535196e-01 +4.983912e-02 -4.774470e-01 1.031056e+00 1.67e-16 +0.00e+00 6.00e-15 4.59e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 1.14e-13, |Gamma_poly-Gamma| 8.33e-17] 0.90 +5.456168e-01 2.123072e-01 +3.333095e-01 -1.491932e+00 3.086438e+00 2.00e-15 +0.00e+00 2.66e-14 6.61e-15 [poly-form: min F_R +0.00e+00, max|F_poly-F_stable| 3.41e-13, |Gamma_poly-Gamma| 0.00e+00] Delta/((p-2)Phi_new) at u=0.5 = -1.102e-03 (record -1.10e-03) c'_min (lambda=u/mbar_old): 1.9524 1.8785 1.7537 1.6389 record: 1.9524 1.8785 1.7537 1.6389 c'_min (lambda=u/mbar_new): 1.9563 1.8910 1.7854 1.6908 c'_min at u=0.01, 0.05 (mbar_old): 1.99841 1.99184 K = Psi/Phi^2: 0.99818605 0.98944438 0.96337805 0.93117162 [fold 29 took 21.0 s; elapsed 22.4 s] --- c'_min table, lambda = u/mbar_old (record values in parentheses) --- fold u=0.25 0.50 0.75 0.90 | u=0.01 0.05 7 1.9181 (1.9181) 1.8105 (1.8105) 1.6722 (1.6722) 1.5743 (1.5743) | 1.99713 1.98533 11 1.8553 (1.8553) 1.6797 (1.6797) 1.4763 (1.4763) 1.3441 (1.3441) | 1.99480 1.97353 13 1.9010 (1.9010) 1.7796 (1.7796) 1.6321 (1.6321) 1.5297 (1.5297) | 1.99642 1.98178 17 1.9434 (1.9434) 1.8772 (1.8772) 1.7922 (1.7922) 1.7252 (1.7252) | 1.99787 1.98925 19 1.9508 (1.9508) 1.8866 (1.8866) 1.7909 (1.7909) 1.7066 (1.7066) | 1.99821 1.99092 23 1.9490 (1.9490) 1.8769 (1.8769) 1.7636 (1.7636) 1.6621 (1.6621) | 1.99822 1.99092 29 1.9524 (1.9524) 1.8785 (1.8785) 1.7537 (1.7537) 1.6389 (1.6389) | 1.99841 1.99184 max |c'_min - record| over the 28 cells (mbar_old): 4.80e-05 max |c'_min - record| over the 28 cells (mbar_new variant): 1.61e-01 --- K = Psi/Phi^2 over all cells --- fold 7 u=0.25 K = 0.99762914 <1 fold 7 u=0.50 K = 0.99105772 <1 fold 7 u=0.75 K = 0.98112523 <1 fold 7 u=0.90 K = 0.97390050 <1 fold 11 u=0.25 K = 0.99342143 <1 fold 11 u=0.50 K = 0.97089733 <1 fold 11 u=0.75 K = 0.92891784 <1 fold 11 u=0.90 K = 0.89362755 <1 fold 13 u=0.25 K = 0.99786911 <1 fold 13 u=0.50 K = 0.99192507 <1 fold 13 u=0.75 K = 0.98287521 <1 fold 13 u=0.90 K = 0.97612348 <1 fold 17 u=0.25 K = 0.99857009 <1 fold 17 u=0.50 K = 0.99370161 <1 fold 17 u=0.75 K = 0.98330355 <1 fold 17 u=0.90 K = 0.97273883 <1 fold 19 u=0.25 K = 0.99894799 <1 fold 19 u=0.50 K = 0.99514666 <1 fold 19 u=0.75 K = 0.98571976 <1 fold 19 u=0.90 K = 0.97450365 <1 fold 23 u=0.25 K = 0.99855120 <1 fold 23 u=0.50 K = 0.99207355 <1 fold 23 u=0.75 K = 0.97325434 <1 fold 23 u=0.90 K = 0.94970948 <1 fold 29 u=0.25 K = 0.99818605 <1 fold 29 u=0.50 K = 0.98944438 <1 fold 29 u=0.75 K = 0.96337805 <1 fold 29 u=0.90 K = 0.93117162 <1 K min = 0.89362755 max = 0.99894799 over 28 cells (record: 0.89362755 to 0.99894799, all < 1) all < 1 Fold Moment Identity: max relative residual over all folds and lambdas = 3.78e-16 --- TASK 6 summary over the 28 cells (folds 7..29 x u in {0.25,0.5,0.75,0.9}) --- (a) max |Gamma - (Omega + Delta)| = 7.11e-15 (b) min F_R (stable evaluation) over all runs and cells = +0.00e+00 (all >= 0) min F_R (float64 polynomial form) = +0.00e+00; max |F_poly - F_stable| over all runs = 3.41e-13; max |Gamma_poly - Gamma| = 4.44e-16 (roundoff of the difference form) (c) max |lhs-rhs| of (p-2)(Phi_new - N_p Phi) identity = 2.66e-14, max relative = 7.83e-13 [task 4 done at 22.4 s] ============================================================================== TASK 5: runtime ============================================================================== TOTAL RUNTIME: 22.4 s