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.

51 lines
2.4 KiB

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