Lecture 2 Lab
Laura Kovács
Problem 2.1
Give an example of a non-tautological ground clause with at least one selected literal such that the selection is not well-behaved for any ordering.
Solution
Take . The maximal literal must be under any ordering, but only one occurrence is selected, so the selection can never satisfy the “select all maximal literals” requirement.
Problem 2.2
Let
- Prove is unsatisfiable using .
- Encode in TPTP and use Vampire (run with
-av off) to prove unsatisfiability.
Solution (sketch)
- Use binary resolution to derive unit clauses: resolve with to obtain , then propagate to derive and , eventually leading to a contradiction when resolving with clauses containing their negations. Any complete derivation is acceptable.
- Translate each clause into TPTP CNF syntax, run
vampire -av off input.tptp, and inspect the proof output to confirm the empty clause is produced.