Theorem Provers as Question Answerers

Jared L. Darlington

Abstract

This paper explores the application of automated theorem-proving techniques, specifically Robinson’s resolution, to the domain of deductive question-answering. By integrating advanced logical pruning strategies—such as PI-deduction and the Set of Support—with specialized predicate indexing, the author demonstrates an efficient system capable of navigating large datasets to perform complex logical inferences. The work highlights how the extraction of specific data points can be framed as a theorem-proving task, providing a robust framework for answering queries that go beyond simple keyword matching.

Introduction

In the foundational era of computational logic, a primary hurdle was transitioning from basic data retrieval to sophisticated "deductive" question-answering. While traditional databases excel at retrieving explicit facts (e.g., "John is a Senator"), they historically struggled with queries requiring logical synthesis, such as identifying Republican Senators from states with Democratic governors, unless specifically programmed for that query.

This paper addresses the challenge of logical inference at scale. Specifically, it investigates how a system can perform complex deductions without becoming overwhelmed by "irrelevant searches" within a large knowledge base. In a typical database, most facts are noise relative to a specific question; the goal here is to use the rigors of formal logic to extract answers efficiently, even when the search space is cluttered with thousands of unrelated premises.

Methodology

The system is built upon the Robinson resolution procedure, a fundamental algorithm in formal logic used to prove theorems by contradiction. To make this procedure practical for real-world data retrieval, the author integrates several optimization techniques:

  • PI-Deduction with Set of Support: Based on Meltzer’s work, this strategy restricts the search space by ensuring the prover only focuses on clauses derived from the question or its immediate logical requirements. This prevents the system from wandering into irrelevant parts of the database.
  • First-Literal Resolution: A method by Hayes and Kowalski that further streamlines the inference process by prioritizing specific parts of logical statements.
  • Predicate Indexing: The program utilizes a "dictionary listing" of premises. Instead of scanning every fact, it indexes data by predicates and key constants. This allows the system to immediately discard premises that do not share the same "vocabulary" as the query.
  • The Var Predicate: Borrowing a technique from Green and Raphael, the author employs a special predicate called Var. This is the "secret sauce" that turns a standard proof—which usually results in a binary "True" or "False"—into an answer-extraction tool. It allows the system to bind specific values (like names of people) to variables and return them as a list of results.

Experimental Data

The system was evaluated using a custom-built database containing US political data. This included names, party affiliations, and roles of all Senators, Congressmen, and Governors across the fifty American states. The database also included the logical relationships between these entities, such as which senator belongs to which state and which party, providing a rich environment for testing multi-step deductions.

Key Insights: Theorem Proving as Retrieval

The core insight of this research is that finding an answer to a question is functionally identical to proving a mathematical theorem. If one can prove that "There exists an $X$ such that $X$ is a Senator," the proof itself contains the identity of $X$.

Furthermore, the paper emphasizes that the bottleneck in artificial intelligence is often not the capacity to "think," but the ability to "ignore." By using the Set of Support and predicate indexing, the system spends less time looking at irrelevant data. This pruning is crucial for scaling to larger knowledge bases. Because of the Var predicate, the system is not limited to "Yes/No" questions; it can handle "Which" and "How many" questions, making it a precursor to modern SQL-like queries but with the added power of logical deduction.

Results and Discussion

The author reports that the program successfully performed complex deductions with high efficiency. Even when the database was loaded with a large number of irrelevant premises, the pruning techniques (PI-deduction and first-literal resolution) allowed the program to zero in on the correct answer without a combinatorial explosion in processing time. The system successfully distinguished between questions requiring a single answer and those requiring a list of individuals satisfying a complex condition.

Limitations and Future Work

Despite its success, the system has several limitations:

  1. Natural Language Interface: The input is likely already formatted into logical predicates; the bridge between natural English and these formal predicates is not the focus of this work.
  2. Scalability: While efficient for its time, the resolution procedure is known to have exponential complexity in worst-case scenarios. The paper does not address how the system would handle truly massive, web-scale datasets.
  3. Data Ingestion: The "dictionary listing" requires a structured database. The paper does not address how to automate the ingestion of unstructured text into this formal format.

Summary updated

BibTeX
@inproceedings{darlington1969theorem,
  author = {Jared L. Darlington},
  title = {{Theorem Provers as Question Answerers}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1969},
}
Figure