Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana...

124
Classification of Probabilistic Systems Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with: Falk Bartels CWI,NL Erik de Vink TU Eindhoven, NL Bart Jacobs RU Nijmegen, NL RIMS, Kyoto, 19.11.2008 – p.1/30

Transcript of Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana...

Page 1: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Classification of ProbabilisticSystems

Ana Sokolova

Computational Systems Group, University of Salzburg, Austria

Joint work with: Falk Bartels CWI,NL

Erik de Vink TU Eindhoven, NL

Bart Jacobs RU Nijmegen, NL

RIMS, Kyoto, 19.11.2008 – p.1/30

Page 2: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Outline• probabilistic systems as coalgebras

• two strong semantics

* bisimilarity

* behaviour equivalence

• expressiveness comparison

• a hierarchy

• beyond discrete probabilities, beyond Sets

RIMS, Kyoto, 19.11.2008 – p.2/30

Page 3: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Formal methodsIn general:

• models - transition systems, automata, terms,...with a clear semantics

• analysis - model checkingprocess algebratheorem proving...

RIMS, Kyoto, 19.11.2008 – p.3/30

Page 4: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

In this talk• models - probabilistic transition systems

• semantics - bisimilarity/behavior equivalence

RIMS, Kyoto, 19.11.2008 – p.4/30

Page 5: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

In this talk• models - probabilistic transition systems

• semantics - bisimilarity/behavior equivalence

Aim: expressiveness of many models

in a single framework

RIMS, Kyoto, 19.11.2008 – p.4/30

Page 6: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelsdeterministic systems

s0 // s1 // s2 // s3@ABCED

oo

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 7: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelsdeterministic systems

s0 // s1 // s2 // s3@ABCED

oo

states + transitions α : S → S

α(s0) = s1, α(s1) = s2, ...

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 8: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelslabelled deterministic systems A - labels

s0a // s1

b // s2b // s3

@ABC

a

EDoo

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 9: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelslabelled deterministic systems A - labels

s0a // s1

b // s2b // s3

@ABC

a

EDoo

states + transitions α : S → A × S

α(s0) = 〈a, s1〉, α(s1) = 〈b, s2〉, ...

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 10: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelstransition systems

s0

}}||||

|

��s1

��

s2@ABCED

oo

WW

s3

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 11: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelstransition systems

s0

}}||||

|

��s1

��

s2@ABCED

oo

WW

s3

states + transitions α : S → P(S)

α(s0) = {s1, s2}, α(s1) = {s3}, ...

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 12: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelslabelled transition systems A - labels

s0a

}}||||

| b

��s1

c��

s2@ABC

a

EDooa

WW

s3

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 13: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Example modelslabelled transition systems A - labels

s0a

}}||||

| b

��s1

c��

s2@ABC

a

EDooa

WW

s3

states + transitions α : S → P(A × S)

α(s0) = {〈a, s1〉, 〈b, s2〉}, α(s1) = {〈c, s3〉}, ...

RIMS, Kyoto, 19.11.2008 – p.5/30

Page 14: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebrasare an elegant generalization of transition systems with

states + transitions

RIMS, Kyoto, 19.11.2008 – p.6/30

Page 15: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebrasare an elegant generalization of transition systems with

states + transitionsas pairs

〈S, α : S → FS〉, for F a functor

RIMS, Kyoto, 19.11.2008 – p.6/30

Page 16: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebrasare an elegant generalization of transition systems with

states + transitionsas pairs

〈S, α : S → FS〉, for F a functor

• rich mathematical structure

• a uniform way for treating transition systems

• general notions and results, generic notion of bisimulation

RIMS, Kyoto, 19.11.2008 – p.6/30

Page 17: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 18: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

������

��777

77•

1

3

�� �C�C�C 2

3

