Modal logic
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 2
Modal logic Benzm uller/Rojas, 2014 Artificial Intelligence 2 - - PowerPoint PPT Presentation
Modal logic Benzm uller/Rojas, 2014 Artificial Intelligence 2 What is Modal Logic? Narrowly, traditionally: modal logic studies reasoning that involves the use of the expressions necessarily and possibly . More widely: modal logic
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 2
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 3
◮ Aristotles (356-323 BCE): developed a modal syllogistic in
◮ Avicenna (980-1037): developed earliest formal system of
◮ William of Ockham (1287-1347) and John Duns Scotus
◮ C.I. Lewis (1883-1964): founded modern modal logic ◮ Ruth C. Barcan (1921-2012): first axiomatic systems of
◮ Saul Kripke: Kripke semantics for modal logics; possible
◮ A.N. Prior: created modern temporal logic in 1957 ◮ Vaughan Pratt: introduced dynamic logic in 1976.
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 4
Garson, James, Modal Logic, The Stanford Encyclopedia of Philosophy (Spring 2013 Edition), Edward N. Zalta (ed.),
<http://plato.stanford.edu/archives/spr2013/entries/logic-modal/>.
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 5
◮ Knowledge (including common knowledge) ◮ Belief (including common knowledge) ◮ Actions, goals, and intentions ◮ Ability and Obligations ◮ Time ◮ . . .
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 6
◮ If God does not exist, then it’s not the case that if I pray, my
◮ I do not pray:
◮ It follows: God exists.
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 7
◮ If God does not exist, then it’s not the case that if I pray, my
◮ I do not pray:
◮ It follows: God exists.
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 8
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 9
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 10
◮ any basic propositional symbol p ∈ P is a modal logic formula ◮ if ϕ and ψ are modal logic formulas, then so are ¬ϕ, ϕ ∨ ψ,
◮ if ϕ is a modal logic formula, then so are ✷ϕ and ✸ϕ
◮ if ϕ is a theorem of propositional logic, then ϕ is also a
◮ Necessitation Rule: If ϕ is a theorem of K, then so is ✷ϕ ◮ Distribution Axiom: ✷(ϕ ⇒ ψ) ⇒ (✷ϕ ⇒ ✷ψ)
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 11
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 12
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 13
= MB
≡ M45 ≡ M4B ≡ D4B ≡ D4B5 ≡ DB5
modal cube reproduced from J. Garson, Modal Logic, SEP 2009 Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 14
Wise Men Puzzle Once upon a time, a king wanted to find the wisest
He arranged them in a circle and told them that he would put a white
a black spot on their foreheads and that one of the three spots would certainly be white. The three wise men could see and hear each other but,
see their faces reflected any-
ked to each of them to find
sest correctly answered that his spot was white. How could he know that?
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 15
Wise Men Puzzle Once upon a time, a king wanted to find the wisest
He arranged them in a circle and told them that he would put a white
a black spot on their foreheads and that one of the three spots would certainly be white. The three wise men could see and hear each other but,
see their faces reflected any-
ked to each of them to find
sest correctly answered that his spot was white. How could he know that?
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 15
Wise Men Puzzle Once upon a time, a king wanted to find the wisest
He arranged them in a circle and told them that he would put a white
a black spot on their foreheads and that one of the three spots would certainly be white. The three wise men could see and hear each other but,
see their faces reflected any-
ked to each of them to find
sest correctly answered that his spot was white. How could he know that?
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 15
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 16
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 17
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 18
◮ Show that the Distribution axiom ✷(ϕ ⇒ ψ) ⇒ (✷ϕ ⇒ ✷ψ)
◮ Show that axiom T ✷ϕ ⇒ ϕ is valid iff the accessibility
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 19
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 20
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 21
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 22
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 23
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 24
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 25
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 26
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 27
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 28
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 29
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 30
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 31
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 32
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 33
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 34
Benzm¨ uller/Rojas, 2014 —– Artificial Intelligence 35