Skip to content

G5a: the 8 repeater tight XOR2 budget-16 node sets ruled out in Lean - #131

Merged
rollrat merged 4 commits into
masterfrom
claude/fastopt-g5a-rep
Dec 6, 2026
Merged

rollrat merged 4 commits into
masterfrom
claude/fastopt-g5a-rep

Conversation

@rollrat

@rollrat rollrat commented Dec 6, 2026

Copy link
Copy Markdown
Member

Continues G4. The XOR2 2x6x4 default-Φ budget-16 node sets containing R(5) or R(3) have no tight layout.

  • Finding (measured): G4's 6 surviving branches came from allowing R(3) and R(5) together. Each real set has only one of them, and then adjacency plus 7 kind/class distinctness facts already admits no placement. No repeater supports are needed.
  • Lean (Domain/GeoTight5R.lean):
    • rt_geom has generated per-branch lemmas: 478 split leaves plus 668 unit-step leaves, about 6 s.
    • xorC5_tight_false, xorC3_tight_false (input mirror).
    • phi_xorC5_bound, phi_xorC3_bound.
  • Rust: Options::xor_tight5r, which fires only under the theorem's hypotheses. All other values are unchanged.
  • Measured: the remaining budget-16 node sets drop from 20 to 12; all 12 are 13-node groups A and B. The XOR2 bound stays 16.
  • Generator: tools/geo_bound/g5a_rt_geom.py.

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

🤖 Generated with Claude Code

rollrat and others added 4 commits December 6, 2026 20:13
…ts left

G4 left 20 XOR2 2x6x4 default-Phi budget-16 node sets; eight of them have 14
nodes with one torch repeater R(5) or R(3) and were blocked because a one-shot
omega proof timed out. This closes those eight in Lean, without SAT.

Measured first: the "6 branches alive with adjacency alone" of G4 came from a
model allowing R(3) and R(5) together. With only R(5) (the shape of all eight
sets) adjacency plus seven distinctness facts already has no placement, so the
proof needs no repeater-support facts.

- formal/RedstoneFormal/Domain/GeoTight5R.lean: XorTightC5 (xorNodesC + R(5)),
  xorC5_tight_false (torch below: G4's c_geom_TT; through R(5): rt_geom),
  the input mirror xorC3_tight_false, and xorC5/C3_bound with phi_ versions.
  rt_geom is a generated case split: height/attachment choices closed by
  omega with the open disjunctions cleared, then the 8 surviving branches as
  unit-step lemmas rt_v1..rt_v8 split with rfl patterns (leaves decide on
  closed arithmetic, or omega from bounds and parity). Whole file ~6 s; the
  naive position-level split was 7,743 leaves / 90 s.
- tools/geo_bound/g5a_rt_geom.py: the deterministic generator.
- geo_bound.rs: Options.xor_tight5r leaf rule under exactly the theorem's
  hypotheses (GEO_XOR_TIGHT5R, GEO_CONFIGS=t5r). Remaining budget-16 sets
  20 -> 12 (all 13-node groups A and B); XOR2 stays 16, small instances
  unchanged, interference_bound_within_known_optima_small passes.
- Audit guards (10), docs 11절, AGENTS.md link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Master added the merged-mode track (GeoTightMerged, merged_rep_src) and its own
section 10 of docs/geometric_network_bound.md. Keep both: merged mode stays 10,
G4 becomes 11 and G5a 12 (references updated); geo_bound Options carries
xor_tight4, xor_tight5r and merged_rep_src. fast_opt_status keeps the G4/G5a
flags off so its Lean-backed measurements are unchanged.

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/fast_opt_status.rs
#	src/transform/place_and_route/local_placer/exact/geo_bound.rs
…here, dedupe docs

Intent: keeping both sides duplicated geo_bound Options literals and the old G4 doc
section. The G5a versions (superset with xor_tight5r) are kept; the status harness
turns xor_tight4/xor_tight5r on in default mode where their Lean theorems apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rollrat
rollrat merged commit d6fb2e5 into master Dec 6, 2026
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