A Definition-Driven Theorem Prover

George W. ErnstIJCAI 1973

Introduction

In the early 1970s, automated theorem proving was primarily the domain of resolution-based systems. While these systems were logically robust, they frequently struggled with "long" mathematical statements. These are theorems that, while perhaps not conceptually "deep," involve a vast array of nested definitions and predicates (e.g., "is a group," "is a homomorphism"). When a standard prover attempts to process all these definitions simultaneously, it often falls victim to a "combinatorial explosion," where the search space for a proof grows exponentially.

Ernst's Theorem Prover I (TPI) addresses this by acting as a "definition-driven" data filter. Rather than diving immediately into a formal proof, TPI "wades" through the definitions, simplifying the problem into manageable, independent subgoals.

Methodology: The TPI Architecture

TPI employs a hybrid approach that mirrors natural deduction more closely than pure resolution. Its architecture is built around several key mechanisms designed to reduce logical complexity before passing a problem to a standard resolution-based Subgoal Solver (SGS).

Subgoal Decomposition

The core of TPI's strategy is the recursive breakdown of complex theorems into simpler lemmas using an AND/OR tree structure. For instance, to prove that a specific structure is a "group," TPI identifies the constituent requirements—associativity, the existence of an identity element, and the existence of inverses—and treats them as independent subgoals.

Figure 1: An AND/OR tree illustrating the decomposition of a goal G into subgoals F1, F2, etc.

Definition Repertoire and Expansion

TPI maintains a library of "Forward" and "Backward" definitions. This repertoire allows the system to expand defined quantities into their constituent logical parts. For example, the definition of an ordered pair or the properties of an identity element can be injected into the proof state as needed.

Figure 3: A sample of the definition repertoire, including axioms for identity, inverse, and ordered pairs.

Advanced Logical Handling

  • Implicit Restricted Quantification: To avoid bloating the search space with redundant clauses like "x is an element of G," TPI tracks variable domains implicitly.
  • Higher-Order Logic via Lambda Conversion: TPI utilizes lambda notation and $\lambda$-conversion to handle functions and homomorphisms. This allows it to tackle problems that were traditionally difficult for first-order provers.
  • Domain-Aware Operators: By treating operators (like + or *) as n-ary and flagging them with properties like associativity, TPI avoids generating the redundant clauses that often confuse standard provers.

Evaluation and Results

The system was evaluated using a repertoire of 14 mathematical definitions, with the primary case study being the proof that the direct product of two groups is itself a group.

The initial input formula for this theorem, including all necessary definitions, consisted of 48 clauses. Through its decomposition process, TPI reduced this complex statement into six terminal subgoals. The underlying Subgoal Solver then found proofs for these subgoals, with the shortest requiring 27 binary resolutions. This demonstrates TPI's efficiency: it handles the "tedious" expansion of definitions, leaving the "non-trivial" logical steps to the resolution engine.

Furthermore, the system successfully proved theorems regarding homomorphisms, validating its approach to higher-order logic through lambda-conversion.

Key Insights

Ernst argues that the primary hurdle in automated theorem proving is often the length of the statement rather than the depth of the logic. TPI is designed to be insensitive to total proof length by ensuring that no individual subgoal becomes too complex. In this view, the machine serves as a "data filter" for human mathematicians, automating the straightforward parts of a proof so that human creativity can be applied to more profound challenges.

Limitations and Future Outlook

Despite its successes, TPI has limitations. Its handling of higher-order logic, while effective for certain problems, is not complete. Additionally, if a single subgoal remains "deep" or highly complex after decomposition, the SGS may still fail to find a proof.

Future work suggests a more collaborative "man-machine" interface. While TPI currently uses heuristics for tasks like conjecturing induction hypotheses, these could eventually be handled through interactive human input, combining mechanical efficiency with human intuition.

Summary updated

BibTeX
@inproceedings{ernst1973definition,
  author = {George W. Ernst},
  title = {{A Definition-Driven Theorem Prover}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1973},
}
Figure