Repository navigation
S5: search proof trees over exact-dust (default-Φ) layouts - #132
Merged
Merged
Conversation
…to claude/fastopt-s5-exact-search # Conflicts: # formal/RedstoneFormal.lean # src/transform/place_and_route/local_placer/exact/mod.rs
…xact-search # Conflicts: # formal/RedstoneFormal.lean # formal/RedstoneFormal/Audit.lean # src/transform/place_and_route/local_placer/exact/mod.rs
Physical search trees (S0-S4) refute every Realizes layout, so they can never certify a default-Phi optimum that is above the physical optimum (NAND2 2x4x3: physical 8, default Phi 9; XOR2 2x6x4: physical witness at 14, default Phi 20). S5 refutes only ExactLayout = Realizes /\ DustExact, the class that every default-Phi solution decodes into (L2b), and connects the result to PhiOpt through phiOpt_default_of_exact. No SAT is used. Lean (no sorry/native_decide, Audit guards): SearchCheckS5.lean with leaves xsem (settled state with an undelivered feed into lit dust), xcomp (same check in a closed S4 component, transferred by mergeB) and xdrv (partial-assignment drive leaf: lever, dust walk forced lit by DustExact, ends at a second lever / weakly or strongly powered torch, with the pigeonhole bits_distinct under allRel), checkT5_sound, checkS5_sound, phiOpt_default_of_checkS5, and the s5-search-tree/1 format in search-check. mref is dropped because mirror invariance of DustExact is not proved. Rust: exact_* twins in s3_sem.rs, xcomp_leaf, s5_exact.rs (xdrv), the Exact/QuotaExact leaf sets and tests in fast_opt_s2.rs. Measured: A tier at default-Phi opt-1 VERIFIED; NAND2 budget 7 exact VERIFIED (1.77M nodes, 836 xdrv leaves agreed by Lean); NAND2 budget 8 (default Phi 9) closed in Rust at 75.7M nodes but the 3.56 GB JSON was not Lean-checked; XOR2 budgets 12-19 hit the 5M cap. Analysis in docs/search_driver.md section 9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # AGENTS.md # docs/search_driver.md # formal/RedstoneFormal.lean # formal/RedstoneFormal/Audit.lean # src/transform/place_and_route/local_placer/exact/mod.rs
Intent: keeping both sides of mod.rs declared s4_comp twice; cnf_grounding keeps its cfg(test) as on master. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Physical-layout trees (S0–S4) cannot refute XOR2 above 14, because a physical 14-block layout exists. S5 therefore restricts the search to
ExactLayout(Realizes∧DustExact, the default-Φ dust rule from #126).SearchCheckS5.lean):exactLayout_of_phi.xsem,xcompandxdrv.xdrvis a partial-assignment leaf: forced-lit lever/dust walks plus a pigeonhole argument.checkS5_sound : … → NoExactLayoutWithin I b.phiOpt_default_of_checkS5.Leaves::ExactandLeaves::QuotaExact, plusexact/s5_exact.rs.mrefis dropped becauseDustExactmirror invariance is not proved.Docs:
docs/search_driver.md§9. No sorry or native_decide.🤖 Generated with Claude Code