���[�[

�[

��

• ⇒ •

1���O�O

• •

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 19: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

������

��777

77•

a[ 13]

�� �C�C�C b[ 2

3]

���[�[

�[

��

• ⇒ •a[1]

���O�O

• •

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 20: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

��

��555

555 ♦

1

3

�� �C�C�C 2

3

���[�[

�[

��

• ⇒ •a

��

• •

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 21: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

��

��555

555 •

a

������

�b

��555

555

��

• ⇒ ♦

1���O�O

• •

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 22: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

������

��777

77

��

⇒ •1

���O�O

a

������

�� b

��999

999

•1

���O�O

a��•

RIMS, Kyoto, 19.11.2008 – p.7/30

Page 23: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsarise by enriching transition systems with (discrete)probabilities as labels on the transitions.There are many ways to do it:

������

��777

77

��

⇒ •a

��1

3

�� �B�B�B 2

3

���\�\

�\

•b

��

1���O�O

•RIMS, Kyoto, 19.11.2008 – p.7/30

Page 24: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 25: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

DS =the set of all discreteprobability distributions on S

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 26: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

DS = {µ : S → [0, 1], µ[S] = 1}, µ[X] =∑

s∈X µ(x)

Df : DS → DT, Df(µ)(t) = µ[f−1({t})]

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 27: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

DS = {µ : S → [0, 1], µ[S] = 1}, µ[X] =∑

s∈X µ(x)

Df : DS → DT, Df(µ)(t) = µ[f−1({t})]

the probabilistic systems are also coalgebras

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 28: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

DS = {µ : S → [0, 1], µ[S] = 1}, µ[X] =∑

s∈X µ(x)

Df : DS → DT, Df(µ)(t) = µ[f−1({t})]

the probabilistic systems are also coalgebrasExample: α : S → DS

•s0

1

2}}}=

}=}=

}=1

2

!!!a

!a!a

!a

•s1

1==

=}=}

=}=}

•s21

oo o/ o/ o/ o/ o/ o/ o/ o/ o/

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 29: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic systemsThanks to the probability distribution functor D

DS = {µ : S → [0, 1], µ[S] = 1}, µ[X] =∑

s∈X µ(x)

Df : DS → DT, Df(µ)(t) = µ[f−1({t})]

the probabilistic systems are also coalgebras... of functors built by the following syntax

F ::= | A | P | D | G + H | G ×H | GA | G ◦ H

RIMS, Kyoto, 19.11.2008 – p.8/30

Page 30: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

reactive, generative

evolve from LTS - functor P (A × ) ∼= PA

RIMS, Kyoto, 19.11.2008 – p.9/30

Page 31: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

reactive, generative

evolve from LTS - functor P (A × ) ∼= PA

reactive systems:functor (D + 1)A

RIMS, Kyoto, 19.11.2008 – p.9/30

Page 32: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

reactive, generative

evolve from LTS - functor P (A × ) ∼= PA

reactive systems:functor (D + 1)A

generative systems:functor (D + 1)(A × ) = D(A × ) + 1

RIMS, Kyoto, 19.11.2008 – p.9/30

Page 33: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

reactive, generative

evolve from LTS - functor P (A × ) ∼= PA

reactive systems:functor (D + 1)A

generative systems:functor (D + 1)(A × ) = D(A × ) + 1

note: in the probabilistic case

(D + 1)A 6∼= D(A × ) + 1

RIMS, Kyoto, 19.11.2008 – p.9/30

Page 34: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .RIMS, Kyoto, 19.11.2008 – p.10/30

Page 35: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .

a[ 23]

�O

���O

a[ 13]

�� �?�?

�?�?

�?b[1]

���_�_

�_�_

�_

b[1]

�� �O�O�O�O

• •

a[1]

�� �O�O�O�O

• •

RIMS, Kyoto, 19.11.2008 – p.10/30

Page 36: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .

a[ 14]

�O

���O

a[ 12]

�� �?�?

�?�?

�?b[ 1

4]

