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.

95 lines
1.9 KiB

  1. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  2. \Tree
  3. [.$\forall x$
  4. [.$\exists y$
  5. [.$\land$
  6. [.$P$ $x$ $y$ ]
  7. [.$Q$ $x$ ]
  8. ]
  9. ]
  10. ]
  11. \end{tikzpicture}
  12. \begin{multicols}{2}
  13. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  14. \Tree
  15. [.$\exists y$
  16. [.$\land$
  17. [.$P$ $a$ $y$ ]
  18. [.$Q$ $a$ ]
  19. ]
  20. ]
  21. \end{tikzpicture}
  22. \newline
  23. Subtree: $x=a$ \\
  24. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  25. \Tree
  26. [.$\land$
  27. [.$P$ $a$ $a$ ]
  28. [.$Q$ $a$ ]
  29. ]
  30. \end{tikzpicture}
  31. \newline
  32. Subtree: $x=a \land y=a$ \\
  33. Evaluates $\mathcal{M}_1$ to true. \\
  34. Evaluates $\mathcal{M}_2$ to false.
  35. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  36. \Tree
  37. [.$\land$
  38. [.$P$ $a$ $b$ ]
  39. [.$Q$ $a$ ]
  40. ]
  41. \end{tikzpicture}
  42. \newline
  43. Subtree: $x=a \land y=b$ \\
  44. Evaluates $\mathcal{M}_1$ to true. \\
  45. Evaluates $\mathcal{M}_2$ to false.
  46. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  47. \Tree
  48. [.$\exists y$
  49. [.$\land$
  50. [.$P$ $b$ $y$ ]
  51. [.$Q$ $b$ ]
  52. ]
  53. ]
  54. \end{tikzpicture}
  55. \newline
  56. Subtree: $x=b$ \\
  57. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  58. \Tree
  59. [.$\land$
  60. [.$P$ $b$ $a$ ]
  61. [.$Q$ $b$ ]
  62. ]
  63. \end{tikzpicture}
  64. \newline
  65. Subtree: $x=b \land y=a$ \\
  66. Evaluates $\mathcal{M}_1$ to true. \\
  67. Evaluates $\mathcal{M}_2$ to false.
  68. \begin{tikzpicture}[every tree node/.style={draw,circle},sibling distance=.25cm]
  69. \Tree
  70. [.$\land$
  71. [.$P$ $b$ $b$ ]
  72. [.$Q$ $b$ ]
  73. ]
  74. \end{tikzpicture}
  75. \newline
  76. Subtree: $x=b \land y=b$ \\
  77. Evaluates $\mathcal{M}_1$ to true. \\
  78. Evaluates $\mathcal{M}_2$ to false.
  79. \end{multicols}
  80. $\mathcal{M}_1: \mathcal{A} = \{a, b\}$ \\
  81. $P$ = true \\
  82. $Q$ = true \\
  83. $\mathcal{M}_1 \models \phi$ \\
  84. $\mathcal{M}_2: \mathcal{A} = \{a, b\}$ \\
  85. $P$ = true \\
  86. $Q$ = false \\
  87. $\mathcal{M}_2 \not\models \phi$