Logic
Logic
and completeness.
Proposition simple declarative sentence that can be either true or false but not both.
Truth Table: (AND operator &&) Should be true when both P and Q are true, and false otherwise:
(OR operator | |)
Is true if either P is true or Q is true (or both). It's only false if both P and Q are false.
(If and Only If) Means that P and Q are equivalent. So the double implication is true if P and Q are both true or if P and Q are both false; otherwise, the double implication is false.
p T F
p F T