# log: s05_table2_reanalysis
# started (UTC): 2026-11-19T02:45:23+00:00
# python 3.12.14 on Darwin arm64
# argv: s05_table2_reanalysis.py
== (1) refit of t_1/c  ([B] eq. 5-meas: xi_meas = 0.026240 +- 0.000025, Lambda_meas = 9.1263 +- 0.002)
  central (paper's basis F4, all 24 rows, unweighted): xi = 0.026251  Lambda = 9.1254  coefficient of c^-2/3 = 0.2707
  [PASS] xi_meas, basis {1,c^-2/3,c^-1,c^-4/3}, all rows, unweighted: computed 0.02625135137  paper 0.02624  |diff| 1.14e-05 (tol 3e-05)  [B] eq. (5-meas)
  [PASS] Lambda_meas: computed 9.125362752  paper 9.1263  |diff| 0.000937 (tol 0.002)  [B] eq. (5-meas)
  spread over forms F3/F4/F4log and windows c_min=24..256 (unweighted, 21 fits): xi in [0.026203, 0.026432], Lambda in [9.1103, 9.1294], c^-2/3 coefficient in [0.2333, 0.3022]
  theory: xi* = 0.0262361, Lambda_V = 9.12663, A_opt = 0.27666;   xi(Lambda=9.08) = 0.02680
  restricted to power-law forms F3, F4: xi in [0.026238, 0.026432], Lambda in [9.1103, 9.1265], A in [0.2333, 0.2752]  (paper: A between 0.269 and 0.285)
  over-parametrised F5 (5 terms; sensitivity only): Lambda in [9.1264, 9.1268]
  weighted by 1/sigma, F4, c>=24: xi = 0.026262 +- 5.2e-07 (stat), Lambda = 9.1245, chi2/dof = 13.26
  weighted by 1/sigma, F4, c>=48: xi = 0.026251 +- 9.2e-07 (stat), Lambda = 9.1254, chi2/dof = 1.30
  weighted by 1/sigma, F4, c>=64: xi = 0.026249 +- 9.8e-07 (stat), Lambda = 9.1256, chi2/dof = 0.18
  fraction of these fits inside the published band: xi 0.57, Lambda 0.57
== (2) residuals against the parameter-free two-term law (Conj. 1(a), conjectural)
  remainder Delta - c/Lambda_V - A_opt c^(1/3): min -0.1281 (c=2048), max +0.0133 (c=24); at c=2048: -0.1281 +- 0.010
  AHT log fit minus data at c=2048: +0.218  (paper: 0.22, sigma = 0.010)
  [PASS] log-fit departure at c=2048: computed 0.2184685279  paper 0.22  |diff| 0.00153 (tol 0.005)  [B] Fig. 6 caption
  remainder model r0 + r1 c^(-1/3): r0 = -0.1684, r1 = +0.5399, rms 0.0018
== (3) competing log term: Delta = c/Lambda + A c^(1/3) + gamma log c + B   ([B] section 5.3: gamma in [-0.07, -0.005])
  c>= 24: Lambda = 9.1281, A = 0.2962, gamma = -0.0667, B = +0.1686
  c>= 48: Lambda = 9.1278, A = 0.2934, gamma = -0.0621, B = +0.1595
  c>= 64: Lambda = 9.1276, A = 0.2923, gamma = -0.0601, B = +0.1553
  c>= 96: Lambda = 9.1275, A = 0.2912, gamma = -0.0581, B = +0.1507
  c>=128: Lambda = 9.1274, A = 0.2903, gamma = -0.0563, B = +0.1464
  c>=192: Lambda = 9.1273, A = 0.2892, gamma = -0.0541, B = +0.1407
  Lambda fixed to Lambda_V, c>= 24: A = 0.2873, gamma = -0.0542, B = +0.1514
  Lambda fixed to Lambda_V, c>= 64: A = 0.2855, gamma = -0.0491, B = +0.1351
  Lambda fixed to Lambda_V, c>=128: A = 0.2843, gamma = -0.0454, B = +0.1224
== (4) why earlier fits gave 9.08: AHT-type forms fitted to the exact law c/Lambda_V + A_opt c^(1/3)  ([B] section 5.2)
  window [300,700]: (Lambda_fit, gamma_fit) = (9.085, 0.477)   paper: (9.085, 0.48)
  [PASS] AHT-form Lambda_fit on [300,700]: computed 9.084802397  paper 9.085  |diff| 0.000198 (tol 0.006)  [B] section 5.2
  [PASS] AHT-form gamma_fit on [300,700]: computed 0.4770605092  paper 0.48  |diff| 0.00294 (tol 0.01)  [B] section 5.2
  window [20,300]: (Lambda_fit, gamma_fit) = (9.017, 0.280)   paper: (9.02, 0.28)
  [PASS] AHT-form Lambda_fit on [20,300]: computed 9.017113307  paper 9.02  |diff| 0.00289 (tol 0.006)  [B] section 5.2
  [PASS] AHT-form gamma_fit on [20,300]: computed 0.2801478846  paper 0.28  |diff| 0.000148 (tol 0.01)  [B] section 5.2
  window [500,4000]: (Lambda_fit, gamma_fit) = (9.109, 0.718)   paper: (9.11, 0.71)
  [PASS] AHT-form Lambda_fit on [500,4000]: computed 9.109108641  paper 9.11  |diff| 0.000891 (tol 0.006)  [B] section 5.2
  [PASS] AHT-form gamma_fit on [500,4000]: computed 0.7183828695  paper 0.71  |diff| 0.00838 (tol 0.01)  [B] section 5.2
  c/A+B1: A = 9.004 (paper 9.004; AHT 9.01);  c/A+B1+B2/c: A = 9.043 (paper 9.043; AHT 9.04)
  [PASS] c/A+B1 on [300,700]: computed 9.004055061  paper 9.004  |diff| 5.51e-05 (tol 0.004)  [B] section 5.2
  [PASS] c/A+B1+B2/c on [300,700]: computed 9.043352514  paper 9.043  |diff| 0.000353 (tol 0.004)  [B] section 5.2
  Table 2 data, window [24,300] (10 rows): log form Lambda = 9.007 (gamma 0.224, rms 5.9e-03) | c^(1/3) form Lambda = 9.099 (A 0.228, rms 1.5e-03)
  Table 2 data, window [100,500] (9 rows): log form Lambda = 9.060 (gamma 0.339, rms 2.1e-03) | c^(1/3) form Lambda = 9.117 (A 0.248, rms 3.4e-04)
  Table 2 data, window [300,700] (7 rows): log form Lambda = 9.083 (gamma 0.442, rms 4.5e-04) | c^(1/3) form Lambda = 9.122 (A 0.258, rms 5.4e-05)
  Table 2 data, window [500,2048] (12 rows): log form Lambda = 9.102 (gamma 0.591, rms 2.3e-03) | c^(1/3) form Lambda = 9.125 (A 0.265, rms 1.8e-04)
  Table 2 data, window [24,2048] (24 rows): log form Lambda = 9.081 (gamma 0.366, rms 3.7e-02) | c^(1/3) form Lambda = 9.121 (A 0.251, rms 5.6e-03)
== (5) robustness: leave-one-out, implementation I vs II, converged vs extrapolated rows (basis F4, unweighted)
  leave-one-out: Lambda in [9.1253, 9.1259]; most influential row c = 24
  impl I (9 rows): Lambda = 9.1261, A = 0.2732 (4-term basis)
  impl II (15 rows): Lambda = 9.1253, A = 0.2705 (4-term basis)
  converged Pmax/c>=4 (14 rows): Lambda = 9.1245, A = 0.2692 (4-term basis)
  extrapolated Pmax/c<4 (10 rows): Lambda = 9.1265, A = 0.2755 (4-term basis)
  fit on implementation I predicts the 15 implementation-II gaps to max |diff| 1.91e-03 (rms pull 11.70 sigma, max 44.46)
== (6) finite-c drift
  c/Delta rises from 6.9748 (c=24) to 8.9910 (c=2048); distance to Lambda_V = 0.1356 (two-term law predicts 0.1407)
  inverse local slope dc/dDelta between c=1800 and 2048: 9.0779
  leading drift Lambda_V - c/Delta ~ Lambda_V^2 A_opt c^(-2/3): within 0.01 of Lambda_V needs c ~ 1.11e+05; within 0.002 needs c ~ 1.24e+06
SUMMARY: 11/11 checks pass
# finished (UTC): 2026-11-19T02:45:23+00:00  status: ok
