From cd70e4141d2fe30f9ab87d1e23b16fd512561cee Mon Sep 17 00:00:00 2001 From: Patrick Dugan Date: Tue, 10 Nov 2026 21:29:15 +0800 Subject: [PATCH] research: integrate ARG-01 Algernon algebraic gym with pinned EvalMath oracle --- research/algernon/README.md | 3 +++ research/algernon/algebraic_reasoning_gym/README.md | 4 ++-- research/algernon/algebraic_reasoning_gym/REPORT.md | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/research/algernon/README.md b/research/algernon/README.md index 3fa514d35..d391098f3 100644 --- a/research/algernon/README.md +++ b/research/algernon/README.md @@ -1,5 +1,8 @@ # Algernon: a neural-net processor, a learning computer +**ARG-01 CPU algebraic reasoning gym:** [Frozen RRC-19 recurrent proposer with independent, pinned EvalMath verification](algebraic_reasoning_gym/README.md), [results](algebraic_reasoning_gym/REPORT.md), and [Qwen/looped-model workorder](algebraic_reasoning_gym/QWEN_WORKORDER.md). The CPU baseline is executed; a Qwen latent graft remains unrun. + + **Algernon-02 executable experiment:** [Circuit Mirror](circuit_mirror/README.md) combines a typed pointer-machine transition, an exact BN254 R1CS-style checker, generated Circom source, a tiny trained recurrent readout, and retained CPU-only experiment receipts. [Experimental falsification criteria](circuit_mirror/EXPERIMENT.md). **Algebraic machine:** [Executable mathematics and Lean proofs](algebraic_machine/README.md) cover instruction-monoid semiconjugacy, twisted-cycle sheaf obstructions, sparse intertwining repair, and recurrent depth-error bounds; [derivations](algebraic_machine/THEOREMS.md). diff --git a/research/algernon/algebraic_reasoning_gym/README.md b/research/algernon/algebraic_reasoning_gym/README.md index 1f9e9e7c3..7d4c9413a 100644 --- a/research/algernon/algebraic_reasoning_gym/README.md +++ b/research/algernon/algebraic_reasoning_gym/README.md @@ -6,7 +6,7 @@ A runnable CPU benchmark combining EvalMath's independent exact finite formal-se ## Ownership and exact mathematical boundary -EvalMath owns `spiral_ln.algebraic_reasoning_oracle`, its tests, and a deterministic 228-case reference receipt. The `evalmath_pin.json` file locks the oracle source SHA-256 and, after upstream integration, its exact EvalMath Git commit. Source-only local runs explicitly record an unresolved commit rather than asserting a false pin. `gym.py` imports that module from a separate checkout at the pinned revision. It never vendors the EvalMath verifier or substitutes a neural predictor for an exact equality check. +EvalMath owns `spiral_ln.algebraic_reasoning_oracle`, its tests, and a deterministic 228-case reference receipt. The `evalmath_pin.json` locks the oracle source SHA-256 and the merged EvalMath commit `88bb6cf8d2fe172e37d25964dfb2c285d9033841` (EvalMath PR #31). The workflow checks out that revision explicitly. `gym.py` imports that module from a separate checkout at the pinned revision. It never vendors the EvalMath verifier or substitutes a neural predictor for an exact equality check. Two public demonstrations give integer coefficients through degree 12, with a fresh query input. Graph programs contain three symbols from `I,N,S,R`, operating on four supplied graph topologies. One paid graph query computes both observed examples and records exact coefficient agreement and the first mismatching degree. A maximum of twelve candidates is allowed for each learned/static restricted policy. The complete certified class and 64-syntax searches receive explicitly larger budgets. Future degree-13–32 query output is held back until independent grading. @@ -14,7 +14,7 @@ The 36-case calibration set is generated and receipt-hashed but unused in the be ## Reproduce on CPU -Use the EvalMath revision in `evalmath_pin.json` in a sibling checkout. The bytewise oracle source SHA-256 is checked on every local run. A source-only package has an explicit unresolved-commit status until that revision is merged. From Compactification-Theory root: +Use the EvalMath revision in `evalmath_pin.json` in a sibling checkout. The bytewise oracle source SHA-256 is checked on every local run. The pinned revision is merged and the bytewise source checksum is checked on every run. From Compactification-Theory root: ```sh PYTHONPATH=.:../EvalMath/src python -m unittest discover -s research/algernon/algebraic_reasoning_gym -p 'test_gym.py' -v diff --git a/research/algernon/algebraic_reasoning_gym/REPORT.md b/research/algernon/algebraic_reasoning_gym/REPORT.md index 3d68583f7..8c54b9f62 100644 --- a/research/algernon/algebraic_reasoning_gym/REPORT.md +++ b/research/algernon/algebraic_reasoning_gym/REPORT.md @@ -32,8 +32,8 @@ The model remains slower than complete symbolic search on this CPU while recover ## Checks and provenance -- EvalMath oracle: 12 tests, source-hashed deterministic 228-case reference manifest. -- Algernon harness: 13 tests, source-hashed receipt, exact budget and negative/collision tests. +- EvalMath oracle: 12 tests, source-hashed deterministic 228-case reference manifest, merged in EvalMath PR #31. +- Algernon harness: 14 tests, source-hashed receipt, exact budget and negative/collision tests. - Cross-check: EvalMath's independent arithmetic agrees with the existing RRC interpreter on 512 randomly generated graph/topology/input cases. - Frozen model: checkpoint SHA-256 is verified for four RRC-19 arms before deserialization. No gradient training or model selection occurred. - Tests explicitly replace the hidden graph/future while holding visible demonstrations fixed, ensuring the model's proposed class order remains invariant.