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
725 B

9 months ago
  1. \hspace{-0.09cm}\scalebox{0.85}{
  2. \begin{dplltabular}{4}
  3. \dpllStep{1|2|3|4}
  4. \dpllDecL{0|1|1|1}
  5. \dpllAssi{ - |$\lnot a$|$\lnot a, d$|$\lnot a, d, b$}
  6. \dpllClause{1}{$a, b, c$}{$a, b, c$|$b, c$|$b, c$|\done}
  7. \dpllClause{2}{$\lnot b, \lnot c, d$}{$\lnot b, \lnot c, d$|$\lnot b, \lnot c, d$|\done|\done}
  8. \dpllClause{3}{$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}
  10. \dpllClause{5}{$c, b, d$}{$c, b, d$|$c, b, d$|\done|\done}
  11. \dpllClause{6}{$\lnot a, \lnot d, e$}{$\lnot a, \lnot d, e$|\done|\done|\done}
  12. \dpllBCP{ - | - | - | - }
  13. \dpllPL{ - |$d$|$b$| - }
  14. \dpllDeci{$\lnot a$| - | - |SAT}
  15. \end{dplltabular}
  16. }