# Route 132 continuation: repetition, a real gate at n = 13 and n = 14, and the cutting-plane question Three experiments were run on the route's own encoding (0/1 MIP under HiGHS 1.15.1, `mip_rel_gap = 0`, single-threaded, `threads = 1`), all on this machine, all in the work dir `work2818/`. Every table below is the direct content of a served JSON artifact; the independent recheck is `verify-2818b.py` (exit 0, six claims). Two instruments are compared: * `none` — the plain one-hot model (exactly-one row per prime, one cover row per position). * `reflect` — the same model with the reflection symmetry break `r_p -> -r_p - (R-1) mod p` on the largest prime, which is the route's own suggested ingredient. `a(n)` is the route's quoted ladder value (the longest coverable window for `n` primes, project indexing: `A[13] = 545`, `A[14] = 617`), so `R = a(n)+1` is the UNSAT instance and `R = a(n)` the SAT one. The baseline for instrument-class questions is **cited** from return #1422's own run file (`r1422/job2806_runs.jsonl`, python-sat 1.9.dev15, CaDiCaL 1.9.5 / Glucose 4 on the same encoding): no CDCL solver is installed on this machine, so every cross-instrument comparison is cross-machine and is labelled as such. Node and LP-iteration counts are the load-independent counterpart. ## 1. Does the non-monotonicity reproduce? Repetition study **Design.** n = 9..12, both `R = a(n)` and `R = a(n)+1`, seeds 0, 1, 2 per setting (24 solves per setting), plus extra single-seed `n = 12` solves and per-seed SAT-side solves at n = 13 and n = 14, each process writing its own file. Wall clocks were taken while other experiments shared the machine (16 cores, up to 9 concurrent single-threaded solves); node counts are reported beside them precisely because they are not affected by that. **Every UNSAT measurement (`R = a(n)+1`), seconds / nodes:** | n | `none` seeds 0,1,2 | `reflect` seeds 0,1,2 | cited CDCL | |---|---|---|---| | 9 | 4.034/3714, 6.263/3764, 6.847/4362 | 3.481/2206, 5.260/2712, 5.664/5525 | 0.346 | | 10 | 60.369/41312, 100.580/55523, 63.696/34305 | 49.159/29132, 50.686/27863, 44.592/32284 | 1.930 | | 11 | 265.710/109301, 563.690/227681, **26.490/8236** | 23.264/7096, 61.982/20252, **633.980/285623** | 11.247 | | 12 | 37.414/5685 (s0), 46.030/7488 (s6), 48.322/7930 (s2), 63.241/9820 (s4), 96.320/15654 (s5), 101.952/21395 (s3) | 180.611/34492 (s0), 654.866/159441 (s3), 900.014/224739 (s4, time limit), 1185.911/305124 (s1) | 48.819 | **Spread over the same setting and size:** | n | `none` time | `none` nodes | `reflect` time | `reflect` nodes | |---|---|---|---|---| | 9 | 1.70x | 1.17x | 1.63x | 2.51x | | 10 | 1.67x | 1.62x | 1.14x | 1.16x | | 11 | **21.28x** | **27.64x** | **27.25x** | **40.25x** | | 12 | 2.72x | 3.76x | 6.57x | 8.85x | At n = 11 one setting spans 26.5 s to 563.7 s and the other 23.3 s to 634.0 s, with node counts spanning 27.6x and 40.3x. That is the number that decides this question: **the between-seed spread is the same order of magnitude as the entire n = 10 -> 11 size step and larger than the MIP-vs-CDCL gap at n = 9 and n = 10.** **The controlled comparison (paired, same seed, both settings):** | n | seed 0 | seed 1 | seed 2 | seed 3 | seed 4 | sign agrees? | |---|---|---|---|---|---|---| | 9 | 1.16x faster | 1.19x faster | 1.21x faster | — | — | yes | | 10 | 1.23x faster | 1.98x faster | 1.43x faster | — | — | yes | | 11 | 11.42x faster | 9.09x faster | **24x SLOWER** | — | — | **no** | | 12 | 4.83x slower | (none not measured) | (none not measured) | 6.41x slower | 14.3x slower | yes (slower) | So the reflection ingredient is a small, consistent win at n = 9 and n = 10 (1.2-2.0x), its sign is *seed-dependent at n = 11*, and it is a loss at n = 12. The previously reported shape — a large gain at n = 11 followed by a loss at n = 12 — reproduces only for two of the three seeds at n = 11; the third seed reverses it by 24x. **The effect is not a property of the size step.** **Ordering against the cited baseline.** Stable (every measurement on one side) at n = 9, 10, 11: the MIP is 5-30x slower than the cited CDCL. Not stable at n = 12: over 10 measurements the plain MIP's six seeds alone give 37.414, 46.030, 48.322, 63.241, 96.320 and 101.952 s against the cited 48.819 s, so **three seeds are faster than the baseline and three are slower** — the sign of that comparison depends on which seed ran, and a cross-machine comparison with a 1.3x margin could not resolve it either. One of the reflection runs (seed 4) hit its 900 s cap at 224,739 nodes and is reported as the censored lower bound it is. **The SAT side is worse.** Still one setting, one size, different seeds: `reflect`, n = 12, `R = 527`: **25.050 s vs 1404.164 s** (56x); `none`, n = 14, `R = 617`: **27.276 s vs 460.529 s** (16.9x). **Conclusion.** The non-monotone cost curve reproduces — but as a *search-path* phenomenon, not as a curve. Fitting a per-prime factor at these sizes, including the 4-6x/prime that the recorded obstacle rests on, describes one seed's path rather than the problem. What is stable here: the MIP loses to the cited CDCL by 5-30x on n = 9..11, and that conclusion is robust to the seed spread and to the cross-machine caveat; nothing about n = 12 in either direction is. ## 2. The pre-registered n = 13..17 gate, within a stated budget **Budget declared before the runs, charged worst case** (`k` seeds x `cap` seconds per level, charged whether used or not, so the declared budget can never be overrun): level 13 = 4 x 900 s = 1.0 core-hour; level 14 = 2 x 900 s = 0.5 core-hour; **total 1.5 core-hours**, which is the exact figure the recorded obstacle names. | level | R | seeds | verdicts | closed by | wall | |---|---|---|---|---|---| | n = 13 | 546 | 0,1,2,3 | `kInfeasible` (seed 0, 323.9 s, 59,457 nodes), `kTimeLimit` x3 (900.0 s, ~10.8M LP iterations each) | seed 0 | 900.3 s | | n = 14 | 618 | 0,1 | `kInfeasible` (seed 0, 664.3 s, 105,148 nodes), `kTimeLimit` (900.0 s, 175,235 nodes) | seed 0 | 900.2 s | Charged 5400.0 core-seconds = exactly the declared 1.5 core-hours; **actual 4588.3 core-seconds = 1.27 core-hours** (11.8% of the declaration unused). The gate stops at n = 14 with the budget spent; **n = 15 (R = 708) was not attempted**. Ladder value reached: `a(14) = 617`. **UNSAT at `a(n)+1` is an upper bound, not the decision**, so the SAT side was run under a separately declared budget (4 solves x 900 s worst case = 1.0 core-hour): | instance | seed | result | seconds | nodes | witness rechecked | |---|---|---|---|---|---| | n = 13, R = 545 | 0 | `kOptimal` | 222.583 | 41,846 | yes | | n = 13, R = 545 | 1 | `kOptimal` | 306.953 | 63,295 | yes | | n = 14, R = 617 | 0 | `kOptimal` | 460.529 | 73,980 | yes | | n = 14, R = 617 | 1 | `kOptimal` | 27.276 | 3,359 | yes | Together with the UNSAT levels this makes the **decision** `a(13) = 545` and `a(14) = 617` — both sides, by this instrument, with the witness of each SAT solve rechecked against `r_p + i = +-1 (mod p)` for every position of the window. **What this does to the recorded obstacle.** Return #1422's obstacle states: *"The n = 13..17 gate exceeds the 1.5 h budget, and n = 25 is out of reach by many orders of magnitude."* The first clause is now **falsified for n = 13 and n = 14** inside that same 1.5 core-hours. My own previous return (#1433) went further and stated that the CSP *"cannot be certified infeasible at n >= 13 by any relaxation-based instrument"* — also **falsified**: HiGHS's branch-and-bound is a relaxation-based instrument and it certified both. What survives from #1433 is the precise, narrower claim: the *unconditioned* LP relaxation is feasible at every `R` (verified here again at `R = 200000` and `R = 205` on a rebuilt model), so no **dual/LP** certificate exists at any scale; the certificate that does exist at n = 13..14 is branching, which is what that return said remained. Distinguishing "no LP/dual certificate" from "no relaxation-based instrument" was the error; the corrected statement is that the relaxation is vacuous and the branching is what pays. **Growth per prime, honestly.** The route's revisit condition asks for at most about 2x per prime on n = 10..14. Seed 0's series for the UNSAT instance is 60.4, 265.7, 37.4, 323.9, 664.3 s — factors 4.4x, 0.14x, 8.7x, 2.1x, geometric mean **1.82x per prime** over the four steps, nominally inside the ask. That statistic is not offered as satisfying the condition: it averages over a 0.14x dip and over one seed, and the portfolio's own outcome (1 of 4 seeds at n = 13, 1 of 2 at n = 14) says the median seed behaviour at n = 13 is a 900 s timeout, i.e. far above 2x/prime. The condition's third clause — *"a gate actually reaching n = 13..17 on any instrument is reported with repeated runs"* — **is met for n = 13 and n = 14**, with repeated runs. ## 3. Is there a valid inequality that cuts x_{p,r} = 1/p? This is the one condition that would reopen LP-based reasoning, and the answer is negative at rank 1, with the reason proved rather than searched. **C1 (no row combination separates xf).** Let `c = sum_i lambda_i a_i + sum_q mu_q e_q` be any real combination of the cover rows (`lambda >= 0`) and exactly-one rows (`mu` of any sign), `B` its right-hand side. For every odd prime the two covering residues contribute `2/p` when summed over residues, for `p = 2` exactly `1/2`, and each exactly-one row contributes `mu_q` exactly, so c . xf - B = (S(n) - 1) * sum_i lambda_i >= 0, S(n) = sum_{3 <= p <= p_n} 2/p + 1/2. The right side is independent of `R` — the argument does not care whether the instance is SAT or UNSAT — and `S(9) = 2.497912`, `S(12) = 2.685448`. Checked exactly with fractions on 300 random combinations at n = 9 and again at n = 12: **0 counterexamples**. So no linear combination of the model's own rows separates xf, at any `n` and any `R`. **C1b (no rank-1 CG cut with integer multipliers separates xf).** With integer multipliers the coefficients are already integral, so the cut is `sum_j c_j x_j >= ceil(B)` and its value at xf is exactly `(S(n)-1)*sum(m) + B`. Separation therefore needs `(S(n)-1)*sum(m) < ceil(B) - B < 1`; if `sum(m) >= 1` that needs `S(n) < 2`, which fails for every `n >= 5`, and `sum(m) = 0` is a pure combination of exactly-one rows, whose value at xf is exactly `B`. Sample check: 58 and 36 nonneg-coefficient combinations at n = 9 and n = 12, minimum slack exactly `S(n) - 1` (= 1.4979 and 1.6854), no separation. **C2 (search over the natural fractional roundings).** 85,644 rank-1 CG cuts at n = 9 and again at n = 12: `|I| <= 4` drawn from the first 12 positions, uniform `lambda = 1/d` with `d` in {1,2,3,4}, `mu` in {-1,0,1} on the three smallest primes. Each cut is derived with the correct Chvatal-Gomory rounding — `ceil` for positive coefficients, `floor` for negative ones, right side `ceil(B + sum_{c<0}|c|) - sum_{c<0} ceil(|c|)` — because "round everything up" is *not* valid with negative coefficients (the first pass used the naive rule, measured a different closest approach, and was replaced). Result: **0 separating cuts in either instance**, and the closest approach is not marginal — slack **+1.331245** at n = 9 (`lambda = 1/3` on position 0, `mu = -1` on primes 2 and 3) and **+1.518781** at n = 12, where a separating cut needs slack < 0. A separating family must therefore beat a barrier of `S(n) - 1` in this structure, and the natural roundings do not come near it. **C2b (the cut generator is not the bug).** 1,500 derived cuts were checked against the *enumerated* integer feasible points of small instances (n = 4 at R = 20, 25, 29 and n = 5 at R = 30, 41: 2, 10, 20 and 72 feasible one-residue-per-prime assignments): **0 cuts invalid on any integer point**, so the negative result is a statement about the space, not about the rounding code. **C3 (where LP information actually lives).** With HiGHS's own presolve and cut generation at their defaults and `mip_max_nodes = 0` (no branching permitted), the n = 9 UNSAT instance is *not* closed: the root relaxation does not refute it, and the full solve needs 3,714 nodes. Fixing residues restores information only deep in the tree — 100 uniformly random cubes per depth, each fixing a random set of primes to random residues: | depth (primes fixed of 9) | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |---|---|---|---|---|---|---|---| | fraction of cubes with infeasible LP | 0.00 | 0.00 | 0.04 | 0.15 | 0.80 | 0.96 | 1.00 | and at n = 12 (of 12 primes): depths 5..11 give 0.02, 0.08, 0.40, 0.70, 0.86, 0.97, 1.00. The independent recheck reproduced the shape with a different mechanism (equality rows instead of column bounds, 25 cubes per depth): 0/25, 1/25, 13/25, 23/25, 25/25 at depths 2, 4, 6, 7, 8. So the LP is a *bottom-of-tree* instrument here: it certifies nothing until roughly two thirds to three quarters of the residues are fixed, and the branching is what carries the certificate at every level above that. ## What this changes, and the proposed next experiment 1. The route's recorded budget claim is false: the gate reaches n = 13 and n = 14 in half of 1.5 core-hours, with repeated runs, and the *decision* (both sides) is certified at both sizes. 2. The cost curve cannot order the instrument classes at these sizes, because the seed spread is the same size as the steps being compared. The obstacle's 4-6x/prime fit does not reproduce as a property of the problem. 3. Reopening LP-based reasoning would need rank >= 2 or an instance-specific cut family; at rank 1 the barrier is `S(n) - 1` and nothing in the natural space approaches it. 4. The remaining lever is therefore not a *faster* instrument but a **deterministic** one: with the reflection variant reversing sign across seeds and the plain variant straddling the CDCL baseline, a schedule whose work does not depend on a seed is the only way to make the growth claim testable. **Next step (2 core-hours).** Deterministic cube-and-conquer with LP closure: enumerate the residues of the last few primes in a fixed order and close each cube with the LP relaxation, which the depth curve says is infeasible for 96-100% of cubes once n-1 or n-2 primes are fixed, then measure n = 13 and n = 14 against the MIP's best-seed times. **Success:** n = 14 closed in under 332 s (half of 664.3 s) with a seed-independent, reproducible cube count. **Failure:** LP closure of the cubes costs more than the branching it replaces, because the cube count grows like the product of the fixed primes. ## Spend The gate's declared budget was 1.5 core-hours (charged worst case) against an actual 1.27; the SAT side's separately declared budget was 1.0 core-hour worst case against an actual 0.28. Across all three experiments this turn, the measured compute is **3.68 core-hours** of single-threaded solver time (including the re-runs that replaced the measurements lost to the append race described below) plus about two minutes of tooling. Every run is a single-threaded process; nothing here was run on a cluster or in parallel inside a solve. ## Evidence files | file | what it is | |---|---| | `analysis-reps.json` | every repetition row, spreads, paired same-seed comparison, ordering verdict, SAT side | | `logs/reps-none.jsonl`, `logs/reps-reflect.jsonl` | raw repetition rows (JSON per solve) | | `logs/n12-none-seed*.jsonl`, `logs/n12-reflect-seed*.jsonl` | extra single-seed n = 12 solves, one file per seed | | `logs/gate132.out` | the gate: per-level verdicts, charged vs actual core-seconds, `a_n_reached` | | `logs/sat-n13-seed*.jsonl`, `logs/sat-n14-seed*.jsonl` | SAT side at n = 13 and 14 with rechecked witnesses | | `cut-search-9-204.json`, `cut-search-12-528.json` | C1, C1b, C2, C2b, C3 for n = 9 and n = 12 | | `verify-2818b.py`, `check-2818b.json` | the independent recheck of all six claims, exit 0 | | `ilp132.py`, `gate132.py`, `cut-search.py`, `analyze-reps.py` | the four instruments | **Disclosed limitation (process, not result).** Several sweeps wrote to a shared append target from parallel shells, and four measurements were lost to that file-offset race (a `none` n = 12 seed-1 UNSAT row, and the first n = 13 `R = 545` SAT run). Every measurement cited above is from a file with a single writer; the missing pairs are named here rather than interpolated, and the affected sweeps were re-run into per-process files. `logs/reps-*.frozen.jsonl` are snapshots taken while the append files were still open, and are evidence only of what had landed at that moment.