Repository navigation
Algernon: instruction algebra, cyclic sheaf obstructions and sparse repair - #40
Merged
Merged
Conversation
Comment on lines
+15
to
+39
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.11' | ||
| - name: Install NumPy | ||
| run: python -m pip install -r research/algernon/algebraic_machine/requirements.txt | ||
| - name: Unit tests | ||
| run: python -m unittest discover -s research/algernon/algebraic_machine/tests -v | ||
| - name: Reproduce frozen finite-field and monoid receipt | ||
| run: | | ||
| python -m research.algernon.algebraic_machine.experiments --out /tmp/algernon-algebra-reference.json | ||
| python - <<'PY' | ||
| import json | ||
| from pathlib import Path | ||
| expected=json.loads(Path('research/algernon/algebraic_machine/results/reference.json').read_text()) | ||
| observed=json.loads(Path('/tmp/algernon-algebra-reference.json').read_text()) | ||
| assert observed==expected, 'algebraic reference experiment drifted' | ||
| assert observed['monoid']['program_violations']==0 | ||
| assert observed['cyclic_sheaf']['monodromy_dim_mismatches']==0 | ||
| print('Reproduced exact deterministic reference') | ||
| PY | ||
|
|
||
| lean-kernel: |
Comment on lines
+40
to
+53
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Lean 4 standalone proofs | ||
| uses: leanprover/lean-action@v1 | ||
| with: | ||
| lake-package-directory: research/algernon/algebraic_machine/lean | ||
| auto-config: false | ||
| build: true | ||
| test: false | ||
| use-mathlib-cache: false | ||
| - name: Print Lean theorem axiom dependencies | ||
| working-directory: research/algernon/algebraic_machine/lean | ||
| run: lake env lean Algernon/Semiconjugacy.lean |
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.
Scope
Adds
research/algernon/algebraic_machine/with an executable mathematical counterpart to the LOTUS↔Circuit-Mirror project.Local CPU evidence
70ea47965a06e56ff4ba31a5a800ec5362ed8cb47510d1cb096162ca72a6dc47.Boundary
No LOTUS activations, trained model, Circom compilation, Qwenputer in-weight execution, or neural weight patch were performed. The Lean source is an unverified candidate until the Lean job passes.
CI gates