epistemic logics - iritandreas.herzig/cours/epilogics.pdfepistemic logics: resources introductory...

159
Epistemic logics Andreas Herzig CNRS, IRIT, University of Toulouse, France www.irit.fr/~Andreas.Herzig Institut d’Automne en Intelligence Artificielle – IA 2 Lyon, 1–2 nov. 2017 A. Herzig Epistemic Logics IA 2 , nov. 2017 1 / 102

Upload: others

Post on 31-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Epistemic logics

Andreas HerzigCNRS, IRIT, University of Toulouse, France

www.irit.fr/~Andreas.Herzig

Institut d’Automne en Intelligence Artificielle – IA2

Lyon, 1–2 nov. 2017

A. Herzig Epistemic Logics IA2, nov. 2017 1 / 102

Page 2: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The importance of reasoning about knowledge andbelief

S. Baron Cohen’s False-belief-tasks (Sally-Ann Test, . . . )[BCLF85]

https://www.youtube.com/watch?v=jbL34F81Rz0

typically fail the test:I children under 3I autistic children

hypothesis: specific human capacity of reasoning about otheragents’ beliefs (‘mind reading’, ‘theory of mind’)

A. Herzig Epistemic Logics IA2, nov. 2017 2 / 102

Page 3: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Challenge: robots with theory of mind [Milliez et al. 2014]

at step 3, agent Green’s beliefs become falseI colored arrows = beliefs about white book position (red = robot)I colored spheres = reachability of an object for an agent

1. 2.

3. 4.

A. Herzig Epistemic Logics IA2, nov. 2017 3 / 102

Page 4: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The importance of reasoning about knowledge andbelief

concept of mental state of an agentI philosophy (philosophy of mind, epistemology)I psychologyI economicsI computer science (AI, MAS, distributed systems)

many kinds of mental attitudes of an individual i:I i is angry; i is sad; i loves individual j; . . .I most important: beliefs and goals

how represented in the agent’s mind?I language of thought [Fodor]

which logical principles?I omniscience problem

which dynamics?

A. Herzig Epistemic Logics IA2, nov. 2017 4 / 102

Page 5: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Course overview

introduction to the logics of the informational attitudesepistemic logics (large sense):

1 ‘the’ logic of knowledge S5 (= epistemic logic in the narrow sense)2 ‘the’ logic of belief KD45 (= doxastic logic)

brief introduction to the dynamics of knowledge and belief1 update of knowledge (dynamic epistemic logic)2 revision of belief

A. Herzig Epistemic Logics IA2, nov. 2017 5 / 102

Page 6: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Epistemic logics: resources

introductory books:I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the

Two Notions” (Hintikka, first on the topic)I [FHMV95] “Reasoning about Knowledge” (Fagin, Halpern, Moses &

Vardi)I [vDHvdHK15] “Handbook of epistemic logic” (van Ditmarsch,

Halpern, van der Hoek& Kooi)internet:

I The Stanford Encyclopedia of PhilosophyF “Epistemic Logic” [HS15]F “Dynamic Epistemic Logic”

A. Herzig Epistemic Logics IA2, nov. 2017 6 / 102

Page 7: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5nIntroductionLanguageSemanticsAxiomaticsDiscussions

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 7 / 102

Page 8: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: de dicto vs. de re

(1) “there are irrational x and y such that xy is rational”(2) “Hilbert knows that there are irrational x, y such that xy is rational”(3) “there are irrational x, y such that Hilbert knows that xy is rational”

write these statements in the language of logicI abbreviate ¬Rat(x) ∧ ¬Rat(y) ∧Rat(xy) by P (x, y)

it follows from the axioms of Peano Arithmetic that ∃x∃yP (x, y)I non-constructive proof (5 lines)

Hilbert knew Peano ArithmeticHilbert knew that ∃x∃yP (x, y)

there are no x, y of which Hilbert knew that P (x, y)I there is a constructive proof (∼20 pages, ∼1950)

A. Herzig Epistemic Logics IA2, nov. 2017 8 / 102

Page 9: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: de dicto vs. de re

(1) “there are irrational x and y such that xy is rational”(2) “Hilbert knows that there are irrational x, y such that xy is rational”(3) “there are irrational x, y such that Hilbert knows that xy is rational”

write these statements in the language of logicI abbreviate ¬Rat(x) ∧ ¬Rat(y) ∧Rat(xy) by P (x, y)

it follows from the axioms of Peano Arithmetic that ∃x∃yP (x, y)I non-constructive proof (5 lines)

Hilbert knew Peano ArithmeticHilbert knew that ∃x∃yP (x, y)

there are no x, y of which Hilbert knew that P (x, y)I there is a constructive proof (∼20 pages, ∼1950)

A. Herzig Epistemic Logics IA2, nov. 2017 8 / 102

Page 10: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: muddy children

a famous puzzle:1. two children come back from the garden, both with mud on their

forehead; their father looks at them and says:“at least one of you has mud on his forehead”

then he asks:“those who know whether they are dirty, step forward!”

2. nobody steps forward3. the father asks again:

“those who know whether they are dirty, step forward!”4. both simultaneously answer: “I know!”

can be generalized to an arbitrary number n ≥ 2 of children

A. Herzig Epistemic Logics IA2, nov. 2017 9 / 102

Page 11: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: muddy children

use second-order predicate Knows(i, ϕ), where i ∈ {1, 2}I Knows(i, ϕ) = “agent i knows that ϕ”

some of child 2’s knowledge at the different stages:(S0) background knowledge:

Knows(2, Knows(1,m2) ∨Knows(1,¬m2))equivalently:Knows(2, ¬Knows(1,¬m2)→ Knows(1,m2))

(S1) learns that at least one of them has mud on his forehead:Knows(2,Knows(1, (m1 ∨m2)))

(S2) child 2 does not respond:Knows(2,¬Knows(1,m1))

(S3) should follow from (S0)-(S2):Knows(2,m2)

proof?

A. Herzig Epistemic Logics IA2, nov. 2017 10 / 102

Page 12: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: muddy children

deduction of (S3) from (S0), (S1), (S2):1. Knows(2, Knows(1, (m1 ∨m2))) hyp. (S1)

2. Knows(2, Knows(1,¬m2)→ Knows(1,m1)) conseq. of 1.

3. Knows(2, ¬Knows(1,m1)→ ¬Knows(1,¬m2)) equiv. to 2.

4. Knows(2, ¬Knows(1,m1)) hyp. (S2)

5. Knows(2, ¬Knows(1,¬m2)) from 3. and 4.

6. Knows(2, ¬Knows(1,¬m2)→ Knows(1,m2)) equiv. to hyp. (S0)

7. Knows(2, Knows(1,m2)) from 5. and 6.

8. Knows(2, m2) from 7., bec. Knows(1,m2)→ m2

(‘knowledge implies truth’)

⇒ which formal rules? ⇒ deduction in a formal logic?

A. Herzig Epistemic Logics IA2, nov. 2017 11 / 102

Page 13: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning about knowledge: muddy children

deduction of (S3) from (S0), (S1), (S2):1. Knows(2, Knows(1, (m1 ∨m2))) hyp. (S1)

2. Knows(2, Knows(1,¬m2)→ Knows(1,m1)) conseq. of 1.

3. Knows(2, ¬Knows(1,m1)→ ¬Knows(1,¬m2)) equiv. to 2.

4. Knows(2, ¬Knows(1,m1)) hyp. (S2)

5. Knows(2, ¬Knows(1,¬m2)) from 3. and 4.

6. Knows(2, ¬Knows(1,¬m2)→ Knows(1,m2)) equiv. to hyp. (S0)

7. Knows(2, Knows(1,m2)) from 5. and 6.

8. Knows(2, m2) from 7., bec. Knows(1,m2)→ m2

(‘knowledge implies truth’)

⇒ which formal rules? ⇒ deduction in a formal logic?

A. Herzig Epistemic Logics IA2, nov. 2017 11 / 102

Page 14: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

A second-order theory of the Knows predicate

desirable principles:I ∀i∀p (Knows(i, p)→ p)

F used in step 8.I ∀i∀p∀q ((Knows(i, p ∨ q) ∧Knows(i,¬p))→ Knows(i, q))

F used in step 2.I . . .

make up theory of knowledge TKnowsI second-order formulas: “∀p” quantifies over propositions

reasoning about knowledge in second-order logic (SOL):I TKnows `SOL ((S0) ∧ (S1) ∧ (S2))→ (S3)I SOL consequence problem: undecidable . . .

A. Herzig Epistemic Logics IA2, nov. 2017 12 / 102

Page 15: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knows: from second-order to first-order logic

idea [Hin62, FHMV95]:Knows(i, ϕ) = “ϕ true in all worlds that are possible for i”

set of possible worlds Wternary accessibility relation K(i, w1, w2)

I i = agentI w1 = actual worldI w2 = world that i cannot distinguish from w1

in first-order logic:Knows(i, ϕ, w) = “at w, i knows that ϕ”

def= ∀w′ (K(i, w,w′)→ ϕ[w′])

A. Herzig Epistemic Logics IA2, nov. 2017 13 / 102

Page 16: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knows: from second-order to first-order logic, ctd.

muddy children:I Knows(1,m2, w) = ∀w′ (K(1, w, w′)→ m2(w′))I ¬Knows(1,m1, w) = ∃w′ (K(1, w, w′) ∧ ¬m1(w′))

exercise: draw the set of possible worlds and the accessibilityrelation in the initial situation

m1oo K2 //

OOK1

��

K1,K2

��m1m2OO

K1

��

K1,K2

. ooK2

//

K1,K2

MM m2

K1,K2

RR

A. Herzig Epistemic Logics IA2, nov. 2017 14 / 102

Page 17: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knows: from second-order to first-order logic, ctd.

muddy children:I Knows(1,m2, w) = ∀w′ (K(1, w, w′)→ m2(w′))I ¬Knows(1,m1, w) = ∃w′ (K(1, w, w′) ∧ ¬m1(w′))

exercise: draw the set of possible worlds and the accessibilityrelation in the initial situation

m1oo K2 //

OOK1

��

K1,K2

��m1m2OO

K1

��

K1,K2

. ooK2

//

K1,K2

MM m2

K1,K2

RR

A. Herzig Epistemic Logics IA2, nov. 2017 14 / 102

Page 18: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knows: from second-order to first-order logic, ctd.

desirable principles for knowledge⇒ properties of KI ∀i∀p (Knows(i, p)→ p) corresponds to: ∀i∀w K(i, w,w)I . . .

make up first-order theory TKnowsreasoning about knowledge:

I TKnows `FOL ∀w(((S0) ∧ (S1) ∧ (S2))→ (S3)

)[w]

I consequence problem in first-order logic (FOL): semi-decidable . . .

A. Herzig Epistemic Logics IA2, nov. 2017 15 / 102

Page 19: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knows: from first-order to modal logic

idea [Hin62, FHMV95]:don’t use first-order language, but add

modal operators of knowledgeto the language of classical propositional logic CPL

Ki : modal operatorKi ϕ = “i knows that ϕ”

I propositional language; no ∀, ∃I ϕ might contain modal operator Kj

F precise definition requires recursive definition of languageI will be decidable!

A. Herzig Epistemic Logics IA2, nov. 2017 16 / 102

Page 20: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Epistemic language: examples

knowing-whether:I K1m2 ∨ K1 ¬m2 “child 1 knows whether m2”

ignorance:I ¬K2m2 ∧ ¬K2 ¬m2 “child 2 does not know whether m2”

nesting of modal operators (‘higher-order knowledge’):I K1 K2 (m1 ∨m2)I K1 K2 K1 (m1 ∨m2)I . . .I K2 (K1m2 ∨ K1 ¬m2)I K2 (¬K1m1 ∧ (K1m2 ∨ K1 ¬m2))

A. Herzig Epistemic Logics IA2, nov. 2017 17 / 102

Page 21: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reasoning in epistemic logic

semantics: models? truth conditions?I resort to first-order semantics in terms of possible worldsI M = 〈W,K, V 〉 where

F W some non-empty set (‘possible worlds’)F K : Agts ×W ×WF V valuation

I truth conditions:F M,w Ki ϕ iff M,w′ ϕ for all w′ such that K(i, w,w′)

I N.B.: language of epistemic logic less expressive than that of FOLF ∃ different models that give same truth value to all formulasF cannot be distinguished by means of a formulaF all these models are bisimular

A. Herzig Epistemic Logics IA2, nov. 2017 18 / 102

Page 22: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Recap of basic logic notions

logic Λ = language LΛ + particular subset of LΛ (called theoremsor validities)particular subset of LΛ can be characterized in two ways:

I semantically: using models⇒ validitiesI syntactically: using axioms and inference rules⇒ theorems

A. Herzig Epistemic Logics IA2, nov. 2017 19 / 102

Page 23: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5nIntroductionLanguageSemanticsAxiomaticsDiscussions

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 20 / 102

Page 24: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language

primitive symbols:I countable set of propositional atoms AtmsI finite set of agent symbols Agts

BNF:ϕ ::= p | ¬ϕ | ϕ ∧ ϕ | Ki ϕ

