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.
 
 

17 lines
790 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, d$|$a, d, e$|\makecell{$a, d, e, $ \\ $\lnot c$}}
\dpllClause{1}{$\lnot c, d$}{$\lnot c, d$|$\lnot c, d$|\done|\done|\done}
\dpllClause{2}{$a, \lnot d, \lnot e$}{$a, \lnot d, \lnot e$|\done|\done|\done|\done}
\dpllClause{3}{$b, \lnot c$}{$b, \lnot c$|$b, \lnot c$|$b, \lnot c$|$b, \lnot c$|\done}
\dpllClause{4}{$c, e$}{$c, e$|$c, e$|$c, e$|\done|\done}
\dpllClause{5}{$\lnot b, \lnot c$}{$\lnot b, \lnot c$|$\lnot b, \lnot c$|$\lnot b, \lnot c$|$\lnot b, \lnot c$|\done}
\dpllClause{6}{$a, b$}{$a, b$|\done|\done|\done|\done}
\dpllBCP{ - | - | - | - | - }
\dpllPL{$a$|$d$|$e$|$\lnot c$| - }
\dpllDeci{ - | - | - | - |SAT}
\end{dplltabular}
}