���_�_

�_�_

�_

• •

c[1]

�� �O�O�O�O

c[1]

�� �O�O�O�O

• •

RIMS, Kyoto, 19.11.2008 – p.10/30

Page 37: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .

♦1

4

�� �A�A�A�A 3

4

���]�]

�]

b

��a

������

��♦

1

2

���O�O

1

2

���^�^

�^

• • • •

RIMS, Kyoto, 19.11.2008 – p.10/30

Page 38: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .

•a

������

��a

��

b

��???

???

1

4 ���O�O3

4

�� �?�?

�?1

���O�O

1

3���O�O 2

3

���_�_

�_

• • • • •

RIMS, Kyoto, 19.11.2008 – p.10/30

Page 39: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Probabilistic system typesMC D

DLTS ( + 1)A

LTS P(A× ) ∼= PA

React (D + 1)A

Gen D(A× ) + 1

Str D + (A× ) + 1

Alt D + P(A× )

Var D(A× ) + P(A× )

SSeg P(A×D)

Seg PD(A× )

. . . . . .

������

��

��???

???

a[ 14]

�� �?�?

�?b[ 3

4]

���O�O

a[ 13]

���O�O a[ 2

3]

���_�_

�_

• • • •

RIMS, Kyoto, 19.11.2008 – p.10/30

Page 40: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSR - equivalence on states, is a bisimulation if

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 41: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSR - equivalence on states, is a bisimulation if

• R/o /o •

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 42: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSR - equivalence on states, is a bisimulation if

• R/o /o

a

��

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 43: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSR - equivalence on states, is a bisimulation if

• R/o /o

a

��

a

��• R/o /o •

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 44: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSR - equivalence on states, is a bisimulation if

• R/o /o

a

��

a

��• R/o /o •

... two states are bisimilar if they are related by somebisimulation

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 45: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSExample: Consider the LTS

•s0

EDGF

a

@A//

b��

•t0

b��

a // •t2

GFED

a

BCoo

b��

•s1•t1 •t3

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 46: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - LTSExample: Consider the LTS

•s0

EDGF

a

@A//

b��

•t0

b��

a // •t2

GFED

a

BCoo

b��

•s1•t1 •t3

the coloring is a bisimulation, so s0 and t0 are bisimilar

RIMS, Kyoto, 19.11.2008 – p.11/30

Page 47: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeR - equivalence on states, is a bisimulation if

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 48: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeR - equivalence on states, is a bisimulation if

• R/o /o •

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 49: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeR - equivalence on states, is a bisimulation if

• R/o /o

��

µ

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 50: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeR - equivalence on states, is a bisimulation if

• R/o /o

��

��µ ≡R,A ν

≡R,A relates distributions that assign the same probability to each labeland each R-class

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 51: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeR - equivalence on states, is a bisimulation if

• R/o /o

��

��µ ≡R,A ν

... two states are bisimilar if they are related by somebisimulation

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 52: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeConsider the generative systems

•s0

EDGF

a[ 12]

@A//

b[ 12]

��

•t0

b[ 12]

��

a[ 12]

''•t2

GFED

a[ 16]

BCoo

a[ 13]

gg

b[ 12]

��•s1

•t1 •t3

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 53: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - generativeExample: Consider the generative systems

•s0

EDGF

a[ 12]

@A//

b[ 12]

��

•t0

b[ 12]

��

a[ 12]

''•t2

GFED

a[ 16]

BCoo

a[ 13]

gg

b[ 12]

��•s1

•t1 •t3

the coloring is a bisimulation, so s0 and t0 are bisimilar

RIMS, Kyoto, 19.11.2008 – p.12/30

Page 54: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaR - equivalence on states, is a bisimulation if

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 55: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaR - equivalence on states, is a bisimulation if

• R/o /o •

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 56: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaR - equivalence on states, is a bisimulation if

• R/o /o

a

��

