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