/- Route 146, job #2953 — machine-checked finite tally for the n=17 split-constant arm and the n=19 replicate. Scope, stated so it is not overread: this file checks ARITHMETIC AND ATTESTATION of the node counts this sprint measured and of the counts the route already recorded. It does NOT re-run the search, and it does NOT prove anything about A144311, twin primes, G_2, or any asymptotic bound. The node counts themselves are measurements of a deterministic engine (N=1) or of a shared-bound engine (N=4); the fact that N=1 node totals are exactly reproducible is checked separately by `crosscheck_engine.py`, a from-source Python transcription that matches the compiled binary at n = 11, 13 and 16 on value, best, nodes, records and leaves. The mathematical claim this file supports: at every level where both seeded node totals exist (n = 16, 17, 18, 19), the N=4 total minus the N=1 total is exactly 386, and the four differences are therefore equal, over a node range spanning more than 15x. -/ namespace Route146 /-- Seeded (m_bound = (a(n)-5)/6) node totals as (N = 1, N = 4, n). n = 16: #1530 N=1 and #1551 N=4. n = 17: this sprint, arm 1 (both arms, same seed mb = 160). n = 18: #1553 N=1 and #1551 N=4. n = 19: #1534 N=1 and #1551 N=4. -/ def seededTotalsFixed : List (Nat × Nat × Nat) := [(446919, 447305, 16), (1789137, 1789523, 17), (6538348, 6538734, 18), (8603850, 8604236, 19)] /-- This sprint's n = 17 measurement, in full: N=1 and N=4 seeded totals and the shared total. -/ def n17N1 : Nat := 1789137 def n17N4 : Nat := 1789523 /-- the four per-worker node counts printed by the N=4 arm, in worker order -/ def n17Workers : List Nat := [430582, 438056, 448414, 472471] /-- The seeded constant: N=4 total minus N=1 total. -/ def splitDiff (p : Nat × Nat × Nat) : Nat := p.2.1 - p.1 /-- (1) The N=4 − N=1 seeded difference is 386 at every one of the four levels. -/ theorem split_diff_is_386 : seededTotalsFixed.map splitDiff = [386, 386, 386, 386] := by native_decide /-- (2) The four levels are all distinct n and the totals span more than 15x, so the constancy is not an artefact of one narrow range. -/ theorem levels_span : (seededTotalsFixed.map (fun p => p.2.2) = [16, 17, 18, 19]) ∧ (15 * 446919 < 8603850) := by native_decide /-- (3) Attestation of this sprint's n = 17 arm: the four worker counts sum to the printed SHARED total, and that total exceeds the N=1 total by exactly 386. -/ theorem n17_workers_sum : n17Workers.sum = n17N4 := by native_decide theorem n17_diff : n17N4 - n17N1 = 386 := by native_decide /-- (4) The n = 19 replicate: this sprint's unseeded N=4 node total and the two recorded references. The replicate is within 1% of both, which is the check that the ~1% within-N band holds on this machine and this engine copy. -/ def n19Replicate : Nat := 26568575 def n19Ref1542 : Nat := 26423767 def n19Ref1532 : Nat := 26537468 theorem n19_within_1pct : (100 * (n19Replicate - n19Ref1542) < n19Ref1542) ∧ (100 * (n19Ref1532 - n19Replicate) < n19Ref1532) := by native_decide /-- (5) The value/best relation the engine reports is arithmetic, not new information: value = 6*best+5. Checked at this sprint's two completed value arms. -/ theorem n17_value_relation : 6 * 160 + 5 = 965 := by native_decide theorem n19_value_relation : 6 * 213 + 5 = 1283 := by native_decide /-- (6) The unseeded 18 -> 19 factor implied by the replicate, to three decimals, is close to the recorded 3.42: 26 568 575 / 7 754 620 lies strictly between 3.42 and 3.43. -/ theorem factor_18_19_band : 342 * 7754620 < 100 * n19Replicate ∧ 100 * n19Replicate < 343 * 7754620 := by native_decide end Route146