Online CAS checking
Catch It Where It Happens
While a model writes a math derivation, a computer algebra system checks each equation as it appears, and a failed check cuts the text back to that step and tells the model to redo it.
In one paragraph
Online CAS checking (2026, mathematics) uses verifier-guided repair, pairing generator Qwen3-30B-A3B-Instruct, Qwen3-4B-Instruct, Gemma-4-12B-it (frozen, no training) with authority Computer algebra system numerical identity check with regex claim extraction. On 2,700 ASyMOB problems, accuracy rose from 62.4% to 68.0% for Qwen3-30B-A3B, 23.4% to 24.8% for Qwen3-4B and 45.2% to 48.2% for Gemma-4-12B. Limit: the checker only catches local algebra errors.
Verified against primary sources on · It matched its sources.
How does Online CAS checking work?
- Proposes
Free-form step-by-step symbolic math solutions, streamed from open-weight models (Qwen3-30B-A3B, Qwen3-4B, Gemma-4-12B)
- Judged by
A computer algebra system that numerically evaluates both sides of each extracted identity (at sampled substitutions when free symbols are present) on CPU, with no model call
- Steers
On a failed check the controller discards text after the faulty step, appends a correction naming the disagreeing values, and resumes generation (at most 3 rollbacks per question)
What did Online CAS checking report?
On 2,700 ASyMOB problems (five repeats each), accuracy rose from 62.4% to 68.0% for Qwen3-30B-A3B, 23.4% to 24.8% for Qwen3-4B and 45.2% to 48.2% for Gemma-4-12B, with a 6-7% increase in tokens per answer.
What does Online CAS checking not prove?
The checker only catches local algebra errors (signs, expansions, reindexing), not wrong strategies or premises, and 'holds' means numerical agreement, not proof. One benchmark (the lab's own ASyMOB) and three models from two families were tested; the paper is an unreviewed preprint.
What a pass means here
The judge is a test, benchmark or score, so a pass means the candidate did well on those checks, not that it is right on every input. The loop runs each time an answer is needed.
See how this kind of check sits among the others: how to validate LLM output with code.
How it generalizes the harness
The checker runs outside the model and interrupts decoding on its own verdict; the model never decides whether to call it.
Classification
| Classification dimension | Verified value |
|---|---|
| What it proposes | Proof |
| Generative model | Qwen3-30B-A3B-Instruct, Qwen3-4B-Instruct, Gemma-4-12B-it (frozen, no training) |
| Algorithmic authority | Computer algebra system numerical identity check with regex claim extraction |
| Feedback | Verifier errors |
| What gets updated | Prompt context |
| When it runs | At inference time |
| Validity | Empirical (measured) |
| Evidence | Experiments reported |
| Lineage | Original system |