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.
 
 

19 lines
1.3 KiB

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