A satisfiability preserving transformation (SPT) takes a set of formulae and transforms it to a new set, such that if the original set is satisfiable then so is the transformed set. Conversely, if the transformed set is unsatisfiable then so is the original set. If, by repetitive use, the application of SPTs produces a set that is obviously unsatisfiable (e.g., containing a contradiction or FALSE) from a set of formulae, then, iteratively, this means that the very original set is also unsatisfiable. If the original set is of the form Ax U {~C}, this establishes that C is a logical consequence of Ax.
The operation of applying a sound inference rule to parents from a set, and then adding the inferred formula back into the set, is a SPT (think why!). (There are other SPTs, but this is an important one.) Thus sound inference rules form the basis of a a simple algorithm for establishing logical consequence. The basic procedure is:
Put the axioms and negated conjecture in the initial set While a contradiction has not been found Copy formulae from the set Generate logical consequences Put logical consequences into the setThe process of finding a contradiction is called finding a refutation. An inference system is refutation complete if, by repetitive use, it can infer a contradiction from every unsatisfiable set.
Note: A complete inference system can infer all logical consequences, while a refutation complete inference system can only check (via the unsatisfiability idea) for logical consequence.
There are satisfiability preserving transformations from 1st order logic to CNF, i.e., a set of formulae is satisfiable iff its clause normal form is satisfiable.
To show that C is a logical consequence of Ax, it is sufficient to:
A Herbrand interpretation
A set of clauses has a model iff it has a Herbrand model.
To show that C is a logical consequence of Ax, it is sufficient to:
A set of clauses has a model iff it has a Herbrand model, so
Resolution is a sound inference rule, i.e.,
if a set S of clauses is Herbrand satisfiable, then S U
{a resolvant from S} is also Herbrand satisfiable..
To show that C is a logical consequence of Ax, it is sufficient to:
If a set S U {a resolvant from S} of clauses is Herbrand
unsatisfiable, then S is Herbrand unsatisfiable, so
The CNF saturation procedure is refutation complete
To show that C is a logical consequence of Ax, it is sufficient to:
R defines a mapping from the Herbrand base to {TRUE,FALSE}.
Resolution Inference Rules
Resolution is an inference rule (with many variants) that takes
two or more parent clauses and soundly infers new clauses.
A special case of resolution is when the parent causes are contradictory,
and an empty clause is inferred.
Resolution is a general form of modus ponens.
The CNF Saturation Procedure
The basic CNF saturation procedure is:
While a refutation has not been found
Copy two clauses from the set
Generate all logical consequences, e.g., by resolution
Put logical consequences into the set
Note the "Copy", indicating that a clause may be used multiple
times with a new set of variables each time.
The CNF saturation procedure is refutation complete, so
Exam Style Questions