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
1.1 KiB

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