Skip to content

Adopt GH-146 Stern finder as default (both engines); tier5 stems get verified upper bounds - #149

Merged
guluchen merged 6 commits into
mainfrom
adopt/gh146-stern-and-ub-stems
Oct 23, 2026
Merged

guluchen merged 6 commits into
mainfrom
adopt/gh146-stern-and-ub-stems

Conversation

@guluchen

Copy link
Copy Markdown
Owner

Two PI-approved changes (2026-10-23). Do not merge before the PI's final confirmation.

1. Adopt GH-146's Stern finder as the default (both engines)

Results (yfclab2, cores 100-123, final tree d699180):

  • make test-cc: PASS
  • make test-cc-flags: 323 checks, 0 failed
  • scripts/smoke_test.sh: passed
  • Tier0 answers, native binary, all 13 tier0 codes x {maxsat, cc} x {stern default, -ub-isd=off}: 52/52 match the known distances
  • No timing runs (PI). Timing evidence is in optimization/experiments/GH-146/REPORT.md.

2. Verified upper bounds in the tier5 stems

ge{lb} (and TN_648_10_9to52) -> {lb}to{ub}. Each lower bound is exactly as in the current name. Each upper bound comes from a GH-146 witness that was re-checked before the rename with the independent pure-Python verify_witnesses.py (CSS condition, H e = 0, e not in the stabilizer row space, odd overlap with the logical basis): 17/17 VALID on both the old and the renamed matrices.

Old New
BB_1080_4_ge30 BB_1080_4_30to48
BB_756_16_ge30 BB_756_16_30to34
BB_864_4_ge30 BB_864_4_30to40
TN_288_2_ge9 TN_288_2_9to24
TN_324_4_ge9 TN_324_4_9to25
TN_360_4_ge17 TN_360_4_17to24
TN_396_4_ge17 TN_396_4_17to26
TN_432_8_ge9 TN_432_8_9to29
TN_468_4_ge17 TN_468_4_17to29
TN_496_2_ge17 TN_496_2_17to30
TN_504_2_ge17 TN_504_2_17to34
TN_540_4_ge9 TN_540_4_9to34
TN_576_2_ge9 TN_576_2_9to37
TN_612_2_ge17 TN_612_2_17to40
TN_648_10_9to52 TN_648_10_9to32
TN_648_14_ge9 TN_648_14_9to28
TN_684_2_ge9 TN_684_2_9to29
  • Same matrices (git mv of Hx/Hz/Gx/Gz; only the Gx/Gz header comment changes), following data: BB_756/864/1080 -> ge30 (GH-138) #141.
  • The repo had no store for upper-bound witnesses, so copies under the new stems are in optimization/experiments/GH-146/witnesses/renamed/ (with VERIFY.txt). data/matrices/README.md references them and gives the re-check command.
  • Rename-history rows were added to data/matrices/README.md and NOTICE. They note that the upper bounds come from [Mac agent] Stern/Dumer collision step in the verified upper-bound finder (large open codes) #146 verified witnesses.
  • Live references updated: the tier5 list, the name columns in optimization/baselines/SERVER.md and main_server_reference.json, the README naming example, and the matrices-README open item. Existing history rows, old experiment reports and the frozen raw results (optimization/baselines/raw/) are unchanged. No tests or scripts referenced the old names.

QDistSAT mirror: guluchen/QDistSAT#13 (only TN_360_4 ships there).

🤖 Generated with Claude Code

yfc and others added 6 commits October 23, 2026 11:29
…shared finder

Stern collision step (two random halves of the information set, subsets of
size <= P per side bucketed by L random redundancy rows; Dumer variant with the
window pivot columns as elements), Canteaut-Chabaud pivot swaps for
re-randomisation, detector-parity precheck per colliding pair. Applies to the
CC -ub-search finder and the MaxSAT -ub-pre pre-pass; default off (GH-140
enumeration unchanged). Defaults from S0 tuning: P 2, L automatic, W 32, B 1.
Tests: make test-cc (six collision configurations on 400 halves, driver and
pre-pass runs, mutants 11/12 and 1/2 in collision mode), make test-cc-flags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n-d, pre-pass, open codes 3600 s), S1 runner

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…uns, verified witnesses, report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…arch (CC) (PI 2026-10-23)

GH-146: the Stern collision step of the shared UbFinder becomes the default
(UbParams::isd = 1, S0 parameters P 2, L auto, W 32, B 1, R 0) for both the
MaxSAT pre-pass and the CC engine's finder. -ub-isd=off restores the previous
finder (the GH-140 enumeration) byte for byte. README / MODIFICATIONS flag rows
and the -h text updated; tests that relied on the old default now pass
-ub-isd=off / -ub-pre=off / -ub-search=off explicitly, and two -v checks cover
the new default on both engines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…/ -ub-search)

GH-146's 'needs the finder' check predates PR #147 (both finders on by
default), so it never fired: -engine=maxsat counted the CC -ub-search default
and -engine=cc counted the default -ub-pre. Now CC needs -ub-search, MaxSAT
needs -ub-pre, auto either. The -seed=4 ub-pre -v check expects the stern
suffix of the new default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nds (PI 2026-10-23)

17 tier5 codes get an upper bound in the stem; lower bounds unchanged:
BB_1080_4_30to48, BB_756_16_30to34, BB_864_4_30to40, TN_288_2_9to24,
TN_324_4_9to25, TN_360_4_17to24, TN_396_4_17to26, TN_432_8_9to29,
TN_468_4_17to29, TN_496_2_17to30, TN_504_2_17to34, TN_540_4_9to34,
TN_576_2_9to37, TN_612_2_17to40, TN_648_10_9to32 (was 9to52),
TN_648_14_9to28, TN_684_2_9to29.

Each upper bound is a nontrivial logical found by the GH-146 finder and
re-checked before the rename with the independent pure-Python
verify_witnesses.py (CSS, H e = 0, e not in the stabilizer row space, odd
overlap with the logical basis): 17/17 VALID on the old and on the renamed
matrices. Witness copies under the new stems:
optimization/experiments/GH-146/witnesses/renamed/ (referenced from
data/matrices/README.md). Same matrices (git mv; Gx/Gz header comment
updated). Rename-history rows in data/matrices/README.md and NOTICE; live
references updated (tier list, SERVER.md and main_server_reference.json name
columns, README example). Old experiment reports, history rows and frozen raw
results are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mac agent] Stern/Dumer collision step in the verified upper-bound finder (large open codes)

1 participant