MathDSL: A Domain-Specific Language for Concise Mathematical Solutions Via Program Synthesis
Not on the map. Why?
Abstract (arXiv)
We present MathDSL, a Domain-Specific Language (DSL) for mathematical equation solving, which, when deployed in program synthesis models, outperforms state-of-the-art reinforcement-learning-based methods. We also introduce a quantitative metric for measuring the conciseness of a mathematical solution and demonstrate the improvement in the quality of generated solutions compared to other methods. Our system demonstrates that a program synthesis system (DreamCoder) using MathDSL can generate programs that solve linear equations with greater accuracy and conciseness than using reinforcement learning systems. Additionally, we demonstrate that if we use the action spaces of previous reinforcement learning systems as DSLs, MathDSL outperforms the action-space-DSLs. We use DreamCoder to store equation-solving strategies as learned abstractions in its program library and demonstrate that by using MathDSL, these can be converted into human-interpretable solution strategies that could have applications in mathematical education.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 13 references that are in the map. First posted on arXiv 26 Sep 2024.
Builds on
9 of 13 references.
References · 9
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2020DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learningcited by 159
- 2014Learning to Executecited by 105
- 2022Top-Down Synthesis for Library Learningcited by 57
- 2023LILO: Learning Interpretable Libraries by Compressing and Documenting Codecited by 46
- 2021Leveraging Language to Learn Program Abstractions and Search Heuristicscited by 44
- 2021Contrastive Reinforcement Learning of Symbolic Reasoning Domainscited by 17
- 2022Peano: Learning Formal Mathematical Reasoningcited by 15
- 2022LEMMA: Bootstrapping High-Level Mathematical Reasoning with Learned Symbolic Abstractionscited by 5
Built on by
Not cited yet.