The whole, before the parts

Propositional logic takes the judgement of validity — which until now rested on a trained ear — and makes it mechanical. The single idea is that whole statements can be treated as unanalyzed letters, true or false and nothing else, and that the words joining them ("and", "or", "not", "if") can be given exact tables saying how the truth of a compound depends on the truth of its parts. Once that is done, checking an argument is a finite calculation: write out every way the letters could be true or false and look. Citation needed

Terminology and core concepts

  1. Propositions and connectives

    A proposition is a statement that is either true or false; a connective builds a compound proposition from simpler ones, and propositional logic studies only the connectives, ignoring everything inside the letters. Citation needed

    What property must a sentence have to count as a proposition?
    a truth value — it is true or false Citation needed
    Is "Close the door!" a proposition?
    no — commands are neither true nor false Citation needed
    What does a letter like p stand for?
    a whole proposition, internal structure ignored Citation needed
    What does a connective do?
    builds a compound proposition from simpler ones Citation needed
    What is a truth value?
    true or false — the only two options here Citation needed
  2. Negation, conjunction, disjunction

    Each connective is defined by a truth table — a listing of the compound's truth value for every truth value of its parts: ¬p flips p, p ∧ q ("and") needs both true, p ∨ q ("or") needs at least one true. Citation needed

    When is p ∧ q true?
    only when both are true Citation needed
    When is p ∨ q false?
    only when both are false Citation needed
    Is the logician's "or" exclusive or inclusive?
    inclusive — true when both are true Citation needed
    What is ¬¬p equivalent to?
    p Citation needed
    How many rows does a truth table for 3 letters have?
    8 Citation needed
    How many rows for n letters?
    2ⁿ Citation needed
  3. The conditional

    p → q ("if p then q") is defined false in exactly one case — p true, q false — which makes it true whenever its antecedent p is false, a convention that feels odd but is forced by wanting the conditional to mean "no counterexample". Citation needed

    In which single case is p → q false?
    p true and q false Citation needed
    What is the truth value of p → q when p is false?
    true, whatever q is Citation needed
    In p → q, which part is the antecedent?
    p Citation needed
    How does "p only if q" translate?
    p → q Citation needed
    How does "p if q" translate?
    q → p Citation needed
    What does the biconditional p ↔ q assert?
    that p and q have the same truth value Citation needed
  4. Tautology, contradiction, contingency

    A tautology is true in every row of its truth table, a contradiction false in every row, and a contingency true in some and false in others — so a formula's logical status is read off by scanning one column. Citation needed

    What is a tautology?
    a formula true in every row Citation needed
    What is a contradiction?
    a formula false in every row Citation needed
    What is p ∨ ¬p?
    a tautology Citation needed
    What is p ∧ ¬p?
    a contradiction Citation needed
    What is the negation of a tautology?
    a contradiction Citation needed
    Is p → q a tautology?
    no — it is contingent Citation needed
  5. Logical equivalence

    Two formulas are logically equivalent when their truth tables match row for row; the workhorse equivalences are De Morgan's laws, which push a negation through "and" and "or" by swapping them, and the contrapositive, which reverses a conditional by negating both parts. Citation needed

    What is ¬(p ∧ q) equivalent to?
    ¬p ∨ ¬q Citation needed
    What is ¬(p ∨ q) equivalent to?
    ¬p ∧ ¬q Citation needed
    What is the contrapositive of p → q?
    ¬q → ¬p Citation needed
    Is a conditional equivalent to its converse q → p?
    no Citation needed
    What is p → q rewritten without the arrow?
    ¬p ∨ q Citation needed
    How do you verify an equivalence mechanically?
    compare the two truth-table columns row by row Citation needed
  6. Validity by truth table

    An argument form is valid exactly when no row of the truth table makes every premise true and the conclusion false — so validity testing is a finite search for a counterexample row. Citation needed

    What does a counterexample row show?
    all premises true, conclusion false — so invalid Citation needed
    What does it mean if no counterexample row exists?
    the argument form is valid Citation needed
    Is validity checking in propositional logic always finishable?
    yes — finitely many rows to check Citation needed
    What is the fastest way to hunt for a counterexample?
    assume conclusion false, premises true, and chase forced values Citation needed
    What does an argument with contradictory premises validly prove?
    anything — no row makes its premises all true Citation needed
  7. The basic valid forms

    A handful of small valid forms do most deductive work: modus ponens (from p → q and p, infer q), modus tollens (from p → q and ¬q, infer ¬p), hypothetical syllogism (chaining conditionals), and disjunctive syllogism (eliminating a disjunct). Citation needed

    What does modus ponens infer from p → q and p?
    q Citation needed
    What does modus tollens infer from p → q and ¬q?
    ¬p Citation needed
    What does hypothetical syllogism infer from p → q and q → r?
    p → r Citation needed
    What does disjunctive syllogism infer from p ∨ q and ¬p?
    q Citation needed
    Which invalid form mimics modus ponens?
    affirming the consequent: inferring p from q Citation needed
    Which invalid form mimics modus tollens?
    denying the antecedent: inferring ¬q from ¬p Citation needed
  8. Expressive completeness

    Every possible truth table — any function from truth values to a truth value — can be written using just ¬, ∧, and ∨, which is why those three suffice and why digital circuits can be built from a small kit of gates. Citation needed

    Which three connectives suffice to express any truth table?
    ¬, ∧, ∨ Citation needed
    How do you build a formula for a given truth table?
    one ∧-clause per true row, joined by ∨ Citation needed
    Can a single connective express everything?
    yes — NAND alone does (so does NOR) Citation needed
    What is the circuit-design payoff of expressive completeness?
    any logic function from one gate type Citation needed

