SymCode: A Neurosymbolic Approach to Mathematical Reasoning via Verifiable Code Generation
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
Large Language Models (LLMs) often struggle with complex mathematical reasoning, where prose-based generation leads to unverified and arithmetically unsound solutions. Current prompting strategies like Chain of Thought still operate within this unreliable medium, lacking a mechanism for deterministic verification. To address these limitations, we introduce SymCode, a neurosymbolic framework that reframes mathematical problem-solving as a task of verifiable code generation using the SymPy library. We evaluate SymCode on challenging benchmarks, including MATH-500 and OlympiadBench, demonstrating significant accuracy improvements of up to 13.6 percentage points over baselines. Our analysis shows that SymCode is not only more token-efficient but also fundamentally shifts model failures from opaque logical fallacies towards transparent, programmatic errors. By grounding LLM reasoning in a deterministic symbolic engine, SymCode represents a key step towards more accurate and trustworthy AI in formal domains.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 10 of its 26 references that are in the map. First posted on arXiv 29 Oct 2025.
Builds on
10 of 26 references.
Closest ancestors · 2
Same direction, newest first
- 2025rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking8 Jan
- 2024MATHSENSEI: A Tool-Augmented Large Language Model for Mathematical Reasoning27 Feb
Other references · 8
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Let's Verify Step by Stepcited by 3,789
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2025s1: Simple test-time scalingcited by 1,341
- 2024OpenAI o1 System Cardcited by 1,244
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 558
- 2024Training Language Models to Self-Correct via Reinforcement Learningcited by 426
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026LLMs with in-context learning for Algorithmic Theoretical Physicscited by 2
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflowcited by 1
- 2026From Policy to Logic for Efficient and Interpretable Coverage Assessmentcited by 0
- 2026Signals Are Not States: Neuro-Symbolic Safeguards for Culturally Aware Classroom AIcited by 0
- 2026LLMs with in-context learning for Algorithmic Theoretical Physics6 May 2026
- 2026Signals Are Not States: Neuro-Symbolic Safeguards for Culturally Aware Classroom AI24 Mar 2026
- 2026TheoremForge: Scaling up Formal Data Synthesis with Low-Budget Agentic Workflow24 Jan 2026
- 2026From Policy to Logic for Efficient and Interpretable Coverage Assessment3 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Artificial Intelligence for Mathematical Reasoning: An Integrated Survey of Language Models, Neuro-symbolic Systems, and Verified Discovery
- 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
- 2026NeuroProlog: Multi-Task Fine-Tuning for Neurosymbolic Mathematical Reasoning via the Cocktail Effect
- 2026Moxia: A Trust-First Neuro-Symbolic Execution Architecture for Self-Explaining Mathematical Reasoning
- 2023Frugal LMs Trained to Invoke Symbolic Solvers Achieve Parameter-Efficient Arithmetic Reasoning
- 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers
- 2025Constructing a Neuro-Symbolic Mathematician from First Principles
- 2025Improving Rule-based Reasoning in LLMs using Neurosymbolic Representations