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.

15 lines
1001 B

9 months ago
  1. \item 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{negative} 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. \begin{dpllCNFInput}
  4. \item $(a \lor \lnot b \lor c)$
  5. \item $(\lnot a \lor \lnot b \lor \lnot c)$
  6. \item $(a \lor c \lor \lnot e)$
  7. \item $(b \lor \lnot c \lor e)$
  8. \item $(c \lor e)$
  9. \item $(b \lor \lnot d)$
  10. \item $(\lnot b \lor d)$
  11. \item $(\lnot c \lor e)$
  12. \end{dpllCNFInput}
  13. % (a or not b or c) and (not a or not b or not c) and (a or c or not e) and (b or not c or e) and (c or e) and (b or not d) and (not b or d) and (not c or e)