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.

29 lines
624 B

9 months ago
  1. \begin{dplltabular}{5}
  2. \dpllStep{1|2|3|4}
  3. \dpllDecL{0|0|0|0}
  4. \dpllAssi{-|
  5. $a$|
  6. $a, b$|
  7. $a, b, \lnot c$}
  8. \dpllClause{1}{$a, \lnot b, c$}
  9. {$a, \lnot b, c$|\done|\done|\done}
  10. \dpllClause{2}{$b, \lnot c, d$}
  11. {$b, \lnot c, d$|$b, \lnot c, d$|\done|\done}
  12. \dpllClause{3}{$a, \lnot b$}
  13. {$a, \lnot b$|\done|\done|\done}
  14. \dpllClause{4}{$a, c$}
  15. {$a, c$|\done|\done|\done}
  16. \dpllClause{5}{$\lnot c, \lnot d$}
  17. {$\lnot c, \lnot d$|$\lnot c, \lnot d$|$\lnot c, \lnot d$|\done}
  18. \dpllBCP{-|-|-|-}
  19. \dpllPL{$a$|$b$|$\lnot c$|-}
  20. \dpllDeci{-|-|-|SAT}
  21. \end{dplltabular}