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

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