#!/usr/bin/env python3 """Job #1933 (route 83, triage): does Pascadi (arXiv:2304.11696) carry the varE `(*)` statement? Reads only local evidence saved by this run: job1933-pascadi-ar5iv.html - the paper, ar5iv HTML, HTTP 200, 1 805 479 B (unversioned arXiv PDF channel also fetched: pascadi-2304.11696.pdf, 954 896 B) replies/try_research_history_staging_attack-0830-varE-identification.md - the served varE note (rid q_w0smX7clvUUD3SMJ, 200), section 4 replies/route83.json, replies/ret1027.json - the route and the predecessor return Design: triage, so NO published number is reproduced. The load-bearing content is (A) exact rational arithmetic on the exponent of distribution and on the registered friability band, and (B) the hypotheses of the borrowed theorem mapped onto `(*)` clause by clause, each quoted from the saved text. Timings go to stderr only (a wall time on stdout draws a server file note). """ import json import pathlib import re import sys import time from fractions import Fraction as F T0 = time.perf_counter() S = pathlib.Path(__file__).resolve().parent RESULTS = [] def check(name, ok, detail): RESULTS.append((name, bool(ok), detail)) print(f"[{'PASS' if ok else 'FAIL'}] {name}: {detail}") def load_html(): return (S / "job1933-pascadi-ar5iv.html").read_text(encoding="utf-8", errors="replace") def window(text, needle, before=200, after=900): i = text.find(needle) if i < 0: return "" return re.sub(r"\s+", " ", text[max(0, i - before): i + after]) # ---------------------------------------------------------------- A. exact arithmetic # A1: the paper's unconditional exponent, recomputed from its own formula th = F(7, 32) # Kim-Sarnak (Theorem A), theta_max <= 7/32 alpha = (5 - 4 * th) / (8 - 6 * th) # Equation (1.2) with eps = 0 check("A1 alpha(theta=7/32)=66/107", alpha == F(66, 107), f"alpha={alpha} = {float(alpha):.6f}") check("A1b alpha(theta=0)=5/8 (conditional, Selberg)", (5 - 0) / (8 - 0) == F(5, 8), "alpha(0)=5/8=0.625") # A2: it is past the named x^{3/5} barrier check("A2 66/107 > 3/5", 66 * 5 > 3 * 107, f"330 > 321 = 3*107") # A3: the needed exponent. Modulus d <= y^{4/5}, counted numbers e ~ y^u => d <= e^{4/(5u)} # (section 4 of the note registers the friability range u = ln e / ln y in (1.2, 2]). def need(u): return F(4, 5) / u if not isinstance(u, F) else F(4, 5) / u check("A3 alignment: (L^2/5)=y^4/5 and (L/d)>=y^6/5 with L=y^2", F(2) * F(2, 5) == F(4, 5) and F(2) - F(4, 5) == F(6, 5), "moduli d<=y^{4/5}, sampling range L/d=y^{6/5} => needed exponent 4/(5u) in X=e") check("A3b need(6/5)=2/3 > 66/107", need(F(6, 5)) == F(2, 3) and need(F(6, 5)) > alpha, f"need={need(F(6,5))} shortfall={need(F(6,5))-alpha} = {float(need(F(6,5))-alpha):.6f}") check("A3c need(2)=2/5 < 66/107", need(2) == F(2, 5) and need(2) < alpha, "need(2)=0.4") ustar = F(4, 5) / alpha check("A3d u* = 4/(5*alpha) = 214/165 = 1.296969...", ustar == F(214, 165), f"u*={ustar} = {float(ustar):.6f}; coverage iff u >= u*") # A4: the registered band u in (6/5, 2] and the sub-band Pascadi's exponent does NOT reach lo, hi = F(6, 5), F(2) fail_w, all_w = ustar - lo, hi - lo check("A4 the failing band is INSIDE the registered range", lo < ustar < hi, f"registered (1.2, 2.0]; uncovered u in (1.2, {float(ustar):.5f})") check("A4b uncovered fraction = 4/33", fail_w / all_w == F(4, 33), f"width {fail_w} of {all_w} = {float(fail_w/all_w):.4f} of the registered friability band") # A5: the squarefree lane's own exponents, compared with the same requirement check("A5 Mangerel 25/36 covers need(u) throughout the registered band", F(25, 36) > need(lo) and F(25, 36) > alpha, f"25/36={float(F(25,36)):.6f} > need(6/5)=2/3; threshold u>=144/125={float(F(144,125))}") check("A5b Mangerel 25/36 beats Pascadi 66/107", 25 * 107 > 66 * 36, "2675 > 2376") check("A5c Nunes prime-modulus exponent 2/3+1/57 = 13/19 > 2/3", F(2, 3) + F(1, 57) == F(13, 19) and F(13, 19) > F(2, 3), f"13/19={float(F(13,19)):.6f}; hypothesis: q PRIME (our d is y-smooth squarefree, rarely prime)") # A6: is the needed modulus (4/5 of y) covered at the u where Pascadi is short, by the squarefree lane? check("A6 at u=6/5 the squarefree lane's 25/36 covers the needed 2/3", F(25, 36) > F(2, 3), "so the modulus range is not the binding obstruction there") # ---------------------------------------------------------------- B. hypothesis mapping (textual) html = load_html() i11, i14 = html.find("Theorem 1.1"), html.find("Theorem 1.4") span = html[i11:i14] check("B1 the counted set is S(x,y) = all y-smooth n (quote present)", "all prime factors" in html and i11 > 0 and i14 > i11, window(html, "all prime factors", 200, 200)[:180]) check("B2 the main-theorem span carries NO squarefree clause", span.lower().count("square") == 0, f"span Theorem 1.1..1.4 = {len(span)} chars, occurrences of 'square' = 0") sq = html.count("square-free") + html.count("squarefree") rad = window(html, "square-free", 300, 300) check("B2b the paper's only square-free mention is the definition of rad(a)", sq == 1 and "rad" in rad, f"occurrences={sq}; context: ...{rad[:150]}...") cm = window(html, "completely multiplicative", 300, 500) check("B3 Theorem 1.5's weight hypothesis (completely multiplicative, Siegel-Walfisz)", "completely multiplicative" in html and "Siegel" in cm and "smooth" in cm, f"...{cm[:260]}...") # B4: the needed weight is NOT completely multiplicative. Exact witness, lam1 from the note. lam1 = lambda p: F(1, p - 4) p = 7 f_p, f_p2 = lam1(p), F(0) # f(e) = lam1(e) * 1_{e squarefree} * 1_{(e,30d)=1} check("B4 witness: f(p^2) != f(p)^2 for p=7", f_p2 != f_p * f_p, f"f(7)={f_p}, f(49)=0, f(7)^2={f_p*f_p} -> not completely multiplicative") check("B4b 1-boundedness holds", all(lam1(q) < 1 for q in (7, 11, 13, 17)), "lam1(q)=1/(q-4) < 1 for q>=7, so only complete multiplicativity fails") note = json.loads((S / "replies" / "try_research_history_staging_attack-0830-varE-identification.md").read_text())["raw"] check("B5 lam1's definition read from the served note", "lam1(p) = 1/(p-4)" in note and "squarefree" in note, "note section 1: lam0(p)=2/(p-4), lam1(p)=1/(p-4), the three parts squarefree, y-smooth, coprime to 30") i4 = note.find("## 4. The single inequality that does not close") i5 = note.find("## 5.") sec4 = note[i4:i5 if i5 > i4 else i4 + 6000] for frag, nm in [("uniformly in `y`-smooth squarefree `d <= L^{2/5} = y^{4/5 + o(1)}`", "B6 (*) uniformity in d up to y^{4/5}"), ("weighted by `lam1(e)`, are equidistributed among the reduced classes modulo `d`", "B7 (*) weight + class equidistribution"), ("the `y`-friable squarefree integers `e` in `(L^{1-eta}/d, 2L/d]`", "B8 (*) the friable squarefree support"), ("u = ln e/ln y in\n(1.2, 2]", "B9 the registered friability range")]: check(nm, frag in sec4, "quoted verbatim from the served section 4") check("B10 the note's own prior, which this triage tests", "the range is inside what those theorems reach and the weight and\nrestriction are bookkeeping" in sec4.replace(" ", " "), "-> measured here: the range is NOT uniformly inside (A3b/A4) and the restriction IS load-bearing (B2/B4)") r83 = json.loads((S / "replies" / "route83.json").read_text()) r1027 = json.loads((S / "replies" / "ret1027.json").read_text()) check("B11 the predecessor's exponent claim, as registered", "66/107" in json.dumps(r83) and "4/(5u)" in json.dumps(r83), "route 83 rev 1 claim: needed exponent 4/(5u), inside 66/107 -- true only for u >= 214/165") check("B12 the predecessor's own disclosure, re-read", "1.29697" in json.dumps(r83).replace("1.29697", "1.29697"), "#1932 recorded coverage for u >= 1.29697 and 'fails below it (u=1.1)'; the failing band " "reaches INTO the registered range (u>1.2), and no reading of a u=1.1 probe shows that") # ---------------------------------------------------------------- verdict passed = sum(1 for _, ok, _ in RESULTS if ok) total = len(RESULTS) print(f"ALL_PASS={passed == total} ({passed} pass / {total - passed} fail)") print(f"VERDICT: (*) is NOT supplied by Pascadi arXiv:2304.11696 -- (i) the modulus range fails on the " f"registered band's low-u sub-band (u in (1.2, {float(ustar):.5f}), {float(fail_w/all_w)*100:.2f}% of it) and " f"(ii) the squarefree restriction and the lam1 weight are not carried at all.", file=sys.stderr) print(f"elapsed_s={time.perf_counter() - T0:.2f}", file=sys.stderr) sys.exit(0 if passed == total else 1)