where p ranges over Atms and i over Agts

abbreviations:I ϕ ∨ ψ def

= ¬(¬ϕ ∧ ¬ψ)

I ϕ→ ψdef= . . .

I ϕ↔ ψdef= . . .

I K̂i ϕdef= ¬Ki ¬ϕ = “ϕ is possible for i”

A. Herzig Epistemic Logics IA2, nov. 2017 21 / 102

Page 25: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language

primitive symbols:I countable set of propositional atoms AtmsI finite set of agent symbols Agts

BNF:ϕ ::= p | ¬ϕ | ϕ ∧ ϕ | Ki ϕ

where p ranges over Atms and i over Agts

abbreviations:I ϕ ∨ ψ def

= ¬(¬ϕ ∧ ¬ψ)

I ϕ→ ψdef= . . .

I ϕ↔ ψdef= . . .

I K̂i ϕdef= ¬Ki ¬ϕ = “ϕ is possible for i”

A. Herzig Epistemic Logics IA2, nov. 2017 21 / 102

Page 26: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language

primitive symbols:I countable set of propositional atoms AtmsI finite set of agent symbols Agts

BNF:ϕ ::= p | ¬ϕ | ϕ ∧ ϕ | Ki ϕ

where p ranges over Atms and i over Agts

abbreviations:I ϕ ∨ ψ def

= ¬(¬ϕ ∧ ¬ψ)

I ϕ→ ψdef= . . .

I ϕ↔ ψdef= . . .

I K̂i ϕdef= ¬Ki ¬ϕ = “ϕ is possible for i”

A. Herzig Epistemic Logics IA2, nov. 2017 21 / 102

Page 27: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language (ctd.)

3 possible epistemic attitudes w.r.t. a formula ϕ:

Ki ϕ K̂i ϕ ∧ K̂i ¬ϕ Ki ¬ϕ

I ϕ should be contingent: neither theorem nor inconsistentI what if ϕ of the form Ki ψ?

4 possible epistemic situations w.r.t. a formula ϕ:

ϕ ∧ Ki ϕ ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ¬ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ ¬ϕ ∧ Ki ¬ϕ

I . . . for ϕ contingent and non-epistemicI why are situations ϕ ∧ Ki ¬ϕ and ¬ϕ ∧ Ki ϕ missing?

A. Herzig Epistemic Logics IA2, nov. 2017 22 / 102

Page 28: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language (ctd.)

3 possible epistemic attitudes w.r.t. a formula ϕ:

Ki ϕ K̂i ϕ ∧ K̂i ¬ϕ Ki ¬ϕ

I ϕ should be contingent: neither theorem nor inconsistent

I what if ϕ of the form Ki ψ?

4 possible epistemic situations w.r.t. a formula ϕ:

ϕ ∧ Ki ϕ ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ¬ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ ¬ϕ ∧ Ki ¬ϕ

I . . . for ϕ contingent and non-epistemicI why are situations ϕ ∧ Ki ¬ϕ and ¬ϕ ∧ Ki ϕ missing?

A. Herzig Epistemic Logics IA2, nov. 2017 22 / 102

Page 29: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language (ctd.)

3 possible epistemic attitudes w.r.t. a formula ϕ:

Ki ϕ K̂i ϕ ∧ K̂i ¬ϕ Ki ¬ϕ

I ϕ should be contingent: neither theorem nor inconsistentI what if ϕ of the form Ki ψ?

4 possible epistemic situations w.r.t. a formula ϕ:

ϕ ∧ Ki ϕ ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ¬ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ ¬ϕ ∧ Ki ¬ϕ

I . . . for ϕ contingent and non-epistemicI why are situations ϕ ∧ Ki ¬ϕ and ¬ϕ ∧ Ki ϕ missing?

A. Herzig Epistemic Logics IA2, nov. 2017 22 / 102

Page 30: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Language (ctd.)

3 possible epistemic attitudes w.r.t. a formula ϕ:

Ki ϕ K̂i ϕ ∧ K̂i ¬ϕ Ki ¬ϕ

I ϕ should be contingent: neither theorem nor inconsistentI what if ϕ of the form Ki ψ?

4 possible epistemic situations w.r.t. a formula ϕ:

ϕ ∧ Ki ϕ ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ¬ϕ ∧ K̂i ϕ ∧ K̂i ¬ϕ ¬ϕ ∧ Ki ¬ϕ

I . . . for ϕ contingent and non-epistemicI why are situations ϕ ∧ Ki ¬ϕ and ¬ϕ ∧ Ki ϕ missing?

A. Herzig Epistemic Logics IA2, nov. 2017 22 / 102

Page 31: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5nIntroductionLanguageSemanticsAxiomaticsDiscussions

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 23 / 102

Page 32: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Semantics of S5n: Kripke models

‘Saul Kripke’ [Kri59]Agts = {1, . . . , n} set of agentsS5n-model = labeled graph 〈W,K, V 〉 where:

I W nonempty set ‘possible worlds’, ‘states’I K : Agts −→ 2W×W such that every Ki is an equivalence relation

F equivalence relation = reflexive, transitive, and symmetric relationF write Ki instead of K(i) ‘accessibility relation for i’

I V : Atms −→ 2W ‘valuation’F V (p) ⊆W

muddy children:

m1oo K2 //

OOK1

��

K1,K2

��m1m2OO

K1

��

K1,K2

. ooK2

//

K1,K2

MM m2

K1,K2

RR

A. Herzig Epistemic Logics IA2, nov. 2017 24 / 102

Page 33: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Semantics of S5n: truth conditions

truth at world w of model M :I M,w p iff w ∈ V (p)I M,w ¬ϕ iff M,w 6 ϕI M,w ϕ ∧ ψ iff M,w ϕ and M,w ψI M,w Ki ϕ iff M,w′ ϕ for every w′ ∈ Ki(w)

F hence: M,w K̂i ϕ iff M,w′ ϕ for some w′ ∈ Ki(w)

muddy children:

m1oo K2 //

OOK1

��

K1,K2

��m1m2OO

K1

��

K1,K2

. ooK2

//

K1,K2

MM m2

K1,K2

RR

M, (m1m2) m1 ∧m2 ∧ K1m2 ∧ K̂1m1 ∧ K̂1 ¬m1

A. Herzig Epistemic Logics IA2, nov. 2017 25 / 102

Page 34: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Semantics of S5n: satisfiability and validity

ϕ is S5n-satisfiable iff M,w ϕ for some S5n-modelM = 〈W,K, V 〉 and some possible world w ∈W

ϕ is S5n-valid (|=S5n ϕ) iff M,w ϕ for every S5n-modelM = 〈W,K, V 〉 and every possible world w ∈W

A. Herzig Epistemic Logics IA2, nov. 2017 26 / 102

Page 35: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5nIntroductionLanguageSemanticsAxiomaticsDiscussions

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 27 / 102

Page 36: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n

axiom schemas for S5n:I every theorem schema of classical propositional logic (CPL)I (Ki ϕ ∧ Ki ψ)→ Ki (ϕ ∧ ψ) conjunction C(Ki )I Ki> necessity N(Ki )I Ki ϕ→ ϕ truth T(Ki )I Ki ϕ→ Ki Ki ϕ pos. introspection 4(Ki )I ¬Ki ϕ→ Ki ¬Ki ϕ neg. introspection 5(Ki )

inference rules for S5n:I ϕ, ϕ→ψ

ψ modus ponens (MP)

I ϕ→ψKi ϕ→Ki ψ

rule of monotony RM(Ki )

A. Herzig Epistemic Logics IA2, nov. 2017 28 / 102

Page 37: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: examples of theorems

`S5n Ki ϕ→ Ki ϕI proof:

1 Ki ϕ→ Ki ϕ (CPL)

`S5n Ki (ϕ ∧ ψ)→ Ki ϕI proof:

1 (ϕ ∧ ψ)→ ϕ (CPL)2 Ki (ϕ ∧ ψ)→ Ki ϕ from 1. by RM(Ki )

`S5n Ki (ϕ ∧ ψ)→ Ki ψI proof: . . .

A. Herzig Epistemic Logics IA2, nov. 2017 29 / 102

Page 38: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: examples of theorems, ctd.

`S5n Ki (ϕ ∧ ψ)→ (Ki ϕ ∧ Ki ψ)I proof:

1 Ki (ϕ ∧ ψ)→ Ki ϕ v.s.2 Ki (ϕ ∧ ψ)→ Ki ψ v.s.3 1→ (2→ (Ki (ϕ ∧ ψ)→ (Ki ϕ ∧ Ki ψ))) (CPL)4 2→ (Ki (ϕ ∧ ψ)→ (Ki ϕ ∧ Ki ψ)) from 1. and 3. by (MP)5 Ki (ϕ ∧ ψ)→ (Ki ϕ ∧ Ki ψ) from 2. and 4. by (MP)

`S5n Ki (ϕ ∧ ψ)↔ (Ki ϕ ∧ Ki ψ)I proof: . . .

A. Herzig Epistemic Logics IA2, nov. 2017 30 / 102

Page 39: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: some useful theorems

Rule of Necessitation RN(Ki ): ϕKi ϕ

(“for all ϕ, if `S5n ϕ then `S5n Ki ϕ”)I proof:

1 ϕ by hyp.2 ϕ→ (> → ϕ) (CPL)3 > → ϕ from 1. and 2. by (MP)4 Ki> → Ki ϕ from 3. by RM(Ki )5 Ki> N(Ki )6 Ki ϕ from 4. and 5. by (MP)

I N.B.: shorter proof using derived CPL inference rules:1 ϕ by hyp.2 > → ϕ from 1. by (CPL)3 Ki> → Ki ϕ from 2. by RM(Ki )4 Ki> N(Ki )5 Ki ϕ from 3. and 4. by (CPL)

A. Herzig Epistemic Logics IA2, nov. 2017 31 / 102

Page 40: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: some useful theorems

Rule of Equivalence RE(Ki ): ϕ↔ψKi ϕ↔Ki ψ

(“for all ϕ, if `S5n ϕ↔ ψ then `S5n Ki ϕ↔ Ki ψ”)I proof:

1 ϕ↔ ψ by hyp.2 ϕ→ ψ from 1. by (CPL)3 Ki ϕ→ Ki ψ from 2. by RM(Ki )4 ψ → ϕ from 1. by (CPL)5 Ki ψ → Ki ϕ from 4. by RM(Ki )6 Ki ϕ↔ Ki ψ from 3. and 5. by (CPL)

A. Herzig Epistemic Logics IA2, nov. 2017 32 / 102

Page 41: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: some useful theorems, ctd.

Rule of Replacement of Proved Equivalents (REq):ψ↔ψ′

ϕ[p/ψ]↔ϕ[p/ψ′]

(where ϕ[p/ψ] obtained from ϕ by replacing every occurrence of p by ψ, etc.)I proof by induction on the structure of ϕ:

1 ϕ atomic: then ψ = ϕ, and ϕ′ = ψ′

2 ϕ = ¬ϕ1: if ψ = ϕ then ϕ′ = ψ′; else ψ ∈ sf(ϕ1); . . .3 ϕ = ϕ1 ∧ ϕ2: . . .4 ϕ = Ki ϕ1: . . .

A. Herzig Epistemic Logics IA2, nov. 2017 33 / 102

Page 42: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: some useful theorems, ctd.

Kripke’s axiom K(Ki ): `S5n Ki (ϕ→ ψ)→ (Ki ϕ→ Ki ψ)I proof:

1 (Ki ϕ ∧ Ki (ϕ→ ψ))→ Ki (ϕ ∧ (ϕ→ ψ)) C(Ki )2 (ϕ ∧ (ϕ→ ψ))→ ψ (CPL)3 Ki (ϕ ∧ (ϕ→ ψ))→ Ki ψ from 2. by RM(Ki )4 (Ki ϕ ∧ Ki (ϕ→ ψ))→ Ki ψ from 1. and 3. by (CPL)5 Ki (ϕ→ ψ)→ (Ki ϕ→ Ki ψ) from 4. by (CPL)

`S5n (Ki ϕ ∧ K̂i ψ)→ K̂i (ϕ ∧ ψ)I proof: . . . hint: use (REq) and K(Ki )

A. Herzig Epistemic Logics IA2, nov. 2017 34 / 102

Page 43: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: soundness and completeness

Soundness Theorem.If `S5n ϕ then |=S5n ϕ.

Proof.We prove: if there is a S5n-proof 〈ϕ1, . . . , ϕn〉 of ϕ then |=S5n ϕ.We proceed by induction on n.

Base case: If n = 1 then ϕ is an instance of an axiom schema. Weprove that every such instance is valid.Let M be any S5n-model, and w any world in M .

Axiom N(Ki ) is S5n-valid:M,w Ki> because M,w′ > for every w′.Every instance of axiom schema C(Ki ) :(Ki ϕ ∧ Ki ψ)→ Ki (ϕ ∧ ψ) is S5n-valid:suppose M,w Ki ϕ ∧ Ki ψ;then both ϕ and ψ are true in every world w′ ∈ Ki(w);therefore ϕ ∧ ψ is true in every w′ ∈ Ki(w).. . .

