mlsanityData to 7 Oct 2026

ReaComp: Compiling LLM Reasoning into Symbolic Solvers for Efficient Program Synthesis

arXiv 2605.05485 ↗First posted 6 May 2026cs.CL cs.AIcited by 1

On the map: LLM reasoning → Reasoning for agents, planning and code

Abstract (arXiv)

LLMs can solve program synthesis tasks but remain inefficient and unreliable on hard instances requiring large combinatorial search. Given a small set of reasoning traces, we use coding agents to compile them into reusable symbolic program synthesizers over constrained DSLs. The resulting solvers require no LLM calls at test time and are strong standalone systems: symbolic solver ensembles reach 91.3% accuracy on PBEBench-Lite and 84.7% on PBEBench-Hard, outperforming LLMs with test-time scaling for the latter by +16.3 percentage points at zero LLM inference cost. They also complement LLM search, improving PBEBench-Hard accuracy from 68.4% to 85.8% while reducing reported token usage by 78%, and raising SLR-Bench hard-tier accuracy from 34.4% to 58.0% in a neuro-symbolic hybrid setting. Compared to directly using coding agents as per-instance solvers, induced solvers are substantially more Pareto-efficient, amortizing a small one-time construction cost over many zero-token executions. Finally, most solvers transfer zero-shot to a real historical linguistics task - predicting sound changes in natural language data - reaching 80.1% accuracy under ensembling and recovering some plausible linguistic rules. Together, these results show that reasoning traces can be compiled into reusable symbolic solvers that solve many tasks directly, complement LLM inference on hard cases, and provide a scalable route to domain-general solver induction. We release code and data for reproducibility.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 23 of its 28 references that are in the map. First posted on arXiv 6 May 2026.

Builds on

23 of 28 references.

Closest ancestors · 1

Same direction, newest first

  1. 2025ToolLibGen: Scalable Automatic Tool Creation and Aggregation for LLM Reasoning9 Oct

Other references · 22

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  3. 2022PAL: Program-aided Language Modelscited by 635
  4. 2024Executable Code Actions Elicit Better LLM Agentscited by 537
  5. 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 174
  6. 2016DeepCoder: Learning to Write Programscited by 145
  7. 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 124
  8. 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 70
  9. 2022Top-Down Synthesis for Library Learningcited by 57
  10. 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
  11. 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 32
  12. 2020BUSTLE: Bottom-Up Program Synthesis Through Learning-Guided Explorationcited by 30
10 more
  1. 2024Is Programming by Example solved by LLMs?cited by 27
  2. 2024HYSYNTH: Context-Free LLM Approximation for Guiding Program Synthesiscited by 14
  3. 2024Case2Code: Scalable Synthetic Data for Code Generationcited by 13
  4. 2025SLR: Automated Synthesis for Scalable Logical Reasoningcited by 6
  5. 2025Programming by Examples Meets Historical Linguistics: A Large Language Model Based Approach to Sound Law Inductioncited by 3
  6. 2025PBE Meets LLM: When Few Examples Aren't Few-Shot Enoughcited by 3
  7. 2025When Tools Hurt LLM Reasoning: State-Dependent Belief Revision under External Evidencecited by 3
  8. 2026When Do Tools and Planning Help Large Language Models Think? A Cost- and Latency-Aware Benchmarkcited by 3
  9. 2025PBEBench: A Multi-Step Programming by Examples Reasoning Benchmark inspired by Historical Linguisticscited by 2
  10. 2025A Compute-Matched Re-Evaluation of TroVE on MATHcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025CodeARC: Benchmarking Reasoning Capabilities of LLM Agents for Inductive Program Synthesis
  2. 2025Loop Invariant Generation: A Hybrid Framework of Reasoning optimised LLMs and SMT Solvers
  3. 2025Integrating Symbolic Execution with LLMs for Automated Generation of Program Specifications
  4. 2025Current Practices for Building LLM-Powered Reasoning Tools Are Ad Hoc -- and We Can Do Better
  5. 2024A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters
  6. 2026ReLoop: Structured Modeling and Behavioral Verification for Reliable LLM-Based Optimization
  7. 2025SymRTLO: Enhancing RTL Code Optimization with LLMs and Neuron-Inspired Symbolic Reasoning
  8. 2026Automating Formal Verification with Agent-Guided Tree Search