µ

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 57: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaR - equivalence on states, is a bisimulation if

• R/o /o

a

��

a

��µ ≡R ν

≡R relates distributions that assign the same probability to each R-class

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 58: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaR - equivalence on states, is a bisimulation if

• R/o /o

a

��

a

��µ ≡R ν

... two states are bisimilar if they are related by somebisimulation

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 59: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaExample: Consider the simple Segala systems

•s0

EDGF

a

@A//

b��

•t0

b��

a //

1

3

|| _�e%j*o/t4y9 2

3 ///o/o/o •t2

GFED

a

BCoo

b��

•s1•t1 •t3

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 60: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Bisimulation - simple SegalaExample: Consider the simple Segala systems

•s0

EDGF

a

@A//

b��

•t0

b��

a //

1

3

|| _�e%j*o/t4y9 2

3 ///o/o/o •t2

GFED

a

BCoo

b��

•s1•t1 •t3

the coloring is a bisimulation, so s0 and t0 are bisimilar

RIMS, Kyoto, 19.11.2008 – p.13/30

Page 61: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 62: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that γ exists:

S

α

��

R

γ

��

π1oo π2 // S

α

��FS FR

Fπ1

ooFπ2

// FS

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 63: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

•s R/o/o/o /o/o/o •t

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 64: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

•s R/o/o/o /o/o/o

��

•t

α(s)

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 65: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

•s R/o/o/o/o /o/o/o/o

��

•t

��α(s) Rel(F)(R) α(t)

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 66: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

•s R/o/o/o/o /o/o/o/o

��

•t

��α(s) Rel(F)(R) α(t)

... two states are bisimilar if they are related by somebisimulation

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 67: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Coalgebraic bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S such that

•s R/o/o/o/o /o/o/o/o

��

•t

��α(s) Rel(F)(R) α(t)

Theorem: Coalgebraic and concrete bisimilarity coincidefor all probabilistic transition systems!

RIMS, Kyoto, 19.11.2008 – p.14/30

Page 68: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

ExpressivenessWhen do we consider one type of system more expressivethan another?

RIMS, Kyoto, 19.11.2008 – p.15/30

Page 69: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

ExpressivenessWhen do we consider one type of system more expressivethan another?

Example:

LTS P(A × _)

are clearly not more expressive than

Alternating Systems D + P(A × _)

RIMS, Kyoto, 19.11.2008 – p.15/30

Page 70: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Expressiveness

simple Segala system → Segala system

P(A ×D) PD(A × _)

•a

��.p1

ww w7 w7 w7 w7 w7 w7 w7

p2�� �?�?

�? pn

