Two Approaches to Automated Theorem Proving
When building a computer program capable of solving math and logic problems stated in natural language, there are essentially two possible approaches. The first is a two-stage method: formalize the natural language problem statement into a formal logic system, then run an automated solver on that formal statement. The second approach bypasses formalization entirely, reasoning directly within the natural language domain. This essay explores both approaches to evaluate which is more promising to pursue.
Large language models embody the second approach. Mimicking human thought patterns, they reason directly in natural language. While LLMs are often prompted to translate their proofs into a formal system like Lean, this usually happens only after they have derived the proof informally. The first approach—autoformalizing and then deterministically solving—has rarely been pursued in practice, largely because traditional deterministic solvers require immense computational resources and prohibitive runtimes.
However, natural language is inherently fuzzy and informal. Because it cannot be modeled with a simple, rigid grammar, algorithms operating in natural language must rely on massive statistical models trained on vast text corpora, most of which have no relation to mathematics. While LLMs have proven to be competent mathematicians, they are also fluent creative writers and historians. It is counterintuitive that an optimal system for mathematical reasoning should require general knowledge across such unrelated domains.
Furthermore, the ambiguity of natural language means that problem statements can be ill-posed or subjective. The only truly objective mathematical statement is one expressed in a formal language with a rigorous proof system, allowing a computer program to verify proof validity algorithmically.
This leads us to refine our core question: for math and logic problems stated formally (e.g., in Lean), is the superior approach a system trained to reason via natural language, or a deterministic program that searches for solutions directly within the formal search space?
Under this framing, direct formal solving appears theoretically superior. Once a problem is formalized, relying on natural language reasoning—with all its inherent fuzziness—seems far less efficient than operating directly within the precise formal framework.
Yet a paradox remains: current LLMs are significantly more capable theorem-provers than purely deterministic search methods. Given the theoretical advantages of formal reasoning, this empirical reality is striking. Clearly, there are some advantages to informal reasoning which are not being realized by deterministic solvers (e.g, type-inhabitancy algorithms in Lean).
The key question is whether we can identify the core strengths of informal reasoning and incorporate those strategic elements into automated, formal provers.