The clause set is empty. Hence, is satisfiable. A satisfying interpretation is:
The naming transformation introduces fresh atoms and satisfies
Hence, an interpretation of is translated back by projecting it onto the atoms of : discard the assignments to the naming atoms and retain the assignments to , , and . Here this gives
Indeed,
Thus, there is no need to substitute the definitions of back into the formula. They are auxiliary witnesses and can be discarded once a satisfying assignment has been found.
Problem 2. (15 points)
Problem 2. (15 points)
Suppose we know that:
If Paolo is thin, then Carlo is not blonde or Roberta is not tall.
If Roberta is tall, then Sandra is lovely.
If Sandra is lovely and Carlo is blonde, then Paolo is thin.
Carlo is blonde.
Can we conclude that Roberta is not tall? Formalise this problem in logic and argue whether the entailment holds.
Let be the set of clauses obtained from by applying the standard conjunctive normal form transformation (that is, without naming clauses). Let be an atom occurring in . Show that is pure in if and only if one of the literals or is pure in .
Solution
Let be an atom occurring in , and define to be the set of polarities of in . The standard conjunctive normal form transformation first eliminates implications:
which does not change the polarity of any occurrence.
Next, the transformation pushes negations inwards using De Morgan and double negation, i.e.,
However, none of those rules change the polarity of a single atom, given that the negations do not disappear in the first two cases, while the latter rule shortens the double-flip path to the atom.
Finally, the transformation distributes over
which only duplicates occurrences, never changes their polarities.
Therefore, none of the operations changes the polarity of any atom , i.e., no transformation of in causes polarity changes in .
Problem 4. (15 points)
Problem 4. (15 points)
Provide either a proof or a counterexample for the following statement: