Lecture 4 Exercises
Laura Kovács
Problem 4.1
Consider a total well-founded ordering on ground non-equality atoms, and use the same symbol for the induced literal ordering. Let and be ground clauses without equality literals, and let and denote the maximal atoms of and , respectively. Assume and are syntactically identical, that occurs negatively in , and that occurs only positively in . Show that .
Solution
Because and coincide, is the maximal atom of . Since occurs only positively in , every other literal in satisfies in the induced literal ordering. By properties of the multiset (bag) extension, this implies .
In , appears only negatively, so is a literal of . Moreover , and for every other atom in we have , meaning is the maximal literal of . Since the bag extension is monotone with respect to replacing the maximal element, the facts that and that is the maximal literal of together yield .
Problem 4.2
Let and be strict well-founded orderings over and , respectively. Define an ordering on by
Show that is well-founded.
Solution
Assume for contradiction that admits an infinite descending chain
For each step either the first component strictly decreases in or stays equal. Because is well-founded, the sequence has a minimal element , so for all . The definition of then forces for every , contradicting well-foundedness of . Hence is well-founded.
Problem 4.3
Let be a total well-founded ordering on ground atoms with . Consider the bag extension of , still denoted by . Compare the clauses
under this ordering.
Solution
Totality implies and whenever , so in particular , , , and . The bag ordering respects strict inclusion: if bag properly contains , then , hence and . Combining these comparisons yields
and therefore
Problem 4.4
Show that positive factoring in binary resolution can be represented using inference steps of the superposition calculus.
🎬 Related animation: Review first-order resolution and its resolvent.
Solution
Ignore selection functions. The positive factoring rule is
Encode non-equality literals as equalities to a dedicated constant . Then factoring corresponds to the superposition steps
followed by equality resolution
which recover the factored clause via superposition rules alone.