Epistemic Logic Basics

Graduate Depth 64 in the knowledge graph I know this Set as goal
Unlocks 12 downstream topics
modal-logic knowledge-operators belief

Core Idea

Epistemic logic extends modal logic with operators for knowledge (K) and belief (B). In this framework, Kₐp means 'agent a knows that p,' and the truth of p is determined by accessibility relations: what is true in all possible worlds accessible to the agent. Epistemic logic formalizes principles like the S5 axioms for knowledge (transitivity, introspection) and S4 for belief.

Explainer

You already know modal logic, so you are comfortable with the idea that necessity (□) and possibility (◇) are evaluated relative to accessibility relations between possible worlds: □p is true at a world w when p is true at every world accessible from w. Epistemic logic plugs directly into this framework by reinterpreting the operators. Instead of one universal accessibility relation, we assign a separate relation to each agent. The formula Kₐp ("agent a knows that p") is then true at world w just in case p is true at every world that agent a considers possible from w — every world that, from a's perspective, could be the actual world. The accessibility relation encodes the agent's epistemic state: the closer the accessible worlds are to the actual world, the more the agent knows.

This might seem abstract, but consider a concrete case. You are holding a deck of cards and draw one face-down. You do not know which card it is. In epistemic logic terms, you are in a state where many worlds are accessible to you — one where the card is the ace of spades, one where it is the three of clubs, and so on. The proposition "the card is red" is not something you know, because there are accessible worlds where it is black. Now suppose I see the card and tell you it is red. Your accessibility relation shrinks: all the black-card worlds are eliminated. You now know the card is red, even if you still do not know the exact card. Kₐ(the card is red) has become true because every remaining accessible world is a red-card world.

The S5 axiom system for knowledge captures several intuitive principles. The T axiom says: if you know p, then p is true (Kₐp → p) — you cannot know something false. The 4 axiom says: if you know p, you know that you know p (positive introspection). The 5 axiom says: if you do not know p, you know that you do not know p (negative introspection). Together these create a very idealized picture of an agent who has perfect insight into their own epistemic state. S4, the weaker system often used for belief, drops the 5 axiom: you can fail to know that you do not believe something, which corresponds better to how humans actually work — we are often uncertain about our own doxastic states.

Where epistemic logic becomes genuinely powerful is in multi-agent settings. We can write not just Kₐp but also KₐKbp ("a knows that b knows p") or ¬Kₐ¬Kbp ("a does not know that b doesn't know p"). This opens the way to common knowledge, written CK(p): a state where all agents know p, and all agents know that all agents know p, and so on ad infinitum. Common knowledge is surprisingly difficult to achieve — the classic "muddy children" puzzle shows that even obvious visible facts don't become common knowledge until a public announcement makes them so. This formalism connects directly to game theory and computer science, where reasoning about what other agents know is essential for designing protocols and analyzing strategic interaction.

What did you take from this?

Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.

Quiz me anyway →

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 LogicFormal Epistemology: IntroductionEpistemic Logic Basics

Longest path: 65 steps · 345 total prerequisite topics

Prerequisites (4)

Leads To (1)