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

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