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.
 
 

18 lines
860 B

\hspace{-0.09cm}\scalebox{0.85}{
\begin{dplltabular}{5}
\dpllStep{1|2|3|4|5}
\dpllDecL{0|0|0|0|0}
\dpllAssi{ - |$a$|$a, c$|$a, c, e$|\makecell{$a, c, e, $ \\ $\lnot b$}}
\dpllClause{1}{$a, \lnot c, \lnot e$}{$a, \lnot c, \lnot e$|\done|\done|\done|\done}
\dpllClause{2}{$a, \lnot e$}{$a, \lnot e$|\done|\done|\done|\done}
\dpllClause{3}{$b, e$}{$b, e$|$b, e$|$b, e$|\done|\done}
\dpllClause{4}{$\lnot b, d$}{$\lnot b, d$|$\lnot b, d$|$\lnot b, d$|$\lnot b, d$|\done}
\dpllClause{5}{$\lnot b, \lnot d$}{$\lnot b, \lnot d$|$\lnot b, \lnot d$|$\lnot b, \lnot d$|$\lnot b, \lnot d$|\done}
\dpllClause{6}{$c, \lnot d$}{$c, \lnot d$|$c, \lnot d$|\done|\done|\done}
\dpllClause{7}{$c, d$}{$c, d$|$c, d$|\done|\done|\done}
\dpllBCP{ - | - | - | - | - }
\dpllPL{$a$|$c$|$e$|$\lnot b$| - }
\dpllDeci{ - | - | - | - |SAT}
\end{dplltabular}
}