NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Let's Explore Step by Step: Generating Provable Formal Statements with Deductive Exploration

Qi Liu, Kangjie Bao, Yue Yang, Xinhao Zheng, Renqiu Xia, Qinxiang Cao, Junchi YanICLR 2026

TL;DR

DExploration is a novel framework that generates provable mathematical problems by simulating a step-by-step discovery process within the Lean 4 proof assistant. By breaking down problem synthesis into atomic actions—introducing hypotheses and deducing facts—it bypasses the "complexity limit" of traditional one-shot generation, producing harder, more valid problems at a fraction of the computational cost of previous methods.

The Expressiveness-Validity-Complexity Trilemma

As Large Language Models (LLMs) approach the limits of human-generated data, the need for high-quality, synthetic mathematical data for training and evaluation has become critical. However, synthesizing math problems faces a persistent "trilemma":

  1. Expressiveness: Covering diverse mathematical domains.
  2. Validity: Ensuring the generated problems are actually provable and not self-contradictory.
  3. Complexity: Creating challenges that truly push the boundaries of AI reasoning.

Existing methods often compromise on at least one of these fronts. LLM-only approaches are error-prone; domain-specific symbolic methods are too narrow; and "conjecture-prover" methods are limited by the ability of external provers to verify a one-shot generated statement. If a problem is too complex for an external prover to solve, it cannot be verified for training, effectively capping the difficulty of synthetic datasets.

Methods: Deductive Exploration (DExploration)

The authors propose DExploration, which treats problem synthesis as a Markov Decision Process (MDP). Instead of generating a whole theorem at once, an agent takes three types of atomic actions:

  • Introduce: Add a new variable or hypothesis (e.g., "Let $x$ be a real number where $x > 1$").
  • Deduce: Use Lean 4 tactics to derive a new intermediate fact from the current context.
  • Submit: Choose a derived fact to be the final conclusion of the problem.

Because every step is grounded in the Lean 4 environment, the final output is a formal statement with a guaranteed proof.

To train this agent, the authors developed Exploratory Transformation. This pipeline takes existing theorem-proving data and "reverse-engineers" it into exploration trajectories. It builds a dependency graph of the proof steps and reassembles them into a logical discovery path based on reasoning depth.

The DExploration pipeline compared to traditional baselines.

Key Insights

  • Forward vs. Backward Posing: Most systems work backward from a goal or try to "guess" a theorem. DExploration uses "forward posing"—exploring the mathematical landscape step-by-step to see what interesting conclusions can be reached from a set of premises.
  • Verification-in-the-Loop: By verifying every deduction step during the generation process, the system eliminates the need for expensive, hit-or-miss external provers at the end.
  • Breaking the Complexity Ceiling: Because the proof is constructed alongside the problem, DExploration can generate valid problems that are so difficult that even state-of-the-art provers cannot solve them from scratch.

Key Results

The results demonstrate a significant leap in both efficiency and quality across several benchmarks:

  • Higher Success Rate: DExploration achieved a 54.52% success rate in generating valid, provable statements, compared to 40.70% for the strongest baseline.
  • Massive Efficiency Gains: The token cost per valid statement dropped from 52.9K to 8.8K (an 83% reduction) because the system does not waste resources verifying unprovable one-shot candidates.
  • Superior Complexity: DExploration generates significantly more problems in high-complexity ranges (e.g., >900 proof length) than any other method.
  • Intractability: In a sample of 2,726 valid generations, state-of-the-art provers failed to solve 60 of them (Pass@4) and 8 of them (Pass@64), highlighting DExploration's ability to find "frontier" mathematical challenges.
Quantitative comparison of DExploration against baselines, highlighting improvements in validity, complexity, and token cost.

Limitations and Future Work

While powerful, the current version of DExploration has some hurdles:

  • Implicit Imitation: The agent is trained via Supervised Fine-Tuning (SFT) to imitate existing data (like the NuminaMath-Lean dataset). It lacks an explicit "reward" for how interesting or elegant a problem is.
  • Domain Constraints: The agent's exploration is currently limited by the distribution of its training data.

Future directions include using Reinforcement Learning (RL) with rubric-based rewards to optimize for "meaningfulness" and "elegance," as well as exploring how formal and informal reasoning can co-evolve through this synthetic pipeline.

Summary updated

BibTeX
@inproceedings{liu2026let,
  author = {Qi Liu and Kangjie Bao and Yue Yang and Xinhao Zheng and Renqiu Xia and Qinxiang Cao and Junchi Yan},
  title = {{Let's Explore Step by Step: Generating Provable Formal Statements with Deductive Exploration}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Njrkeo3DiJ},
}
Figure