Abstract
Standard First-Order Logic (FOL) serves as the foundational framework for knowledge representation (KR), yet its inherent undecidability poses a significant hurdle for practical AI applications. This paper presents a variant of FOL based on relevance logic that achieves decidability by adopting a four-valued semantics. By restricting entailment to a "principled" subset of FOL, the proposed logic ensures that query answering remains computationally bounded, offering a mathematically sound alternative to the ad hoc heuristics often employed in KR systems.
Introduction
In the domain of Knowledge Representation, the ideal system balances expressive power with computational reliability. While First-Order Logic (FOL) provides the necessary expressivity to describe complex domains using quantifiers and logical connectives, it is semi-decidable; an automated reasoner may enter an infinite loop when attempting to determine if a statement follows from a knowledge base.
To circumvent this, developers frequently implement arbitrary "time-outs" or search depth limits. However, these "hacks" undermine the logical integrity of the system, as the resulting behavior is dictated by hardware performance or user patience rather than formal semantics. Peter Patel-Schneider proposes a solution by weakening FOL's inferential power in a controlled manner, resulting in a logic that is both expressive and guaranteed to terminate.
Methodology: Four-Valued Semantics and Situations
The core of this new logic lies in the transition from standard Tarskian semantics to a four-valued model inspired by relevance logic. In standard FOL, every proposition is either True or False. In this variant, a proposition can be True, False, Both (contradictory), or Neither (unknown).
Situations vs. Possible Worlds
Unlike "possible worlds," which are complete and consistent descriptions of reality, this logic utilizes "situations." Situations can be partial (lacking information about certain predicates) or inconsistent (containing contradictory information). This shift prevents the "explosion" principle of classical logic, where a single contradiction in a database allows for the derivation of any arbitrary conclusion.
Restricted Entailment
The author defines three distinct types of entailment based on how truth and falsity are preserved across situations:
- t-entailment: Preserves truth.
- f-entailment: Preserves falsity.
- tf-entailment: The most robust form, requiring both truth and falsity to be preserved in specific ways.
To make this practical, the logic employs an algorithm that converts sentences into Skolemized Prenex Conjunctive Normal Form (CNF) and uses a matching procedure to verify if a query is entailed by the knowledge base.
Key Insights: Trading Power for Predictability
The primary trade-off for achieving decidability is the abandonment of certain "hard" classical inferences. Specifically, the logic does not support:
- Modus Ponens: The ability to infer $B$ from $A$ and $A \to B$.
- Reasoning by Cases: The ability to infer $C$ from $A \vee B$ when both $A \to C$ and $B \to C$ hold.
By relinquishing these, the system focuses on explicit belief—what is immediately apparent on the "surface" of the knowledge base—rather than deep, implicit consequences that require potentially infinite search trees. The author argues for a "semantics first" approach: the AI's behavior should be defined by what is true in the model, not by how the code happens to run.
Results and Complexity
The paper successfully proves that $tf$-entailment for this first-order language is decidable. Crucially, this logic is a sound subset of FOL; any conclusion reached by this system would also be validated by standard FOL. While the worst-case complexity remains exponential due to the nature of disjunctive matching, the algorithm avoids the non-terminating paths of standard FOL provers, making it "reasonably fast" for typical KR queries.
Conclusion and Future Work
While the logic's inability to perform basic chaining (like Modus Ponens) limits its use as a general-purpose reasoner, it serves as a powerful tool for "fast, guaranteed" lookups. The author suggests that such a system could function as a component within a hybrid architecture—handling simple, guaranteed queries while a more powerful, albeit undecidable, FOL prover operates in the background for deeper reasoning tasks. Future research may explore stronger versions of relevance logic that maintain these decidability guarantees.
Summary updated