From Equivalences to Metrics Filippo Bonchi PACE meeting - - PowerPoint PPT Presentation

from equivalences to metrics
SMART_READER_LITE
LIVE PREVIEW

From Equivalences to Metrics Filippo Bonchi PACE meeting - - PowerPoint PPT Presentation

From Equivalences to Metrics Filippo Bonchi PACE meeting (BOLOGNA) From Equivalences to Metrics F. van Breugel, J. Worrell: A behavioural pseudometric for probabilistic transition systems. TCS 2005 F. van Breugel, James Worrell:


slide-1
SLIDE 1

From Equivalences to Metrics

Filippo Bonchi PACE meeting (BOLOGNA)

slide-2
SLIDE 2

From Equivalences to Metrics

  • F. van Breugel, J. Worrell: A behavioural pseudometric for

probabilistic transition systems. TCS 2005

  • F. van Breugel, James Worrell: Approximating and computing

behavioural distances in probabilistic transition systems. TCS 2006

  • F. van Breugel, B. Sharma, J. Worrell: Approximating a

Behavioural Pseudometric Without Discount for Probabilistic

  • Systems. LMCS 2008
slide-3
SLIDE 3

Motivations

s and sε are NOT behaviorally equivalent … … but for small ε, they almost behave the same

s s2 s3

1

sε t2 t3

1/2-ε 1/2+ε 1

s s2 s3

1

s s2 s3

1/2 1/2 1

slide-4
SLIDE 4

From Equivalences to Distances

  • Behavioural Equivalences are the

foundations of qualitative reasoning

  • Behavioural Distances are the

foundations of quantitative resoning

  • A Behavioural Distance is a

pseudo-Metric d:SxS[0,1] that assigns to two systems the distance of their behaviours

  • d(p,q)= 0 iff p is behaviourally

equivalent to q

slide-5
SLIDE 5

From Equivalences to Distances

  • Behavioural Equivalences are the

foundations of qualitative reasoning

  • Behavioural Distances are the

foundations of quantitative resoning

  • A Behavioural Distance is a

pseudo-Metric d:SxS[0,1] that assigns to two systems the distance of their behaviours

  • d(p,q)= 0 iff p is behaviourally

equivalent to q

Does these systems behave the same? Does a system satify a certain property?

How far apart is the behaviour

  • f these

systems? How much closely does as system come to satisfy a certain property?

slide-6
SLIDE 6

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-7
SLIDE 7

Coalgebras in a nutshell

At the blackboard

slide-8
SLIDE 8

A functor F induces:

1) Behavioural equivalence ≅F 2) Coinduction Proof Principle: x≅Fy iff xRy for some F-bisimulation R 3) Partition F-Refinement Algorithm 4) An Hennessy-Milner Logic: x≅Fy iff f(x)=f(y) for all F-formulas f

slide-9
SLIDE 9

Functors

Set is the category of sets and functions F::= Id, A, F+F, FxF, FA, P(F), D(F)

slide-10
SLIDE 10

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-11
SLIDE 11

A Hierarchy of Probabilistic Systems Types

  • F. Bartels, A. Sokolova, E. de Vink: A hierarchy of probabilistic system types.

TCS 2004

slide-12
SLIDE 12

Markov Chains

D(Id):SetSet

D(S)={µ:S[0,1] | µ[X]=1, spt(µ) finite} <S,α:SD(S)>

s1 s2 s3

1/3 1 1/3 1/3 1

slide-13
SLIDE 13

Markov Chains

D(Id):SetSet

D(S)={µ:S[0,1] | µ[X]=1, spt(µ) finite} <S,α:SD(S)>

s1 s2 s3

1/3 1 1/3 1/3 1

s1 s2

2/3 1/3 1

slide-14
SLIDE 14

Markov Chains

D(Id):SetSet

D(S)={µ:S[0,1] | µ[X]=1, spt(µ) finite} <S,α:SD(S)>

s1 s2 s3

1/3 1 1/3 1/3 1

s1 s2 Ο

2/3 1 1/3 1

slide-15
SLIDE 15

D(AxId):SetSet A={a,b}

<S,α:SD(AxS)>

Generative Systems

a

s1 s2 s3

1/3 1/3 1/3 a b 1 b a 1

slide-16
SLIDE 16

D(Id)A:SetSet A={a,b}

<S,α:SD(S)A>

Reactive Systems

a

s1 s2 s3

2/3 1 1/3 1 a b b 1 b a 1

slide-17
SLIDE 17

D(Id)+P(A×Id): SetSet A={a,b}

<S,α:S D(S)+P(A×S)>

Alternating Systems

s1 s2 s3

2/3 1/3 b b

s4

1

slide-18
SLIDE 18

P(A×D(Id)): SetSet A={a,b}

<S,α:SP (A×D(S))>

Simple Probabilistic Automata (Simple Segala Systems)

