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.

38 lines
1.1 KiB

9 months ago
  1. \item \self Consider the propositional formula $\varphi = (p \rightarrow q)
  2. \wedge(q \rightarrow r) \wedge (\neg r \vee 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 \rightarrow q)$&$(q \rightarrow r)$&$\;\neg r\;$&$(\neg r \vee p)$&$\quad\varphi\quad$\\
  9. \hline
  10. \hline
  11. \textbf{F} &\textbf{F} &\textbf{F} & & & & &\\
  12. \hline
  13. \textbf{F} &\textbf{F} &\textbf{T} & & & & &\\
  14. \hline
  15. \textbf{F} &\textbf{T} &\textbf{F} & & & & &\\
  16. \hline
  17. \textbf{F} &\textbf{T} &\textbf{T} & & & & &\\
  18. \hline
  19. \textbf{T} &\textbf{F} &\textbf{F} & & & & &\\
  20. \hline
  21. \textbf{T} &\textbf{F} &\textbf{T} & & & & &\\
  22. \hline
  23. \textbf{T} &\textbf{T} &\textbf{F} & & & & &\\
  24. \hline
  25. \textbf{T} &\textbf{T} &\textbf{T} & & & & &\\
  26. \hline
  27. \end{tabular}
  28. \item Is $\varphi$ satisfiable?
  29. \item Is $\varphi$ valid?
  30. \item Give a formula $\psi$ that semantically entails $\varphi$
  31. (i.e., it should be the case that $\psi \models \varphi$).
  32. \item How can you check, using a truth table, whether $\psi$
  33. semantically entails $\varphi$?
  34. \end{enumerate}