A. Herzig Epistemic Logics IA2, nov. 2017 35 / 102

Page 44: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: soundness and completeness, ctd.

(Proof of Soundness Theorem, ctd.)

Induction hypothesis (I.H.): For all m < n, if 〈ϕ1, . . . , ϕm〉 is a S5n-proofof ϕ then |=S5n ϕ.

Induction step: Let 〈ϕ1, . . . , ϕn〉 be a S5n-proof of ϕ. We do a caseanalysis, checking the possible ways ϕn is obtained:

ϕn is an instance of an axiom schema.Then we already know that |=S5n ϕ.ϕn is obtained from some ϕk, k < n, via RM(Ki ).Then ϕk = ψ → χ and ϕn = Ki (ψ → χ), and〈ϕ1, . . . , ϕk〉 is a S5n-proof of ϕk.By I.H., |=S5n ψ → χ, i.e. M,w ψ → χ for every S5n-model Mand every world w in M . Therefore we must have|=S5n Ki (ψ → χ). “RM(Ki ) preserves validity”

ϕn is obtained from some ϕk and ϕl = ϕk → ϕn via (MP).. . . “(MP) preserves validity”

A. Herzig Epistemic Logics IA2, nov. 2017 36 / 102

Page 45: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: soundness and completeness, ctd.

Weak Completeness Theorem.If |=S5n ϕ then `S5n ϕ.

Proof.follows from more general result: Sahlqvist’s completeness theorem

Decidability and complexity Theorem.The problem of S5n-satisfiability of a formula ϕ can be decided inpolynomial space (PSPACE).

Proof.using the tableau procedure

n > 1: requires indeed polynomial space in the worst caseI S5n is PSPACE-complete for n > 1

n = 1: decidable in nondeterministic polynomial time (NP)I S51 is NP-complete (because CPL already NP-hard)

A. Herzig Epistemic Logics IA2, nov. 2017 37 / 102

Page 46: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Axiomatics of S5n: an equivalent axiomatization

Theorem.The logic S5n is also axiomatized by CPL+K(Ki )+RN(Ki ).

Proof.We have to show:

ϕ can be proved from CPL+C(Ki )+N(Ki )+RM(Ki ) iffϕ can be proved from CPL+K(Ki )+RN(Ki ).

For that, it will suffice to prove:

that CPL+C(Ki )+N(Ki )+RM(Ki )I has theorem K(Ki ): Ki (ϕ→ ψ)→ (Ki ϕ→ Ki ψ)I has derived rules (MP) and RN(Ki ): ϕ

Ki ϕ

that CPL+K(Ki )+RN(Ki )I

I has theorems C(Ki ) and N(Ki )I has derived rules (MP) and RM(Ki )

A. Herzig Epistemic Logics IA2, nov. 2017 38 / 102

Page 47: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5nIntroductionLanguageSemanticsAxiomaticsDiscussions

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 39 / 102

Page 48: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Knowledge: omniscience

knowledge set of agent i = set of formulas known by i

i’s knowledge set is. . .I closed under theorems:

F ϕKi ϕ

rule RN(Ki )I closed under logical implication:

F ϕ→ψKi ϕ→Ki ψ

rule RM(Ki )I closed under material implication:

F (Ki ϕ ∧ Ki (ϕ→ ψ))→ Ki ψ axiom K(Ki )

omniscience problemI if I know the axioms and inference rules of Peano Arithmetic

then I know whether every even integer greater than 2 can bewritten as the sum of two prime numbers

F Goldbach’s conjecture; still unproved!I S5n is an idealization: rational agent, perfect reasonerI inadequate for human agentsI however widely accepted in AI

F negative introspection criticized [Len78]

A. Herzig Epistemic Logics IA2, nov. 2017 40 / 102

Page 49: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logicPAL

A. Herzig Epistemic Logics IA2, nov. 2017 41 / 102

Page 50: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Epistemic logic: getting dynamic

observe: after the children have heard father’s announcement thatm1 ∨m2, they eliminate all those worlds where m1 ∨m2 is falseidea: public announcements transform the model (‘update’)example of muddy children puzzle: father says “m1 ∨m2!”

m1oo K2 //OO

K1

��

m1m2OOK1

��

m1∨m2!=⇒ m1oo K2 // m1m2OO

K1

��. oo

K2

// m2 m2

(reflexive arrows omitted)

A. Herzig Epistemic Logics IA2, nov. 2017 42 / 102

Page 51: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: language

ϕ! = announcement of truth of ϕmodal operators of public announcement logic (roughly):{K1 , . . . ,Kn } ∪ {[ϕ!] : ϕ is a formula }

I either circular definition of formulasI or would not allow complex announcements

F [([p!]q)!]Ki q

BNF:ϕ ::= p | ¬ϕ | ϕ ∧ ϕ | Ki ϕ | [ϕ!]ϕ

where p ranges over Atms and i over Agts

reading:[ϕ!]ψ = “ψ is true after every possible execution

of the announcement of ϕ”〈ϕ!〉ψ = ¬[ϕ!]¬ψ

A. Herzig Epistemic Logics IA2, nov. 2017 43 / 102

Page 52: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: language

ϕ! = announcement of truth of ϕmodal operators of public announcement logic (roughly):{K1 , . . . ,Kn } ∪ {[ϕ!] : ϕ is a formula }

I either circular definition of formulasI or would not allow complex announcements

F [([p!]q)!]Ki q

BNF:ϕ ::= p | ¬ϕ | ϕ ∧ ϕ | Ki ϕ | [ϕ!]ϕ

where p ranges over Atms and i over Agts

reading:[ϕ!]ψ = “ψ is true after every possible execution

of the announcement of ϕ”〈ϕ!〉ψ = ¬[ϕ!]¬ψ

A. Herzig Epistemic Logics IA2, nov. 2017 43 / 102

Page 53: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: models

PAL-model = S5n-modeltruth conditions:M,w p iff w ∈ V (p)M,w ¬ϕ iff . . .M,w ϕ ∧ ψ iff . . .M,w Ki ϕ iff M,w′ ϕ for all w′ ∈ Ki(w)M,w [ϕ!]ψ iff M,w 6 ϕ or Mϕ!, w ψ

Mϕ! = “update of M by ϕ”

m1oo K2 //OO

K1

��

m1m2OOK1

��

m1∨m2!=⇒ m1oo K2 // m1m2OO

K1

��. oo

K2

// m2 m2

(reflexive arrows omitted)

A. Herzig Epistemic Logics IA2, nov. 2017 44 / 102

Page 54: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: models (ctd.)

m1oo K2 //OO

K1

��

m1m2OOK1

��

m1∨m2!=⇒ m1oo K2 // m1m2OO

K1

��. oo

K2

// m2 m2

(reflexive arrows omitted)

Mϕ! = 〈Wϕ!,Kϕ!, V ϕ!〉, whereWϕ! = {w′ ∈W : M,w′ ϕ}

Kϕ!i = Ki ∩ (Wϕ! ×Wϕ!)

V ϕ!(p) = V (p) ∩Wϕ!

Remarks.I announcements have to be truthful

F else satisfaction relation would be ill-definedI if there is w ∈W such that M,w ϕ then Mϕ! is an S5n-model

PAL-validity (|=PAL ϕ), PAL-satisfiability: defined as usual

A. Herzig Epistemic Logics IA2, nov. 2017 45 / 102

Page 55: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: models (ctd.)

m1oo K2 //OO

K1

��

m1m2OOK1

��

m1∨m2!=⇒ m1oo K2 // m1m2OO

K1

��. oo

K2

// m2 m2

(reflexive arrows omitted)

Mϕ! = 〈Wϕ!,Kϕ!, V ϕ!〉, whereWϕ! = {w′ ∈W : M,w′ ϕ}Kϕ!i = Ki ∩ (Wϕ! ×Wϕ!)

V ϕ!(p) = V (p) ∩Wϕ!

Remarks.I announcements have to be truthful

F else satisfaction relation would be ill-definedI if there is w ∈W such that M,w ϕ then Mϕ! is an S5n-model

PAL-validity (|=PAL ϕ), PAL-satisfiability: defined as usual

A. Herzig Epistemic Logics IA2, nov. 2017 45 / 102

Page 56: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcement logic PAL: models (ctd.)

m1oo K2 //OO

K1

��

m1m2OOK1

��

m1∨m2!=⇒ m1oo K2 // m1m2OO

K1

��. oo

K2

// m2 m2

(reflexive arrows omitted)

Mϕ! = 〈Wϕ!,Kϕ!, V ϕ!〉, whereWϕ! = {w′ ∈W : M,w′ ϕ}Kϕ!i = Ki ∩ (Wϕ! ×Wϕ!)

V ϕ!(p) = V (p) ∩Wϕ!

Remarks.I announcements have to be truthful

F else satisfaction relation would be ill-definedI if there is w ∈W such that M,w ϕ then Mϕ! is an S5n-model

PAL-validity (|=PAL ϕ), PAL-satisfiability: defined as usualA. Herzig Epistemic Logics IA2, nov. 2017 45 / 102

Page 57: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Public announcements: non-validities!

public announcements do not always preserve knowledge:6|=PALKi ψ → [ϕ!]Ki ψ

I consider ψ = ¬Ki p . . .

public announcements are not always successful:6|=PAL[ϕ!]Ki ϕ

I consider ϕ = p ∧ ¬Ki p (‘Moore sentence’),and remember: Ki (p ∧ ¬Ki p) is S5n-unsatisfiable!

A. Herzig Epistemic Logics IA2, nov. 2017 46 / 102

Page 58: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reducing PAL to S5n

useful PAL validities:[ϕ!]ψ ↔ (¬ϕ ∨ ψ) if ψ is atomic[ϕ!]¬ψ ↔ (¬ϕ ∨ ¬[ϕ!]ψ)[ϕ!](ψ1 ∧ ψ2) ↔ ([ϕ!]ψ1 ∧ [ϕ!]ψ2)[ϕ!]Ki ψ ↔ (¬ϕ ∨ Ki [ϕ!]ψ)

idea: use equivalences as reduction axioms (rewriting from left toright)

I ‘push down’ announcement operatorsI eliminate when a Boolean formula is attainedI red(ϕ) = result of reduction of ϕ

exercises:I red([p!]K1 p) = ?I red([p!]K1 K2 p) = ?I red([(p ∧ ¬K1 p)!]K1 p) = ?

reduction axioms also provide axiomatics (together with rule ofsubstitution of equivalents)

A. Herzig Epistemic Logics IA2, nov. 2017 47 / 102

Page 59: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reducing PAL to S5n

useful PAL validities:[ϕ!]ψ ↔ (¬ϕ ∨ ψ) if ψ is atomic[ϕ!]¬ψ ↔ (¬ϕ ∨ ¬[ϕ!]ψ)[ϕ!](ψ1 ∧ ψ2) ↔ ([ϕ!]ψ1 ∧ [ϕ!]ψ2)[ϕ!]Ki ψ ↔ (¬ϕ ∨ Ki [ϕ!]ψ)

idea: use equivalences as reduction axioms (rewriting from left toright)

I ‘push down’ announcement operatorsI eliminate when a Boolean formula is attainedI red(ϕ) = result of reduction of ϕ

exercises:I red([p!]K1 p) = ?I red([p!]K1 K2 p) = ?I red([(p ∧ ¬K1 p)!]K1 p) = ?

reduction axioms also provide axiomatics (together with rule ofsubstitution of equivalents)

A. Herzig Epistemic Logics IA2, nov. 2017 47 / 102

Page 60: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reducing PAL to S5n

useful PAL validities:[ϕ!]ψ ↔ (¬ϕ ∨ ψ) if ψ is atomic[ϕ!]¬ψ ↔ (¬ϕ ∨ ¬[ϕ!]ψ)[ϕ!](ψ1 ∧ ψ2) ↔ ([ϕ!]ψ1 ∧ [ϕ!]ψ2)[ϕ!]Ki ψ ↔ (¬ϕ ∨ Ki [ϕ!]ψ)

idea: use equivalences as reduction axioms (rewriting from left toright)

I ‘push down’ announcement operatorsI eliminate when a Boolean formula is attainedI red(ϕ) = result of reduction of ϕ

exercises:I red([p!]K1 p) = ?I red([p!]K1 K2 p) = ?I red([(p ∧ ¬K1 p)!]K1 p) = ?

reduction axioms also provide axiomatics (together with rule ofsubstitution of equivalents)

A. Herzig Epistemic Logics IA2, nov. 2017 47 / 102

Page 61: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Reducing PAL to S5n, ctd.

Reduction Theorem.for every PAL-formula ϕ:

1 red(ϕ) is an S5n-formula2 `PAL ϕ↔ red(ϕ)

Sketch of proof.

equivalences are theorems

substitution of proved equivalents (REq) preserves PAL-theoremhood

define a decreasing counter (sum of the number of announcements governingsubformulas)⇒ rewriting terminates

A. Herzig Epistemic Logics IA2, nov. 2017 48 / 102

Page 62: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

PAL: properties

satisfiability in PAL is decidableI apply red + decision procedure for S5n

