Learning to Coordinate Symbolic Tools: LLM Agents for Verified Sum-of-Squares Certificates
On the map: LLM agents and tool use → Educational agents and math problem solving
Abstract (arXiv)
Tool calling allows large language models (LLMs) to invoke external computation during problem solving, a useful capability in various fields including AI for mathematics. We study this setting through weighted sum-of-squares (SOS) decomposition, a machine-checkable route to proving polynomial nonnegativity and hence polynomial inequalities. A candidate decomposition can be checked exactly, but finding one requires choosing among non-unique regroupings and coordinating multiple symbolic transformations. We develop an agent that combines algebraic task training, symbolic tools, and verifier-grounded optimization for this task. Rather than training only on the composite SOS task, we construct 1.35 million synthetic examples covering eight supporting polynomial tasks together with weighted-SOS decomposition. We first apply supervised fine-tuning (SFT) to direct algebra problems and simulated symbolic traces, and then use Group Relative Policy Optimization (GRPO) with task-specific symbolic rewards. The SFT corpus contains no native tool-calling messages; at evaluation, the agent uses native SymPy calls for expansion, collection, reordering, and factorization. Every final SOS answer is checked by exact expansion and coefficient comparison. On held-out, same-generator synthetic problems, the full SFT+GRPO+tools system is the strongest of four evaluated configurations, reaching 78.96% verified success on weighted SOS, compared with 44.73% for the base model with the same tools, and 91.75% macro accuracy across nine polynomial tasks. Within this controlled setting, our work provides a case study of combining domain-specific skill training, executable tools, and verifier feedback, and may inform the design of tool-calling agents in other domains with exactly checkable outputs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 21 of its 38 references that are in the map. First posted on arXiv 31 Jul 2026.
Builds on
21 of 38 references.
References · 21
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Let's Verify Step by Stepcited by 3,789
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,947
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,076
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 783
- 2023API-Bank: A Comprehensive Benchmark for Tool-Augmented LLMscited by 591
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
- 2025The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexitycited by 302
9 more
- 2023MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedbackcited by 297
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 287
- 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 238
- 2024Proving Olympiad Algebraic Inequalities without Human Demonstrationscited by 20
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2019Learning dynamic polynomial proofscited by 8
- 2026LLM-Guided Quantified SMT Solving over Uninterpreted Functionscited by 3
- 2025Neural Sum-of-Squares: Certifying the Nonnegativity of Polynomials with Transformerscited by 2
- 2026From LLM-Generated Conjectures to Lean Formalizations: Automated Polynomial Inequality Proving via Sum-of-Squares Certificatescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025SoS1: O1 and R1-Like Reasoning LLMs are Sum-of-Square Solvers
- 2026Advancing Mathematics Research with AI-Driven Formal Proof Search
- 2024AlphaIntegrator: Transformer Action Search for Symbolic Integration Proofs
- 2025A Survey on Mathematical Reasoning and Optimization with Large Language Models
- 2026Artificial Intelligence for Mathematical Reasoning: An Integrated Survey of Language Models, Neuro-symbolic Systems, and Verified Discovery
- 2026A Learning Method for Symbolic Systems Using Large Language Models ↗
- 2026Beyond the Library: An Agentic Framework for Autoformalizing Research Mathematics
- 2026Numina-Lean-Agent: An Open and General Agentic Reasoning System for Formal Mathematics