Introduction to Modal Logic

College Depth 62 in the knowledge graph I know this Set as goal
Unlocks 367 downstream topics
modal-logic possible-worlds Kripke-semantics necessity possibility

Core Idea

Modal logic extends propositional logic with operators □ ('necessarily') and ◇ ('possibly'). Kripke semantics interprets □φ as 'φ is true in all accessible worlds' and ◇φ as 'φ is true in some accessible world.' Different systems of modal logic arise by imposing different conditions on the accessibility relation: system K (no conditions), T (reflexive), S4 (reflexive and transitive), S5 (equivalence relation). Modal logic has applications in philosophy (epistemic and deontic logic), computer science (temporal logic for program verification), and linguistics (expressing necessity and possibility in natural language).

How It's Best Learned

Draw Kripke frames as directed graphs and evaluate □φ and ◇φ at each world by inspecting its successors. Verify which axioms (T: □φ → φ, 4: □φ → □□φ, B: φ → □◇φ) hold under reflexive, transitive, and symmetric frames respectively.

Common Misconceptions

Explainer

You already know from propositional semantics that every formula is evaluated relative to a truth assignment — a function mapping propositional variables to true or false. Modal logic introduces a richer semantic structure: instead of a single truth assignment, you have many possible worlds, each with its own assignment, connected by an accessibility relation. The intuition is that necessity means "true in every way things could be" and possibility means "true in some way things could be." Kripke semantics makes this precise.

A Kripke frame is a pair (W, R) where W is a set of worlds and R is a binary accessibility relation on W. A Kripke model adds a valuation: for each world w and proposition variable p, the valuation says whether p is true at w. Given a model, you evaluate □φ at a world w by checking whether φ is true at every world accessible from w (every v such that wRv). You evaluate ◇φ at w by checking whether φ is true at some world accessible from w. If a world has no accessible worlds at all, □φ is vacuously true and ◇φ is false at that world. Evaluating formulas by inspecting a drawn Kripke diagram — with worlds as nodes and accessibility as directed edges — is the most reliable way to build intuition.

Different modal systems arise by imposing structural constraints on the accessibility relation. The base system K imposes none. System T adds reflexivity (wRw for all w), yielding the axiom T: □φ → φ — whatever is necessary is actually true. System S4 adds transitivity (if wRv and vRu then wRu), yielding axiom 4: □φ → □□φ — if φ is necessary, then it's necessarily necessary. System S5 uses an equivalence relation (reflexive, transitive, and symmetric), collapsing the accessibility structure so that □φ and ◇φ depend only on which worlds exist, not on which ones a given world can "see." Each system is appropriate for different interpretations of necessity. Epistemic logic (knowledge) commonly uses S4 or S5. Deontic logic (obligation) uses its own variants. Temporal logic uses frames where worlds are time points and accessibility corresponds to temporal precedence.

The most important misconception to avoid is conflating □φ with logical validity (⊨ φ). Logical validity means φ is true under every possible interpretation — every assignment in every frame. □φ at a world w means φ is true in all worlds accessible from w in this particular model. These are very different claims. A proposition like "it is raining" can be necessary at some world in some model (every world that world accesses has rain), without "it is raining" being a tautology. Similarly, ◇φ at w does not mean φ is satisfiable in the general logical sense — it means there is an accessible world where φ holds, in this specific model.

The modal operators also interact with the existing propositional connectives in ways worth knowing. □ distributes over conjunction: □(φ ∧ ψ) ↔ (□φ ∧ □ψ). But □ does not distribute over disjunction in the same way, and these asymmetries matter in proofs. The duality of □ and ◇ mirrors the duality of ∀ and ∃ in predicate logic — and this is not a coincidence. One of the deep results in modal logic is that Kripke semantics for modal logic corresponds to a fragment of first-order logic, allowing translation between the two frameworks. If you continue into advanced logic, this correspondence will be a recurring theme.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueReading and Writing DecimalsComparing and Ordering DecimalsAdding and Subtracting DecimalsMultiplying DecimalsDividing DecimalsDividing FractionsMixed Number ArithmeticOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical Inference and Proof RulesProof Strategies in Discrete MathematicsSoundness and Completeness of Propositional LogicSoundness and Completeness of First-Order LogicCompactness Theorem for First-Order LogicBasic Model TheoryLöwenheim-Skolem TheoremsGödel's Incompleteness TheoremsIntroduction to Intuitionistic LogicIntroduction to Modal Logic

Longest path: 63 steps · 314 total prerequisite topics

Prerequisites (4)

Leads To (31)