A proposition is a declarative statement that is either true or false. We build compound propositions from atoms p,q,r,… using the connectives ¬ (not), ∧ (and), ∨ (inclusive or), → (implies), ↔ (if and only if) and ⊕ (exclusive or).
Convention on brackets. Here ¬ binds tightest, then ∧, then ∨, then →, then ↔, and brackets are written wherever they matter. ∧, ∨, ↔ and ⊕ are associative, but → is not: (p→q)→r and p→(q→r) differ when p, q and r are all false (the first is false, the second true).
The implication p→q is false in exactly one case: p true and q false. When p is false the implication is true whatever q is (it is vacuously true).
COUNTING TRUTH TABLES
rows in a truth table=2n,distinct Boolean functions of n variables=22n
For n distinct atoms; the second count is the number of different possible output columns.
A formula φ is a tautology exactly when ¬φ is unsatisfiable. To test satisfiability by hand, try to find one assignment that makes the formula true; to test validity, try to find one that makes it false.