Problems that prove it

  1. Build the truth table for (p → q) ∧ (q → p) and identify what it expresses.

    Drills: table construction and recognizing the biconditional.

    Derivation steps
    1. Rows (p, q): TT, TF, FT, FF.
    2. p → q per row: T, F, T, T.
    3. q → p per row: T, T, F, T.
    4. Conjunction per row: T, F, F, T.
    5. True exactly when p and q match — the table of p ↔ q.

    Citation needed

  2. Verify De Morgan's law ¬(p ∨ q) ≡ ¬p ∧ ¬q by truth table.

    Drills: equivalence as row-by-row agreement.

    Derivation steps
    1. p ∨ q per row (TT, TF, FT, FF): T, T, T, F.
    2. Negate it: F, F, F, T.
    3. ¬p per row: F, F, T, T; ¬q: F, T, F, T.
    4. Their conjunction: F, F, F, T.
    5. The two final columns match in every row, so the formulas are equivalent.

    Citation needed

  3. Test for validity: premises p → q and q; conclusion p.

    Drills: counterexample hunting; affirming the consequent exposed by one row.

    Derivation steps
    1. Seek a row with both premises true and conclusion false.
    2. Conclusion false means p = F.
    3. With p = F, the premise p → q is automatically true.
    4. Set q = T to make the second premise true.
    5. Row p = F, q = T is a counterexample: the form is invalid — affirming the consequent.

    Citation needed

  4. Translate and assess: "If the backup ran, the log exists. If the log exists, the dashboard is green. The dashboard is not green. So the backup did not run."

    Drills: translation, then chaining hypothetical syllogism with modus tollens.

    Derivation steps
    1. Let b = backup ran, l = log exists, g = dashboard green.
    2. Premises: b → l, l → g, ¬g. Conclusion: ¬b.
    3. Hypothetical syllogism on the first two: b → g.
    4. Modus tollens with ¬g: ¬b.
    5. Valid. Soundness is a separate question about the three premises.

    Citation needed

  5. Construct a formula in p, q whose truth table is: true only in the rows TF and FT (exclusive or).

    Drills: the true-rows method behind expressive completeness.

    Derivation steps
    1. True row 1: p = T, q = F — clause p ∧ ¬q.
    2. True row 2: p = F, q = T — clause ¬p ∧ q.
    3. Join the clauses with ∨: (p ∧ ¬q) ∨ (¬p ∧ q).
    4. Check all four rows: true exactly on TF and FT. ✓
    5. The same recipe works for any table, which proves ¬, ∧, ∨ expressively complete.

    Citation needed

  6. Show that the premises p ∨ q, ¬p, and q → r validly yield r.

    Drills: chaining disjunctive syllogism into modus ponens.

    Derivation steps
    1. From p ∨ q and ¬p, disjunctive syllogism gives q.
    2. From q → r and q, modus ponens gives r.
    3. Truth-table check: conclusion false needs r = F; then premise 3 forces q = F; then premise 1 forces p = T, contradicting ¬p.
    4. No counterexample row exists, confirming validity.

    Citation needed

Sources

  • Patrick Suppes, Introduction to Logic — careful, classic treatment of connectives, translation, and valid forms.
  • Dirk van Dalen, Logic and Structure — the standard concise path from truth tables to formal rigor.
  • Wilfrid Hodges, Logic — a readable bridge from ordinary language to the formal machinery.

Learning path

Continue through Logic in order, using the concepts above to connect this topic to the next.