Skip to content

Algernon ARG-01: frozen recurrent algebraic reasoning gym backed by EvalMath - #98

Merged
patrickdugan merged 3 commits into
mainfrom
research/algernon-arg01-evalmath-coprocessor-20261110
Nov 10, 2026
Merged

patrickdugan merged 3 commits into
mainfrom
research/algernon-arg01-evalmath-coprocessor-20261110

Conversation

@patrickdugan

Copy link
Copy Markdown
Contributor

Purpose

Connect Algernon to EvalMath's independently implemented exact algebraic oracle and execute a real, previously trained frozen recurrent baseline. The measured backbone is the RRC-19 6,240-parameter task-trained GRU; a 6,235-parameter feedforward checkpoint, skewed/shuffled recurrent checkpoints, certified finite class prior, and complete symbolic search provide controls. A separate offline JSONL protocol accepts pinned Qwen / looped-model proposals at declared depths 0/1/2/4/8, with exact checking; no Qwen checkpoint or internal graft is claimed to have run.

Cross-repository lock

  • EvalMath source: ARG-01 oracle PR #31, merged at 88bb6cf8d2fe172e37d25964dfb2c285d9033841.
  • Downstream pin records the full upstream SHA and bytewise oracle SHA-256, and verifies four existing RRC-19 checkpoint SHA-256s before inference.
  • A new workflow checks out that exact EvalMath revision before running the reference and model suites. No GPU, downloads, or model training.

Fresh CPU results (12 exact verifier checks)

Method Known source /72 Four novel sources /96 Positive total /168
Frozen RRC-19 GRU 61 68 129
Matched RRC-19 feedforward 56 66 122
Certified class-size prior 38 64 102
Complete certified classes, larger budget 67 92 159
All acceptances are exact two-demo finite degree-12 certificates, with degree-32 futures independently graded. Complete 64-syntax search recovers 157/168 futures; choice among observationally aliased programs explains disagreements between complete search orders.

Compute and interpretation

On the local Python CPU, the frozen GRU spent about 582 ms on the 168 positive cases versus about 69 ms for full certified-class search (excluding shared setup). The GRU processes 13 public coefficient steps once; its further candidate checks are host exact arithmetic, not neural internal recurrence. No compute-efficient learned advantage over classical exact synthesis is claimed.

Tests

  • EvalMath: 12 exact oracle and finite-prefix collision tests.
  • Algernon: 14 tests, including portable-versus-PyTorch checkpoint parity and 512 comparisons between EvalMath and prior RRC interpreter implementations.
  • Full source-hashed receipt regenerates byte-for-byte; model weights are unchanged and match their committed Git blobs.
  • Model inference receives no hidden source graph/future, performs zero unsampled candidate executions, and fails closed on unpinned or malformed external-model responses.

The CPU model eval is complete. The real Qwen/looped checkpoint run is explicitly unrun and defined in QWEN_WORKORDER.md with named model/hook/compute and held-out evaluation obligations.

@patrickdugan
patrickdugan merged commit 2a011b4 into main Nov 10, 2026
6 checks passed
patrickdugan added a commit that referenced this pull request Nov 13, 2026
#111)

* FHC-01: prove horizon gap, robust net obstruction and scale frontier from math #94/#98

* FHC-01: add exact-rational Gaussian, packing, distortion and net witnesses

* FHC-01: add randomized exact moment checks and finite metric witness tests

* FHC-01: exact shift-register observability rank frontier at increasing horizons

* FHC-01: test exact temporal observability ranks and first-revealed modes

* FHC-01: prove exact recurrent observability rank lower bound and saturation

* FHC-01: add research track entry point

* FHC-01: freeze a future-observation metric and compactification frontier study

* FHC-01: add independent exact finite-control workflow

* FHC-01: link narrowly scoped MathCan Lean kernel companion

* FHC-01B: exact RC-01 primitive looper, semantic quotient and Walsh future-metric rank

* FHC-01B: fit PCA and run calibrated held-out distortion experiment on RC-01 recurrence

* FHC-01B: certify full-space quotient and 63-D simplex; test held-out metric fitting

* FHC-01B: CI exact RC-01 future geometry and frozen numpy PCA/random heldout benchmark

* FHC-01B: derive 6-bit predictive vs 63-D metric rank and intervention alphabet theorem

* FHC-01B: print PCA/Gaussian heldout distortion and pair witnesses to CI logs

* FHC-01B: exact regular-simplex PCA heldout invisibility regression

* FHC-01B: prove PCA loses all disjoint heldout vertices of a regular simplex

* FHC-01B: record held-out PCA collapse, random projection distortion and exact metric frontier

* FHC-01C: register trained RRC25 hidden-state future-logit geometry pilot

* FHC-01C: source-locked trained RRC25 GRU future-logit geometry experiment

* FHC-01C: trained RRC25 GRU state parity, provenance and deterministic holdout tests

* FHC-01C: CI source-locked trained RRC25 recurrent geometry evaluation

* FHC-01C: record trained GRU future-logit geometry and 12D PCA comparison

* FHC-01: index executed synthetic and source-locked trained RRC25 geometry campaigns
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