s1 s2 s4

1/2 a

s3

1/2 1/3 a

s5

1/3 1/3

slide-19
SLIDE 19

PD(A×id): SetSet A={a,b}

<S,α:SP D(A×S)>

Probabilistic Automata (Segala Systems)

s1 s2 s4

1/2a

s3

1/2 1/3 a

s5

1/3 1/3 a a b

slide-20
SLIDE 20

(Partial) Markov Chains

D(1+Id):SetSet

<S,π:SD(1+S)>

s1 s2 s3

1/3 1/3

slide-21
SLIDE 21

(Partial) Markov Chains Bisimulation

D(1+Id):SetSet

<S,π:SD(1+S)> R is a Bisimulation iff whenever s1Rs2 then For all equivalence classes E of R

s1 s2 s3

1/3 1/3

slide-22
SLIDE 22

(Partial) Markov Chains Partition Refinement

s3 s5 s6

1/2 1/2

s2 s4

1

s1

1/3 2/3

t

1

slide-23
SLIDE 23

(Partial) Markov Chains Partition Refinement

s3 s5 s6

1/2 1/2

s2 s4

1

s1

1/3 2/3

t

1

slide-24
SLIDE 24

(Partial) Markov Chains Partition Refinement

s3 s5 s6

1/2 1/2

s2 s4

1

s1

1/3 2/3

t

1

slide-25
SLIDE 25

(Partial) Markov Chains Partition Refinement

s3 s5 s6

1/2 1/2

s2 s4

1

s1

1/3 2/3

t

1

slide-26
SLIDE 26

(Partial) Markov Chains Partition Refinement

s3 s5 s6

1/2 1/2

s2 s4

1

s1

1/3 2/3

t

1 1 1 1

slide-27
SLIDE 27

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-28
SLIDE 28

Functors

Ms is the category of metric spaces and non-expansive maps F::= Id, A, F+F, FxF, FA, P(F), D(F), δ(F) δ is in [0,1]

slide-29
SLIDE 29

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-30
SLIDE 30

Example of Coinduction

s s2 s3 s2 s3 s2 s3

1/3 1/3 1 1/3

t

1/3+ε 1/3-ε 1/3

d s s2 s3 t s 1 1 2ε s2 1 1 1 s3 1 1 1 t 2ε 1 1 s s2 s3 t π(s) s 1/3 1/3 s2 1/3-ε ε 1/3 s3 1/3 1/3 t π(t) 1/3-ε 1/3+ε 1/3

Coupling of s and t

∆(d)(s,t) ≤ ε+2ε/3 ≤ 2ε = d(s,t)

Post-fix point

dF(s,t) ≤ 2e

slide-31
SLIDE 31

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-32
SLIDE 32

Metric Refinement

s s2 s3 s2 s3 s2 s3

1/3 1/3 1 1/3

t

1/3+ε 1/3-ε 1/3

d0 s s2 s3 t s s2 s3 t

slide-33
SLIDE 33

Metric Refinement

d0 s s2 s3 t s s2 s3 t d1 s s2 s3 t s 1 s2 1 s3 1 1 1 1 t 1 s s2 s3 s2 s3 s2 s3

1/3 1/3 1 1/3

t

1/3+ε 1/3-ε 1/3

slide-34
SLIDE 34

Metric Refinement

s s2 s3 s2 s3 s2 s3

1/3 1/3 1 1/3

t

1/3+ε 1/3-ε 1/3

d2 s s2 s3 t s 1/3 1

ε

s2 1/3 1 1/3+ε s3 1 1 1 t

ε

1/3+ε 1

slide-35
SLIDE 35

Metric Refinement

s s2 s3 s2 s3 s2 s3

1/3 1/3 1 1/3

t

1/3+ε 1/3-ε 1/3

d2 s s2 s3 t s 1/3 1

ε

s2 1/3 1 1/3+ε s3 1 1 1 t

ε

1/3+ε 1 d3 s s2 s3 t s 1/3+1/9 1

ε+ε/3

s2 1/3+1/9 1 1/3+ε+1

/9+ε/3

s3 1 1 1 t

ε+ε/3

1/3+ε+

1/9+ε/3

1

slide-36
SLIDE 36

Plan of the Talk

1.Coalgebras in a nutshell 2.Probabilistic Systems 3.Behavioural (Pseudo-)Metrics – Coalgebras – Coinduction – Refinement Algorithm – Modal Logic

slide-37
SLIDE 37

A Logical Characterization

  • Modal Formulas f are functions

f:S{0,1}

  • Quantitative Formulas f:S[0,1]

d(s1,s2)= supf |f(s1)-f(s2)|

  • P. Panangaden et al.

Metrics for labeled Markov Processes, TCS 2004

slide-38
SLIDE 38

A quantitative logic

D(1+Id):SetSet

<S,π:SD(1+S)>