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.

42 lines
1.3 KiB

5 months ago
  1. \item \self Consider the propositional formulas $\varphi = (p \lor q)
  2. \rightarrow r$, and $\psi = r \lor (\neg p \land \neg q)$.
  3. \begin{enumerate}
  4. \item Fill out the truth table for $\varphi$ and $\psi$ (and
  5. their subformulas).
  6. \begin{tabular}{|c|c|c||c|c|c|c||c|c|}
  7. \hline
  8. $p$&$q$&$r$&$\neg p$&$\neg q$&$p \lor q$&$\neg p \land \neg q$&$\varphi$&$\psi$\\
  9. \hline
  10. \hline
  11. \textbf{F} &\textbf{F} &\textbf{F} & \T& \T& \F& \T& \T& \T\\
  12. \hline
  13. \textbf{F} &\textbf{F} &\textbf{T} & \T& \T& \F& \T& \T& \T\\
  14. \hline
  15. \textbf{F} &\textbf{T} &\textbf{F} & \T& \F& \T& \F& \F& \F\\
  16. \hline
  17. \textbf{F} &\textbf{T} &\textbf{T} & \T& \F& \T& \F& \T& \T\\
  18. \hline
  19. \textbf{T} &\textbf{F} &\textbf{F} & \F& \T& \T& \F& \F& \F\\
  20. \hline
  21. \textbf{T} &\textbf{F} &\textbf{T} & \F& \T& \T& \F& \T& \T\\
  22. \hline
  23. \textbf{T} &\textbf{T} &\textbf{F} & \F& \F& \T& \F& \F& \F\\
  24. \hline
  25. \textbf{T} &\textbf{T} &\textbf{T} & \F& \F& \T& \F& \T& \T\\
  26. \hline
  27. \end{tabular}
  28. \item Which of the formulas is satisfiable? \\
  29. \quad Both are satisfiable.
  30. \item Which of the formulas is valid? \\
  31. \quad Neither are valid.
  32. \item Is $\varphi$ equivalent to $\psi$? \\
  33. \quad They are semantically equivalent.
  34. \item Does $\varphi$ semantically entail $\psi$? \\
  35. \quad Yes.
  36. \item Does $\psi$ semantically entail $\varphi$? \\
  37. \quad Yes.
  38. \end{enumerate}