• Aucun résultat trouvé

A modal logic for games with lies

N/A
N/A
Protected

Academic year: 2021

Partager "A modal logic for games with lies"

Copied!
38
0
0

Texte intégral

(1)

A modal logic for games with lies

Bruno Teheux

University of Luxembourg

(2)

The RÉNYI – ULAM game

(3)

A searching game with lies

1. ALICEchooses an element in{1, . . . ,M}.

2. BOBtries to guess this number by asking Yes/No questions.

3. ALICEis allowed to lien−1 times in her answers.

BOBtries to guess ALICE’s number as fast as possible.

(4)

The game is around for more than 50 years

Finding an optimal strategy :

Pelc, A. Searching games with errors - fifty years of coping with liars, Theoretical Computer Science 270 (1):71-109.

Using logic and algebras to model the states of the games: Mundici, D. The logic of Ulam’s game with lies. InKnow- ledge, belief, and strategic interaction. Cambridge Uni- versity Press, 1992.

(5)

Tools for the algebraic/logical approach

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

(6)

Łukasiewicz (n + 1)-valued logic and MV

n

-algebras

L={¬,→,1}

¬x :=1−x, x →y :=min(1,1−x +y)

2

•0

•1

φ∈CPL

⇐⇒

2|=φ

Ais a Boolean algebra

⇐⇒

A|=CPL

Łn

t0 u1

1n

n−1

n

φ∈PŁn

⇐⇒ Łn|=φ

Ais a MVn-algebra

⇐⇒ A|=PŁn

(7)

Łukasiewicz (n + 1)-valued logic and MV

n

-algebras

L={¬,→,1}

¬x :=1−x, x →y :=min(1,1−x +y)

2

•0

•1

φ∈CPL

⇐⇒

2|=φ

Ais a Boolean algebra

⇐⇒

A|=CPL

Łn

t0 u1

n1

n−1n

φ∈PŁn

⇐⇒ Łn|=φ

Ais a MVn-algebra

⇐⇒ A|=PŁn

(8)

Łukasiewicz (n + 1)-valued logic and MV

n

-algebras

L={¬,→,1}

¬x :=1−x, x →y :=min(1,1−x +y)

2

•0

•1

φ∈CPL

⇐⇒

2|=φ

Ais a Boolean algebra

⇐⇒

A|=CPL

Łn

t0 u1

n1

n−1n φ∈PŁn

⇐⇒

Łn|=φ

Ais a MVn-algebra

⇐⇒

A|=PŁn

(9)

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

(10)

An algebraic encoding of the states of knowledge

1. Knowledge spaceK =ŁMn.

2. A state of knowledges ∈ŁMn :s(m)is the ’distance’

betweenmand the set of numbers that can be discarded.

3. A questionQis a subset of{1, . . . ,M}.

4. The positive answer toQis the mapfQ:M → {n−1n ,1}

defined by

fQ(m) =1 ⇐⇒ m∈Q The negative answer toQ is the mapfM\Q.

(11)

x⊕y := (¬x →y)

=min(1,x +y) in Łn

xy :=¬(¬x⊕ ¬y)

=max(0,x+y−1) in Łn

Proposition. If ALICEanswers positively toQat state of knowledgesthen the new state of knowledge is

s0 :=sfQ.

(12)

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

(13)

A dynamic model for every instance of the game

The model only talks aboutstatesof an instance of the game.

s0 s1 sk−1 sk

We want a language to talk aboutwhole instancesof the game.

s0 s1 sk−1 sk

Q Q0

We want a language to talk aboutall instances of any game.

Q1 Q4

Q2 Q3

(14)

A dynamic model for every instance of the game

The model only talks aboutstatesof an instance of the game.

s0 s1 sk−1 sk

We want a language to talk aboutwhole instancesof the game.

s0 s1 sk−1 sk

Q Q0

We want a language to talk aboutall instances of any game.

Q1 Q4

Q2 Q3

(15)

A dynamic model for every instance of the game

The model only talks aboutstatesof an instance of the game.

s0 s1 sk−1 sk

We want a language to talk aboutwhole instancesof the game.

s0 s1 sk−1 sk

Q Q0

We want a language to talk aboutall instances of any game.

Q1 Q4

Q2 Q3

(16)

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

(17)

We need K

RIPKE

models with many-valued worlds

Π0={atomic programs}

Prop={propositional variables}

Definition.A(dynamic n+1-valued)KRIPKEmodel is M=hW,R,Vali

where

I W 6=∅,

I R maps anya∈Π0toRa⊆W ×W,

I Val(u,p)∈Łnfor anyu∈W and anyp∈Prop.

(18)

The R

ÉNYI

- U

LAM

game has a K

RIPKE

model