reduction to S5n leads to suboptimal decision procedureN.B.: rule of uniform substitution not PAL-valid:

I `PAL [p!]K1 p (v.s.; p formula!)I 6`PAL [ϕ!]Ki ϕ (v.s.; ϕ schema!)

A. Herzig Epistemic Logics IA2, nov. 2017 49 / 102

Page 63: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Muddy children reloaded

positive formula π:π ::= β | ϕ ∧ ϕ | ϕ ∨ ϕ | Ki ϕ

where β ranges over Boolean formulasprove that `PAL π → [ϕ!]π if π is a positive formula

I induction step for π = Ki π1:1 π1 → [ϕ!]π1 by induction hyp.2 Ki π1 → Ki [ϕ!]π1 by rule RM(Ki )3 Ki [ϕ!]π1 → [ϕ!]Ki π1 no forgetting4 Ki π1 → [ϕ!]Ki π1 from 2. and 3. by CPL

prove that `PAL [π!]π if π is a positive formulaI `PAL π → [π!]π because . . .I `PAL ¬π → [π!]π because . . .

show:I `PAL [(m1 ∨m2)!]K1 K2 (m1 ∨m2)I `PAL [¬K2m2!]K1 ¬K2m2

I `S5n (K1 K2 (m2 ∨m1) ∧ K1 ¬K2m2 → K1 ¬K2 ¬m1

I `S5n (K1 ¬K2 ¬m1 ∧ K1 (K2 ¬m1 ∨ K2m1))→ K1 K2m1

conclude that`PAL K1 (K2 ¬m1 ∨ K2m1)→ [(m1 ∨m2)!][¬K2m2!]K1m1

A. Herzig Epistemic Logics IA2, nov. 2017 50 / 102

Page 64: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Muddy children reloaded

positive formula π:π ::= β | ϕ ∧ ϕ | ϕ ∨ ϕ | Ki ϕ

where β ranges over Boolean formulasprove that `PAL π → [ϕ!]π if π is a positive formula

I induction step for π = Ki π1:1 π1 → [ϕ!]π1 by induction hyp.2 Ki π1 → Ki [ϕ!]π1 by rule RM(Ki )3 Ki [ϕ!]π1 → [ϕ!]Ki π1 no forgetting4 Ki π1 → [ϕ!]Ki π1 from 2. and 3. by CPL

