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
1008 B

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