Class: CSE 16 Subject: computer-science discrete-math Date: 2024-10-07 Teacher: Prof. Musacchio
Logic
Conditionals
- If P then Q = P Q (means P implies Q)
Other Language for
- Q is necessary for P
- P only if Q
- When P, then Q
P | Q | P Q |
---|---|---|
T | T | T |
T | F | F |
F | T | T |
F | F | T |
Examples
- E.g. If P = 2 > 3 then Q = = 2
- P, Q = False, False
- P Q = True