prove that `PAL [π!]π if π is a positive formulaI `PAL π → [π!]π because . . .I `PAL ¬π → [π!]π because . . .

show:I `PAL [(m1 ∨m2)!]K1 K2 (m1 ∨m2)I `PAL [¬K2m2!]K1 ¬K2m2

I `S5n (K1 K2 (m2 ∨m1) ∧ K1 ¬K2m2 → K1 ¬K2 ¬m1

I `S5n (K1 ¬K2 ¬m1 ∧ K1 (K2 ¬m1 ∨ K2m1))→ K1 K2m1

conclude that`PAL K1 (K2 ¬m1 ∨ K2m1)→ [(m1 ∨m2)!][¬K2m2!]K1m1

A. Herzig Epistemic Logics IA2, nov. 2017 50 / 102

Page 65: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Muddy children reloaded

positive formula π:π ::= β | ϕ ∧ ϕ | ϕ ∨ ϕ | Ki ϕ

where β ranges over Boolean formulasprove that `PAL π → [ϕ!]π if π is a positive formula

I induction step for π = Ki π1:1 π1 → [ϕ!]π1 by induction hyp.2 Ki π1 → Ki [ϕ!]π1 by rule RM(Ki )3 Ki [ϕ!]π1 → [ϕ!]Ki π1 no forgetting4 Ki π1 → [ϕ!]Ki π1 from 2. and 3. by CPL

prove that `PAL [π!]π if π is a positive formulaI `PAL π → [π!]π because . . .I `PAL ¬π → [π!]π because . . .

show:I `PAL [(m1 ∨m2)!]K1 K2 (m1 ∨m2)I `PAL [¬K2m2!]K1 ¬K2m2

I `S5n (K1 K2 (m2 ∨m1) ∧ K1 ¬K2m2 → K1 ¬K2 ¬m1

I `S5n (K1 ¬K2 ¬m1 ∧ K1 (K2 ¬m1 ∨ K2m1))→ K1 K2m1

conclude that`PAL K1 (K2 ¬m1 ∨ K2m1)→ [(m1 ∨m2)!][¬K2m2!]K1m1

A. Herzig Epistemic Logics IA2, nov. 2017 50 / 102

Page 66: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Excursion: the Russian Cards problem [vD03]Moscow Mathematics Olympiad in 2000:From a pack of seven known cards Ann and Bill each draw three cars

and Cath gets the remaining card.How can Ann and Bill publicly and truthfully inform each other about

their cards, without Cath learning from any of their cards who holds it?

cards are 0,1,. . . ,6; Ann holds 012 and Bill holds 345some bad solutions:

I Ann says: “Cath holds 6”F Ann can only announce what she knows!

I Ann says: “I don’t hold 6”F Ann should know that Cath doesn’t learn anything!

I Ann says: “either I or Bill hold 012” (and Bill: “I or Ann hold 345”)F Cath learns that Ann has 012!

I Ann says: “either I hold 012, or I hold none of 0, 1, 2”F Cath doesn’t learn any card,F Ann knows that,F but Cath does not know that!

⇒ that Cath remains ignorant should be common knowledge

A. Herzig Epistemic Logics IA2, nov. 2017 51 / 102

Page 67: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Excursion: the Russian Cards problem [vD03]Moscow Mathematics Olympiad in 2000:From a pack of seven known cards Ann and Bill each draw three cars

and Cath gets the remaining card.How can Ann and Bill publicly and truthfully inform each other about

their cards, without Cath learning from any of their cards who holds it?

cards are 0,1,. . . ,6; Ann holds 012 and Bill holds 345some bad solutions:

I Ann says: “Cath holds 6”F Ann can only announce what she knows!

I Ann says: “I don’t hold 6”F Ann should know that Cath doesn’t learn anything!

I Ann says: “either I or Bill hold 012” (and Bill: “I or Ann hold 345”)F Cath learns that Ann has 012!

I Ann says: “either I hold 012, or I hold none of 0, 1, 2”F Cath doesn’t learn any card,F Ann knows that,F but Cath does not know that!

⇒ that Cath remains ignorant should be common knowledgeA. Herzig Epistemic Logics IA2, nov. 2017 51 / 102

Page 68: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Excursion: the Russian Cards problem [vD03]

solutions:I Ann says: “My cards are among 012, 034, 056, 135 and 246”, and

then Bill says: “Cath has 6”I . . .

can be modeled in PALdoes not work for any number and any distribution of cards

I for which numbers there is a solution? (open problem)

perspective: unconditionally sure cryptographic protocols (perfectreasoners, public communication)

I RSA algorithm presupposes non-omniscience (decomposition intoprime factors not feasible)

A. Herzig Epistemic Logics IA2, nov. 2017 52 / 102

Page 69: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Excursion: the Russian Cards problem [vD03]

solutions:I Ann says: “My cards are among 012, 034, 056, 135 and 246”, and

then Bill says: “Cath has 6”I . . .

can be modeled in PALdoes not work for any number and any distribution of cards

I for which numbers there is a solution? (open problem)perspective: unconditionally sure cryptographic protocols (perfectreasoners, public communication)

I RSA algorithm presupposes non-omniscience (decomposition intoprime factors not feasible)

A. Herzig Epistemic Logics IA2, nov. 2017 52 / 102

Page 70: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Excursion: the paradox of knowability [Fit63]

add a new modal operator quantifying over announcements:I M,w ♦ϕ iff there is ψ such that M,w 〈ψ〉ϕ

F N.B.: ψ should have no occurrence of ♦ (why?)

allows to reason about plan existence (epistemic actions only)I |=?

PAL Init→ ♦GoalI example: |= ♦(Ki p ∨ Ki ¬p)

Fitch’s paradox of knowability:I verificationism: ϕ→ ♦Ki ϕ should be valid for every ϕI however: 6|= (p ∧ ¬Ki p)→ ♦Ki (p ∧ ¬Ki p)

A. Herzig Epistemic Logics IA2, nov. 2017 53 / 102

Page 71: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Dynamic epistemic logic DEL

A. Herzig Epistemic Logics IA2, nov. 2017 54 / 102

Page 72: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Dynamic epistemic logic DEL

PAL: announcements are perceived by every agent:I [p!](K1 p ∧ K2 p ∧ K1 K2 p ∧ . . .)I how can we model other kinds of perception?

idea: model uncertainty about current event by possible events

static uncertainty dynamic uncertaintypossible worlds possible eventsindistinguishability of worlds indistinguishability of events

example: suppose p ∧ ¬K1 p ∧ ¬K1 ¬p ∧ ¬K2 p ∧ ¬K2 ¬pI agent 2 learns that pI various possible perceptions of agent 1:

F 1 also learns that p, and 2 knows that, etc. ⇒ PALF 1 sees that 2 learns whether p, but does learn it himself (and 2 knows

that, etc.)F 1 does not sees this (and 2 knows that, etc.)F 1 suspects thisF . . .

A. Herzig Epistemic Logics IA2, nov. 2017 55 / 102

Page 73: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

DEL: event models

static model M s = 〈W s,Ks, V s〉dynamic model Md = 〈W d,Kd, V d〉, where

I W d is a nonempty set of eventsI Kd : Agts −→W d ×W d

F every Kdi is an equivalence relationF eKie′ = “i perceives occurrence of e as occurrence of e′”

I V d : W d −→ FmlsF what is announced at event wd (‘precondition’)

exercise: find dynamic models for the above examples

A. Herzig Epistemic Logics IA2, nov. 2017 56 / 102

Page 74: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

DEL: private announcement of p to agent 1

1,2

��

OO

1,2

��{p}

1,2

LL

⊗ e

1

�� 2 // f

1,2

=

(∅, f)1,2

��

OO

1,2

��({p}, e

)1

LL

2 //({p}, f

)1,2

RR

static model: neither 1 nor 2 knows whether pevent model: private announcement of p to 1:

V d(e) = p! and V d(f) = >!

product model: update static model by event model

A. Herzig Epistemic Logics IA2, nov. 2017 57 / 102

Page 75: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

DEL: product construction

given:I a static model Ms = 〈W s,Ks, V s〉I a dynamic model Md = 〈W d,Kd, V d〉

product update: M s ⊗Md = 〈W,K, V 〉 whereI W = {〈ws, wd〉 : ws ∈W s, wd ∈W d, and M,ws V d(wd)}I Ki = {〈〈ws, wd〉, 〈vs, vd〉〉 : wsKsi vs and wdKdi vd}I V (〈ws, wd〉) = V s(ws)

restricted product

exercise: build outcome models for the above examples

A. Herzig Epistemic Logics IA2, nov. 2017 58 / 102

Page 76: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

DEL: product construction

given:I a static model Ms = 〈W s,Ks, V s〉I a dynamic model Md = 〈W d,Kd, V d〉

product update: M s ⊗Md = 〈W,K, V 〉 whereI W = {〈ws, wd〉 : ws ∈W s, wd ∈W d, and M,ws V d(wd)}I Ki = {〈〈ws, wd〉, 〈vs, vd〉〉 : wsKsi vs and wdKdi vd}I V (〈ws, wd〉) = V s(ws)

restricted product

exercise: build outcome models for the above examples

A. Herzig Epistemic Logics IA2, nov. 2017 58 / 102

Page 77: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

DEL: properties

reduction axiomscompleteness (via reduction axioms)applications

I analysis of games with imperfect information: Cluedo,. . .I epistemic planning [AB13, BJS15]I cryptographic protocolsI . . .

A. Herzig Epistemic Logics IA2, nov. 2017 59 / 102

Page 78: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Next half of course

logic of beliefdynamics of beliefgroup knowledge and group belief

A. Herzig Epistemic Logics IA2, nov. 2017 60 / 102

Page 79: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45nDoxastic logic: introduction and languageDoxastic logic: semanticsDoxastic logic: axiomaticsDoxastic logic: discussions

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 61 / 102

Page 80: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: introduction

when is knowledge the appropriate informational attitude?remember: “knowledge implies truth” principle in epistemic logic:

|=S5n Ki ϕ→ ϕ

relevant for:I formal epistemology

F what is knowledge?F is knowledge possible at all?F are all truths knowable?

I distributed processes [FHMV95]

A. Herzig Epistemic Logics IA2, nov. 2017 62 / 102

Page 81: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: introduction

when is knowledge the appropriate informational attitude?remember: “knowledge implies truth” principle in epistemic logic:

|=S5n Ki ϕ→ ϕ

relevant for:I formal epistemology

F what is knowledge?F is knowledge possible at all?F are all truths knowable?

I distributed processes [FHMV95]

A. Herzig Epistemic Logics IA2, nov. 2017 62 / 102

Page 82: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: introduction (ctd.)

relation of to truth less in focus in:I philosophy of mind

F focus on i’s mental stateI philosophy of language

F effects of speech acts on the participants’ mental states: lies,bullshitting

I implementation of artificial agents

informational mental attitude not implying truth: beliefI “he knows that ϕ, but he is wrong”: inconsistentI “he believes that ϕ, but he is wrong”: consistent

however: ‘belief aims at truth’ [Eng98, Hak06]doxastic logic [Hin62, Len78, Len95]

I doxa = δoξα = ‘believe’ (Greek)

A. Herzig Epistemic Logics IA2, nov. 2017 63 / 102

Page 83: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: introduction (ctd.)

relation of to truth less in focus in:I philosophy of mind

F focus on i’s mental stateI philosophy of language

F effects of speech acts on the participants’ mental states: lies,bullshitting

I implementation of artificial agentsinformational mental attitude not implying truth: belief

I “he knows that ϕ, but he is wrong”: inconsistentI “he believes that ϕ, but he is wrong”: consistent

however: ‘belief aims at truth’ [Eng98, Hak06]doxastic logic [Hin62, Len78, Len95]

I doxa = δoξα = ‘believe’ (Greek)

A. Herzig Epistemic Logics IA2, nov. 2017 63 / 102

Page 84: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: language

BNF:ϕ ::= p | ⊥ | ¬ϕ | (ϕ ∧ ϕ) | Bi ϕ

where p ranges over Atms and i ranges over Agts

Bi ϕ = “agent i believes that ϕ”

examples of formulas:I m1 ∧ B1 ¬m1

I B1 ¬m1 ∧ B2 B1m1

I B1 (B2m1 ∨ B2 ¬m1)

abbreviation:I B̂i ϕ

def= ¬Bi ¬ϕ “it is possible for i that ϕ”

A. Herzig Epistemic Logics IA2, nov. 2017 64 / 102

Page 85: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: language

BNF:ϕ ::= p | ⊥ | ¬ϕ | (ϕ ∧ ϕ) | Bi ϕ

where p ranges over Atms and i ranges over Agts

Bi ϕ = “agent i believes that ϕ”examples of formulas:

I m1 ∧ B1 ¬m1

I B1 ¬m1 ∧ B2 B1m1

I B1 (B2m1 ∨ B2 ¬m1)

abbreviation:I B̂i ϕ

def= ¬Bi ¬ϕ “it is possible for i that ϕ”

A. Herzig Epistemic Logics IA2, nov. 2017 64 / 102

Page 86: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: language

BNF:ϕ ::= p | ⊥ | ¬ϕ | (ϕ ∧ ϕ) | Bi ϕ

where p ranges over Atms and i ranges over Agts

Bi ϕ = “agent i believes that ϕ”examples of formulas:

I m1 ∧ B1 ¬m1

I B1 ¬m1 ∧ B2 B1m1

I B1 (B2m1 ∨ B2 ¬m1)

abbreviation:I B̂i ϕ

def= ¬Bi ¬ϕ “it is possible for i that ϕ”

A. Herzig Epistemic Logics IA2, nov. 2017 64 / 102

Page 87: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: language (ctd.)

3 possible doxastic attitudes w.r.t. a formula ϕ:

Bi ϕ B̂i ϕ ∧ B̂i ¬ϕ Bi ¬ϕ

I for ϕ contingent and non-doxastic

6 possible doxastic situations w.r.t. a formula ϕ:

ϕ ∧ Bi ϕ ϕ ∧ B̂i ϕ ∧ B̂i ¬ϕ ϕ ∧ Bi ¬ϕ¬ϕ ∧ Bi ϕ ¬ϕ ∧ B̂i ϕ ∧ B̂i ¬ϕ ¬ϕ ∧ Bi ¬ϕ

I for ϕ contingent and non-doxastic

A. Herzig Epistemic Logics IA2, nov. 2017 65 / 102

Page 88: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: language (ctd.)

3 possible doxastic attitudes w.r.t. a formula ϕ:

Bi ϕ B̂i ϕ ∧ B̂i ¬ϕ Bi ¬ϕ

I for ϕ contingent and non-doxastic

6 possible doxastic situations w.r.t. a formula ϕ:

ϕ ∧ Bi ϕ ϕ ∧ B̂i ϕ ∧ B̂i ¬ϕ ϕ ∧ Bi ¬ϕ¬ϕ ∧ Bi ϕ ¬ϕ ∧ B̂i ϕ ∧ B̂i ¬ϕ ¬ϕ ∧ Bi ¬ϕ

I for ϕ contingent and non-doxastic

A. Herzig Epistemic Logics IA2, nov. 2017 65 / 102

Page 89: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45nDoxastic logic: introduction and languageDoxastic logic: semanticsDoxastic logic: axiomaticsDoxastic logic: discussions

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 66 / 102

Page 90: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics

belief explained in terms of possible worlds [Hin62, FHMV95]:Bi ϕ = “agent i believes that ϕ”

= “ϕ true in every world that is compatible with i’s beliefs”

KD45n-model M = 〈W,B, V 〉 where:I W nonempty setI V : Atms −→ 2W ‘valuation’I B : Agts −→ 2W×W such that for every i ∈ Agts:

F for every w there is some w′ such that 〈w,w′〉 ∈ Bi (serial)F if 〈w,w′〉 ∈ Bi and 〈w′, w′′〉 ∈ Bi then 〈w,w′′〉 ∈ Bi (transitive)F if 〈w,w′〉 ∈ Bi and 〈w,w′′〉 ∈ Bi then 〈w′, w′′〉 ∈ Bi (Euclidian)

A. Herzig Epistemic Logics IA2, nov. 2017 67 / 102

Page 91: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics

belief explained in terms of possible worlds [Hin62, FHMV95]:Bi ϕ = “agent i believes that ϕ”

= “ϕ true in every world that is compatible with i’s beliefs”

KD45n-model M = 〈W,B, V 〉 where:I W nonempty setI V : Atms −→ 2W ‘valuation’I B : Agts −→ 2W×W such that for every i ∈ Agts:

F for every w there is some w′ such that 〈w,w′〉 ∈ Bi (serial)F if 〈w,w′〉 ∈ Bi and 〈w′, w′′〉 ∈ Bi then 〈w,w′′〉 ∈ Bi (transitive)F if 〈w,w′〉 ∈ Bi and 〈w,w′′〉 ∈ Bi then 〈w′, w′′〉 ∈ Bi (Euclidian)

A. Herzig Epistemic Logics IA2, nov. 2017 67 / 102

Page 92: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics (ctd.)

Bi(w) = {w′ : 〈w,w′〉 ∈ Bi}= i’s alternatives to w= worlds i cannot distinguish from w on basis of his beliefs= set of worlds compatible with i’s beliefs= belief state of agent i at w

Bi serial ⇔ Bi(w) 6= ∅Bi transitive + Euclidian ⇔ if w′ ∈ Bi(w) then Bi(w) = Bi(w′)

truth condition:I M,w Bi ϕ iff M,w′ ϕ for every w′ ∈ Bi(w)

A. Herzig Epistemic Logics IA2, nov. 2017 68 / 102

Page 93: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics (ctd.)

Bi(w) = {w′ : 〈w,w′〉 ∈ Bi}= i’s alternatives to w= worlds i cannot distinguish from w on basis of his beliefs= set of worlds compatible with i’s beliefs= belief state of agent i at w

Bi serial ⇔ Bi(w) 6= ∅Bi transitive + Euclidian ⇔ if w′ ∈ Bi(w) then Bi(w) = Bi(w′)

truth condition:I M,w Bi ϕ iff M,w′ ϕ for every w′ ∈ Bi(w)

A. Herzig Epistemic Logics IA2, nov. 2017 68 / 102

Page 94: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics (ctd.)

variant of the muddy children puzzle: child 1 wrongly believes it isnot muddy

m1oo B2 //

OOB1��

B1,B2��

m1m2

B1��

B2

. ooB2

//

B1,B2

MM m2

B1,B2

RR

B1(m1m2) = {(m2)}

M, (m1m2) m1 ∧ B1 ¬m1

A. Herzig Epistemic Logics IA2, nov. 2017 69 / 102

Page 95: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: semantics (ctd.)

variant of the muddy children puzzle: child 1 wrongly believes it isnot muddy

m1oo B2 //

OOB1��

B1,B2��

m1m2

B1��

B2

. ooB2

//

B1,B2

MM m2

B1,B2

RR

B1(m1m2) = {(m2)}

M, (m1m2) m1 ∧ B1 ¬m1

A. Herzig Epistemic Logics IA2, nov. 2017 69 / 102

Page 96: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45nDoxastic logic: introduction and languageDoxastic logic: semanticsDoxastic logic: axiomaticsDoxastic logic: discussions

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 70 / 102

Page 97: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: axiomatics

standard multiagent logic of belief = multimodal KD45nI principles of multimodal K:

F principles of classical propositional logicF (Bi ϕ ∧ Bi ψ)→ Bi (ϕ ∧ ψ)F from ϕ→ ψ infer Bi ϕ→ Bi ψ

I consistency of belief:F ¬(Bi ϕ ∧ Bi ¬ϕ) axiom D(Bi )

I positive introspection:F Bi ϕ→ Bi Bi ϕ axiom 4(Bi )

I negative introspection:F ¬Bi ϕ→ Bi ¬Bi ϕ axiom 5(Bi )

A. Herzig Epistemic Logics IA2, nov. 2017 71 / 102

Page 98: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Doxastic logic: properties

sound and complete: `KD45n ϕ iff |=KD45n ϕ

decidablecomplexity of KD45n-satisfiability:

I NP-complete if n = 1I PSPACE-complete if n > 1

for n = 1 there exists a normal form: modal depth ≤ 1

A. Herzig Epistemic Logics IA2, nov. 2017 72 / 102

Page 99: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45nDoxastic logic: introduction and languageDoxastic logic: semanticsDoxastic logic: axiomaticsDoxastic logic: discussions

5 Dynamics of belief

6 Group knowledge and group beliefA. Herzig Epistemic Logics IA2, nov. 2017 73 / 102

Page 100: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: omniscience problem

. . .

(cf. logic of knowledge)

A. Herzig Epistemic Logics IA2, nov. 2017 74 / 102

Page 101: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: belief and probability

KD45n’s belief is a strong form of belief (‘conviction’)weaker form of belief:

Bi ϕ = “Probai(ϕ) > Probai(¬ϕ)”semantics:

M = 〈W,B, V 〉 whereI B : (Agts −→ (W ×W ))

M,w |= Bi ϕ iff among the i-accessible worlds there are more ϕworlds than ¬ϕ worlds”

I (Bi ϕ ∧ Bi ψ)→ Bi (ϕ ∧ ψ) not valid!I weakening of Kripke semantics: neighbourhood semantics

[Bur69, Len78]

A. Herzig Epistemic Logics IA2, nov. 2017 75 / 102

Page 102: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: belief and probability

KD45n’s belief is a strong form of belief (‘conviction’)weaker form of belief:

Bi ϕ = “Probai(ϕ) > Probai(¬ϕ)”semantics: M = 〈W,B, V 〉 where

I B : (Agts −→ (W ×W ))

M,w |= Bi ϕ iff among the i-accessible worlds there are more ϕworlds than ¬ϕ worlds”

I (Bi ϕ ∧ Bi ψ)→ Bi (ϕ ∧ ψ) not valid!I weakening of Kripke semantics: neighbourhood semantics

[Bur69, Len78]

A. Herzig Epistemic Logics IA2, nov. 2017 75 / 102

Page 103: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: graded belief

language: B≥di ϕ = “i believes ϕ with degree at least d” (d ∈ [0, 1])

semantics:

M = 〈W,B, V 〉 whereI B : (Agts × [0, 1]) −→ (W ×W ) such that B≥di ⊆ B≥d+d

i

‘system of spheres’

wB≥di v = “for i, at w world v has degree of possibility at least d”axiomatics:

I KD45(B≥di ), for every i and dI B≥di ϕ→ B≥d

i ϕ if d ≥ d′

A. Herzig Epistemic Logics IA2, nov. 2017 76 / 102

Page 104: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: graded belief

language: B≥di ϕ = “i believes ϕ with degree at least d” (d ∈ [0, 1])

semantics: M = 〈W,B, V 〉 whereI B : (Agts × [0, 1]) −→ (W ×W ) such that B≥di ⊆ B≥d+d

i

‘system of spheres’

wB≥di v = “for i, at w world v has degree of possibility at least d”axiomatics:

I KD45(B≥di ), for every i and dI B≥di ϕ→ B≥d

i ϕ if d ≥ d′

A. Herzig Epistemic Logics IA2, nov. 2017 76 / 102

Page 105: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: graded belief

language: B≥di ϕ = “i believes ϕ with degree at least d” (d ∈ [0, 1])

semantics: M = 〈W,B, V 〉 whereI B : (Agts × [0, 1]) −→ (W ×W ) such that B≥di ⊆ B≥d+d

i

‘system of spheres’

wB≥di v = “for i, at w world v has degree of possibility at least d”axiomatics:

I KD45(B≥di ), for every i and dI B≥di ϕ→ B≥d

i ϕ if d ≥ d′

A. Herzig Epistemic Logics IA2, nov. 2017 76 / 102

Page 106: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: can knowledge be defined from belief?

[Plato, Theaetetus]

Ki ϕdef= Bi ϕ ∧ ϕ

I problem: ‘knowledge by accident’

Ki ϕdef= Bi ϕ ∧ ϕ ∧ hasJustif(i, ϕ)

I problem: what is a justification?F justification logic [Artemov]

I Gettier Problem [1963]:F suppose a logic of belief and justification such that

ϕ→ψhasJustif(i,ϕ)→hasJustif(i,ψ)

F suppose i wrongly believes p, but has some justification for that:¬p ∧ Bi p ∧ hasJustif(i, p) (‘epistemic luck’)

F . . . hence i believes that p ∨ q and i believes that p ∨ ¬q(by axiom M(Bi ))

F . . . and hasJustif(i, (p ∨ q)) and hasJustif(i, (p ∨ ¬q))(use inference rule for hasJustif)

F . . . and either i knows that p ∨ q, or i knows that p ∨ ¬q, for any q:|= Bi p ∧ hasJustif(i, p)→ (Ki (p ∨ q) ∨ Ki (p ∨ ¬q))

A. Herzig Epistemic Logics IA2, nov. 2017 77 / 102

Page 107: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: can knowledge be defined from belief?

[Plato, Theaetetus]

Ki ϕdef= Bi ϕ ∧ ϕ

I problem: ‘knowledge by accident’

Ki ϕdef= Bi ϕ ∧ ϕ ∧ hasJustif(i, ϕ)

I problem: what is a justification?F justification logic [Artemov]

I Gettier Problem [1963]:F suppose a logic of belief and justification such that

ϕ→ψhasJustif(i,ϕ)→hasJustif(i,ψ)

F suppose i wrongly believes p, but has some justification for that:¬p ∧ Bi p ∧ hasJustif(i, p) (‘epistemic luck’)

F . . . hence i believes that p ∨ q and i believes that p ∨ ¬q(by axiom M(Bi ))

F . . . and hasJustif(i, (p ∨ q)) and hasJustif(i, (p ∨ ¬q))(use inference rule for hasJustif)

F . . . and either i knows that p ∨ q, or i knows that p ∨ ¬q, for any q:|= Bi p ∧ hasJustif(i, p)→ (Ki (p ∨ q) ∨ Ki (p ∨ ¬q))

A. Herzig Epistemic Logics IA2, nov. 2017 77 / 102

Page 108: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: can knowledge be defined from belief?

[Plato, Theaetetus]

Ki ϕdef= Bi ϕ ∧ ϕ

I problem: ‘knowledge by accident’

Ki ϕdef= Bi ϕ ∧ ϕ ∧ hasJustif(i, ϕ)

I problem: what is a justification?F justification logic [Artemov]

I Gettier Problem [1963]:F suppose a logic of belief and justification such that

ϕ→ψhasJustif(i,ϕ)→hasJustif(i,ψ)

F suppose i wrongly believes p, but has some justification for that:¬p ∧ Bi p ∧ hasJustif(i, p) (‘epistemic luck’)

F . . . hence i believes that p ∨ q and i believes that p ∨ ¬q(by axiom M(Bi ))

F . . . and hasJustif(i, (p ∨ q)) and hasJustif(i, (p ∨ ¬q))(use inference rule for hasJustif)

F . . . and either i knows that p ∨ q, or i knows that p ∨ ¬q, for any q:|= Bi p ∧ hasJustif(i, p)→ (Ki (p ∨ q) ∨ Ki (p ∨ ¬q))

A. Herzig Epistemic Logics IA2, nov. 2017 77 / 102

Page 109: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: relation between knowledge and belief?

suppose a logic of knowledge and belief defined as:I KD45(Bi )I S5(Ki )I Ki ϕ→ Bi ϕ (‘knowledge implies belief’; 6= natural language use)I Bi ϕ→ Bi Ki ϕ

. . . but implies that Bi ϕ↔ Ki ϕ!I intermediate step: ¬Bi ¬Ki ϕ→ ¬Ki ¬Bi ϕ

culprit: negative introspection for knowledge [Len78, Len95]

A. Herzig Epistemic Logics IA2, nov. 2017 78 / 102

Page 110: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: relation between knowledge and belief?

suppose a logic of knowledge and belief defined as:I KD45(Bi )I S5(Ki )I Ki ϕ→ Bi ϕ (‘knowledge implies belief’; 6= natural language use)I Bi ϕ→ Bi Ki ϕ

. . . but implies that Bi ϕ↔ Ki ϕ!

I intermediate step: ¬Bi ¬Ki ϕ→ ¬Ki ¬Bi ϕculprit: negative introspection for knowledge [Len78, Len95]

A. Herzig Epistemic Logics IA2, nov. 2017 78 / 102

Page 111: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: relation between knowledge and belief?

suppose a logic of knowledge and belief defined as:I KD45(Bi )I S5(Ki )I Ki ϕ→ Bi ϕ (‘knowledge implies belief’; 6= natural language use)I Bi ϕ→ Bi Ki ϕ

. . . but implies that Bi ϕ↔ Ki ϕ!I intermediate step: ¬Bi ¬Ki ϕ→ ¬Ki ¬Bi ϕ

culprit: negative introspection for knowledge [Len78, Len95]

A. Herzig Epistemic Logics IA2, nov. 2017 78 / 102

Page 112: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Discussion: relation between knowledge and belief?

suppose a logic of knowledge and belief defined as:I KD45(Bi )I S5(Ki )I Ki ϕ→ Bi ϕ (‘knowledge implies belief’; 6= natural language use)I Bi ϕ→ Bi Ki ϕ

. . . but implies that Bi ϕ↔ Ki ϕ!I intermediate step: ¬Bi ¬Ki ϕ→ ¬Ki ¬Bi ϕ

culprit: negative introspection for knowledge [Len78, Len95]

A. Herzig Epistemic Logics IA2, nov. 2017 78 / 102

Page 113: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Dynamics of belief

A. Herzig Epistemic Logics IA2, nov. 2017 79 / 102

Page 114: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of beliefDynamics of belief: introduction and motivationDynamics of belief: the AGM theory

6 Group knowledge and group belief

A. Herzig Epistemic Logics IA2, nov. 2017 80 / 102

Page 115: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic

how do i’s beliefs evolve when i learns that ϕ is true?extend KD45n by public announcement operator [ϕ!]

I what if agent i wrongly believes that p, and ¬p is announced?I can’t be the case in epistemic logic: `S5n-PAL Ki p→ [¬p!]⊥

F proof:`S5n Ki p→ p`S5n-PAL p↔ [¬p!]⊥ (reduction axiom)

I in doxastic logic:F Bi p ∧ ¬p is KD45n satisfiableF `KD45n-PAL p↔ [¬p!]⊥ (reduction axiom)F Bi p ∧ ¬[¬p!]⊥ should be KD45n-PAL satisfiable!

A. Herzig Epistemic Logics IA2, nov. 2017 81 / 102

Page 116: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

exercise: prove `KD45n-PAL (¬p ∧ Bi p)→ 〈¬p!〉Bi⊥

1 ¬p→ 〈¬p!〉> (red.ax.)2 [¬p!]Bi ¬p

F reduction:[¬p!]Bi ¬p ↔ ¬p→ Bi [¬p!]¬p

↔ ¬p→ Bi (¬p→ ¬p)↔ ¬p→ Bi>↔ ¬p→ >↔ >

3 Bi p→ [¬p!]Bi pF reduction:

[¬p!]Bi p ↔ ¬p→ Bi [¬p!]p↔ ¬p→ Bi (¬p→ p)↔ ¬p→ Bi p

4 (¬p ∧ Bi p)→ 〈¬p!〉(Bi p ∧ Bi ¬p) (from 1,2,3)

A. Herzig Epistemic Logics IA2, nov. 2017 82 / 102

Page 117: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

exercise: prove `KD45n-PAL (¬p ∧ Bi p)→ 〈¬p!〉Bi⊥1 ¬p→ 〈¬p!〉> (red.ax.)

2 [¬p!]Bi ¬pF reduction:

[¬p!]Bi ¬p ↔ ¬p→ Bi [¬p!]¬p↔ ¬p→ Bi (¬p→ ¬p)↔ ¬p→ Bi>↔ ¬p→ >↔ >

3 Bi p→ [¬p!]Bi pF reduction:

[¬p!]Bi p ↔ ¬p→ Bi [¬p!]p↔ ¬p→ Bi (¬p→ p)↔ ¬p→ Bi p

4 (¬p ∧ Bi p)→ 〈¬p!〉(Bi p ∧ Bi ¬p) (from 1,2,3)

A. Herzig Epistemic Logics IA2, nov. 2017 82 / 102

Page 118: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

exercise: prove `KD45n-PAL (¬p ∧ Bi p)→ 〈¬p!〉Bi⊥1 ¬p→ 〈¬p!〉> (red.ax.)2 [¬p!]Bi ¬p

F reduction:[¬p!]Bi ¬p ↔ ¬p→ Bi [¬p!]¬p

↔ ¬p→ Bi (¬p→ ¬p)↔ ¬p→ Bi>↔ ¬p→ >↔ >

3 Bi p→ [¬p!]Bi pF reduction:

[¬p!]Bi p ↔ ¬p→ Bi [¬p!]p↔ ¬p→ Bi (¬p→ p)↔ ¬p→ Bi p

4 (¬p ∧ Bi p)→ 〈¬p!〉(Bi p ∧ Bi ¬p) (from 1,2,3)

A. Herzig Epistemic Logics IA2, nov. 2017 82 / 102

Page 119: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

exercise: prove `KD45n-PAL (¬p ∧ Bi p)→ 〈¬p!〉Bi⊥1 ¬p→ 〈¬p!〉> (red.ax.)2 [¬p!]Bi ¬p

F reduction:[¬p!]Bi ¬p ↔ ¬p→ Bi [¬p!]¬p

↔ ¬p→ Bi (¬p→ ¬p)↔ ¬p→ Bi>↔ ¬p→ >↔ >

3 Bi p→ [¬p!]Bi pF reduction:

[¬p!]Bi p ↔ ¬p→ Bi [¬p!]p↔ ¬p→ Bi (¬p→ p)↔ ¬p→ Bi p

4 (¬p ∧ Bi p)→ 〈¬p!〉(Bi p ∧ Bi ¬p) (from 1,2,3)

A. Herzig Epistemic Logics IA2, nov. 2017 82 / 102

Page 120: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

exercise: prove `KD45n-PAL (¬p ∧ Bi p)→ 〈¬p!〉Bi⊥1 ¬p→ 〈¬p!〉> (red.ax.)2 [¬p!]Bi ¬p

F reduction:[¬p!]Bi ¬p ↔ ¬p→ Bi [¬p!]¬p

↔ ¬p→ Bi (¬p→ ¬p)↔ ¬p→ Bi>↔ ¬p→ >↔ >

3 Bi p→ [¬p!]Bi pF reduction:

[¬p!]Bi p ↔ ¬p→ Bi [¬p!]p↔ ¬p→ Bi (¬p→ p)↔ ¬p→ Bi p

4 (¬p ∧ Bi p)→ 〈¬p!〉(Bi p ∧ Bi ¬p) (from 1,2,3)

A. Herzig Epistemic Logics IA2, nov. 2017 82 / 102

Page 121: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

ways out:1 drop seriality: beliefs might get inconsistent2 modify truth condition for announcements

M,w [ϕ!]ψ iff M,w 6 ϕ or(M,w B̂i ϕ and Mϕ!, w ψ), or(M,w Bi ¬ϕ and M,w ψ)

F reduction axiom:[ϕ!]Bi ψ ↔ ¬ϕ ∨ (B̂i ϕ ∧ Bi [ϕ!]ψ) ∨ (Bi ¬ϕ ∧ Bi ψ)

F believe-contravening input is rejected3 integrate belief revision mechanisms

A. Herzig Epistemic Logics IA2, nov. 2017 83 / 102

Page 122: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

ways out:1 drop seriality: beliefs might get inconsistent2 modify truth condition for announcements

M,w [ϕ!]ψ iff M,w 6 ϕ or(M,w B̂i ϕ and Mϕ!, w ψ), or(M,w Bi ¬ϕ and M,w ψ)

F reduction axiom:[ϕ!]Bi ψ ↔ ¬ϕ ∨ (B̂i ϕ ∧ Bi [ϕ!]ψ) ∨ (Bi ¬ϕ ∧ Bi ψ)

F believe-contravening input is rejected

3 integrate belief revision mechanisms

A. Herzig Epistemic Logics IA2, nov. 2017 83 / 102

Page 123: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The logic of belief: getting dynamic (ctd.)

ways out:1 drop seriality: beliefs might get inconsistent2 modify truth condition for announcements

M,w [ϕ!]ψ iff M,w 6 ϕ or(M,w B̂i ϕ and Mϕ!, w ψ), or(M,w Bi ¬ϕ and M,w ψ)

F reduction axiom:[ϕ!]Bi ψ ↔ ¬ϕ ∨ (B̂i ϕ ∧ Bi [ϕ!]ψ) ∨ (Bi ¬ϕ ∧ Bi ψ)

F believe-contravening input is rejected3 integrate belief revision mechanisms

A. Herzig Epistemic Logics IA2, nov. 2017 83 / 102

Page 124: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Plan

1 The logic of knowledge S5n

2 Public announcement logic PAL

3 Dynamic epistemic logic DEL

4 The logic of belief KD45n

5 Dynamics of beliefDynamics of belief: introduction and motivationDynamics of belief: the AGM theory

6 Group knowledge and group belief

A. Herzig Epistemic Logics IA2, nov. 2017 84 / 102

Page 125: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: the internal perspective

beliefs of an agent = set of Boolean formulas S ⊆ LCPL

ϕ ∈ S = “ϕ believed by the agent”internal perspective (S is ‘in the agent’s head’)6= external perspective:

I ϕ = “ϕ is (objectively) true”I taken in doxastic logic

internal version of doxastic logic [Auc08]I distinguished agent Y (“you”)I ϕ = “Y believes that ϕ”I wanted: ` ϕ↔ BY ϕI abandon inference rule of necessitation

F |= BY ϕ→ ϕ, but 6|= Bi (BY ϕ→ ϕ)

A. Herzig Epistemic Logics IA2, nov. 2017 85 / 102

Page 126: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: coherentism vs. foundationalism

beliefs of an agent = set of Boolean formulas S ⊆ LCPL

foundational view: some beliefs are more basic than othersI belief base (typically finite)

coherentist view: all beliefs support each otherI S closed under logical consequence: belief set

F omniscience problem (v.s.)I can be represented by a formula [KM92]

F logically equivalent formulas should be revised in the same way

A. Herzig Epistemic Logics IA2, nov. 2017 86 / 102

Page 127: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: belief change operations

agent’s beliefs = set of formulas:I op : 2LCPL × LCPL −→ 2LCPL [AGM85]

agent’s beliefs = formula:I op : LCPL × LCPL −→ LCPL [KM92]

I require that when ` ϕ1 ↔ ϕ2 then ` op(ϕ1, ψ)↔ op(ϕ2, ψ)F ‘simulates’ coherentist approach

3 kinds of operations op:I ϕ+ ψ: expansionI ϕ− ψ: contractionI ϕ ? ψ: revision

A. Herzig Epistemic Logics IA2, nov. 2017 87 / 102

Page 128: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: belief change operations (ctd.)

expand ϕ by ψ:ϕ+ ψ = “add ψ without worrying about consistency”

I desiderata:F ϕ+ ψ

def= ϕ ∧ ψ

contract ϕ by ψ:ϕ− ψ = “weaken ϕ such that ψ no longer follows”

I desiderata:F ϕ− ψ 6` ψF ϕ ` ϕ− ψ

revise ϕ by ψ:ϕ ? ψ = “weaken ϕ such that ¬ψ no longer follows, and add ψ”

I desiderata:F ϕ ? ψ = (ϕ− ¬ψ) + ψ (Levi Identity)F ϕ ? ψ ` ψF . . .

A. Herzig Epistemic Logics IA2, nov. 2017 88 / 102

Page 129: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

The basic AGM postulates for belief revision

(R1) ϕ ? ψ ` ψ(R2) if ϕ 6` ¬ψ then ` ϕ ? ψ ↔ ϕ ∧ ψ(R3) if ϕ ? ψ ` ⊥ then ψ ` ⊥(R4) if ` ϕ↔ ϕ′ and ` ψ ↔ ψ′ then ` ϕ ? ψ ↔ ϕ′ ? ψ′

(R56) if ϕ ? ψ1 6` ¬ψ2 then ` ϕ ? (ψ1 ∧ ψ2)↔ (ϕ ? ψ1) ∧ ψ2

generalizes (R2)

N.B.: postulate 6= axiom: may use metalanguage (“if ϕ 6` ¬ψ . . . ”)