Language :

I Prop={pm|m∈M}where

pm ≡howmis far from the set of rejected elements.

I Π0={m|m∈M}.

Model :

I W =ŁMn is the knowledge space.

I (s,t)∈Rmift =sf{m}

I Val(s,pm) =s(m).

(19)

A modal language for the Kripke models

Programsα∈Πand formulasφ∈Form are defined by Formulas φ::=p |0|φ→φ| ¬φ|[α]φ Programs α::=a|φ?|α;α|α∪α|α wherep∈Prop anda∈Π0.

Word Reading

α;β αfollowed byβ

α∪β αorβ

α any number of execution ofα

φ? testφ

[α] after any execution ofα

(20)

Interpreting formulas in Kripke Models

Val(·,·)andRare extended by induction :

I In a truth functional way for¬and→,

I Val(u,[α]ψ) :=V{Val(v, ψ)|(u,v)∈Rα},

I Rα;β :=Rα◦Rβ and Rα∪β :=Rα∪Rβ,

I Rφ?={(u,u)|Val(u, φ) =1},

I Rα := (Rα) =S

k∈ωRαk.

Definition. M,u|=φifVal(u, φ) =1 andM |=φifM,u|=φ for everyu∈W.

Tn:={φ| M |=φfor every Kripke modelM} Find an axiomatization of Tn.

(21)

Interpreting formulas in Kripke Models

Val(·,·)andRare extended by induction :

I In a truth functional way for¬and→,

I Val(u,[α]ψ) :=V{Val(v, ψ)|(u,v)∈Rα},

I Rα;β :=Rα◦Rβ and Rα∪β :=Rα∪Rβ,

I Rφ?={(u,u)|Val(u, φ) =1},

I Rα := (Rα) =S

k∈ωRαk.

Definition. M,u|=φifVal(u, φ) =1 andM |=φifM,u|=φ for everyu∈W.

Tn:={φ| M |=φfor every Kripke modelM}

Find an axiomatization of Tn.

(22)

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

(23)

Modal extensions of Łukasiewicz (n + 1)-valued logic

L={,¬,→,1}, M=hW,R,Vali

Theorem.The set Kn:={φ∈FormL |φis a tautology}is the smallest subset of FormL that

I contains tautologies of Łukasiewicz(n+1)-valued logic

I contains(K)(φ→ψ)→(φ→ψ)

I contains

(φ ? φ)↔(φ)?(φ) for?∈ {,⊕}

I is closed under MP, substitution and generalization.

(24)

Static model

Łukasiewicz logic MV-algebras

Dynamic model

Modal logic Kripke semantics

Tn:={φ| M |=φfor every Kripke modelM}

(25)

There are three ingredients in the axiomatization

Definition.PDLnis the smallest set of formulas that contains formulas in Ax1, Ax2, Ax3and closed for the rules in Ru1, Ru2.

Łukasiewiczn+1-valued logic Ax1 Axiomatization Ru1 MP, uniform substitution

Crisp modaln+1-valued logic Ax2

[α](p→q)→([α]p→[α]q), [α](p⊕p)↔[α]p⊕[α]p, [α](pp)↔[α]p[α]p,

Ru2 φ[α]φ

(26)

Program constructions

Ax3

[α∪β]p↔[α]p∧[β]p [α;β]p↔[α][β]p, [q?]p↔(¬qn∨p) [α]p↔(p∧[α][α]p), [α]p→[α][α]p,

(p∧[α](p →[α]p)n)→[α]p.

Theorem(Completeness).

Tn = PDLn

Remark.Ifn=1, it boils down to PDL (introduced by FISCHER

and LADNERin 1979).

(27)

Focus on the induction axiom

The formula

(p∧[α](p →[α]p)n)→[α]p means

‘if after an undetermined number of executions of α the truth value of pcannot decrease after a new execution of α,thenthe truth value ofpcannot de- crease after any undetermined number of execu- tions ofα’.

(28)

Focus on the homogeneity axioms

Proposition.The axioms

[α](φ ? φ)↔([α]φ ?[α]φ), ?∈ {,⊕},

can be replaced bynaxioms that state equivalence between

‘the truth value of[α]φis at least ni’ and

‘after any execution ofα, the truth-value ofφis at least ni

(29)

About the expressive power of the many-valued modal language.

(30)

The ability to distinguish between frames

L ={,¬,→,1}

Frame :F=hW,Ri

Modn(Φ) :={F| M |= Φfor any(n+1)-valuedMbased onF}

Definition.A classCof frames is Łn-definable if there is Φ⊆FormL such that

C=Modn(Φ).

Proposition.IfCisŁ1-definable then it isŁn-definable for every n≥1.

(31)

The ability to distinguish between frames

