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.

17 lines
861 B

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|2|2}
  5. \dpllAssi{ - |$\lnot a$|$\lnot a, \lnot b$|$\lnot a, \lnot b, d$|\makecell{$\lnot a, \lnot b, d, $ \\ $c$}}
  6. \dpllClause{1}{$\lnot a, b, c$}{$\lnot a, b, c$|\done|\done|\done|\done}
  7. \dpllClause{2}{$\lnot b, \lnot c, d$}{$\lnot b, \lnot c, d$|$\lnot b, \lnot c, d$|\done|\done|\done}
  8. \dpllClause{3}{$c, d, \lnot e$}{$c, d, \lnot e$|$c, d, \lnot e$|$c, d, \lnot e$|\done|\done}
  9. \dpllClause{4}{$\lnot a, d, \lnot e$}{$\lnot a, d, \lnot e$|\done|\done|\done|\done}
  10. \dpllClause{5}{$a, b, d$}{$a, b, d$|$b, d$|$d$|\done|\done}
  11. \dpllClause{6}{$c, \lnot d, e$}{$c, \lnot d, e$|$c, \lnot d, e$|$c, \lnot d, e$|$c, e$|\done}
  12. \dpllBCP{ - | - |$d$| - | - }
  13. \dpllPL{ - | - | - |$c$| - }
  14. \dpllDeci{$\lnot a$|$\lnot b$| - | - |SAT}
  15. \end{dplltabular}
  16. }