Add contextual word-analysis prompts - #3
Draft
isomorphisms wants to merge 7 commits into
Draft
isomorphisms wants to merge 7 commits into
isomorphisms wants to merge 7 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
A deliberately tiny design-time layer on top of the exact A2/A3 reducer.
context_hints.pyprints optional prompts for three caller-supplied capabilities: a renderable hyperbolic surface, Gromov/word-space analysis, and a finite-state action suitable for considering Krohn-Rhodes.reduce_with_context.pywraps the exact reducer without changing its reduction or evidence logic. JSON stays on stdout; optional prose goes to stderr.notes/krohn-rhodes.mdrecords the key boundary: Krohn-Rhodes applies to finite transformation semigroups/automata, not to an isolated Coxeter word merely because it is a word.tests/test_context_hints.pychecks capability gating, the August 26, 2026 design-time/LLM disclaimer, and the stdout/stderr boundary of the wrapper.Cross-repository direction
The hyperbolic-render prompt names
isomorphisms/indras-pearlsas the intended renderer handoff. The receiving-side boundary is documented in isomorphismes/indras-pearls#2.This PR is stacked on
research/reflections-dynkinbecause it uses the A2/A3 reducer introduced there. It does not add general equality saturation, a Gromov implementation, a renderer, or a Krohn-Rhodes engine.