L ={,¬,→,1}

Frame :F=hW,Ri

Modn(Φ) :={F| M |= Φfor any(n+1)-valuedMbased onF}

Definition.A classCof frames is Łn-definable if there is Φ⊆FormL such that

C=Modn(Φ).

Proposition.IfCisŁ1-definable then it isŁn-definable for every n≥1.

(32)

Enriching the signature of frames

Theorem.IfCcontains ultrapowers of its elements, then CisŁn-definable if and only if CisŁ1-definable.

The many-valued modal language isnot adaptedfor the signature of frames.

Definition.An Łn-frame is a structure

F=hW,R,{rm|mis a divisor ofn}i,

whererm ⊆W for anym. A modelM=hW,R,Valiisbased on F if

u∈rm =⇒ Val(u, φ)∈Łm

(33)

Enriching the signature of frames

Theorem.IfCcontains ultrapowers of its elements, then CisŁn-definable if and only if CisŁ1-definable.

The many-valued modal language isnot adaptedfor the signature of frames.

Definition.An Łn-frame is a structure

F=hW,R,{rm|mis a divisor ofn}i,

whererm⊆W for anym. A modelM=hW,R,Valiisbased on F if

u∈rm =⇒ Val(u, φ)∈Łm

(34)

Ł

n

-frames

F=hW,R,{rm|mis a divisor ofn}i, u∈rm =⇒ Val(u, φ)∈Łm

Example.(Forbidden situation)

r2 r3

u v

IfVal(u,p) =1 andVal(v,p) =1/3 thenVal(u,p) =1/36∈Ł2

Additional conditions on Łn-frames :

I rm∩rk =rgcd(m,k)

I u ∈rm=⇒Ru⊆rm

(35)

Ł

n

-frames

F=hW,R,{rm|mis a divisor ofn}i, u∈rm =⇒ Val(u, φ)∈Łm

Example.(Forbidden situation)

r2 r3

u v

IfVal(u,p) =1 andVal(v,p) =1/3 thenVal(u,p) =1/36∈Ł2 Additional conditions on Łn-frames :

I rm∩rk =rgcd(m,k)

I u ∈rm=⇒Ru⊆rm

(36)

Goldblatt - Thomason theorem

C ∪ {F}=class of Łn-frames

Mod(Φ) :={F| M |= Φfor any(n+1)-valuedMbased onF}

Definition.A classCof Łn-frames is definable if there is Φ⊆FormL such that

C =Mod(Φ).

Theorem.IfC is closed under ultrapowers, then the following conditions are equivalent.

I Cis definable

I Cis closed under Łn-generated subframes, Łn-bounded morphisms, disjoint unions and reflects canonical extensions.

(37)

Goldblatt - Thomason theorem

C ∪ {F}=class of Łn-frames

Mod(Φ) :={F| M |= Φfor any(n+1)-valuedMbased onF}

Definition.A classCof Łn-frames is definable if there is Φ⊆FormL such that

C =Mod(Φ).

Theorem.IfCis closed under ultrapowers, then the following conditions are equivalent.

I Cis definable

I Cis closed under Łn-generated subframes, Łn-bounded morphisms, disjoint unions and reflects canonical extensions.

(38)

What to do next ?

1. Shows that PDLncan actually help in stating many-valued program specifications.

2. There is an epistemic interpretation of PDL. Can it be generalized to then+1-valued realm ?

3. What happens if KRIPKEmodels are not crisp.

4. Can coalgebras explain why PDL and PDLnare so related ?

Références

Documents relatifs

They proved the existence of the limsup value in a stochastic game with a countable set of states and finite sets of actions when the players observe the state and the actions

The variational approach allows (1) to prove the existence of the asymptotic minmax w = lim λ→0 w (λ) of any multi-player jointly continuous compact absorbing game and (2) provides

Par contre, les élèves qui arrivent en Suisse entre 10 et 16 ans, qui vont directement en classe "ordinaire" et suivent en même temps des cours de français intensif

Given a normative multi-agent system, which contains a boolean game, a set of norms and certain envi- ronment.. Every strategy of every agent is classified as legal

Printed and bound in France 2014 Pier Stockholm & onestar press onestar press 49, rue Albert 75013 Paris France info@onestarpress.com

We start by introducing the n + 1- valued Kripke models and a corresponding language based on a modal extension of Łukasiewicz many-valued logic.. We illustrate the defini- tions

In [6], Mundici develops a model of the Rényi - Ulam searching games with lies in terms of Łukasiewicz logic and MV- algebras.. A detective has to guess this number by asking

We further show prioritized input/output logic out p 1 , as well as prioritized imperative logic, is complete for the 2ed level of the polynomial hierarchy while deontic default