Session 2: Propositional Logic

Overview

Propositional logic from syntax to semantics: what a formula is, what it means, and how to move between the two.

Lecturer

Kevin Abou Rousse

Session Information

Core Concepts

  • Connectives (¬, ∧, ∨, →, ↔), precedence, and parenthesization
  • Syntax vs semantics: formulas as objects, valuations as meaning, and the ⊨ relation
  • Truth tables; tautology, contradiction, satisfiability, and validity
  • Logical equivalences: De Morgan, distribution, contraposition, and p → q ≡ ¬p ∨ q
  • Overview of common truth tables
  • Normal forms (CNF/DNF); SAT stated as a problem

Slides

Session 2 Slides: Download PDF

Readings

Exercises & Extra Steps

  • Practice (not collected): prove (p → q) → ((q → r) → (p → r)) is a tautology, first by truth table and then by equivalences
  • Practice (not collected): convert ¬((p ∧ q) → (r ∨ ¬s)) to CNF

Questions? Reach out on the course WhatsApp!