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

9 months ago
  1. \hspace{-0.09cm}\scalebox{0.85}{
  2. \begin{dplltabular}{5}
  3. \dpllStep{1|2|3|4|5}
  4. \dpllDecL{0|1|2|3|4}
  5. \dpllAssi{ - |$\lnot a$|$\lnot a, \lnot b$|$\lnot a, \lnot b, \lnot c$|\makecell{$\lnot a, \lnot b, \lnot c, $ \\ $\lnot d$}}
  6. \dpllClause{1}{$\lnot a, \lnot b$}{$\lnot a, \lnot b$|\done|\done|\done|\done}
  7. \dpllClause{2}{$c, \lnot d$}{$c, \lnot d$|$c, \lnot d$|$c, \lnot d$|$\lnot d$|\done}
  8. \dpllClause{3}{$a, \lnot b$}{$a, \lnot b$|$\lnot b$|\done|\done|\done}
  9. \dpllClause{4}{$c, d$}{$c, d$|$c, d$|$c, d$|$d$|\conflict}
  10. \dpllBCP{ - | - | - | - | - }
  11. \dpllPL{ - | - | - | - | - }
  12. \dpllDeci{$\lnot a$|$\lnot b$|$\lnot c$|$\lnot d$| - }
  13. \end{dplltabular}
  14. }
  15. \hspace{-0.09cm}\scalebox{0.85}{
  16. \begin{dplltabular}{2}
  17. \dpllStep{6|7}
  18. \dpllDecL{3|4}
  19. \dpllAssi{$\lnot a, \lnot b, \lnot c$|\makecell{$\lnot a, \lnot b, \lnot c, $ \\ $d$}}
  20. \dpllClause{1}{$\lnot a, \lnot b$}{\done|\done}
  21. \dpllClause{2}{$c, \lnot d$}{$\lnot d$|\conflict}
  22. \dpllClause{3}{$a, \lnot b$}{\done|\done}
  23. \dpllClause{4}{$c, d$}{$d$|\done}
  24. \dpllBCP{ - | - }
  25. \dpllPL{ - | - }
  26. \dpllDeci{$d$| - }
  27. \end{dplltabular}
  28. }
  29. \hspace{-0.09cm}\scalebox{0.85}{
  30. \begin{dplltabular}{2}
  31. \dpllStep{8|9}
  32. \dpllDecL{2|3}
  33. \dpllAssi{$\lnot a, \lnot b$|$\lnot a, \lnot b, c$}
  34. \dpllClause{1}{$\lnot a, \lnot b$}{\done|\done}
  35. \dpllClause{2}{$c, \lnot d$}{$c, \lnot d$|\done}
  36. \dpllClause{3}{$a, \lnot b$}{\done|\done}
  37. \dpllClause{4}{$c, d$}{$c, d$|\done}
  38. \dpllBCP{ - | - }
  39. \dpllPL{ - | - }
  40. \dpllDeci{$c$|SAT}
  41. \end{dplltabular}
  42. }