# patch1431.py -- job #1431 audit revision of paper/beta2-note.md. # Base: return #20's accepted revision (sha256 f1a6a6fe...), merged with return #167's replacement of section 6 item 5, # then the corrections of this audit. Every edit is an anchored replacement with a count assertion. import hashlib, io, os def sha(b): return hashlib.sha256(b).hexdigest() base = open('beta2-note-20.md', 'rb').read() if base.endswith(b'\n\n'): base = base[:-1] # the file endpoint appends one newline assert sha(base) == 'f1a6a6feb1bd449027fa1dc087593f083ba905ecce14c895690de931f14bc81c', sha(base) t = base.decode('utf-8') def rep(old, new, n=1): global t assert t.count(old) == n, (t.count(old), old[:70]) t = t.replace(old, new) # A. return #167's rescue of the fallback exponent (its text, with the return locator corrected: k-certificate.py is in # return #166, the return for job #371) and #20's plain ending kept. old5 = """ needs s > 9κ + 10 log K (K the absolute Mertens constant for ∏(1 − 2/p)^{−1}). This yields the same theorem with the worse but still finite exponent **≈ 19 + ε** (plus the 10 log K term). Formulations differ in the constant (HR-1974-type forms give positivity at an absolute but inexplicit u₀(κ)); any such version yields the same theorem at some finite exponent.""" new5 = """ needs s > 9κ + 10 ln K, where K is the constant of the lemma's hypothesis (iii): ∏_{w₁≤p e^{0.1}. Formulations differ in the constant (HR-1974-type forms give positivity at an absolute but inexplicit u₀(κ)); any such version yields the same theorem at some finite exponent.""" rep(old5, new5) # B. Abstract (none existed; paper/PAPERS.md refers to the note's abstract). Claims only what the body carries. abstract = """--- **Abstract.** Let G₂(n) be the largest cyclic gap between consecutive residues r modulo pₙ# with gcd(r(r+2), pₙ#) = 1, the twin Jacobsthal function. Relying on the dimension-two lower-bound sieve of Diamond–Halberstam (Theorem 9.1 of their 2008 book), we prove that for every ε > 0 there is a constant C(ε) with G₂(n) ≤ C(ε) pₙ^{β₂+ε}, where β₂ = 4.26645… is the DHR sifting limit; the constant is not explicit. The pointwise inequality G₂(x#) ≥ g(x#) against the ordinary Jacobsthal function gives, by Ford–Green–Konyagin–Maynard–Tao, G₂(x#) ≫ x log x logloglog x / loglog x. The exact values G₂ = 2, 6, …, 618 for pₙ ≤ 43 (OEIS A144311 shifted by one) sit four orders of magnitude below the upper bound; a control-corrected power fit on 22 terms reads 1.50 ± 0.05, conditional on the conjectured one-class exponent. Within the searches recorded in this repository, no upper bound at any exponent was in print before. If the sieve citation failed, the fundamental lemma gives exponent 19 + ε for a class-fixed sequence. Nothing here bears on the twin prime conjecture, which would need exponent 2 with a constant below 1. ## 1. Setup and statement """ rep("---\n\n## 1. Setup and statement\n", abstract) # C. Stray punctuation left by the em-dash removal of return #20 (two places), and the superlative "best known" made # consistent with the status block's "smallest published". rep("""below it the sieve is trivial , p. 79 verbatim), β₂ ≈ 4.266 as the *best* known κ=2 sifting limit, and""", """below it the sieve is trivial, p. 79 verbatim), β₂ ≈ 4.266 as the smallest published κ=2 sifting limit (§2), and""") rep("""the bound beating the requirement by z^{ε/2} , exactly the outcome an earlier draft of this section predicted for any""", """the bound beating the requirement by z^{ε/2}, exactly the outcome an earlier draft of this section predicted for any""") # D. The open band's right endpoint is β₂ itself, not its 4-d.p. rounding (exponents above β₂ are proven). rep("and the open band is therefore (2, 4.2665].", "and the open band is therefore (2, β₂] = (2, 4.26645…].") # E. Elementary form of the mean-value estimate in section 3 (closes the mean-value half of §7 (iii)). rep("""by the standard mean value of k^{ν(m)} (Σ_{m≤Y} μ²(m) k^{ν(m)} ≍ Y (log Y)^{k−1}, here k = 8). Polynomial in y with a polylog, an ε in the exponent absorbs it entirely.""", """by the standard mean value of k^{ν(m)} (Σ_{m≤Y} μ²(m) k^{ν(m)} ≍ Y (log Y)^{k−1}, here k = 8); an elementary form suffices, since μ²(m) 8^{ν(m)} ≤ τ₈(m) and Σ_{m≤Y} τ₈(m) ≤ Y (1 + log Y)⁷ by counting ordered factorizations. Polynomial in y with a polylog, an ε in the exponent absorbs it entirely.""") rep("""(iii) a referee-proof rewrite of (∗) and the mean-value estimate (the lower bound is already folded in, §5);""", """(iii) a referee-proof rewrite of (∗) (the mean-value estimate now has its elementary form in §3; the lower bound is already folded in, §5);""") # F. Authorship statement brought to the standard of paper/PAPERS.md (updated 2026-09-05): asymptotic results are not # verified by computation. rep("""> using an AI assistant operating under the author's > direction; all results were verified by explicit computation, with code > and outputs published in the accompanying repository, and all refuted > intermediate claims retained in the record.""", """> using AI assistants under the author's > direction. Computations have reproducible code and recorded outputs; > asymptotic arguments require their stated mathematical inputs and are not > proved by finite checks. Refuted intermediate claims are retained in the > record.""") out = t.encode('utf-8') assert '—' not in t, 'em dash present' os.makedirs('rev', exist_ok=True) open('rev/beta2-note.md', 'wb').write(out) print('revision bytes', len(out), 'sha256', sha(out))