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.

87 lines
2.5 KiB

9 months ago
  1. \begin{prooftree}
  2. \AxiomC{$1. \; \clause{a;\lnot c;\lnot e$}}
  3. \AxiomC{$4. \; \clause{\lnot b;d;\lor e$}}
  4. \BinaryInfC{$\clause{a;\lnot b;\lnot c;d}$}
  5. \AxiomC{$7. \; \clause{c;d}$}
  6. \BinaryInfC{$\clause{a;\lnot b;d}$}
  7. \AxiomC{$5. \; \clause{\lnot b;\lnot d}$}
  8. \BinaryInfC{$\clause{a;\lnot b}$}
  9. \AxiomC{$8. \; \clause{a;b}$}
  10. \BinaryInfC{$\clause{a}$}
  11. \end{prooftree}
  12. \begin{dplltabular}{6}
  13. \dpllStep{(1)|11|12|13|14}
  14. \dpllDecL{0 |0 |0 |0 |0 }
  15. \dpllAssi{-|
  16. $a$|
  17. $a, \lnot e$|
  18. $a, \lnot e, b$|
  19. \makecell{$a, \lnot e$,\\ $ b, \lnot d$}}
  20. \dpllClause{1}{$a, \lnot c, \lnot e$}
  21. {$a, \lnot c, \lnot e$|\done|\done|\done|\done}
  22. \dpllClause{2}{$\lnot a, \lnot e$}
  23. {$\lnot a, \lnot e$|$\lnot e$|\done|\done|\done}
  24. \dpllClause{3}{$b,e$}
  25. {$b,e$|$b,e$|$b$|\done|\done}
  26. \dpllClause{4}{$\lnot b,d,e$}
  27. {$\lnot b,d,e$|$\lnot b,d,e$|$\lnot b,d$|$d$|\conflict}
  28. \dpllClause{5}{$\lnot b,\lnot d$}
  29. {$\lnot b,\lnot d$|$\lnot b,\lnot d$|$\lnot b,\lnot d$|$\lnot d$|\done}
  30. \dpllClause{6}{$c,\lnot d$}
  31. {$c,\lnot d$|$c,\lnot d$|$c,\lnot d$|$c,\lnot d$|\done}
  32. \dpllClause{7}{$c,d$}
  33. {$c,d$|$c,d$|$c,d$|$c,d$|$c$}
  34. \dpllClause{8}{$a,b$}
  35. {$a,b$|\done|\done|\done|\done}
  36. \dpllClause{9}{$a$}
  37. {$a$|\done|\done|\done|\done}
  38. \dpllBCP {$a$|$\lnot e$|$b$|$\lnot d$|-}
  39. \dpllPL {-|-|-|-|-}
  40. \dpllDeci{-|-|-|-|UNSAT}
  41. \end{dplltabular}
  42. \begin{conflictgraph}
  43. \node (0){};
  44. \node[base node] (A) [right of=0] {$a$};
  45. \node[base node] (notE) [right of=A] {$\lnot e$};
  46. \node[base node] (B) [right of=notE] {$b$};
  47. \node[base node] (D) [above right of=B] {$d$};
  48. \node[base node] (notD) [below right of=B] {$\lnot d$};
  49. \node[base node] (bot) [above right of=notD] {$\bot$};
  50. \path[]
  51. (0) edge [] node {9} (A)
  52. (A) edge [] node {2} (notE)
  53. (notE) edge [] node {3} (B)
  54. (B) edge [] node {4} (D)
  55. (notE) edge [bend left] node {4} (D)
  56. (B) edge [] node {5} (notD)
  57. (notD) edge [] node {} (bot)
  58. (D) edge [] node {} (bot);
  59. \end{conflictgraph}
  60. \begin{prooftree}
  61. \AxiomC{$5. \; \clause{\lnot b;\lnot d$}}
  62. \AxiomC{$4. \; \clause{\lnot b;d;\lor e$}}
  63. \BinaryInfC{$\clause{\lnot b;e}$}
  64. \AxiomC{$3. \; \clause{b;e}$}
  65. \BinaryInfC{$\clause{e}$}
  66. \AxiomC{$2. \; \clause{\lnot a;\lnot e}$}
  67. \BinaryInfC{$\clause{\lnot a}$}
  68. \AxiomC{$8. \; \clause{a}$}
  69. \BinaryInfC{$\clause{\bot}$}
  70. \end{prooftree}