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.

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