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.

67 lines
1.9 KiB

  1. \begin{itemize}
  2. \item We start by construction $\varphi$: \\
  3. \begin{align*}
  4. \varphi &= \varphi_1 \oplus \varphi_2 \\
  5. &= [\varphi_1 \lor \varphi_2] \land \lnot [\varphi_1 \land \varphi_2] = \\
  6. &= [(a \land \lnot b) \lor (\lnot(\lnot a \lor b))] \land \lnot [(a \land \lnot b) \land (\lnot(\lnot a \lor b))]
  7. \end{align*}
  8. \end{itemize}
  9. $$
  10. \underbracket{
  11. \underbracket{\Big[
  12. \underbracket{\big(
  13. a
  14. \land
  15. \underbracket{\lnot b}_{x_{10}}
  16. \big)}_{x_4}
  17. \lor
  18. \underbracket{\big(
  19. \lnot
  20. \underbracket{(
  21. \underbracket{\lnot a}_{x_{11}}
  22. \lor
  23. b
  24. )}_{x_8}
  25. \big)}_{x_5}
  26. \Big]}_{x_1}
  27. \land
  28. \underbracket{
  29. \lnot
  30. \underbracket{\Big[
  31. \underbracket{\big(
  32. a
  33. \land
  34. \underbracket{\lnot b}_{x_{12}}
  35. \big)}_{x_6}
  36. \lor
  37. \underbracket{\big(
  38. \lnot
  39. \underbracket{(
  40. \underbracket{\lnot a}_{x_{13}}
  41. \lor
  42. b
  43. )}_{x_9}
  44. \big)}_{x_7}
  45. \Big]}_{x_3}
  46. }_{x_2}
  47. }_{x_\varphi}
  48. $$
  49. \begin{align*}
  50. CNF(\phi) = \ &x_\phi \land \\
  51. &\tseitinAnd{x_{\varphi}}{x_1}{x_2} \land \\
  52. &\tseitinNot{x_2}{x_3} \land \\
  53. &\tseitinOr{x_1}{x_4}{x_5} \land \\
  54. &\tseitinOr{x_3}{x_6}{x_7} \land \\
  55. &\tseitinAnd{x_4}{a}{x_{10}} \land \\
  56. &\tseitinNot{x_5}{x_8} \land \\
  57. &\tseitinAnd{x_6}{a}{x_{12}} \land \\
  58. &\tseitinNot{x_7}{x_9} \land \\
  59. &\tseitinOr{x_8}{x_{11}}{b} \land \\
  60. &\tseitinOr{x_9}{x_{13}}{b} \land \\
  61. &\tseitinNot{x_{10}}{b} \land \\
  62. &\tseitinNot{x_{11}}{a} \land \\
  63. &\tseitinNot{x_{12}}{b} \land \\
  64. &\tseitinNot{x_{13}}{a}
  65. \end{align*}