Skip to content

G4: 12 of 32 XOR2 budget-16 node sets ruled out in Lean (bound still 16) - #128

Merged
rollrat merged 3 commits into
masterfrom
claude/fastopt-g4-xor-bound
Dec 6, 2026
Merged

rollrat merged 3 commits into
masterfrom
claude/fastopt-g4-xor-bound

Conversation

@rollrat

@rollrat rollrat commented Dec 6, 2026

Copy link
Copy Markdown
Member

Continues G3 toward a default-Φ XOR2 2x6x4 bound above 16.

  • Lean (Domain/GeoTight4.lean):
    • xorC_tight_false rules out the 4 sets made of a G3 survivor plus an extra S block.
    • xorDa_tight_false and xorDc_tight_false rule out the 8 lever-block-dust sets (case-swap symmetry).
    • Bound forms: phi_xorC_bound, phi_xorDa_bound, phi_xorDc_bound.
  • Rust: geo_bound gains Options::xor_tight4, which fires only under the theorems' hypotheses.
  • Measured:
    • Budget-16 node sets drop from 32 to 20.
    • The XOR2 bound stays 16: some remaining sets have value 16.
    • All other instances are unchanged.
  • Blockers for 17:
    • 8 tight sets with repeater nodes need repeater-support lemmas.
    • Group A slack sets need new physical facts.
    • Group B needs Φ facts.

Docs: docs/geometric_network_bound.md (G4 section). No sorry or native_decide; 14 Audit guards; no SAT.

🤖 Generated with Claude Code

rollrat and others added 3 commits December 6, 2026 19:35
…s 16

Intent: push the Lean-backed XOR2 2x6x4 default-Phi lower bound past 16
without SAT, by proving that the 14-node node sets left at budget 16 have
no tight (one cell per node) S0 layout, and feeding that to the SAT-free
evaluator.

- GeoTight4.lean: xorC_tight_false (survivor nodes plus S(2,2)/S(4,4):
  the extra blocks hang under a torch on S(13,13)/S(11,11) and sit above
  the lever repeaters' supports, xb_z + G3 xor_forced/xor_final),
  xorDa_tight_false/xorDc_tight_false (lever block S(a,0) powered by dust
  on top; the c-side follows by the case 1<->2 swap nodeOf_sw), the
  bounds xorC/Da/Dc_bound and their default-Phi versions. 14 axiom guards.
- geo_bound.rs: Options::xor_tight4 leaf rule matching those hypotheses.
- Measured: budget-16 sets 32 -> 20; XOR2 stays 16 (16.3 s) because the
  eight R(3)/R(5) sets (adjacency alone admits placements, needs repeater
  supports in the proof) and groups A/B (need new physics) remain.
  A-tier, XNOR2, MUX, AND3 unchanged.
- docs/geometric_network_bound.md section 10, AGENTS.md line, abstract
  geometry measurement scripts under tools/geo_bound/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	AGENTS.md
#	docs/geometric_network_bound.md
#	formal/RedstoneFormal.lean
#	formal/RedstoneFormal/Audit.lean
#	src/transform/place_and_route/local_placer/exact/geo_bound.rs
Intent: the master merge combined G4's xor_tight4 with master's merged_rep_src by keeping both
sides, which duplicated Options literals and broke compilation. Both fields now coexist; the
status harness enables xor_tight4 in default mode, where its Lean theorems apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rollrat
rollrat merged commit 89b1284 into master Dec 6, 2026
rollrat added a commit that referenced this pull request Dec 6, 2026
Intent: G4 (#128) added Options::xor_tight4 after this branch was cut; the survivor
listing keeps it off so its measured survivor sets 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.

1 participant