• Tidak ada hasil yang ditemukan

The Many Faces of Modal Logic Day 1: Examples

N/A
N/A
Protected

Academic year: 2024

Membagikan "The Many Faces of Modal Logic Day 1: Examples"

Copied!
34
0
0

Teks penuh

(1)

The Many Faces of Modal Logic Day 1: Examples

Dirk Pattinson

Australian National University, Canberra

(Slides based on a NASSLLI 2014 Tutorial and are joint work with Lutz Schr ¨oder)

LAC 2018

(2)

The Plan for Today

I Brief recap of propositional logic

I Good old modal logic

I A zoo of modal logics

I Syntax

I Semantics

I Reasoning principles

(3)

Propositional Logic

That is, classical propositional logic:

φ::=⊥ |p| ¬φ|φ1∧φ2 (p∈V) (∨,→,↔,>defined).

Semantics:valuationsκ:V →2={⊥,>}

κ6|=⊥

κ|=p iff κ(p) =>

κ|=¬φ iff κ6|=φ

κ|=φ1∧φ2 iff κ|=φ1andκ|=φ2

(4)

Satisfiability and All That

I φsatisfiableifκ|=φ for someκ

I φvalid ortautology (|=φ) ifκ|=φ for allκ

I φvalid iff¬φ unsatisfiable

I Φset of formulas:

Φ|=ψ iff ∀κ.(κ|= Φ→κ|=ψ)

iff ∃φ1, . . . ,φn∈Φ.|=φ1∧ · · · ∧φn→ψ (compactness)

(5)

Boolean Algebra

Alternative semantics: valuationsκ:V →A,ABoolean algebra;

κ|=φ iff κ(φ) =>

Stone duality:

Ais a Boolean subalgebra of some 2X. This implies:

Validity in Boolean algebras = validity over2.

(6)

Normal Forms

Negation normal form (NNF):¬only in front of atoms – φ::=⊥ | > |p| ¬p|φ1∧φ21∨φ2. Conjunctive normal form (CNF):

I Literal = atom or negated atom

I Clause = finite disjunction (set) of literals

I CNF = finite conjunction (set) of clauses.

Dual: conjunctive clause, DNF.

(7)

Modal Logic

φ::=⊥ |p| ¬φ|φ1∧φ2|2φ (p∈P) with2φ read

I ‘necessarilyφ’

I ‘it is believed thatφ’ (doxastic)

I ‘it is known thatφ’ (epistemic)

I ‘it is obligatory thatφ0 (deontic)

I . . .

Dual: 3=¬2¬‘possibly’

(8)

Kripke Models

Kripke models(X,R,π), where

I (X,R)Kripke frame

I X set ofstates/worlds

I R⊆X×X accessibility/transitionrelation

I π:P→ P(X)valuation

(9)

Satisfaction in Kripke Models

x|=Mφ ‘statexin modelM satisfiesφ’;[[φ]]M ={x∈M|x|=Mφ}. x6|=M

x|=M p ⇐⇒ x∈V(p)

x|=M φ∧ψ ⇐⇒ x|=M φandx|=M ψ x|=M ¬φ ⇐⇒ x6|=M φ

x|=M2φ ⇐⇒ y|=M φ for ally∈X such that(x,y)∈R

hence

x|=M 3φ ⇐⇒ y|=M φ for somey∈X such that(x,y)∈R.

(10)

The Modal Logic K

Classes of frames induce modal logics; for now: all frames.

Axiomatization:

I Propositional Reasoning:

I Modus ponensφ;φ→ψ/ψ

I all instances of propositional tautologies

I Necessitation

φ 2φ

I All instances of axiom

(K) 2(φ→ψ)→2φ→2ψ.

(11)

Soundness and Completeness

