Skip to content

Match nauty's emitted automorphism generators - #11048

Open
kim-em wants to merge 4 commits into
mainfrom
nauty-generator-emissions
Open

kim-em wants to merge 4 commits into
mainfrom
nauty-generator-emissions

Conversation

@kim-em

@kim-em kim-em commented Nov 27, 2026 •

Copy link
Copy Markdown
Owner

This PR makes the dense and sparse Hex searches expose nauty's emitted generator lists in callback order. Both engines still retain the full discovery trace for certificates and diagnostics. The shared leaf action records emissions where it increments the generator counter.

Lean proves that a code-2 discovery whose join preserves the orbit count lies in the generated group. At each first-path node, the completed first child supplies the point stabilizer. The dense and sparse API proofs then establish that the emitted generators generate the full automorphism group and that the returned list length equals the reported count.

The nauty 2.9.3 oracle now requires exact list equality. The new mixed-cfi-120 fixture emits 11 dense and 12 sparse generators and has group order 36,864. Branch tests cover all four automorphism exits, and the sparse fixture also checks that this traversal still makes 19 discoveries.

Verification in isolated Lake projects using the checked-out sources and pinned dependencies:

  • All 12,468 committed conformance records matched the pinned C oracle. The ordered generator lists also matched on 39,030 archived positive-order inputs per engine.
  • All 39,032 archived discovery traces matched the existing records.
  • The full HexGraphIso and HexGraphIsoTheory libraries, conformance and release tests, and dense and sparse Mathlib tactic tests built successfully.
  • All nine Python oracle tests and the extended sparse campaign passed.
  • The current-source cactus sweep covers 98 canonicalization instances and 34 graph pairs. Its data, figures and per-node report pass the required freshness and exponent checks.
  • Both updated manual chapters build against the production Lake configuration.

@kim-em
kim-em enabled auto-merge (squash) November 27, 2026 05:09
kim-em added a commit to kim-em/nauty-verified that referenced this pull request Nov 28, 2026
…irror

Temporary: hex-graph-iso is required from /tmp/hgi-11048, the v0.10.0
split mirror with HexGraphIso/ and HexGraph/ replaced by those of
kim-em/hex-dev#11048 (864c5dd611). hex-dev's
HexBasic, HexMatrix and HexPermGroup are unchanged between the v0.10.0
source commit and the PR base, so the v0.10.0 pins stand. Drop this
commit and bump the pin once the PR is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kim-em added a commit to kim-em/nauty-verified that referenced this pull request Nov 28, 2026
…irror

Temporary: hex-graph-iso is required from /tmp/hgi-11048, the v0.10.0
split mirror with HexGraphIso/ and HexGraph/ replaced by those of
kim-em/hex-dev#11048 (864c5dd611). hex-dev's
HexBasic, HexMatrix and HexPermGroup are unchanged between the v0.10.0
source commit and the PR base, so the v0.10.0 pins stand. Drop this
commit and bump the pin once the PR is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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