| # | text | formula |
|---|---|---|
| 1 | IF (P AND Q) THEN R | |
| 2 | (P XOR Q) OR R | |
| 3 | NOT P IFF Q | |
| 4 | FOR ALL x, P(x) | |
| 5 | THERE EXISTS AN x, NOT Q(x) | |
| 6 | IF P THEN Q EQUIVALENT TO NOT P OR Q | |
| 7 | Euler's Identity | |
| 8 | SUM of n from 1 to 100 Equals 5050 |
Using the propositions
-
$p$ = "I study" -
$q$ = "I will pass the course" -
$r$ = "The professor accepts bribes"
Translate the following into statements of propositional logic:
- If I do not study, then I will only pass the course if the professor accepts bribes.
$$\neg p \to (q \to r)$$ - If the professor accepts bribes, then I do not study.
$$r \to \neg p$$ - The professor does not accept bribes, but I study and will pass the course.
$$\neg r \land (p \land q)$$ - If I study, the professor will accept bribes and I will pass the course.
$$p \to (r \land q)$$ - I will not pass the course but the professor accepts bribes.
$$\neg q \land r$$