Abstract
This paper introduces a "Deductive Processor" (DP) designed to interface with relational database management systems (RDMS). By integrating formal logic with large-scale data storage, the DP enables the retrieval of information that is logically implied but not explicitly stored. The system employs novel techniques such as Predicate Connection Graphs and middle-term chaining to generate proof plans, effectively separating high-level logical reasoning from low-level data retrieval to avoid the computational bottlenecks of traditional theorem provers.
Introduction
In the late 1970s, Relational Data Management Systems (RDMS) were proficient at handling specific facts but lacked the ability to perform logical inference. For instance, while a database could store the location of a ship and the country of a port, it could not automatically conclude the ship's country without explicit entry. Conversely, existing AI deductive systems were often too slow for large datasets due to the "combinatorial explosion" of search paths. This research addresses the need for a scalable reasoning layer that acts as an "inference by exception" system for large databases.
Methods
The primary contribution is the Deductive Processor (DP), a modular system that sits between the user and the RDMS.
The DP utilizes several key strategies for efficiency:
- Predicate Connection Graph (PCG): Pre-computes interactions between rules to create a "map" of deductive paths, stored as bit-vectors for rapid traversal.
- Middle-Term Chaining: A hybrid search strategy that chains forward from query assumptions and backward from goals simultaneously.
- Separation of Planning and Verification: The system first constructs a "skeletal derivation" or proof plan without accessing the database. Only after a valid logical structure is identified does the Proof Plan Verifier substitute real variables and fetch facts.
- Semantic Filtering: Prunes the search space by ensuring variables match domain classes (e.g., distinguishing a "SHIP" from a "PORT").
Results and Insights
The system was prototyped on an IBM 370/158 using a LISP-based RDMS and a naval logistics dataset. It demonstrated the ability to handle complex queries requiring multi-step reasoning across hundreds of premises.
A key insight is the "Deduction by Exception" design: if a query can be answered by a direct database search, the DP is bypassed. When deduction is required, the use of proof planning prevents the "dead ends" typical of earlier AI systems. Furthermore, by generating formal proofs, the system provides transparent "evidence-based" answers to the user.
Conclusion
While the prototype focused on naval logistics and relied on primitive if-then rules, it established a foundational framework for deductive databases. Future work identified the need for more complex semantic networks, handling uncertainty through plausibility scores, and integrating natural language interfaces.
Summary updated