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

\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.\\
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.
\begin{dpllCNFInput}
\item $\{a,b\}$
\item $\{\lnot a,c\}$
\item $\{a,\lnot d\}$
\item $\{\lnot b, c\}$
\item $\{\lnot c, d\}$
\item $\{\lnot c, e\}$
\item $\{d,\lnot e\}$
\end{dpllCNFInput}
% (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)