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
1.1 KiB

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