A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Introduction to Modal Logic

College Depth 96 in the knowledge graph ☐ I know this ☆ Set as goal
423topics build on this
509prerequisites beneath it
See this on the map →
Propositional Semantics and ValuationsFinitary vs. Infinitary Logic+2 more→→A Priori and A Posteriori KnowledgeCompatibilism+29 more
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

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Boolean Algebra → Introduction to Propositional Logic → Introduction to Predicate Logic (First-Order Logic) → First-Order Logic Syntax → Terms and Atomic Formulas in FOL → Variable Binding and Scope → Open and Closed Formulas in First-Order Logic → Variable Substitution and Capture-Avoidance in First-Order Logic → Quantifier Instantiation Rules in First-Order Proof Systems → Universal Quantification: Meaning and Scope → Free Variables and Bound Variables → Substitution and Instantiation in Predicate Logic → Terms and Atomic Formulas → Formulas and Well-Formed Expressions → Structures and Interpretations → Model Interpretation and Satisfaction → Interpretation, Truth, and Satisfaction of Formulas → Logical Consequence and Entailment → Soundness Theorem and Validity of Proof Systems → Deductive Reasoning and Formal Proof Systems → First-Order Resolution → Propositional Resolution → Semantic Tableaux (Propositional) → Semantic Tableaux (First-Order) → Decidable Fragments of First-Order Logic → Gödel's Completeness Theorem for First-Order Logic → Gödel's Incompleteness Theorems → Introduction to Intuitionistic Logic → Introduction to Modal Logic

Longest path: 97 steps · 509 total prerequisite topics

Prerequisites (4)

Leads To (31)