# patch1433.py -- job #1433 audit revision of paper/two-class-jacobsthal.md. # Base: return #14's revision (sha256 0fd5bb01...), rejected by review 32 for three bounded items with the other # fourteen edits supported; this pass applies those three fixes and review 32's two wording notes. Anchored edits. import hashlib, os def sha(b): return hashlib.sha256(b).hexdigest() base = open('tcj-14.md', 'rb').read() assert sha(base) == '0fd5bb019bc8b241c0d10370ec882114104bf794b9f2f09a35fbbbafbcec4f67', sha(base) t = base.decode('utf-8') def rep(old, new, n=1): global t assert t.count(old) == n, (t.count(old), old[:80]) t = t.replace(old, new) # header rep("*Draft, 2026-09-05; audited 2026-09-10. Internal to the research repository;", "*Draft, 2026-09-05; audited 2026-09-10 and 2026-09-19. Internal to the research repository;") # R32-1: the Theorem 2c check count, from the dated record (reviews-0907/11: passes 2026-08-19, 2026-09-07, 2026-09-08; its U8) rep("> **Theorem 2c** (`paper/kk-lower-bound.md` §3, Theorem B; derived here, checked twice adversarially and re-read at source since, not refereed).", "> **Theorem 2c** (`paper/kk-lower-bound.md` §3, Theorem B; derived here, internally checked three times, on 2026-08-19, 2026-09-07 and 2026-09-08, and not refereed).") rep("| Theorem 2c | DERIVED, checked twice adversarially and re-read at source since, not refereed |", "| Theorem 2c | DERIVED, internally checked three times (2026-08-19 second reader with brute force; 2026-09-07 re-read at the arXiv text; 2026-09-08 source review with the chain re-derived and finite CRT checks, `research/history/reviews-0907/11`), not refereed |") # R32-2: the upper-bound search is dated 2026-08-18 by its section header and by PRIOR-ART rep("""| "no earlier two-class upper bound" | CALIBRATED ABSENCE | one citation in the owning convention | searched in the owning convention (`research/SEARCH-CONVENTIONS.md` §3, row "Published upper bound on $G_2$", which carries no date; the §5 sweeps behind it are dated 2026-08-18; `research/PRIOR-ART.md` row "Iwaniec-type upper bound for 2 omitted classes") |""", """| "no earlier two-class upper bound" | CALIBRATED ABSENCE | one citation in the owning convention | searched 2026-08-18 in the owning convention (`research/SEARCH-CONVENTIONS.md` §3, row "Published upper bound on $G_2$", under the section header "all dated 2026-08-18 unless noted"; `research/PRIOR-ART.md` row "Iwaniec-type upper bound for 2 omitted classes", dated 2026-08-18) |""") # R32-3: the zone sweep's range is set by the next prime's square rep("""holds a twin prime pair at all $78{,}497$ zones with $x < 10^6$, the sweep to $X = 10^{12}$ (`research/history/staging/zonegap-03-score.md`, rows S4 and S5,""", """holds a twin prime pair at all $78{,}497$ zones with $x'^2 \\le 10^{12}$ ($x = 2$ through $999{,}979$; the prime $999{,}983$ is below $10^6$ but its zone ends at $1{,}000{,}003^2 > 10^{12}$ and is outside the sweep), the sweep to $X = 10^{12}$ (`research/history/staging/zonegap-03-score.md`, rows S4 and S5,""") # R32 wording notes: the #687 page links to problem 4; the fit sample is 20 terms rep("""and links only to Erdős Problem #4's proof-claims thread; the artifact is an""", """and links to Erdős Problem #4, whose proof-claims thread (claim 224) leads to the artifact; the artifact is an""") rep("""A power-law fit through the 22 terms returns $1.50 \\pm 0.05$, statistical error only with the systematic""", """A power-law fit through the 20 terms with $x \\ge 5$ of the 22-term ladder ($p = 2, 3$ excluded, as in every fit of that note) returns $1.50 \\pm 0.05$, statistical error only with the systematic""") out = t.encode('utf-8') assert '—' not in t os.makedirs('rev', exist_ok=True); open('rev/two-class-jacobsthal.md', 'wb').write(out) print('revision bytes', len(out), 'sha256', sha(out))