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.

107 lines
3.8 KiB

5 months ago
  1. \hspace{-0.09cm}\scalebox{0.85}{
  2. \begin{dplltabular}{5}
  3. \dpllStep{12|13|14|15|16}
  4. \dpllDecL{0|0|0|0|0}
  5. \dpllAssi{ - |$a$|$a, c$|$a, c, b$|\makecell{$a, c, b, $ \\ $\lnot e$}}
  6. \dpllClause{1}{$\lnot b, \lnot e$}{$\lnot b, \lnot e$|$\lnot b, \lnot e$|$\lnot b, \lnot e$|$\lnot e$|\done}
  7. \dpllClause{2}{$a, d, e$}{$a, d, e$|\done|\done|\done|\done}
  8. \dpllClause{3}{$b, \lnot c$}{$b, \lnot c$|$b, \lnot c$|$b$|\done|\done}
  9. \dpllClause{4}{$c, \lnot d, e$}{$c, \lnot d, e$|$c, \lnot d, e$|\done|\done|\done}
  10. \dpllClause{5}{$\lnot c, e$}{$\lnot c, e$|$\lnot c, e$|$e$|$e$|\conflict}
  11. \dpllClause{6}{$\lnot a, c$}{$\lnot a, c$|$c$|\done|\done|\done}
  12. \dpllClause{7}{$a, b, \lnot e$}{$a, b, \lnot e$|\done|\done|\done|\done}
  13. \dpllClause{8}{$a, b$}{$a, b$|\done|\done|\done|\done}
  14. \dpllClause{9}{$a$}{$a$|\done|\done|\done|\done}
  15. \dpllBCP{$a$|$c$|$b$|$\lnot e$| - }
  16. \dpllPL{ - | - | - | - | - }
  17. \dpllDeci{ - | - | - | - |UNSAT}
  18. \end{dplltabular}
  19. }
  20. Conflict in step 16\\
  21. \scalebox{0.75}{
  22. \begin{tikzpicture}[>=latex,line join=bevel,]
  23. \pgfsetlinewidth{1bp}
  24. %%
  25. \pgfsetcolor{black}
  26. % Edge: 0 -> 6
  27. \draw [->] (1.0536bp,30.0bp) .. controls (2.5071bp,30.0bp) and (33.188bp,30.0bp) .. (64.696bp,30.0bp);
  28. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  29. \pgfsetstrokecolor{strokecol}
  30. \draw (33.0bp,37.5bp) node {$$9$$};
  31. % Edge: 2 -> 1
  32. \draw [->] (344.16bp,45.662bp) .. controls (352.01bp,41.945bp) and (363.56bp,36.472bp) .. (382.68bp,27.417bp);
  33. % Edge: 3 -> 2
  34. \draw [->] (259.3bp,50.0bp) .. controls (272.47bp,50.0bp) and (295.58bp,50.0bp) .. (322.88bp,50.0bp);
  35. \draw (291.0bp,57.5bp) node {$$1$$};
  36. % Edge: 4 -> 1
  37. \draw [->] (301.95bp,12.194bp) .. controls (318.12bp,14.134bp) and (350.4bp,18.008bp) .. (381.79bp,21.775bp);
  38. % Edge: 5 -> 3
  39. \draw [->] (172.97bp,32.373bp) .. controls (186.23bp,35.53bp) and (209.98bp,41.186bp) .. (237.05bp,47.63bp);
  40. \draw (205.0bp,49.5bp) node {$$3$$};
  41. % Edge: 5 -> 4
  42. \draw [->] (172.07bp,25.196bp) .. controls (177.42bp,22.594bp) and (184.42bp,19.594bp) .. (191.0bp,18.0bp) .. controls (217.72bp,11.525bp) and (249.6bp,10.402bp) .. (280.0bp,10.619bp);
  43. \draw (205.0bp,25.5bp) node {$$5$$};
  44. % Edge: 6 -> 5
  45. \draw [->] (87.3bp,30.0bp) .. controls (100.47bp,30.0bp) and (123.58bp,30.0bp) .. (150.88bp,30.0bp);
  46. \draw (119.0bp,37.5bp) node {$$6$$};
  47. % Node: 6
  48. \begin{scope}
  49. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  50. \pgfsetstrokecolor{strokecol}
  51. \draw (76.0bp,30.0bp) ellipse (11.0bp and 11.0bp);
  52. \draw (76.0bp,30.0bp) node {$a$};
  53. \end{scope}
  54. % Node: 1
  55. \begin{scope}
  56. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  57. \pgfsetstrokecolor{strokecol}
  58. \draw (393.0bp,23.0bp) ellipse (11.0bp and 11.0bp);
  59. \draw (393.0bp,23.0bp) node {$\bot$};
  60. \end{scope}
  61. % Node: 2
  62. \begin{scope}
  63. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  64. \pgfsetstrokecolor{strokecol}
  65. \draw (334.0bp,50.0bp) ellipse (11.0bp and 11.0bp);
  66. \draw (334.0bp,50.0bp) node {$\lnot e$};
  67. \end{scope}
  68. % Node: 3
  69. \begin{scope}
  70. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  71. \pgfsetstrokecolor{strokecol}
  72. \draw (248.0bp,50.0bp) ellipse (11.0bp and 11.0bp);
  73. \draw (248.0bp,50.0bp) node {$b$};
  74. \end{scope}
  75. % Node: 4
  76. \begin{scope}
  77. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  78. \pgfsetstrokecolor{strokecol}
  79. \draw (291.0bp,11.0bp) ellipse (11.0bp and 11.0bp);
  80. \draw (291.0bp,11.0bp) node {$e$};
  81. \end{scope}
  82. % Node: 5
  83. \begin{scope}
  84. \definecolor{strokecol}{rgb}{0.0,0.0,0.0};
  85. \pgfsetstrokecolor{strokecol}
  86. \draw (162.0bp,30.0bp) ellipse (11.0bp and 11.0bp);
  87. \draw (162.0bp,30.0bp) node {$c$};
  88. \end{scope}
  89. %
  90. \end{tikzpicture}
  91. }
  92. \begin{prooftree}
  93. \AxiomC{$1. \; \lnot b \lor \lnot e$}
  94. \AxiomC{$3. \; b \lor \lnot c$}
  95. \BinaryInfC{$\lnot e \lor \lnot c$}
  96. \AxiomC{$5. \; \lnot c \lor e$}
  97. \BinaryInfC{$\lnot c$}
  98. \AxiomC{$6. \; \lnot a \lor c$}
  99. \BinaryInfC{$\lnot a$}
  100. \AxiomC{$9. \; a$}
  101. \BinaryInfC{$\bot$}
  102. \end{prooftree}