Exact Engines, Independent Oracles: A College-Level Mathematical Framework and Computer Algebra Software for Low-Cost Inference

Language models can draft worked solutions cheaply, but material printed for a national cohort cannot contain a wrong sign or a missing root. We study an arrangement in which a low-cost model only orchestrates exact engines—a step-by-step calculus and linear-algebra engine (QOQORO Solve) and an exact statics solver (QOQORO Mechanics)—through agent-native command lines, and every answer is judged by an independent numeric oracle before it may be used. The same engines serve students and teachers directly, without any model, through a web interface. We contribute a Nim edition of the CLI-Anything methodology, an oracle for 33 operations that shares no code with the engines, and an audit. On a 188-problem university battery the deployed production engine answered 116 problems correctly, gave 15 wrong answers and refused 57; on the 56 examples shipped with its own web page it gave 38 correct and 8 wrong answers and refused 10. Every wrong answer was displayed with the engine’s “✓ verified” label. We traced seven root causes and rebuilt the engine from source, including a linear-algebra layer whose source had been lost, now over exact rationals with every row operation shown: determinants, inverses, rank, reduced row-echelon form, null spaces, eigenvalues with multiplicities and eigenvectors, matrix expressions, linear systems with parametric solutions, closed-form sums and vector calculus. The rebuilt engine answers 188/188 and 56/56 correctly, and the oracle rejects 443/443 corrupted answers, including local one-number perturbations. A command-line call costs a median 3.9 ms and about 100 tokens; the rebuilt WebAssembly is 4.2 times smaller and renders a result in a median 15 ms. An end-to-end study with a language model in the loop is specified but not yet run. Declaration of generative AI useAn AI assistant (Claude, Anthropic) was used to write code, run the experiments and draft this manuscript under the author’s direction. The author checked the results and is responsible for the content. Companion GitHub repository: https://github.com/QOQORO-official/qoqoro-math-verifier

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-28
DOI
https://doi.org/10.5281/zenodo.24623090
Primary Topic
Mathematical and Computational Methods
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Exact Engines, Independent Oracles: A College-Level Mathematical Framework and Computer Algebra Software for Low-Cost Inference

Tristofani Agasta
Zenodo (CERN European Organization for Nuclear Research)
Mathematical and Computational Methods
preprint

Exact Engines, Independent Oracles: A College-Level Mathematical Framework and Computer Algebra Software for Low-Cost Inference

Tristofani Agasta
preprint en

Abstract

Language models can draft worked solutions cheaply, but material printed for a national cohort cannot contain a wrong sign or a missing root. We study an arrangement in which a low-cost model only orchestrates exact engines—a step-by-step calculus and linear-algebra engine (QOQORO Solve) and an exact statics solver (QOQORO Mechanics)—through agent-native command lines, and every answer is judged by an independent numeric oracle before it may be used. The same engines serve students and teachers directly, without any model, through a web interface. We contribute a Nim edition of the CLI-Anything methodology, an oracle for 33 operations that shares no code with the engines, and an audit. On a 188-problem university battery the deployed production engine answered 116 problems correctly, gave 15 wrong answers and refused 57; on the 56 examples shipped with its own web page it gave 38 correct and 8 wrong answers and refused 10. Every wrong answer was displayed with the engine’s “✓ verified” label. We traced seven root causes and rebuilt the engine from source, including a linear-algebra layer whose source had been lost, now over exact rationals with every row operation shown: determinants, inverses, rank, reduced row-echelon form, null spaces, eigenvalues with multiplicities and eigenvectors, matrix expressions, linear systems with parametric solutions, closed-form sums and vector calculus. The rebuilt engine answers 188/188 and 56/56 correctly, and the oracle rejects 443/443 corrupted answers, including local one-number perturbations. A command-line call costs a median 3.9 ms and about 100 tokens; the rebuilt WebAssembly is 4.2 times smaller and renders a result in a median 15 ms. An end-to-end study with a language model in the loop is specified but not yet run. Declaration of generative AI useAn AI assistant (Claude, Anthropic) was used to write code, run the experiments and draft this manuscript under the author’s direction. The author checked the results and is responsible for the content. Companion GitHub repository: https://github.com/QOQORO-official/qoqoro-math-verifier

Zenodo (CERN European Organization for Nuclear Research)
Mathematical and Computational Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon