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.4 KiB

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