Lecture
As described above, the resolution rule applies only to literal clauses, so at first glance it applies only to knowledge bases and queries consisting of such clauses. On what basis do we argue that this rule can serve as the basis for a complete logical inference procedure for all propositional logic? The answer to this question is that each statement of propositional logic is logically equivalent to a conjunction of disjunctions of literals .
Any statement presented as a conjunction of literal disjunctions is called a conjunctive normal form , or CNF (Conjunctive Normal Form). In addition, it will be shown below that it is also advisable to define a limited family of statements in conjunctive normal form, called sentences in the form of k-CNF . The statement in the form of k-CNF has exactly 7c literals per expression:
(l 1,1 v ... vl 1, k ) ^ ... ^ (l n, 1 v ... vl n, k )
As it turned out, any statement can be transformed into a 3-CNF statement, which has an equivalent set of models. Instead of proving these statements, we describe a simple transformation procedure. We illustrate this procedure by transforming R 2 , or B 1.1 <=> (P 1,2 vP 2,1 ), into the form CNF. The following steps describe the relevant steps.
Now the original statement is presented in the form of CNF, as a conjunction of three expressions. This statement has become more difficult to read, but it can be used as input to the resolution procedure.
Comments
To leave a comment
Knowledge Representation Models
Terms: Knowledge Representation Models