Skip to content

W: survivor-guided witnesses close merged XNOR2=15, AND3=12, MUX=17 and default MUX=18 without SAT - #130

Merged
rollrat merged 3 commits into
masterfrom
claude/fastopt-survivor-witness
Dec 6, 2026
Merged

rollrat merged 3 commits into
masterfrom
claude/fastopt-survivor-witness

Conversation

@rollrat

@rollrat rollrat commented Dec 6, 2026

Copy link
Copy Markdown
Member

Builds upper-bound layouts directly from the survivor networks the lower-bound enumerator leaves. Where a witness matches the bound, the optimum closes without SAT.

  • exact/survivor_embed.rs: a network-guided embedder, checked by the simulator. It rediscovers the merged XOR2 14-block witness by itself in 1 ms.
  • Newly closed:
    • merged XNOR2 = 15, merged AND3 = 12, merged MUX = 17 (all three previously unknown);
    • default MUX = 18 (previously closed only by SAT).
  • Still open: half adder (both modes) and default XOR2. The embedder is incomplete, so "no witness" is not a lower-bound result.
  • Lean (Domain/SurvivorWitness.lean): a generic checker Wit.certified_of_check proves physics, GateAcyclic, the block count and merged Φ by kernel decide. Each witness is a one-line theorem.
  • Argued, not proved:
    • default Φ for muxD18;
    • the vocabulary and dead-cell bans;
    • completeness of the lower-bound enumeration, as before.
  • Measured: enumeration dominates the time (up to 1018 s for merged MUX); embedding takes ≤ 25 s.

Docs: docs/survivor_witness.md. No sorry or native_decide; 7 Audit guards; no SAT.

🤖 Generated with Claude Code

rollrat and others added 3 commits December 6, 2026 20:55
The geo_bound enumerator lists every class-network node set within a
budget; a layout at the lower bound must project to one of them. A
network-guided embedder (survivor_embed.rs) now searches each survivor's
layouts in the benchmark box: output first, then the open demand with
the fewest candidates (support, missing case bits, repeater inputs),
monotone local checks, merged-dust OR only in merged mode, then a
class-level S0 check, a GateAcyclic stage and the Rust simulator. No SAT.

It rediscovers the merged XOR2 14-block witness in 1 ms and closes
merged XNOR2 = 15, AND3 = 12, MUX = 17 and default MUX = 18 (already 18
by SAT). Merged half adder (15, and 16 tried), default half adder 18 and
default XOR2 16 find nothing; the embedder is incomplete, so this is no
lower-bound claim.

Lean: a generic witness checker (Wit.certified_of_check) turns one
kernel decide into support, settledness, shown masks, GateAcyclic, block
count and the merged Phi (Geo.physical_merged), so each witness is one
def plus one theorem; the hand-built TightM witness is re-checked as a
regression. Audit guards added; no sorry, no native_decide.

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