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.

64 lines
2.0 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|3}
  5. \dpllAssi{ - |$a$|$a, b$|$a, b, c$}
  6. \dpllClause{1}{$a, b, c$}{$a, b, c$|\done|\done|\done}
  7. \dpllClause{2}{$a, \lnot b, \lnot c$}{$a, \lnot b, \lnot c$|\done|\done|\done}
  8. \dpllClause{3}{$\lnot a, \lnot b, c$}{$\lnot a, \lnot b, c$|$\lnot b, c$|$c$|\done}
  9. \dpllClause{4}{$a, b, \lnot c$}{$a, b, \lnot c$|\done|\done|\done}
  10. \dpllClause{5}{$\lnot c, \lnot a$}{$\lnot c, \lnot a$|$\lnot c$|$\lnot c$|\conflict}
  11. \dpllBCP{ - | - | - | - }
  12. \dpllPL{ - | - | - | - }
  13. \dpllDeci{$a$|$b$|$c$| - }
  14. \end{dplltabular}
  15. }
  16. \hspace{-0.09cm}\scalebox{0.85}{
  17. \begin{dplltabular}{2}
  18. \dpllStep{5|6}
  19. \dpllDecL{2|3}
  20. \dpllAssi{$a, b$|$a, b, \lnot c$}
  21. \dpllClause{1}{$a, b, c$}{\done|\done}
  22. \dpllClause{2}{$a, \lnot b, \lnot c$}{\done|\done}
  23. \dpllClause{3}{$\lnot a, \lnot b, c$}{$c$|\conflict}
  24. \dpllClause{4}{$a, b, \lnot c$}{\done|\done}
  25. \dpllClause{5}{$\lnot c, \lnot a$}{$\lnot c$|\done}
  26. \dpllBCP{ - | - }
  27. \dpllPL{ - | - }
  28. \dpllDeci{$\lnot c$| - }
  29. \end{dplltabular}
  30. }
  31. \hspace{-0.09cm}\scalebox{0.85}{
  32. \begin{dplltabular}{3}
  33. \dpllStep{7|8|9}
  34. \dpllDecL{1|2|3}
  35. \dpllAssi{$a$|$a, \lnot b$|$a, \lnot b, c$}
  36. \dpllClause{1}{$a, b, c$}{\done|\done|\done}
  37. \dpllClause{2}{$a, \lnot b, \lnot c$}{\done|\done|\done}
  38. \dpllClause{3}{$\lnot a, \lnot b, c$}{$\lnot b, c$|\done|\done}
  39. \dpllClause{4}{$a, b, \lnot c$}{\done|\done|\done}
  40. \dpllClause{5}{$\lnot c, \lnot a$}{$\lnot c$|$\lnot c$|\conflict}
  41. \dpllBCP{ - | - | - }
  42. \dpllPL{ - | - | - }
  43. \dpllDeci{$\lnot b$|$c$| - }
  44. \end{dplltabular}
  45. }
  46. \hspace{-0.09cm}\scalebox{0.85}{
  47. \begin{dplltabular}{2}
  48. \dpllStep{10|11}
  49. \dpllDecL{2|3}
  50. \dpllAssi{$a, \lnot b$|$a, \lnot b, \lnot c$}
  51. \dpllClause{1}{$a, b, c$}{\done|\done}
  52. \dpllClause{2}{$a, \lnot b, \lnot c$}{\done|\done}
  53. \dpllClause{3}{$\lnot a, \lnot b, c$}{\done|\done}
  54. \dpllClause{4}{$a, b, \lnot c$}{\done|\done}
  55. \dpllClause{5}{$\lnot c, \lnot a$}{$\lnot c$|\done}
  56. \dpllBCP{ - | - }
  57. \dpllPL{ - | - }
  58. \dpllDeci{$\lnot c$|SAT}
  59. \end{dplltabular}
  60. }