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.
 
 

29 lines
624 B

\begin{dplltabular}{5}
\dpllStep{1|2|3|4}
\dpllDecL{0|0|0|0}
\dpllAssi{-|
$a$|
$a, b$|
$a, b, \lnot c$}
\dpllClause{1}{$a, \lnot b, c$}
{$a, \lnot b, c$|\done|\done|\done}
\dpllClause{2}{$b, \lnot c, d$}
{$b, \lnot c, d$|$b, \lnot c, d$|\done|\done}
\dpllClause{3}{$a, \lnot b$}
{$a, \lnot b$|\done|\done|\done}
\dpllClause{4}{$a, c$}
{$a, c$|\done|\done|\done}
\dpllClause{5}{$\lnot c, \lnot d$}
{$\lnot c, \lnot d$|$\lnot c, \lnot d$|$\lnot c, \lnot d$|\done}
\dpllBCP{-|-|-|-}
\dpllPL{$a$|$b$|$\lnot c$|-}
\dpllDeci{-|-|-|SAT}
\end{dplltabular}