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.

41 lines
1.4 KiB

5 months ago
  1. \item \self Consider the propositional formula $\psi = (p \imp q)
  2. \land(q \imp r) \land (\neg r \lor p)$.
  3. \begin{enumerate}
  4. \item Fill out the truth table for $\varphi$ (and its
  5. subformulas).
  6. \begin{tabular}{|c|c|c||c|c|c|c|c|}
  7. \hline
  8. $p$&$q$&$r$&$(p \imp q)$&$(q \imp r)$&$\;\neg r\;$&$(\neg r \lor p)$&$\quad\psi\quad$\\
  9. \hline
  10. \hline
  11. \textbf{F} &\textbf{F} &\textbf{F} & \T & \T & \T & \T & \T\\
  12. \hline
  13. \textbf{F} &\textbf{F} &\textbf{T} & \T & \T & \F & \F & \F\\
  14. \hline
  15. \textbf{F} &\textbf{T} &\textbf{F} & \T & \F & \T & \T & \F\\
  16. \hline
  17. \textbf{F} &\textbf{T} &\textbf{T} & \T & \T & \F & \F & \F\\
  18. \hline
  19. \textbf{T} &\textbf{F} &\textbf{F} & \F & \T & \T & \T & \F\\
  20. \hline
  21. \textbf{T} &\textbf{F} &\textbf{T} & \F & \T & \F & \T & \F\\
  22. \hline
  23. \textbf{T} &\textbf{T} &\textbf{F} & \T & \F & \T & \T & \F\\
  24. \hline
  25. \textbf{T} &\textbf{T} &\textbf{T} & \T & \T & \F & \T & \T\\
  26. \hline
  27. \end{tabular}
  28. \item Is $\varphi$ satisfiable? \\
  29. \quad Yes.
  30. \item Is $\varphi$ valid? \\
  31. \quad No.
  32. \item Give a formula $\varphi$ that semantically entails $\psi$. \\
  33. \quad An equivalent formula $\varphi$ semantically entails $\psi$, therefore we let $\varphi = \psi$.
  34. \item How can you check, using a truth table, whether $\varphi$
  35. semantically entails $\psi$? \\
  36. \quad We can check this by looking at the models that satisfy the two formulas. If every model that satisfies $\varphi$ also models $\psi$, then $\varphi$ semantically entails $\psi$.
  37. \end{enumerate}