Executable Functional Abstractions: Inferring Generative Programs for Advanced Math Problems
Zaid Khan, Elias Stengel-Eskin, Archiki Prasad, Jaemin Cho, Mohit Bansal
ICLR 2026 submission
Abstract. Abstract Interpretation provides a framework for approximating the behavior of discrete systems by establishing a correspondence between concrete execution traces and abstract properties. We apply this framework to mathematics to address the inverse problem: automatically synthesizing a general program (the abstraction) from a single concrete example, which executes to produce specific, valid problem instances (the concretization). Prior approaches to capturing this structure rely on hand-crafted templates, a labor-intensive process that restricts the technique to arithmetic word problems or small datasets. We introduce EFAGen, a method that operationalizes this inference as a program synthesis task, generating Executable Functional Abstractions (EFAs) that encode the parameters, constraints, and solution procedure of the seed problem. Because formal verification of synthesized code is intractable, we filter candidates using executable unit tests that enforce necessary properties. We demonstrate that these inferred abstractions enable data augmentation that complements existing strong data mixes for math reasoning and facilitate adversarial search to discover problem variants that models fail to solve.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…