Title: Structured Operational Semantics
1Structured Operational Semantics
2Contents
- Introduction
- Definition and Examples
- Bisimulation equivalence
- Congruence
3Introduction
SOS rules are very suitable for defining
semanticsof dynamic components Components
defined as terms. With operators, components are
placed in context.e.g. component C, context D,
together C_at_D Semantics s(C), s(D), s(C _at_D)
transition systems
4Compositionality
Semantics of combination s(C _at_D) should only
depend upon s(C) and s(D) (component and
context) So the following situation should never
occur!
5Compositionality(2)
different subnets
C C
6SOS rules format
- Syntax defines a set T of terms
- SOS rules define transition relation
- Premises any predicate
- Conclusion of form
7SOS rules example
Set A (actions) given T defined by SOS rules
8Conventions
- TS states terms (syntax)
- TS transitions smallest set satisfying SOS rules
Consequence d is deadlock
9Example derivation
10Term equivalence
Terms d and are equivalent (deadlock)bisimilar
TSs Other equivalences
11Congruence
We want e.g. that f(xy) f(yx) for
any operator f. This imposes restrictions on SOS
rules.
Not e.g.
But e.g.
12Petri Net Components
- Open Petri nets are transition systems
- State changes add/remove tokens, fire
- SOS rules define atoms (unconnectedplaces /
transitions) and operators
13PNC operator consume
Before
After
.
p
t
t
SOS
14Requirement language
Temporal requirement language L
15Requirement examples
Place a contains 1 token
After a firing of a, a b and c token
become available
Bisimilar iff satisfying same requirements! It is
possible to have non-bisimilar systems that both
satisfy all user requirements!
16Conclusion
- SOS rules suited for dynamic components
- Used to define atoms and operators
- Transition system semantics
- (many choices possible)
- Temporal requirements