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

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