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.

14 lines
891 B

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