You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
3.6 KiB

9 months ago
6 months ago
  1. \newcommand{\dpllDescription}[1]{Use the DPLL algorithm with conflict-driven clause learning to determine whether or not the set of clauses given is satisfiable. Decide variables in alphabetical order starting with the \textit{#1} phase. For conflicts, draw conflict graphs after the end of the table, and add the learned clause to the table.\\
  2. If the set of clauses resulted in \texttt{SAT}, give a satisfying model. If the set of clauses resulted in \texttt{UNSAT}, give a resolution proof that shows that the conjunction of the clauses from the table is unsatisfiable.}
  3. \newcommand{\dpllDescriptionAssignmentSheet}{Use the DPLL algorithm with the rules as described above to check whether the following formula in CNF is satisfiable}
  4. \newcommand{\ndDescription}{ For each of the following sequents, either provide a natural deduction proof, or a counter-example that proves the sequent invalid. \\
  5. \noindent For proofs, clearly indicate which rule, and what assumptions/premises/\\intermediate results you are using in each step. Also clearly indicate the scope of any boxes you use. \\
  6. \noindent For counterexamples, give a complete model. Show that the model satisfies
  7. the premise(s) of the sequent in question, but does not satisfy the respective conclusion.}
  8. \newcommand{\tseitinRules}{%
  9. We list the \emph{Tseitin-rewriting rules} to be applied for the following examples.
  10. \begin{align*}
  11. \chi \leftrightarrow (\phi \lor \psi) \quad &\Leftrightarrow \tseitinOr{\chi}{\phi}{\psi} \\
  12. \chi \leftrightarrow (\phi \land \psi) \quad &\Leftrightarrow \tseitinAnd{\chi}{\phi}{\psi} \\
  13. \chi \leftrightarrow \lnot \phi \quad &\Leftrightarrow \tseitinNot{\chi}{\phi}
  14. \end{align*}
  15. }
  16. \newcommand{\constructROBDD}[2]{%
  17. Construct the reduced and ordered BDD for the formula%
  18. $$#1$$%
  19. using #2.
  20. Compute the needed cofactors.
  21. You may add function nodes representing all cofactors to the final BDD.
  22. Use complemented edges and one terminal node representing the truth value $\T$. To simplify drawing, you may assume that dangling edges point to the constant node.}
  23. \newcommand{\BDDToROBDD}{%
  24. Transform the given Binary Decision Diagram into a reduced and ordered BDD.}
  25. \newcommand{\BDDToDNF}{%
  26. Given the following Binary Decision Diagram that represents the formula $f$. Compute its disjunctive normal form \DNF{f}.}
  27. \newcommand{\computeCNFDNF}[1][\varphi]{%
  28. Compute \DNF{#1} and \CNF{#1} using a truth table.
  29. }
  30. \newcommand{\CNFfromCircuit}{%
  31. Compute the propositional formula $\varphi$ represented by the following circuit. Furthermore, compute an equisatisfiable formula $\varphi'$ using the Tseitin transformation.
  32. }
  33. \newcommand{\applyTseitin}[1]{%
  34. Apply the Tseitin transformation to #1. For each variable you introduce, clearly indicate which subformula it represents.
  35. }
  36. \newcommand{\applyCC}[1]{%
  37. Consider the following formula in the conjunctive fragment of $\mathcal{T}_{EUF}$.
  38. #1
  39. Use the congruence closure algorithm to determine whether this formula is satisfiable.
  40. }
  41. \newcommand{\applyAckermann}[1]{%
  42. Given the formula
  43. #1
  44. Apply the Ackermann reduction to compute an equisatisfiable formula in $\mathcal{T}_{E}$.
  45. }
  46. \newcommand{\applyGB}[1]{%
  47. Perform the graph-based reduction to translate the following formula in $\mathcal{T}_{E}$ into an
  48. equisatisfiable formula in propositional logic.
  49. #1
  50. }
  51. \newcommand{\applyEagerEUF}[1]{%
  52. Consider the following formula in $\mathcal{T}_{EUF}$.
  53. #1
  54. \begin{itemize}
  55. \item Use Ackermann's reduction to compute an equisatisfiable formula in $\mathcal{T}_{E}$.
  56. \item Then perform the graph-based reduction on the outcome of Ackermann's reduction to construct an equisatisfiable propositional formula $\phi_{prop}$.
  57. \end{itemize}
  58. }