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.

35 lines
1.4 KiB

2 months ago
  1. We start by computing $\skel$:
  2. \begin{compactItemize}
  3. \item $e_{0}\Leftrightarrow(x=y)$
  4. \item $e_{1}\Leftrightarrow(y=f(y))$
  5. \item $e_{2}\Leftrightarrow(y=f(x))$
  6. \item $e_{3}\Leftrightarrow(z=f(z))$
  7. \item $e_{4}\Leftrightarrow(f(z)=f(x))$
  8. \end{compactItemize}
  9. $$ \skel = e_{0} \land e_{1} \land \neg e_{2} \land e_{3} \land e_{4}$$
  10. \hspace{-0.09cm}\scalebox{0.85}{
  11. \begin{dplltabular}{6}
  12. \dpllStep{1|2|3|4|5|6}
  13. \dpllDecL{0|0|0|0|0|0}
  14. \dpllAssi{ - |$e_{0}$|$e_{0}, e_{1}$|$e_{0}, e_{1}, \lnot e_{2}$|\makecell{$e_{0}, e_{1}, \lnot e_{2}, $ \\ $e_{3}$}|\makecell{$e_{0}, e_{1}, \lnot e_{2}, $ \\ $e_{3}, e_{4}$}}
  15. \dpllClause{1}{$e_{0}$}{$e_{0}$|\done|\done|\done|\done|\done}
  16. \dpllClause{2}{$e_{1}$}{$e_{1}$|$e_{1}$|\done|\done|\done|\done}
  17. \dpllClause{3}{$\lnot e_{2}$}{$\lnot e_{2}$|$\lnot e_{2}$|$\lnot e_{2}$|\done|\done|\done}
  18. \dpllClause{4}{$e_{3}$}{$e_{3}$|$e_{3}$|$e_{3}$|$e_{3}$|\done|\done}
  19. \dpllClause{5}{$e_{4}$}{$e_{4}$|$e_{4}$|$e_{4}$|$e_{4}$|$e_{4}$|\done}
  20. \dpllBCP{$e_{0}$|$e_{1}$|$\lnot e_{2}$|$e_{3}$|$e_{4}$| - }
  21. \dpllPL{ - | - | - | - | - | - }
  22. \dpllDeci{ - | - | - | - | - |SAT}
  23. \end{dplltabular}
  24. }
  25. \vspace{0.5em}
  26. The SAT solver has computed that $\skel$ is satisfiable, we are therefore going to check for consistency with the theory:
  27. \begin{align*}
  28. &\{x, y\}, \{y, f(y)\}, \{z, f(z)\}, \{f(z), f(x)\}\\
  29. &\{f(y), x, y\}, \{f(x), f(z), z\}
  30. \end{align*}
  31. The $\EUF$-Solver returned SAT, therefore $\varphi$ is satisfiable.