Download PDFOpen PDF in browserFormally Solving Answer-Construction Problems in Lean21 pages•Published: October 23, 2026AbstractLarge language models (LLMs) have achieved remarkable progress in formal mathematical reasoning. Mathematical competition problems fall into two broad types: theorem-proving problems ask for a proof of a fully specified statement, whereas answer-construction problems ask the solver to construct an answer object and prove that it satisfies the stated specification. Existing mathematical reasoning engines mainly target theorem-proving problems, yet answer-construction problems remain less studied. This setting is challenging because model capabilities are misaligned, with general LLMs better suited to answer construction and prover LLMs better suited to proof generation, and because Lean proof checking alone does not rule out inadmissible circular witnesses. To close this gap, we introduce Enumerate-Conjecture-Prove (ECP), a neuro-symbolic framework for solving answer-construction problems in Lean. ECP uses general LLMs to perform bounded enumeration and construct candidate answers, and invokes prover LLMs to produce machine-checked proofs. ECP introduces admissibility checking to ensure that each answer is canonical and does not involve a circular argument. On PutnamBench and autoformalized MathArena answer-construction problems, ECP formally solves 17/346 and 18/75 answer-construction problem instances with admissible answers and proofs, respectively, outperforming LLM baselines at aligned inference budgets. Our code is available at https://github.com/sunjia72/ecp-lpar.Keyphrases: automated reasoning, large language models, lean 4, theorem proving In: Erika Ábrahám, Nikolaj Bjørner and Michael Rawson (editors). Proceedings of the 26th Conference on Logic for Programming, Artificial Intelligence, and Reasoning, vol 112, pages 1-21.
|

