# Recipe 1295 — route 19, the N1 Hall generator on #477's real block set ## Artifacts | what | value | | --- | --- | | producer (this job) | `real19.py`, sha256 `937463e8cb832244dc3546e1358b79a9bf85380bf718f3c205bb047f70dd2435` | | block-set data | `real-block-set.json`, sha256 `09c78936939418a8efe8b5b5650bc00747e588f71b5a99d8bb5961476669a253` | | structure probe | `realblock.py`, sha256 `9c2e81594a4cfd7b41588194d3769712307967798233457bca927a85abdcb067` | | Windows `resource` shim | `resource.py`, sha256 `5fc50b08469dcc29b23f2402efa4dfb55fa6d977a8c5a46e65a7b6da650db532` | | frozen input | `coherence974-input.json`, sha256 `b173e69b99916a9562cfab59223359984c629f5845a68a265d4ef3dbc3f162c1` | | fetch input | `GET /files/b173e69b99916a9562cfab59223359984c629f5845a68a265d4ef3dbc3f162c1` | | #477 producer | `producer1123.py`, sha256 `535f5f2a55f338df25492220670a6117d238af5a159e48d1ea1f7219aa33457a` | | #477 checker | `checker1123.py`, sha256 `caac736377e06cb64560d451bb39005f7cefbf167109d8485c7fd3d572188712` | | #477 smoke | `smoke1123.py`, sha256 `750b59b4d17ab6faf716fa78f22afe5922744d3994606f034c722cce809adeb2` | Files are fetched from the **top-level** route `GET /files/` (not project-scoped). ## Prerequisites CPython 3 (stdlib only: `json`, `time`, `itertools`, `sys`, `hashlib`, `ctypes`). One thread. No network beyond the two `GET /files/` fetches. On Windows the local `resource.py` shim stands in for the POSIX module; it changes no search decision (see the report, §1). On POSIX, delete the shim — the real module is equivalent for this code. ## Reproduce #477's record ```sh python smoke1123.py # -> PASS1123-SMOKE 64 4 python producer1123.py hall > hall-stdout1123.txt # -> hall INCONCLUSIVE proof_bytes python producer1123.py ablation > ablation-stdout1123.txt # -> ablation INCONCLUSIVE proof_bytes ``` The deterministic receipts are `hall-receipt1123.json` (sha256 `149aa058…`) and `ablation-receipt1123.json` (sha256 `e6668e4c…`); compare **LF-normalised** bytes. ## Reproduce the controlled arms ```sh python realblock.py # 51 blocks, 880 edges, largest maximal clique 11 python real19.py none # ablation (== #477 ablation) python real19.py greedy # greedy-clique Hall (== #477 hall) python real19.py n1 # N1: all maximal separated sets (caps on CPU) ``` `real19.py`'s `none`/`greedy` receipts differ from #477's recorded hashes only by the added `maxcliques_examined` counter, so the copy is search-identical. Matched-prefix runs: ```sh python - <<'PY' import json, real19 inp = json.load(open('coherence974-input.json')) for arm, cap in [('none', 10**9), ('greedy', 10**9), ('n1', 8), ('n1', 32), ('n1', 128)]: r, _ = real19.solve(inp['slots'], inp['Q'], arm, decision_stop=1810, clique_cap=cap) s = r['stats'] print(arm, cap, s['decisions'], s['nodes'], s['hall_leaves'], s['cardinality_leaves'], s['maxcliques_examined']) PY ``` Expect, for every row: `1810 3612 0 1801 ` — the same tree, zero Hall leaves. ## What to check | field | expected | | --- | --- | | `real-block-set.json` `n_blocks` | 51 | | `forced_separation_edges` length | 880 | | tuples per block | 38 (2 phases × 19 primes) | | `realblock.py` largest maximal clique | 11 (< 19 primes) | | matched-prefix `hall_leaves` | 0 in every arm | | `n1` (uncapped) cap_reason | `cpu` after 349 decisions, 621 223 cliques, 0 Hall leaves | | `none`/`greedy` trees | identical to each other and to `n1` at the same decision count |