Lukas' Notes

Problem 1. (21 points)

Instruction

Let be the propositional formula:

  1. Which atoms are pure in ? Justify your answer.
  2. Compute a clausal normal form of by applying the CNF transformation algorithm with naming and optimisation-based on polarities of subformulas.
  3. Decide the satisfiability of the computed CNF formmula by applying the DPLL method to . If is satisfiable, give an interpretation which satisfies it.

Problem 2. (10 points)

Instruction

Consider a finite set of clauses such that no clause contains a positive literal. Is satisfiability of decidable without splitting? If yes, give an algorithm and argue for its correctness. If no, give a counterargument.

Problem 3. (12 points)

Does the following entailment hold?

  • If a robot completed a task, then, if robot reached the charging station, then robot delivered the package.
  • Robot reached the charging station.
  • Thus, either robot does not complete the task or robot delivered the package (or robot does not complete the task and robot delivered the package).

Give a proof or provide a countermodel.

Problem 4. (15 points)

Instruction

Consider the first-order theory

and the following formula :

Does the theory entail the formula ? Answer yes or no.
If yes, provide a first-order tableau proof.
If no, give and explain a countermodel that supports your answer.

Problem 5. (15 points)

Instruction

Let be a signature, where is a unary function symbol and is a constant. Let be the theory axiommised by the axioms:

where are variables and thus the above axioms are implicitly universally quantified. The symbol denotes the standrad equality predicate, axiomatised accordingly by the axioms of the theory of equality .

Is stably infinite? If so, prove it. If not, disprove it.

Problem 6. (27 points)

Instruction

Let be the formula

where

with being integer constants, being a unary function, being an integer array, and being interpreted in the standard way over the integers. Further, and are interpreted over the theory of arrays.

When considering the propositional structure of , assume that DPLL returns the following truth value assignments over the literals of :

  • and .
  • and .

For each , is satisfiable when considering the truth value assignment of to the literals of ? If it is, provide a theory model of . If not, describe the next step for checking the satisfiability of using DPLL(T).

When reasoning about theory literals to determine satisfiability of , use the Nelson-Oppen decision procedure to reason in the combination of theories. Use the decision procedures for the theory of uninterpreted functions and the one for arrays, and use simple mathematical reasoning for deriving new equalities among the constants in the theory of linear integer arithmetic. Provide sufficient details on your steps; importantly, state which theory decision procedure you use and detail the steps of each decision procedure. In particular, write down the congruence closures/classes and how you came up with them.