Φ`ψ ifφ1∧ · · · ∧φn→ψ is derivable for someφ1, . . . ,φn∈Φ. SoundnessIfΦ`ψ thenΦ|=ψ(Proof: Induction over`) (Strong) CompletenessIfΦ|=ψ thenΦ`ψ

Reword: Φconsistent ifΦ6` ⊥

I Soundness:Φsatisfiable→Φconsistent

I (Strong) Completeness:Φconsistent→Φsatisfiable

I Proof: Satisfy consistentΦincanonical model, with worlds = maximally consistent sets.

(12)

Graded Modal Logic

(Fine 1972)Count successors:

x|=M 2kφ ⇐⇒ |{y∈X |(x,y)∈Randy|=M ¬φ}| ≤k x|=M3kφ ⇐⇒ |{y∈X |(x,y)∈Randy|=M φ}|>k. (Note2=20,30=3).

Alternative semantics: Multigraphs(D’Agostino/Visser 2002) (X,µ:X×X →N∪ {∞},π)

x|=2kφ ⇐⇒ µ(x,[[¬φ]])≤k

x|=3kφ ⇐⇒ µ(x,[[φ]])>k.

Equivalent, i.e. makes the same (sets of) formulas satisfiable.

(13)

Axiomatizing Graded Modal Logic

(Fine 1972)

Propositional reasoning plus

φ/20φ

20(φ→ψ)→20φ→20ψ 3kφ→3lφ (l<k) 3kφ↔

k

_

i=−1

(3i(φ∧ψ)∧3k−1−i(φ∧ ¬ψ)) 20(φ→ψ)→3kφ→3kψ

(with3−1φ≡ >)

(14)

Description Logics

. . . feature ingredients from graded modal logic:

∃R≡3R

∀R≡2R

≥n R≡3Rn−1

≤n R≡ ¬3Rn

E.g.

Elephant= (=2 hasPart.tusk)u(=1 hasPart.trunk)u(=4 hasPart.leg)

(15)

Probabilistic Modal Logic

Exchangeµ :X×X →N∪ {∞}forMarkov Chain(X,µ,π)

I µ(x,·)probability measure on X for eachx∈X OperatorsLp ‘with probability≥p’ (p∈Q∩[0,1])

x|=Lpφ ⇐⇒ µ(x,[[φ]])≥p Define ‘with probability≤p’:

Mp=L1−p¬ E.g.

I Probabilistic concurrent systems: finished∨M0.1error

Draghi Yellen

(16)

(No) Compactness

I LogicLcompactif every finitely satisfiable set ofL-formulas is satisfiable.

I Strong completeness implies compactness.

Probabilistic modal logic fails to be compact:

{Lp−1/na|n∈N} ∪ {¬Lpa} is finitely satisfiable but not satisfiable.

(17)

Axiomatizing Probabilistic Modal Logic: The Problem

Have

Lp(φ∧ψ)∧Lq(φ∧ ¬ψ)→Lp+qφ but no reasonable converse

(18)

Axiomatizing Probabilistic Modal Logic: The Easy Part

Loφ Lp>

Lpφ→ ¬Lq¬φ(p+q>1)

¬Lpφ→Mpφ φ→ψ/Lpφ→Lpψ

(19)

Axiomatizing Probabilistic Modal Logic: The Hard Part

(Heifetz/Mongin 2001)

Forφ= (φ1, . . . ,φm),ψ = (ψ1, . . . ,ψn)put φ(k)_

1≤l1<···<lk≤m

l1∨ · · · ∨φlk)

φ↔ψ≡

max(m,n)

^

k=1

φ(k)↔ψ(k). Rule (B):

1, . . . ,φm)↔(ψ1, . . . ,ψn) Vm

i=1Lp1φiVnj=2Mqjψj→Lp1+...+pm−q2−...−qnψ1

(20)

Linear Inequalities

(Halpern/Fagin/Megiddo 1990)n-ary modal operators

n

i=1

ail(φi)≥b (ai,b∈Q) interpreted by

[[l(φ)]]x =µ(x,[[φ]]) E.g.

l(MunichChampion)≥10·l(NurembergChampion)

Same for graded logic→Presburger modal logic(Demri/Lugiez 2006):

3·#hasGamewon+1·#hasGametied≥37→ ¬relegated. E.g.majority logic(Pacuit/Salame 2004)

Wφ= #(φ)≥#(¬φ)

(21)

Neighbourhood Semantics

Compositional semantics of2overX requires [[2]] :2X→2X or, transposing,

N:X →2(2X) – that’s aneighbourhood frame:

Aneighbourhood ofx ⇐⇒ A∈N(x).

Then

x|=2φ ⇐⇒ [[φ]]∈N(x)

(22)

Axiomatizing Neighbourhood Logic

Propositional reasoning plusreplacement of equivalents:

φ↔ψ 2φ↔2ψ

(23)

Monotone Neighbourhoods

Imposemonotonicity

φ→ψ 2φ→2ψ

→monotone neighbourhood frames:

A∈N(x)∧A⊆B→B∈N(x)

(24)

Game Logic

Monotonicity plusseriality:

2> 3>

Semantically:

X ∈N(x),/0∈/N(x).

Temporalized multi-agent version: game logic(Parikh 1983) [a]φ ‘Angel can enforceφin gamea’

haiφ ‘Demon can enforceφ in gamea’

(25)

Conditional Logics

Binary operator· ⇒ ·for non-material implication, e.g. ‘if – then normally’ (default implication):

|= (Monday ⇒ work)6→((Monday ∧ sick)⇒ work) (non-monotonic conditional)

(26)

Selection Function Semantics

Conditional frame(X,(RA),π):

RA⊆X×X (A⊆X) xRAy‘atx,yis most typical for conditionA’.

φ⇒ ·is box overR[[φ]]:

x|=φ⇒ψ iff ∀y.(xRφy→y|=ψ).

(27)

The Conditional Logic CK

= The logic of all conditional frames

I replacement of equivalents on the left:

φ↔φ0 (φ⇒ψ)↔(φ0⇒ψ)

I normality on the right:

(φ⇒(ψ→χ))→(φ⇒ψ)→(φ⇒χ).

(28)

Reasoning Principles = Frame Conditions

ID φ⇒φ xRφy→y|=φ

CEM (φ⇒ψ)∨(φ⇒ ¬ψ) xRφy∧xRφy0→y=y0 MP (φ⇒ψ)→φ→ψ xRφx

(29)

KLM

(Burgess 1981; Kraus/Lehmann/Magidor 1990) IDplus

DIS (φ⇒χ)→(ψ⇒χ)→((φ∨ψ)⇒χ) CM (φ⇒χ)→(φ⇒ψ)→((φ∧χ)⇒ψ) Cautious Monotony:

(Monday ⇒ work)→(Monday ⇒ sick)→((Monday ∧ sick)⇒ work)

(30)

Preferential Models

KLM complete forpreferential models(X,R,π):

I R⊆X3

I Rxyz: ‘y more typical thanzas an alternative tox’

Rxyz→Rxyy

(Rxyz∧Rxzw)→Rxyw with

x |=φ ⇒ψ iff ∀y.(Rxyy→ ∃z.(Rxzy∧ ∀t.(Rxtz →M,t |=ψ))).

(31)

Coalition Logic / Alternating-Time Temporal Logic

I N={1, . . . ,n}set ofagents

I Concurrent game structure: at each statex,

I setsSix ofmoves(i∈N)

I outcome function

fx : (

iN

Six)→X

I Operators[C]‘coalitionCcan force’

x|= [C]φ ⇐⇒ ∃σC

i∈C

Sxi.∀σN−C

i∈N−C

Six.fxCN−Ci |=φ.

(32)

Axiomatizing Coalition Logic

¬[C]⊥

[C]>

¬[/0]¬φ→[N]φ [C](φ∧ψ)→[C]φ

[C]φ∧[D]ψ→[C∪D](φ∧ψ) if C∩D6=/0.

(33)

Summing up

I Modalities are just logical operators

I Broad range of syntactic and semantic phenomena

I Common features:

I Models consist ofworlds/states

I Worlds are connected bytransitions, broadly construed:

I relational

I weighted

I probabilistic

I game-based

I proposition-indexed

I proximity-based

(34)

Tomorrow:

I Everything is coalgebraic :)

Referensi

Dokumen terkait