'''g'g'g'g'g'g'g

• • ... •

RIMS, Kyoto, 19.11.2008 – p.16/30

Page 71: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Expressiveness

simple Segala system → Segala system

P(A ×D) PD(A × _)

•a

��p1

ww w7 w7 w7 w7 w7 w7 w7

p2�� �?�?

�? pn

(((h(h(h(h(h(h(h(h

• • ... •

��a[p1]

ww w7 w7 w7 w7 w7 w7 w7

a[p2]�� �?�?

�? a[pn]

(((h(h(h(h(h(h(h(h

• • ... •

RIMS, Kyoto, 19.11.2008 – p.16/30

Page 72: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Expressiveness

simple Segala system → Segala system

P(A ×D) PD(A × _)

•a

��p1

ww w7 w7 w7 w7 w7 w7 w7

p2�� �?�?

�? pn

(((h(h(h(h(h(h(h(h

• • ... •

��a[p1]

ww w7 w7 w7 w7 w7 w7 w7

a[p2]�� �?�?

�? a[pn]

(((h(h(h(h(h(h(h(h

• • ... •

When do we consider one type of systems moreexpressive than another?

RIMS, Kyoto, 19.11.2008 – p.16/30

Page 73: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Our expressiveness criterion

CoalgF → CoalgG

if there is a mapping 〈S, α : S → FS〉T7→ 〈S, α̃ : S → GS〉

that preserves and reflects bisimilarity

RIMS, Kyoto, 19.11.2008 – p.17/30

Page 74: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Our expressiveness criterion

CoalgF → CoalgG

if there is a mapping 〈S, α : S → FS〉T7→ 〈S, α̃ : S → GS〉

that preserves and reflects bisimilarity

s〈S,α〉 ∼ t〈T,β〉 ⇐⇒ sT 〈S,α〉 ∼ tT 〈T,β〉

RIMS, Kyoto, 19.11.2008 – p.17/30

Page 75: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Our expressiveness criterion

CoalgF → CoalgG

if there is a mapping 〈S, α : S → FS〉T7→ 〈S, α̃ : S → GS〉

that preserves and reflects bisimilarity

s〈S,α〉 ∼ t〈T,β〉 ⇐⇒ sT 〈S,α〉 ∼ tT 〈T,β〉

Theorem: An injective natural transformation F ⇒ G

is sufficient for CoalgF → CoalgG

RIMS, Kyoto, 19.11.2008 – p.17/30

Page 76: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Proof ideaGenerally, a natural transformation τ : F ⇒ G gives rise toa translation of coalgebras Tτ : CoalgF → CoalgG as follows:

S

α

��

��Tτ⇒ FS

τS��

FS GS

RIMS, Kyoto, 19.11.2008 – p.18/30

Page 77: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Proof ideaGenerally, a natural transformation τ : F ⇒ G gives rise toa translation of coalgebras Tτ : CoalgF → CoalgG as follows:

S

α

��

��Tτ⇒ FS

τS��

FS GS

this translation we use in the proof!

RIMS, Kyoto, 19.11.2008 – p.18/30

Page 78: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Preservation - proofThe translation Tτ preserves bisimulations:

A bisimulation R ⊆ S × T between 〈S, α〉 and 〈T, β〉

S

α

��

R

γ

��

π1oo π2 // T

β

��FS FR

Fπ1oo Fπ2 // FT

RIMS, Kyoto, 19.11.2008 – p.19/30

Page 79: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Preservation - proofThe translation Tτ preserves bisimulations:

A bisimulation R ⊆ S × T between 〈S, α〉 and 〈T, β〉

S

α

��

R

γ

��

π1oo π2 // T

β

��FS

τS

��

FR

τR

��

Fπ1oo Fπ2 //

nat. τ nat. τ

FT

τT

��GS GR

Gπ1

ooGπ2

// GT

is a bisimulation between Tτ〈S, α〉 and Tτ〈T, β〉RIMS, Kyoto, 19.11.2008 – p.19/30

Page 80: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Reflection?But Tτ need not reflect bisimilarity.

Example: The natural transformation

s̃upp : D + 1 ⇒ P

that forgets the probabilities does not reflect.

RIMS, Kyoto, 19.11.2008 – p.20/30

Page 81: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Reflection?But Tτ need not reflect bisimilarity.

Example: The natural transformation

s̃upp : D + 1 ⇒ P

that forgets the probabilities does not reflect.

•1

3

�� �C�C

2

3

���[�[

������

��777

7 •2

3

�� �C�C

1

3

���[�[

•1 ��

�O• Tτ⇒ •

��

• Tτ⇐ •1 ��

�O•

• • •

RIMS, Kyoto, 19.11.2008 – p.20/30

Page 82: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Reflection?But Tτ need not reflect bisimilarity.

Example: The natural transformation

s̃upp : D + 1 ⇒ P

that forgets the probabilities does not reflect.

Injectivity turns out to be sufficient for reflection viacocongruences - behavioural equivalence

RIMS, Kyoto, 19.11.2008 – p.20/30

Page 83: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Recall bisimulationA bisimulation on

〈S, α : S → FS〉

is R ⊆ S × S or (R, π1, π2) such that γ exists:

S

α

��

R

γ

��

π1oo π2 // S

α

��FS FR

Fπ1

ooFπ2

// FS

... two states are bisimilar if they are related by somebisimulation

RIMS, Kyoto, 19.11.2008 – p.21/30

Page 84: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

CocongruenceA cocongruence on

〈S, α : S → FS〉

is (Q, q1 : S → Q, q2 : S → Q) such that

RIMS, Kyoto, 19.11.2008 – p.22/30

Page 85: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

CocongruenceA cocongruence on

〈S, α : S → FS〉

is (Q, q1 : S → Q, q2 : S → Q) such that γ exists:S

α

��

q1 // Q

γ

��

S

β

��

q2oo

FSFq1

// FQ FSFq2

oo

RIMS, Kyoto, 19.11.2008 – p.22/30

Page 86: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

CocongruenceA cocongruence on

〈S, α : S → FS〉

is (Q, q1 : S → Q, q2 : S → Q) such that γ exists:S

α

��

q1 // Q

γ

��

S

β

��

q2oo

FSFq1

// FQ FSFq2

oo

... two states are behaviourly equivalent if they are related

by some cocongruence s ≈ t ⇐⇒ q1(s) = q2(t)

RIMS, Kyoto, 19.11.2008 – p.22/30

Page 87: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Results

• The translation Tτ preserves behavioural equivalencejust like it preserves bisimilarity

RIMS, Kyoto, 19.11.2008 – p.23/30

Page 88: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Results

• The translation Tτ preserves behavioural equivalencejust like it preserves bisimilarity

• If τ : F ⇒ G has injective components, thenTτ reflects behavioural equivalence

RIMS, Kyoto, 19.11.2008 – p.23/30

Page 89: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Results

• The translation Tτ preserves behavioural equivalencejust like it preserves bisimilarity

• If τ : F ⇒ G has injective components, thenTτ reflects behavioural equivalence

* The proof uses that Sets has a factorization systemwith a diagonal fill-in

RIMS, Kyoto, 19.11.2008 – p.23/30

Page 90: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The semantics• bisimilarity ⊆ behavioural equivalence

in Sets since pushouts exist

RIMS, Kyoto, 19.11.2008 – p.24/30

Page 91: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The semantics• bisimilarity ⊆ behavioural equivalence

in Sets since pushouts exist

• behavioural equivalence ⊆ bisimilarityif F preserves weak pullbacks

RIMS, Kyoto, 19.11.2008 – p.24/30

Page 92: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The semantics• bisimilarity ⊆ behavioural equivalence

in Sets since pushouts exist

• behavioural equivalence ⊆ bisimilarityif F preserves weak pullbacks

Hence, the theorem holds:

If F preserves w.p. and τ : F ⇒ G is injective, thenTτ preserves and reflects bisimilarity.

RIMS, Kyoto, 19.11.2008 – p.24/30

Page 93: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The semantics• bisimilarity ⊆ behavioural equivalence

in Sets since pushouts exist

• behavioural equivalence ⊆ bisimilarityif F preserves weak pullbacks

Hence, the theorem holds:

If F preserves w.p. and τ : F ⇒ G is injective, thenTτ preserves and reflects bisimilarity.

All our functors preserve w.p.RIMS, Kyoto, 19.11.2008 – p.24/30

Page 94: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 95: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 96: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

• δ : _ ⇒ D with δX(x) := δx (Dirac),

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 97: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

• δ : _ ⇒ D with δX(x) := δx (Dirac),

• ιl : F ⇒ F + G and ιr : G ⇒ F + G,

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 98: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

• δ : _ ⇒ D with δX(x) := δx (Dirac),

• ιl : F ⇒ F + G and ιr : G ⇒ F + G,

• φ+ ψ : F + G ⇒ F ′ + G′ forφ : F ⇒ F ′ and ψ : G ⇒ G′ (both with i.c.),

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 99: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

• δ : _ ⇒ D with δX(x) := δx (Dirac),

• ιl : F ⇒ F + G and ιr : G ⇒ F + G,

• φ+ ψ : F + G ⇒ F ′ + G′ forφ : F ⇒ F ′ and ψ : G ⇒ G′ (both with i.c.),

• κ : A × P ⇒ P(A × _) with κX(a,M) := {〈a, x〉 | x ∈M},

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 100: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Some basic transformationsExamples of injective natural transformations:

• η : 1 ⇒ P with ηX(∗) := ∅,

• σ : _ ⇒ P with σX(x) := {x},

• δ : _ ⇒ D with δX(x) := δx (Dirac),

• ιl : F ⇒ F + G and ιr : G ⇒ F + G,

• φ+ ψ : F + G ⇒ F ′ + G′ forφ : F ⇒ F ′ and ψ : G ⇒ G′ (both with i.c.),

• κ : A × P ⇒ P(A × _) with κX(a,M) := {〈a, x〉 | x ∈M},

• . . .

RIMS, Kyoto, 19.11.2008 – p.25/30

Page 101: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The hierarchy

MG

PZ

::ttttt

Seg

::uuuuu

Bun

ddIIIII

SSeg

99sssss

Var

ccHHHHH::vvvvv

Alt

[[6666666666666666

React

88qqqqqqLTS

eeLLLLL::uuuuu

Gen

ddIIIIIStr

OO

DLTS

ggNNNNNN88rrrrr

MC

OO

RIMS, Kyoto, 19.11.2008 – p.26/30

Page 102: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

The hierarchy

MG

PZ

::ttttt

Seg

::uuuuu

Bun

ddIIIII

SSeg

99sssss

Var

ccHHHHH::vvvvv

Alt

[[6666666666666666

React

88qqqqqqLTS

eeLLLLL::uuuuu

Gen

ddIIIIIStr

OO

DLTS

ggNNNNNN88rrrrr

MC

OO

* Falk Bartels, Ana Sokolova, Erik de Vink, TCS 327RIMS, Kyoto, 19.11.2008 – p.26/30

Page 103: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 104: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

objects in Meas: measure spaces (X,SX)

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 105: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

objects in Meas: measure spaces (X,SX)

with SX a σ-algebra

closed w.r.t. ∅, complements, countable unions

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 106: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

objects in Meas: measure spaces (X,SX)

with SX a σ-algebra

closed w.r.t. ∅, complements, countable unions

arrows in Meas: measurable functions

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 107: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

objects in Meas: measure spaces (X,SX)

with SX a σ-algebra

closed w.r.t. ∅, complements, countable unions

arrows in Meas: measurable functionsf : X → Y with f−1(SY ) ⊆ SX

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 108: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov processesare beyond discrete probabilities, live in Meas beyond Sets

objects in Meas: measure spaces (X,SX)

with SX a σ-algebra

closed w.r.t. ∅, complements, countable unions

arrows in Meas: measurable functionsf : X → Y with f−1(SY ) ⊆ SX

Markov processes are Giry-coalgebras in Meas!

RIMS, Kyoto, 19.11.2008 – p.27/30

Page 109: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov and GiryThe Giry functor (monad) on Meas is given on objects by

G(X,SX) = (GX,SGX)

RIMS, Kyoto, 19.11.2008 – p.28/30

Page 110: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov and GiryThe Giry functor (monad) on Meas is given on objects by

G(X,SX) = (GX,SGX)

with GX containing all subprobability measures

RIMS, Kyoto, 19.11.2008 – p.28/30

Page 111: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov and GiryThe Giry functor (monad) on Meas is given on objects by

G(X,SX) = (GX,SGX)

with GX containing all subprobability measures

and the smallest σ-algebra making the evaluation maps

evM : GX → [0, 1], evM (φ) = φ(M) measurable

RIMS, Kyoto, 19.11.2008 – p.28/30

Page 112: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Markov and GiryThe Giry functor (monad) on Meas is given on objects by

G(X,SX) = (GX,SGX)

with GX containing all subprobability measures

and the smallest σ-algebra making the evaluation maps

evM : GX → [0, 1], evM (φ) = φ(M) measurable

and on arrows

G(f)(SX

ϕ→ [0, 1]

)=

(SY

f−1

→ SXϕ→ [0, 1]

)

RIMS, Kyoto, 19.11.2008 – p.28/30

Page 113: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processesThe situation is

G << Meas

U++Sets

D

kk Dbb with D ⊣ U

with an obvious natural transformation ρ : DU ⇒ UG

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 114: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processesThe situation is

G << Meas

U++Sets

D

kk Dbb with D ⊣ U

with an obvious natural transformation ρ : DU ⇒ UG

and we can translate chains into processes

CoalgDρD◦−

//

%%KKKK

T

((CoalgUGD

xxqqqq (∗)// CoalgG

��Sets

D // Meas

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 115: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processes

So we can translate chains into processes

CoalgDρD◦−

//

&&NNN

T

((CoalgUGD

wwnnn (∗)// CoalgG

��Sets

D // Meas

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 116: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processes

So we can translate chains into processes

CoalgDρD◦−

//

&&NNN

T

((CoalgUGD

wwnnn (∗)// CoalgG

��Sets

D // Meas

with(X

c−→ D(X) = DUD(X)

)7−→

(X

c−→ DUD(X)

ρDX−→ UGD(X))

and (∗) fromX // UGD(X) in Sets

==========================D(X) // GD(X) in Meas

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 117: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processes

So we can translate chains into processes

CoalgDρD◦−

//

&&NNN

T

((CoalgUGD

wwnnn (∗)// CoalgG

��Sets

D // Meas

Theorem: The translation T preserves andreflects behavioral equivalence(bisimilarity does not work here)

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 118: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Chains vs. processes

So we can translate chains into processes

CoalgDρD◦−

//

&&NNN

T

((CoalgUGD

wwnnn (∗)// CoalgG

��Sets

D // Meas

Theorem: The translation T preserves andreflects behavioral equivalence(bisimilarity does not work here)

Hence: MC = CoalgSets

D −→ CoalgMeas

G = MP

RIMS, Kyoto, 19.11.2008 – p.29/30

Page 119: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

RIMS, Kyoto, 19.11.2008 – p.30/30

Page 120: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

• coalgebras are beautiful :-)

RIMS, Kyoto, 19.11.2008 – p.30/30

Page 121: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

• coalgebras are beautiful :-)

• an expressiveness comparison can be made

RIMS, Kyoto, 19.11.2008 – p.30/30

Page 122: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

• coalgebras are beautiful :-)

• an expressiveness comparison can be made

• expressiveness hierarchy w.r.tbisimilarity/beh.equivalence follows

RIMS, Kyoto, 19.11.2008 – p.30/30

Page 123: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

• coalgebras are beautiful :-)

• an expressiveness comparison can be made

• expressiveness hierarchy w.r.tbisimilarity/beh.equivalence follows

• it also works beyond Sets

RIMS, Kyoto, 19.11.2008 – p.30/30

Page 124: Classification of Probabilistic Systemscs.uni-salzburg.at/~anas/papers/RIMSNov2008.pdf · Ana Sokolova Computational Systems Group, University of Salzburg, Austria Joint work with:

Conclusions• probabilistic models are coalgebras

• coalgebras are beautiful :-)

• an expressiveness comparison can be made

• expressiveness hierarchy w.r.tbisimilarity/beh.equivalence follows

• it also works beyond Sets

• future work: build another floor in Meas

RIMS, Kyoto, 19.11.2008 – p.30/30