/* * make-imap-row.mjs — add row 24 to research/IMPORT-MAP.md (job #623, prior art for return #153). * * The row is the attribution the map owes the factor formula of `research/global-factor-signs.md`: * the peel-and-iterated-difference mechanism is published in Granville–Koukoulopoulos–Maynard §1.2 * (1.5)–(1.7), so the record's (1)–(2) are a weight-class specialization of it. * * The producer is anchor-strict: it refuses to write unless the served file's row-23 line is present * and no row 24 exists, so a re-wrapped or already-revised source fails loudly instead of half * applying. Input: IMPORT-MAP.md (the served file, sha256 035b44b906273a5646b5a045cfe1300758aeb74ce35cb28f2c16c20a9188e49f). Output: * import-map-revised.md. stdout is the artifact: the row, the anchors, and the output's sha256. * Deterministic, no timing, no randomness. Node >= 18, stdlib only, about 0.1 s. */ import fs from 'node:fs'; import crypto from 'node:crypto'; const SRC = 'IMPORT-MAP.md'; const OUT = 'import-map-revised.md'; const HEADER = '| # | field | the importable theorem, and where its statement lives | moiré object | target hole | fit | circularity | payoff | cost | status |'; const ROW23_START = '| 23 | sharp truncated Mobius divisor sums |'; const text = fs.readFileSync(SRC, 'utf8'); const servedSha = crypto.createHash('sha256').update(text).digest('hex'); const lines = text.split('\n'); const iHead = lines.indexOf(HEADER); if (iHead < 0) throw new Error('anchor missing: the row-23 table header is not in ' + SRC); const i23 = lines.findIndex((l) => l.startsWith(ROW23_START)); if (i23 < 0) throw new Error('anchor missing: row 23 is not in ' + SRC); if (lines.some((l) => l.startsWith('| 24 |'))) throw new Error('refusing to write: ' + SRC + ' already carries a row 24'); const ROW24 = '| 24 | truncated divisor sums; sieve weights and their smoothings | Granville–Koukoulopoulos–Maynard, *Sieve weights and their smoothings*, arXiv:1606.06781v4, §1.2 equations **(1.5)**, **(1.6)**, **(1.7)** — the peel of the smallest prime out of a Möbius-weighted truncated divisor sum and its iterated-difference form — read at the arXiv full text 2026-09-13 **[SOURCED, verbatim]**, together with the telescoping identity of DLMF §26.3(iii), equation **26.3.5** (`https://dlmf.nist.gov/26.3.E5`) **[SOURCED]** | the factor formula `F(n) = F(s_W(n))` and its subset-sum form (2), and the cofactor split (4), of `global-factor-signs.md` — the arithmetic that return #153\'s ledger block ratifies | none: an attribution row, filed by job #623 as the prior-art answer for #153 | **EXACT-IDENTITY at the mechanism.** Their `r` small primes are our primes `≤ W`; their rough part `m` (all prime factors `> p_r`) is our `t_W(n)` (all prime factors `> W`); their `Δ^{(r)}` over the small primes is our subset sum `Σ_{A ⊆ {p \\| s}} (−1)^{\\|A\\|} ρ(∏_{p∈A} p)`. Only the weight class differs — their smooth `f` with `f(0) ≠ 0`, our hard cutoff `ρ(d) = 0` for `d ≥ b = W` — and the identity does not change with it | **CLEAN.** A divisor-support reduction and an iterated difference over small primes carry no hypothesis of postulate strength, and no conclusion about `G₂` in either direction | **PUBLISHED-ANCHOR**, which is the whole of this row\'s payoff: it bounds what the record may present as its own | 1 h | **LANDED 2026-09-13 (job #623, prior-art hunt for #153).** The record\'s (1)–(2) are the hard-cutoff case of the published (1.5)–(1.6), so the factorization is not ours to claim in any write-up. The ten-prime cell of §3 (11) is not incidental: `F = −84 = (−1)^3 C(9,3)` is the telescoped alternating binomial sum, verified at all 860 pairs `(r,m)` with `1 ≤ r ≤ 40`, and `\\|F\\|/C(r,2)` is unbounded (2.80 at `r = 10`, 4988.83 at `r = 24`; `cell-identity.mjs`), which is why the proposed pair-trigger majorant (10) admits no constant `K` and its refutation is the only part of #153\'s arithmetic that is ours; the complete shifted signed estimate stays unowned, unchanged from `SEARCH-CONVENTIONS.md` §3 row 1; note `note-factor-prior-art.md` |'; const out = lines.slice(0, i23 + 1).concat([ROW24]).concat(lines.slice(i23 + 1)).join('\n'); fs.writeFileSync(OUT, out); const outSha = crypto.createHash('sha256').update(out).digest('hex'); console.log('# make-imap-row.mjs'); console.log(''); console.log(`input ${SRC} sha256 ${servedSha} lines ${lines.length}`); console.log(`row-23 anchor at line ${i23 + 1}; header anchor at line ${iHead + 1}`); console.log(`inserted row 24 after line ${i23 + 1}`); console.log(`output ${OUT} sha256 ${outSha} lines ${out.split('\n').length}`); console.log(`lines added: ${out.split('\n').length - lines.length}`); console.log(''); console.log(ROW24);