A. Herzig Epistemic Logics IA2, nov. 2017 89 / 102

Page 130: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: semantics

model = sphere system: set of centered spheres surrounding ‖ϕ‖I [Gro88], inspired from conditional logics [Lew73]I ‖ϕ‖ = {w : w ϕ} = extension of ϕ (w = interpretation of CPL)I total preorder ≤ϕ, for every formula ϕ

F w1 ≈ϕ w2 iff w1 <ϕ w2 and w2 <ϕ w1

I ≤ϕ centered around ‖ϕ‖:F if w1 ϕ and w2 ϕ then w1 ≈ϕ w2

F if w1 ϕ and w2 6 ϕ then w1 <ϕ w2

I insensitive to syntax:F if ` ϕ↔ ϕ′ then ≤ϕ = ≤ϕ′

≤ defines a revision operation:I ‖ϕ ?≤ ψ‖ = min≤ϕ

‖ψ‖

A. Herzig Epistemic Logics IA2, nov. 2017 90 / 102

Page 131: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: semantics

model = sphere system: set of centered spheres surrounding ‖ϕ‖I [Gro88], inspired from conditional logics [Lew73]I ‖ϕ‖ = {w : w ϕ} = extension of ϕ (w = interpretation of CPL)I total preorder ≤ϕ, for every formula ϕ

F w1 ≈ϕ w2 iff w1 <ϕ w2 and w2 <ϕ w1

I ≤ϕ centered around ‖ϕ‖:F if w1 ϕ and w2 ϕ then w1 ≈ϕ w2

F if w1 ϕ and w2 6 ϕ then w1 <ϕ w2

I insensitive to syntax:F if ` ϕ↔ ϕ′ then ≤ϕ = ≤ϕ′

