Top Banner
On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper
23

On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Dec 14, 2015

Download

Documents

Jimena Marden
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

On the random structure of behavioural transition systems.

Jan Friso Groote, Remco van der Hofstad,

Matthias Raffelsieper

Page 2: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

How do we count rabbits in nature?

/ Informatica PAGE 2

Page 3: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

How do we count the number of states in software?

/ Informatica PAGE 3

Page 4: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

How do we count bugs in software?

/ Informatica PAGE 4

Page 5: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Random state spaces.

• N number of states (4).

• λ fanout (2).

/ Informatica PAGE 5

Each state has λ outgoing states to a randomly chosen other state.

Page 6: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Predict the size of a state space

/ Informatica PAGE 6

• m rabbits seen (transitions): 1, 3, 5,....

• im unique rabbits are unique (states): 1, 2, 3,....

Page 7: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Predict N, the total number of states.

/ Informatica PAGE 7

Firewire data link layer

(IEEE 1394, Bas Luttik)

Page 8: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Typically findings:

/ Informatica PAGE 8

Page 9: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Parallel random state spaces.

/ Informatica PAGE 9

A realistic random state space is the

parallel composition of p random state spaces.

no communicationno communication

Page 10: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Estimation of ‘product state spaces’

Remco van der Hofstad

/ Informatica PAGE 10

Ball at distance j: BT(j).

Layer at distance j: ∂BT(j).

Page 11: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Estimation of ‘product state spaces’

Remco van der Hofstad

/ Informatica PAGE 11

Ball at distance j: BT(j).

Layer at distance j: ∂BT(j).

BT(0).

∂BT(0).

Page 12: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Estimation of ‘product state spaces’

Remco van der Hofstad

/ Informatica PAGE 12

Ball at distance j: BT(j).

Layer at distance j: ∂BT(j).

BT(1).

∂BT(1).

Page 13: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Estimation of ‘product state spaces’

Remco van der Hofstad

/ Informatica PAGE 13

Ball at distance j: BT(j).

Layer at distance j: ∂BT(j).

BT(2).

∂BT(2).

Page 14: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Ball sizes of product graphs.

/ Informatica PAGE 14

Page 15: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Expected ball size (single transition system):

/ Informatica PAGE 15

Page 16: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Estimation of the layer size (product graph)

/ Informatica PAGE 16

Take enough layers and estimate: λ1, λ2, N1, N2.

Page 17: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Can we predict (2 parallel systems)?

/ Informatica PAGE 17

Page 18: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Can we predict (3 parallel systems)?

/ Informatica PAGE 18

Page 19: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

And now reality (firewire protocol):

/ Informatica PAGE 19

Page 20: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

And now reality (firewire protocol):

/ Informatica PAGE 20

Page 21: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

And now reality (CABP):

/ Informatica PAGE 21

Page 22: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

A remark on debugging.

/ Informatica PAGE 22

1000 states 103 states α=0.05 probability that error remains

undetected with a test of length m.

Page 23: On the random structure of behavioural transition systems. Jan Friso Groote, Remco van der Hofstad, Matthias Raffelsieper.

Some open problems.

• Is the model really that good?

• How to reduce the extreme calculational effort to do the predictions?

• Can we predict the index of parallelism? What is the correct number of parallel processes to model a particular system?

• How to estimate the probability to hit an ‘erroneous state’ in a random state space [no, contrary what you think, this is not known...].

/ Informatica PAGE 23