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

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