≤ defines a revision operation:I ‖ϕ ?≤ ψ‖ = min≤ϕ

‖ψ‖

A. Herzig Epistemic Logics IA2, nov. 2017 90 / 102

Page 132: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: representation theorem

representation theorem:let ? : LCPL × LCPL −→ LCPL be any mapping;

? satisfies the (extended) AGM postulates iffthere is a family of total preorders ≤ϕ, one for every ϕ, centeredaround ‖ϕ‖ and insensitive to syntax, s.th. ‖ϕ ?≤ ψ‖ = min≤ϕ ‖ψ‖

other semantics:I partial meet contraction [AGM85]

F S⊥ψ = {S′ ⊆ S : S 6` ψ}F S ? ψ = γ(S⊥¬ψ) + ψ

I epistemic entrenchment orderings ≤ on formulas [Gär88]F constraints on ordering: . . .F relation with possibility theory [Zadeh, Dubois and Prade]

I . . .I Spohn’s ordinal conditional functions [Spo88]

F numerical version of sphere systems

A. Herzig Epistemic Logics IA2, nov. 2017 91 / 102

Page 133: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: representation theorem

representation theorem:let ? : LCPL × LCPL −→ LCPL be any mapping;

? satisfies the (extended) AGM postulates iffthere is a family of total preorders ≤ϕ, one for every ϕ, centeredaround ‖ϕ‖ and insensitive to syntax, s.th. ‖ϕ ?≤ ψ‖ = min≤ϕ ‖ψ‖

other semantics:I partial meet contraction [AGM85]

F S⊥ψ = {S′ ⊆ S : S 6` ψ}F S ? ψ = γ(S⊥¬ψ) + ψ

I epistemic entrenchment orderings ≤ on formulas [Gär88]F constraints on ordering: . . .F relation with possibility theory [Zadeh, Dubois and Prade]

I . . .I Spohn’s ordinal conditional functions [Spo88]

F numerical version of sphere systems

A. Herzig Epistemic Logics IA2, nov. 2017 91 / 102

Page 134: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

AGM theory: integrations with doxastic logic

“Two traditions in the logic of belief: bringing them together”[Seg95, Seg99]

I modal operators Bi , [+ψ], [−ψ], [?ψ]I [?ψ]ϕ = “ϕ is true after revision by ψ”

internal version of doxastic logic [Auc08]I straightforward transfer of AGM representation theorems to

multiagent casedistinguish several versions of belief [BS07, BS08]

I soft beliefs: can be revisedI hard beliefs: cannot

A. Herzig Epistemic Logics IA2, nov. 2017 92 / 102

Page 135: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

What we have seen up to now

‘the’ logic of knowledgeI S5n = standard epistemic logic (narrow sense)I dynamics of knowledge:

F PAL = Public Announcement LogicF DEL = Dynamic Epistemic Logic

‘the’ logic of beliefI KD45n = standard doxastic logicI dynamics of belief:

F AGM belief revision

. . . this is all about single-agent knowledge and belief: what aboutgroups?

A. Herzig Epistemic Logics IA2, nov. 2017 93 / 102

Page 136: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Group knowledge and groupbelief

A. Herzig Epistemic Logics IA2, nov. 2017 94 / 102

Page 137: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Shared knowledge and the gossip problem

shared knowledge (‘everybody knows’):I EK{i1,...,in} ϕ

def= Ki1 ϕ ∧ . . . ∧ Kin ϕ

properties:I |= (EKJ1 ϕ ∧ EKJ2 ϕ)↔ EKJ1∪J2 ϕI 6|= EKJ ϕ→ EKJ EKJ ϕI remember: Agts finite (else 2Agts uncountable)

gossip problem:I each of n friends has a secret si only known to himI the agents can only communicate by one-to-one phone callsI shared knowledge of depth 1 can be achieved by 2(n− 2) callsI shared knowledge of depth d can be achieved by (d+ 1)(n− 2) calls

I common knowledge cannot be achieved

A. Herzig Epistemic Logics IA2, nov. 2017 95 / 102

Page 138: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Shared knowledge and the gossip problem

shared knowledge (‘everybody knows’):I EK{i1,...,in} ϕ

def= Ki1 ϕ ∧ . . . ∧ Kin ϕ

properties:I |= (EKJ1 ϕ ∧ EKJ2 ϕ)↔ EKJ1∪J2 ϕI 6|= EKJ ϕ→ EKJ EKJ ϕI remember: Agts finite (else 2Agts uncountable)

gossip problem:I each of n friends has a secret si only known to himI the agents can only communicate by one-to-one phone callsI shared knowledge of depth 1 can be achieved by 2(n− 2) callsI shared knowledge of depth d can be achieved by (d+ 1)(n− 2) callsI common knowledge cannot be achieved

A. Herzig Epistemic Logics IA2, nov. 2017 95 / 102

Page 139: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common knowledge: language, motivation, semantics

CKi,j ϕ = “it is common knowledge of i and j that ϕ”informal definition:

I CKi,j ϕ = EKi,j ϕ ∧ EKi,j EKi,j ϕ ∧ EKi,j EKi,j EKi,j ϕ ∧ . . .I cannot be defined as an abbreviation⇒ new modal operator

fundamental for coordinationI conventions in societies (‘drive on the right’) [Lew69]I common ground in conversation (‘what we agree on’) [CS89]I coordinated attack problem (‘Byzantine Generals’) [FHMV95]

truth condition:M,w CKi,j ϕ iff M,w EKi,j ϕ and M,w EKi,j EKi,j ϕ and . . .

in terms of accessibility relations:I KCKi,j

(w) = KKi(w) ∪ KKj

(w) ∪ (KKi◦ KKj

)(w) ∪ . . .so:

I KCKJ(w)

def= (

⋃i∈J KKi

)∗(w)

A. Herzig Epistemic Logics IA2, nov. 2017 96 / 102

Page 140: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common knowledge: axiomatization

axiomatization of KT5(Ki ) with common knowledge:I axiomatics KT5(i)I fixpoint axiom:

F CKJ ϕ↔ (ϕ ∧ EKJ CKJ ϕ)F N.B.: right-to-left direction already a theorem:`KT5(Ki ) EKJ CKJ ϕ→ Ki CKJ ϕ, and`KT5(Ki ) EKi CKJ ϕ→ CKJ ϕ

I greatest fixpoint axiom (alias induction axiom):F (ϕ ∧ CKJ (ϕ→ EKJ ϕ))→ CKJ ϕ

sound, complete and decidableI only weakly complete, but not strongly:

F {EKJnϕ : n ≥ 0} |= CKJ ϕ, but{EKJnϕ : n ≥ 0} 6` CKJ ϕ

I ‘S5n with common knowledge not compact’I same for LTL

complexity of satisfiability: EXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 97 / 102

Page 141: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common knowledge: axiomatization

axiomatization of KT5(Ki ) with common knowledge:I axiomatics KT5(i)I fixpoint axiom:

F CKJ ϕ↔ (ϕ ∧ EKJ CKJ ϕ)F N.B.: right-to-left direction already a theorem:`KT5(Ki ) EKJ CKJ ϕ→ Ki CKJ ϕ, and`KT5(Ki ) EKi CKJ ϕ→ CKJ ϕ

I greatest fixpoint axiom (alias induction axiom):F (ϕ ∧ CKJ (ϕ→ EKJ ϕ))→ CKJ ϕ

sound, complete and decidable

I only weakly complete, but not strongly:F {EKJnϕ : n ≥ 0} |= CKJ ϕ, but{EKJnϕ : n ≥ 0} 6` CKJ ϕ

I ‘S5n with common knowledge not compact’I same for LTL

complexity of satisfiability: EXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 97 / 102

