cs.AIMar 18, 2026

Draft-and-Prune: Improving the Reliability of Auto-formalization for Logical Reasoning

Authors: Zhiyu Ni, Zheng Liang, Liangcheng Song, Chenrui Cao, Xian Zhang, Alberto Sangiovanni-Vincentelli, Pierluigi Nuzzo

Organizations: University of California, Berkeley · Microsoft

Abstract

Auto-formalization (AF) translates natural-language reasoning problems into solver-executable programs, enabling symbolic solvers to perform sound logical deduction. In practice, however, AF pipelines are currently brittle: programs may fail to execute, or execute but encode incorrect semantics. While prior work largely mitigates syntactic failures via repairs based on solver feedback, reducing semantics failures remains a major bottleneck. We propose Draft-and-Prune (D&P), an inference-time framework that improves AF-based logical reasoning via diversity and verification. D&P first drafts multiple natural-language plans and conditions program generation on them. It further prunes executable but contradictory or ambiguous formalizations, and aggregates predictions from surviving paths via majority voting. Across four representative benchmarks (AR-LSAT, ProofWriter, PrOntoQA, LogicalDeduction), D&P substantially strengthens AF-based reasoning without extra supervision. On AR-LSAT, in the AF-only setting, D&P achieves 78.43% accuracy with GPT-4 and 78.00% accuracy with GPT-4o, significantly outperforming the strongest AF baselines MAD-LOGIC and CLOVER. D&P then attains near-ceiling performance on the other benchmarks, including 100% on PrOntoQA and LogicalDeduction.

Figures & tables

Appendix figures & tables14 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FaithformBench: Benchmarking Faithfulness of Mathematical Chain-of-Thought Autoformalisation

    Aug 11, 2026Rob Cornish, Iacopo Ghinassi, Po-Hung Yeh +7CoT FaithfulnessLLM Sycophancy

  2. PrologMCP: A Standardized Prolog Tool Interface for LLM Agents

    Jun 12, 2026Agnieszka Mensfelt, Adarsh Prabhakaran, Adrian Haret +2Logic ProgrammingSymbolic Reasoning

  3. Agentified Assessment of Logical Reasoning Agents

    Mar 3, 2026Zhiyu Ni, Yifeng Xiao, Zheng LiangLLM Agent EvaluationAI Agent Benchmarks