Preprint · 2026 · Open access

Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics

Pavel Snopov, German Magai

arXiv · Published 7 July 2026 · DOI 10.48550/arxiv.2607.06820

Open PDFView at the publisherCite this paper

In brief

“Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics” is a 2026 preprint by Pavel Snopov and German Magai, published in arXiv. OpenAlex counts 0 citations as of 30 November 2026. It is open access under a CC BY licence: the full text is free to read at arXiv.

Citations
0
References
39
Authors
2

Abstract

Recent advances in AI for Mathematics have focused largely on autoformalization and theorem proving, leaving the role of Computer Algebra Systems (CAS) in agentic LLM workflows underexplored. We propose a ReAct-style agentic setup that combines LLM reasoning with verifiable feedback from SageMath, together with Context7 for the up-to-date documentation. We evaluate this agentic setup across frontier models for solving research-level mathematical problems from the RealMath benchmark in a setting that emulates a computational-mathematics research loop. We also propose a refinement to the RealMath benchmark by introducing a multi-step post-processing procedure and a multi-stage validation pipeline, both of which improve the quality and reliability of the extracted problem set. Our experiments reveal substantial performance gains from SageMath access across all evaluated models on +9.7~pp on average, the gains range from 1.5~pp to 27.8~pp and narrow the gap between open-weight and closed models. Qwen~3.7-Max benefits from SageMath the most, while GPT-5.5 achieves the highest solve rate of $75.2\%$ and the lowest token usage among tool-enabled configurations. Our findings suggest that CAS-augmented agents represent a promising direction for assisting mathematicians in computational exploration, and we believe that this work is a step towards automated conjecture discovery. The project repository is available online.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Snopov, P., & Magai, G. (2026). Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics. arXiv. https://doi.org/10.48550/arxiv.2607.06820

MLA 9

Snopov, Pavel, and German Magai. “Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics.” arXiv, 2026. https://doi.org/10.48550/arxiv.2607.06820.

Chicago

Snopov, Pavel and German Magai. 2026. “Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics.” arXiv. https://doi.org/10.48550/arxiv.2607.06820.

Harvard

Snopov, P. and Magai, G. (2026) ‘Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics’, arXiv. doi:10.48550/arxiv.2607.06820.

IEEE

P. Snopov and G. Magai, “Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics,” arXiv, 2026, doi: 10.48550/arxiv.2607.06820.

BibTeX

@misc{snopov2026evaluating,
  title     = {{Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics}},
  author    = {Snopov, Pavel and Magai, German},
  howpublished = {arXiv},
  year      = {2026},
  doi       = {10.48550/arxiv.2607.06820},
  url       = {https://doi.org/10.48550/arxiv.2607.06820}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Topic and keywords

Physical Sciences › Computer Science › Computational Theory and Mathematics › Mathematics, Computing, and Information Processing

  • LLM agents
  • SageMath
  • computer algebra systems
  • ReAct framework
  • mathematical problem solving
  • Qwen
  • GPT-5.5

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Snopov, P., & Magai, G. (2026). Evaluating SageMath-Augmented LLM Agents for Computational and Experimental Mathematics. arXiv. https://doi.org/10.48550/arxiv.2607.06820

How many times has this paper been cited?

0 times, according to OpenAlex on 30 November 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at arXiv: sign in and open the PDF from this page.

Who wrote this paper?

Pavel Snopov, German Magai.

What is the DOI of this paper?

10.48550/arxiv.2607.06820, permanently at https://doi.org/10.48550/arxiv.2607.06820. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 30 November 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.