Build reflection/Dynkin research corpus and compiler sketch - #2
Open
isomorphisms wants to merge 15 commits into
Open
Build reflection/Dynkin research corpus and compiler sketch#2isomorphisms wants to merge 15 commits into
isomorphisms wants to merge 15 commits into
Conversation
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.
What this adds
Integration tracking
isomorphisms/the-equality-sign-means-equality; its proposed title/body are preserved underissues/rhs-verification-import-coxeter.md.First executable slice
Implemented in
reducer.pyand deliberately limited to A2/A3.The reducer uses the exact type-A permutation/inversion model only to decide whether appending a generator raises or lowers Coxeter length. Every actual word transformation is an explicit Coxeter rewrite recorded in a replayable evidence chain. A3's longest reduced word has length 6, so the only search is a bounded braid-class BFS of length at most 7 to expose a cancellation or select the lexicographically least reduced expression.
tests/test_reducer.pychecks exact element preservation, minimal length, full evidence replay, evidence tamper rejection, exhaustive short inputs, canonical output, and 1000-generator inputs.oracles/sage_compare.pycompares the returned element and length against Sage's reflection backend and repeats the fixtures with Sage's optionalimplementation="coxeter3"when available. It intentionally does not require Sage/coxeter3 to choose the same reduced spelling.This PR still does not introduce a general Coxeter-matrix reducer, minimal-root automaton, or equality saturation.