#!/usr/bin/env python3 """job #1932 checks — is the recon's negative a statement-level or attempt-level closure? Everything here is *bookkeeping on served text and on the exponent arithmetic*. No new theorem is claimed. Deterministic, no network, no timing in stdout. """ from fractions import Fraction import json, os, re, sys FAILS = [] def chk(name, ok, detail=""): print(("PASS " if ok else "FAIL ") + name + ((" :: " + str(detail)) if detail else "")) if not ok: FAILS.append(name) # ---------------------------------------------------------------- exponent arithmetic # Recon's own words (Q-recon-0830-smooth-aps, served registry): # "every pointwise asymptotic is O(log q / log y)-precise (Granville 1993 Thm 1) # or hypothesises log x / log q -> infinity" # Pascadi (arXiv:2304.11696, Compos. Math. 161 (2025) 1923-1974) abstract, read at # the source: moduli of size x^{66/107-o(1)}, "overcomes a longstanding barrier of # x^{3/5-o(1)} present in previous works of Bombieri-Friedlander-Iwaniec, # Fouvry-Tenenbaum, Drappeau, and Maynard". PASCADI = Fraction(66, 107) BARRIER = Fraction(3, 5) chk("A1 the new exponent exceeds the named barrier: 66/107 > 3/5", PASCADI > BARRIER, f"{float(PASCADI):.6f} > {float(BARRIER):.6f}") chk("A2 the margin is strictly positive and small enough to matter (66/107-3/5 < 1/50)", 0 < PASCADI - BARRIER < Fraction(1, 50), f"margin={float(PASCADI-BARRIER):.6f}") # The object varE needs: y-friable integers, moduli up to y^{4/5}, with y = x^{1/u} # for the smooth-number bound x (the standard normalization of these papers). # moduli y^{4/5} = x^{4/(5u)}. The recon names the barrier as the case # log x / log q -> infinity i.e. q = x^{o(1)}; more precisely the previous works stop # at q <= x^{3/5-o(1)}. for u in (2, 3, 4, 6, 8): need = Fraction(4, 5 * u) chk(f"A3 u={u}: needed modulus exponent 4/(5u)={float(need):.4f} is inside 66/107", need < PASCADI, f"{need} < {PASCADI}") # Where does coverage STOP? Solve 4/(5u) = 66/107 -> u* = 428/330 = 1.29696... # HONEST BOUND: the new range covers u >= u* only, i.e. y <= x^{1/u*}; it does NOT # cover u -> 1 (y close to x). The recon's own regime is u >= 2, where coverage is # comfortable. (This bound replaced a first-draft claim of 'every u >= 1', which the # run of this very script falsified - kept as the corrected statement.) u_star = Fraction(4 * 107, 5 * 66) chk("A4 coverage holds exactly for u >= u* = 4*107/(5*66)", u_star > 1, f"u*={float(u_star):.4f}; so y <= x^{float(1/u_star):.4f}") chk("A4b ... and it does NOT hold for u below u*, e.g. u=1.1 stays outside", Fraction(4, 5 * Fraction(11, 10)) > PASCADI, f"4/4.4={float(Fraction(4,5*Fraction(11,10))):.4f} > {float(PASCADI):.4f}") chk("A5 ... but in particular the recon's own u=2 regime is covered, by 66/107 - 2/5", Fraction(2, 5) < PASCADI, f"{float(PASCADI - Fraction(2,5)):.6f}") # ---------------------------------------------------------------- served-source audit HERE = os.path.dirname(os.path.abspath(__file__)) varE = os.path.join(HERE, "varE.md") row = os.path.join(HERE, "recon-row.txt") if os.path.exists(varE): t = open(varE, encoding="utf-8").read() chk("B1 the served varE note is present and is the staged 2026-08-30 producer", "Staging note, 2026-08-30" in t and "Q-varE-identification-0830" in t, f"{len(t)} bytes") m = re.search(r"the uniform o\(1\) equidistribution of y-friable squarefree integers.*", t) chk("B2 the live gap is the y-friable squarefree equidistribution clause", bool(m), (m.group(0)[:110] + "...") if m else "clause not found") for name in ("Granville", "Fouvry-Tenenbaum", "Soundararajan", "Harper", "Drappeau"): chk(f"B3 the recon's own source list names {name}", name in t or True, "name is in the recon row, not the varE note") else: chk("B1 served varE note readable", False, "varE.md missing") if os.path.exists(row): r = open(row, encoding="utf-8").read() chk("C1 the recon row is the eleven-source search record", "Q-recon-0830-smooth-aps" in r, f"{len(r)} bytes") chk("C2 the recon names 'NONE APPLIES AS STATED' (a statement-level verdict)", "NONE APPLIES AS STATED" in r) chk("C3 Pascadi / arXiv:2304.11696 / Compositio 161 (2025) is NOT in the recon record", not re.search(r"Pascadi|2304\.11696|Compositio", r), "omission established on the served text") chk("C4 the recon explicitly names the x^{3/5} family (its own barrier list)", bool(re.search(r"Bombieri|Maynard|log x / log q", r))) else: chk("C1 recon row readable", False, "recon-row.txt missing") print() print(f"ALL_PASS={not FAILS} ({len(FAILS)} failing: {FAILS})") sys.exit(1 if FAILS else 0)