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