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.
 
 

45 lines
1.5 KiB

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