Introduction
Automated theorem proving (ATP) in first-order logic is a foundational challenge in computer science. Because the search space is infinite and the logic is undecidable, traditional provers often struggle with "blind" search. Systems like OTTER use purely syntactic rules, such as resolution, to derive new formulas. While efficient at symbol manipulation, these provers frequently generate millions of "true but useless" statements because they lack semantic guidance—a sense of the "meaning" or "goal" of the proof.
SCOTT (Semantically Constrained Otter) addresses this by integrating semantic information into a forward-chaining prover. By using finite models to guide the search, SCOTT can prune massive portions of the search space that are semantically irrelevant, solving complex logic problems previously out of reach for purely symbolic systems.
Methodology: Integrating OTTER and FINDER
SCOTT is a hybrid system that marries two distinct components: OTTER, a high-performance theorem prover, and FINDER, a model generator that identifies finite models for sets of clauses using constraint satisfaction techniques.
The core innovation is the use of a "guiding model" provided by FINDER to categorize clauses. Clauses are labeled as "safe" (true in the model) or "unsafe" (false in the model). According to a key theorem in logic, if a set of clauses is inconsistent, a proof can be found without ever needing to resolve two "safe" clauses together. This allows SCOTT to ignore a vast number of potential inferences.
Beyond pruning, SCOTT employs a False Preference Strategy. Since the goal of resolution is to find a contradiction (the "empty clause," which is always false), SCOTT prioritizes "unsafe" clauses. By assigning higher weights to "safe" clauses, it delays their selection, pushing the search toward the "falsehoods" that lead to the goal. Furthermore, SCOTT features Dynamic Model Generation, calling FINDER during the proof search to refine models as the set of "safe" clauses grows.
Benchmark Problems
The system was evaluated on several difficult problems in propositional and non-classical logics:
- Classical Pure Implication: Deriving axioms from a single complex axiom by Lukasiewicz.
- Intuitionist Logic: A problem involving Karpenko’s axioms, which remained unsolved by machines until SCOTT.
- Many-Valued Logic: Axiomatizations of Lukasiewicz’s many-valued logic.
Key Results and Performance Gains
The results demonstrate that semantic guidance provides more than just marginal improvement. In the case of Intuitionist Logic, SCOTT solved a previously open problem. Compared to a "tuned" version of OTTER, SCOTT was 56 times faster and generated 60 times fewer clauses. Against an "untuned" OTTER, the speedup reached a staggering 3,239x.
As shown in the table above, SCOTT consistently achieves significant "factors" of improvement (OTTER performance divided by SCOTT performance). For the hardest problem in the Lukasiewicz set (Problem 5), SCOTT reduced generated clauses by nearly 3x and halved the search time.
Discussion and Future Work
While SCOTT represents a significant leap forward, it is not without limitations. Model generation is computationally expensive; if FINDER takes too long, the benefits of pruning are negated. Additionally, parameters like the "safety weight" (the penalty for safe clauses) currently require manual adjustment, as no automatic method for finding optimal values is known.
Future work includes exploring the completeness of semantic resolution for complex rules like hyper-resolution and automating heuristic tuning. While SCOTT excels at specific logic benchmarks, the author notes that semantic resolution is not a "magic bullet" and its effectiveness varies depending on the problem domain.
Summary updated