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

Epistemic Logic Basics

Graduate Depth 98 in the knowledge graph I know this Set as goal
12topics build on this
525prerequisites beneath it
See this on the map →
First-Order Logic SyntaxFormal Epistemology: Introduction+2 morePossible Worlds Semantics for Knowledge
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

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication 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 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder 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 EquivalencesBoolean AlgebraIntroduction to Propositional LogicIntroduction to Predicate Logic (First-Order Logic)First-Order Logic SyntaxTerms and Atomic Formulas in FOLVariable Binding and ScopeOpen and Closed Formulas in First-Order LogicVariable Substitution and Capture-Avoidance in First-Order LogicQuantifier Instantiation Rules in First-Order Proof SystemsUniversal Quantification: Meaning and ScopeFree Variables and Bound VariablesSubstitution and Instantiation in Predicate LogicTerms and Atomic FormulasFormulas and Well-Formed ExpressionsStructures and InterpretationsModel Interpretation and SatisfactionInterpretation, Truth, and Satisfaction of FormulasLogical Consequence and EntailmentSoundness Theorem and Validity of Proof SystemsDeductive Reasoning and Formal Proof SystemsFirst-Order ResolutionPropositional ResolutionSemantic Tableaux (Propositional)Semantic Tableaux (First-Order)Decidable Fragments of First-Order LogicGödel's Completeness Theorem for First-Order LogicGödel's Incompleteness TheoremsIntroduction to Intuitionistic LogicIntroduction to Modal LogicFormal Epistemology: IntroductionEpistemic Logic Basics

Longest path: 99 steps · 525 total prerequisite topics

Prerequisites (4)

Leads To (1)