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.4 KiB

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