Page 142: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common knowledge: axiomatization

axiomatization of KT5(Ki ) with common knowledge:I axiomatics KT5(i)I fixpoint axiom:

F CKJ ϕ↔ (ϕ ∧ EKJ CKJ ϕ)F N.B.: right-to-left direction already a theorem:`KT5(Ki ) EKJ CKJ ϕ→ Ki CKJ ϕ, and`KT5(Ki ) EKi CKJ ϕ→ CKJ ϕ

I greatest fixpoint axiom (alias induction axiom):F (ϕ ∧ CKJ (ϕ→ EKJ ϕ))→ CKJ ϕ

sound, complete and decidableI only weakly complete, but not strongly:

F {EKJnϕ : n ≥ 0} |= CKJ ϕ, but{EKJnϕ : n ≥ 0} 6` CKJ ϕ

I ‘S5n with common knowledge not compact’I same for LTL

complexity of satisfiability: EXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 97 / 102

Page 143: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common knowledge: axiomatization

axiomatization of KT5(Ki ) with common knowledge:I axiomatics KT5(i)I fixpoint axiom:

F CKJ ϕ↔ (ϕ ∧ EKJ CKJ ϕ)F N.B.: right-to-left direction already a theorem:`KT5(Ki ) EKJ CKJ ϕ→ Ki CKJ ϕ, and`KT5(Ki ) EKi CKJ ϕ→ CKJ ϕ

I greatest fixpoint axiom (alias induction axiom):F (ϕ ∧ CKJ (ϕ→ EKJ ϕ))→ CKJ ϕ

sound, complete and decidableI only weakly complete, but not strongly:

F {EKJnϕ : n ≥ 0} |= CKJ ϕ, but{EKJnϕ : n ≥ 0} 6` CKJ ϕ

I ‘S5n with common knowledge not compact’I same for LTL

complexity of satisfiability: EXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 97 / 102

Page 144: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

muddy children with n children

I solution requires n roundsI specification requires common knowledge

consecutive numbers: let ni, nj be integers;6|= CKi,j (|ni − nj | = 1)→ CKi,j (ni ≤ 100)

prove that the logic of common knowledge has all principles of S5I prove that the reflexive and transitive union of equivalence relations

is an equivalence relationF (

⋃i∈J KKi )

∗ is reflexiveF if some KKi is reflexive then (

⋃i∈J KKi )

+ is reflexiveF if every KKi is symmetric then (

⋃i∈J KKi )

+ is symmetric

A. Herzig Epistemic Logics IA2, nov. 2017 98 / 102

Page 145: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

muddy children with n childrenI solution requires n roundsI specification requires common knowledge

consecutive numbers: let ni, nj be integers;6|= CKi,j (|ni − nj | = 1)→ CKi,j (ni ≤ 100)

prove that the logic of common knowledge has all principles of S5I prove that the reflexive and transitive union of equivalence relations

is an equivalence relationF (

⋃i∈J KKi )

∗ is reflexiveF if some KKi is reflexive then (

⋃i∈J KKi )

+ is reflexiveF if every KKi is symmetric then (

⋃i∈J KKi )

+ is symmetric

A. Herzig Epistemic Logics IA2, nov. 2017 98 / 102

Page 146: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

muddy children with n childrenI solution requires n roundsI specification requires common knowledge

consecutive numbers: let ni, nj be integers;6|= CKi,j (|ni − nj | = 1)→ CKi,j (ni ≤ 100)

prove that the logic of common knowledge has all principles of S5I prove that the reflexive and transitive union of equivalence relations

is an equivalence relationF (

⋃i∈J KKi )

∗ is reflexiveF if some KKi is reflexive then (

⋃i∈J KKi )

+ is reflexiveF if every KKi is symmetric then (

⋃i∈J KKi )

+ is symmetric

A. Herzig Epistemic Logics IA2, nov. 2017 98 / 102

Page 147: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

muddy children with n childrenI solution requires n roundsI specification requires common knowledge

consecutive numbers: let ni, nj be integers;6|= CKi,j (|ni − nj | = 1)→ CKi,j (ni ≤ 100)

prove that the logic of common knowledge has all principles of S5I prove that the reflexive and transitive union of equivalence relations

is an equivalence relationF (

⋃i∈J KKi )

∗ is reflexiveF if some KKi is reflexive then (

⋃i∈J KKi )

+ is reflexiveF if every KKi is symmetric then (

⋃i∈J KKi )

+ is symmetric

A. Herzig Epistemic Logics IA2, nov. 2017 98 / 102

Page 148: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common belief: semantics and axiomatics

EBJ ϕdef=∧i∈J Bi ϕ ‘everybody believes’

CBJ ϕ = EBJ ϕ ∧ EBJ EBJ ϕ ∧ . . .

KCBJdef= (

⋃i∈J KBi )+

axiomatization of KD45(Bi ) with common belief:I axiomatics KD45(Bi )I fixpoint axiom:

F CBJ ϕ↔ (EBJ ϕ ∧ EBJ CBJ ϕ)

I least fixpoint inference rule (alias induction rule):F ϕ→EBJ ϕ

EBJ ϕ→CBJ ϕ

equivalent to least fixpoint axiomF (EBJ ϕ ∧ CBJ (ϕ→ EBJ ϕ))→ CBJ ϕ

sound, complete and decidableEXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 99 / 102

Page 149: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common belief: semantics and axiomatics

EBJ ϕdef=∧i∈J Bi ϕ ‘everybody believes’

CBJ ϕ = EBJ ϕ ∧ EBJ EBJ ϕ ∧ . . .

KCBJdef= (

⋃i∈J KBi )+

axiomatization of KD45(Bi ) with common belief:I axiomatics KD45(Bi )I fixpoint axiom:

F CBJ ϕ↔ (EBJ ϕ ∧ EBJ CBJ ϕ)

I least fixpoint inference rule (alias induction rule):F ϕ→EBJ ϕ

EBJ ϕ→CBJ ϕ

equivalent to least fixpoint axiomF (EBJ ϕ ∧ CBJ (ϕ→ EBJ ϕ))→ CBJ ϕ

sound, complete and decidableEXPTIME complete

A. Herzig Epistemic Logics IA2, nov. 2017 99 / 102

Page 150: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

prove that if KBi is serial then (⋃i∈J KBi )+ is serial

prove that (⋃i∈J KBi )+ is transitive

prove that (⋃i∈J KBi )+ is not necessarily Euclidean

I 6|= ¬CBi,j ϕ→ CBi,j ¬CBi,j ϕ(no negative introspection!)

I logic of common belief weaker than KD45!

A. Herzig Epistemic Logics IA2, nov. 2017 100 / 102

Page 151: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Exercises

prove that if KBi is serial then (⋃i∈J KBi )+ is serial

prove that (⋃i∈J KBi )+ is transitive

prove that (⋃i∈J KBi )+ is not necessarily Euclidean

I 6|= ¬CBi,j ϕ→ CBi,j ¬CBi,j ϕ(no negative introspection!)

I logic of common belief weaker than KD45!

A. Herzig Epistemic Logics IA2, nov. 2017 100 / 102

Page 152: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

What we have seen in this course

‘the’ logic of knowledgeI S5n = standard epistemic logic (narrow sense)I dynamics of knowledge:

F PAL = Public Announcement LogicF DEL = Dynamic Epistemic Logic

‘the’ logic of beliefI KD45n = standard doxastic logicI dynamics of belief:

F AGM belief revision

shared knowledge, shared beliefcommon knowledge, common belief

A. Herzig Epistemic Logics IA2, nov. 2017 101 / 102

Page 153: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Common ground and the compatriots puzzle

. . . [HL14]

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 154: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Guillaume Aucher and Thomas Bolander.Undecidability in epistemic planning.In Francesca Rossi, editor, IJCAI 2013, Proceedings of the 23rd InternationalJoint Conference on Artificial Intelligence, Beijing, China, August 3-9, 2013,pages 27–33. IJCAI/AAAI, 2013.

Carlos Alchourrón, Peter Gärdenfors, and David Makinson.On the logic of theory change: Partial meet contraction and revision functions.J. of Symbolic Logic, 50:510–530, 1985.

Guillaume Aucher.Perspectives on belief and change.PhD thesis, Université de Toulouse, July 2008.

Simon Baron-Cohen, Alan M. Leslie, and Uta Frith.Does the autistic child have a ‘theory of mind’?Cognition, 21(1):37–46, 1985.

Thomas Bolander, Martin Holm Jensen, and François Schwarzentruber.Complexity results in epistemic planning.In Qiang Yang and Michael Wooldridge, editors, Proceedings of theTwenty-Fourth International Joint Conference on Artificial Intelligence, IJCAI

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 155: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

2015, Buenos Aires, Argentina, July 25-31, 2015, pages 2791–2797. AAAI Press,2015.

Alexandru Baltag and Sonja Smets.From conditional probability to the logic of doxastic actions.In Dov Samet, editor, Proc. 11th Conference on Theoretical Aspects ofRationality and Knowledge (TARK-2007), pages 52–61, 2007.

Alexandru Baltag and Sonja Smets.Probabilistic dynamic belief revision.Synthese, 165(2):179–202, 2008.

John P. Burgess.Probability logic.J. of Symbolic Logic, 34:264–274, 1969.

Herbert H. Clark and Edward F. Schaefer.Contributing to discourse.Cognitive Science, 13:259–294, 1989.

Pascal Engel.Believing, holding true, and accepting.Philosophical Explorations, 1(2):140–151, 1998.

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 156: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Ronald Fagin, Joseph Y. Halpern, Yoram Moses, and Moshe Y. Vardi.Reasoning about Knowledge.MIT Press, 1995.

F. Fitch.A logical analysis of some value concepts.The Journal of Symbolic Logic, 28:135–142, 1963.reprinted in Salerno (ed.) 2009, 21-28.

Peter Gärdenfors.Knowledge in Flux: Modeling the Dynamics of Epistemic States.MIT Press, 1988.

Adam Grove.Two modellings for theory change.J. of Philosophical Logic, 17:157–170, 1988.

Paul Hakli.Group beliefs and the distinction between belief and acceptance.Cognitive Systems Research, 7:286–297, 2006.

Jaakko Hintikka.Knowledge and belief.

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 157: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Cornell University Press, Ithaca, N.Y., 1962.

Andreas Herzig and Emiliano Lorini.A modal logic of perceptual belief.In Franck Lihoreau and Manuel Rebuschi, editors, Epistemology, Context, andFormalism, volume 369 of Synthese Library, pages 197–211. Springer, 2014.

Vincent Hendricks and John Symons.Epistemic logic.In Edward N. Zalta, editor, The Stanford Encyclopedia of Philosophy.Metaphysics Research Lab, Stanford University, fall 2015 edition, 2015.

Hirofumi Katsuno and Alberto O. Mendelzon.On the difference between updating a knowledge base and revising it.In Peter Gärdenfors, editor, Belief revision, pages 183–203. CambridgeUniversity Press, 1992.(preliminary version in Allen, J.A., Fikes, R., and Sandewall, E., eds., Principlesof Knowledge Representation and Reasoning: Proc. 2nd Int. Conf., pages387–394. Morgan Kaufmann Publishers, 1991).

Saul Kripke.A completeness theorem in modal logic.Journal of Symbolic Logic, 24(1):1–14, 1959.

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 158: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

Wolfgang Lenzen.Recent work in epistemic logic.North Holland Publishing Company, Amsterdam, 1978.

Wolfgang Lenzen.On the semantics and pragmatics of epistemic attitudes.In Armin Laux and Heinrich Wansing, editors, Knowledge and belief in philosophyand AI, pages 181–197. Akademie Verlag, Berlin, 1995.

David K. Lewis.Convention: a philosophical study.Harvard University Press, Cambridge, 1969.

David K. Lewis.Counterfactuals.Basil Blackwell, Oxford, 1973.

Krister Segerberg.Belief revision from the point of view of doxastic logic.Bulletin of the IGPL, 3:534–553, 1995.

Krister Segerberg.Two traditions in the logic of belief: bringing them together.

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102

Page 159: Epistemic logics - IRITAndreas.Herzig/Cours/epiLogics.pdfEpistemic logics: resources introductory books: I [Hin62] “Knowledge and Belief: An Introduction to the Logic of the Two

In Hans Jürgen Ohlbach and Uwe Reyle, editors, Logic, Language andReasoning: essays in honour of Dov Gabbay, volume 5 of Trends in Logic, pages135–147. Kluwer Academic Publishers, Dordrecht, 1999.

Wolfgang Spohn.Ordinal conditional functions: a dynamic theory of epistemic states.In William L. Harper and Brian Skyrms, editors, Causation in decision, beliefchange and statistics, volume 2, pages 105–134. D. Reidel, Dordrecht, 1988.

Hans P. van Ditmarsch.The russian cards problem.Studia Logica, 75:31–62, 2003.

Hans van Ditmarsch, Joseph Y Halpern, Wiebe van der Hoek, and Barteld PieterKooi.Handbook of epistemic logic.College Publications, 2015.

A. Herzig Epistemic Logics IA2, nov. 2017 102 / 102