// Audit of research/global-cutoff-averaging.md: section 2's uniformity margins // and section 4.1's forced-cancellation claim. No compute, no arithmetic input. const f = (x, n) => x.toFixed(n); const F = (n, d) => n / d; console.log('=== 1. Section 2 uniformity table: do the exponents give the stated margins? ==='); // (1): a_L = x^{11/50}, b_L = x^{6/25}, a_R = x^{1/25}, b_R = x^{1/20}; V = x^{6/25}, Z = x^{1/20} const e = { aL: F(11, 50), bL: F(6, 25), aR: F(1, 25), bR: F(1, 20), V: F(6, 25), Z: F(1, 20) }; console.log(' exponents: a_L ' + e.aL + ' b_L ' + e.bL + ' a_R ' + e.aR + ' b_R ' + e.bR + ' V ' + e.V + ' Z ' + e.Z); // row 1: first prime BV Type I, support b_L * V, claimed <= x^{12/25}, margin 1/50 below x^{1/2} const r1 = e.bL + e.V, m1 = 0.5 - r1; console.log(' row 1: b_L*V exponent = ' + e.bL + ' + ' + e.V + ' = ' + f(r1, 6) + ' claimed 12/25 = ' + f(F(12, 25), 6) + ' ' + (Math.abs(r1 - F(12, 25)) < 1e-12 ? 'EXACT' : 'DIFF')); console.log(' margin below 1/2 = ' + f(m1, 6) + ' claimed 1/50 = ' + f(F(1, 50), 6) + ' ' + (Math.abs(m1 - F(1, 50)) < 1e-12 ? 'EXACT' : 'DIFF')); // row 3: second Mobius BV, modulus b_R*Z <= x^{1/10}; T = x/k > a_L so sqrt(T) > x^{11/100}; margin 1/100 const r3 = e.bR + e.Z, s3 = e.aL / 2, m3 = s3 - r3; console.log(' row 3: b_R*Z exponent = ' + f(r3, 6) + ' claimed 1/10 = ' + f(F(1, 10), 6) + ' ' + (Math.abs(r3 - F(1, 10)) < 1e-12 ? 'EXACT' : 'DIFF')); console.log(' sqrt(T) exponent >= a_L/2 = ' + f(s3, 6) + ' claimed 11/100 = ' + f(F(11, 100), 6) + ' ' + (Math.abs(s3 - F(11, 100)) < 1e-12 ? 'EXACT' : 'DIFF')); console.log(' margin = ' + f(m3, 6) + ' claimed 1/100 = ' + f(F(1, 100), 6) + ' ' + (Math.abs(m3 - F(1, 100)) < 1e-12 ? 'EXACT' : 'DIFF')); console.log(' => both stated margins are exact, and both are positive, so the rectangle is'); console.log(' admissible with room. Nesting a_L <= b_L and a_R <= b_R: ' + (e.aL <= e.bL && e.aR <= e.bR ? 'holds' : 'FAILS')); console.log('\n=== 2. Section 4.1, display (11): the algebra and the Cauchy exponent ==='); console.log(' G = C + B => = - ||C||^2. Exact identity, no estimate. ok'); // ||C||^2 = Theta(x log^2 x), ||G||^2 = O(x log x) => || <= ||C|| ||G|| // = sqrt(x log^2 x) * sqrt(x log x) = x log^{3/2} x const expC = (lx) => Math.sqrt(1 * lx * lx); // ||C|| / sqrt(x) in powers of log const expG = (lx) => Math.sqrt(1 * lx); // ||G|| / sqrt(x) console.log(' ||C|| ~ sqrt(x) log x, ||G|| = O(sqrt(x log x)) = O(sqrt(x) log^{1/2} x)'); console.log(' Cauchy: || <= ||C||*||G|| = x * log^{1 + 1/2} x = x log^{3/2} x ' + 'matches the displayed O_eta(x log^{3/2} x)'); console.log('\n=== 3. The convergence rate the document does not state ==='); // ratio = /||C||^2 = -1 + /||C||^2 = -1 + O(x log^{3/2}) / Theta(x log^2) = -1 + O(log^{-1/2}) console.log(' /||C||^2 = -1 + O(x log^{3/2} x)/Theta(x log^2 x) = -1 + O(1/sqrt(log x))'); console.log(' log x bound on |ratio + 1|'); for (const lx of [1e2, 1e4, 1e6, 1e12]) console.log(' ' + lx.toExponential(0).padEnd(10) + f(1 / Math.sqrt(Math.log(lx)), 6)); console.log(' so the approach to -1 is only O(1/sqrt(log x)): very slow, but unconditional.'); console.log('\n=== 4. The stronger, coordinate-free form of the same fact ==='); // ||B||^2 = ||G - C||^2 = ||G||^2 - 2 + ||C||^2 = ||C||^2 (1 + O(log^{-1/2})) // so ||B||/||C|| -> 1 and cos(C,B) = /(||C|| ||B||) -> -1. console.log(' ||B||^2 = ||G||^2 - 2 + ||C||^2 = ||C||^2 (1 + O(1/sqrt(log x)))'); console.log(' => ||B||/||C|| -> 1 AND cos angle(C,B) -> -1.'); console.log(' i.e. B is asymptotically -C in BOTH direction and magnitude, not merely'); console.log(' large enough to cancel the energy. That is the sharp reading of'); console.log(' "the corpus forces cancellation".'); console.log('\n=== 5. ATTACK: how much arithmetic does 4.1 actually use? ==='); // Simulate: ANY two vectors with ||C|| = sqrt(x) L and ||C + B|| <= sqrt(x L) obey the conclusion. // Nothing about primes, mu, Lambda or the shift enters. Demonstrate in R^d with random C. // Seeded so the sampled figures below are reproducible. Math.random() is unseeded // and these values are printed to stdout, so the script's output changed on every // run and no reviewer could reproduce the recorded numbers. mulberry32, 32-bit, // self-contained, no dependency. The sampled values move; the conclusion does not. let _s = 0x9E3779B9 >>> 0; const rnd = () => { _s = (_s + 0x6D2B79F5) >>> 0; let t = _s; t = Math.imul(t ^ (t >>> 15), t | 1) >>> 0; t = (t ^ (t + Math.imul(t ^ (t >>> 7), t | 61))) >>> 0; return ((t ^ (t >>> 14)) >>> 0) / 4294967296; }; function trial(d, L) { const C = Array.from({ length: d }, () => (rnd() * 2 - 1)); const nC = Math.hypot(...C); // build ANY G with ||G|| = nC / sqrt(L) (the log-factor gap), direction arbitrary const Graw = Array.from({ length: d }, () => (rnd() * 2 - 1)); const nG = Math.hypot(...Graw), target = nC / Math.sqrt(L); const G = Graw.map(v => v * target / nG); const Bv = G.map((g, i) => g - C[i]); const dot = (a, b) => a.reduce((s, v, i) => s + v * b[i], 0); const nB = Math.hypot(...Bv); return { ratio: dot(C, Bv) / (nC * nC), cos: dot(C, Bv) / (nC * nB), mag: nB / nC }; } console.log(' random C and random G with ||G||/||C|| = 1/sqrt(L), B := G - C:'); console.log(' L=log x /||C||^2 cos(C,B) ||B||/||C||'); for (const L of [10, 100, 10000]) { let r = 0, c = 0, m = 0, N = 200; for (let i = 0; i < N; i++) { const t = trial(60, L); r += t.ratio; c += t.cos; m += t.mag; } console.log(' ' + String(L).padEnd(10) + f(r / N, 8).padStart(13) + f(c / N, 8).padStart(14) + f(m / N, 8).padStart(14)); } console.log(' The conclusion appears with NO arithmetic input whatsoever: it follows from'); console.log(' ||C + B|| << ||C|| alone, which is pure Hilbert-space geometry.'); console.log(' => section 4.1 cannot distinguish the arithmetic case from any other pair with'); console.log(' those two norms. Its own disclaimer ("This is not a shift-2 assertion") is'); console.log(' therefore a structural limitation, not a caution: no argument of this shape'); console.log(' can reach C_L(n)B_R(n-2) or the signed residual. VERIFIED as stated.');