Beyond Theorem Proving: Formulation, Framework and Benchmark for Formal Problem-Solving
Qi Liu, Xinhao Zheng, Renqiu Xia, Xingzhi Qi, Qinxiang Cao, Junchi Yan
TL;DR
The work formalizes problem-solving as a deterministic Markov decision process and introduces FPS and Deductive FPS (D-FPS) to enable end-to-end, process-verified problem-solving inside formal theorem proving environments like Lean 4. It provides rigorous formal definitions, proofs of soundness, completeness, and expressiveness, and introduces Restricted Propositional Equivalence (RPE) as a human-aligned evaluation metric. Three benchmarks—FormalMath500, MiniF2F-Solving, and PutnamBench-Solving—are constructed to enable faithful informal-formal comparisons and rigorous evaluation of baseline FTP models and prompting methods. Experimental results show that current baselines solve up to about 24% on FormalMath500 and 28% on MiniF2F-Solving, with proving performance substantially higher, underscoring gaps between solving and proving and highlighting the potential of D-FPS for human-aligned reasoning. The study proposes future directions in SFT data collection and improved integration of FPS/D-FPS capabilities to advance trustworthy, verifiable AI problem-solving.
Abstract
As a seemingly self-explanatory task, problem-solving has been a significant component of science and engineering. However, a general yet concrete formulation of problem-solving itself is missing. With the recent development of AI-based problem-solving agents, the demand for process-level verifiability is rapidly increasing yet underexplored. To fill these gaps, we present a principled formulation of problem-solving as a deterministic Markov decision process; a novel framework, FPS (Formal Problem-Solving), which utilizes existing FTP (formal theorem proving) environments to perform process-verified problem-solving; and D-FPS (Deductive FPS), decoupling solving and answer verification for better human-alignment. The expressiveness, soundness and completeness of the frameworks are proven. We construct three benchmarks on problem-solving: FormalMath500, a formalization of a subset of the MATH500 benchmark; MiniF2F-Solving and PutnamBench-Solving, adaptations of FTP benchmarks MiniF2F and PutnamBench. For faithful, interpretable, and human-aligned evaluation, we propose RPE (Restricted Propositional Equivalence), a symbolic approach to determine the correctness of answers by formal verification. We evaluate four prevalent FTP models and two prompting methods as baselines, solving at most 23.77% of FormalMath500, 27.47% of MiniF2F-Solving, and 0.31% of PutnamBench-Solving.
