Understanding Process Semantics

Size: px
Start display at page:

Download "Understanding Process Semantics"

Transcription

1 TU München March, 2017 Understanding Process Semantics David de Frutos Escrig In collaboration with: Carlos Gregorio Rodríguez, Miguel Palomino and Ignacio Fábregas Departamento de Sistemas Informáticos y Programación Universidad Complutense de Madrid Munich, March 2017 David de Frutos Escrig Understanding Process Semantics 1 / 32

2 Outline 1 Introduction and Motivation 2 Observational Unification 3 Axiomatic Unification David de Frutos Escrig Understanding Process Semantics 2 / 32

3 Outline 1 Introduction and Motivation 2 Observational Unification 3 Axiomatic Unification David de Frutos Escrig Understanding Process Semantics 3 / 32

4 Introduction Observational Unification Axiomatic Unification Process Theory agents that act and interact continuously with other similar agents and with their common environment. The agents may be real-world objects (even people), or they may be artefacts, embodied perhaps in computer hardware or software systems C.A.R. Hoare David de Frutos Escrig Understanding Process Semantics 4 / 32

5 Introduction Observational Unification Axiomatic Unification Process Theory agents that act and interact continuously with other similar agents and with their common environment. The agents may be real-world objects (even people), or they may be artefacts, embodied perhaps in computer hardware or software systems C.A.R. Hoare David de Frutos Escrig Understanding Process Semantics 4 / 32

6 Introduction Observational Unification Axiomatic Unification Process Theory agents that act and interact continuously with other similar agents and with their common environment. The agents may be real-world objects (even people), or they may be artefacts, embodied perhaps in computer hardware or software systems C.A.R. Hoare David de Frutos Escrig Understanding Process Semantics 4 / 32

7 Introduction Observational Unification Axiomatic Unification Process Theory agents that act and interact continuously with other similar agents and with their common environment. The agents may be real-world objects (even people), or they may be artefacts, embodied perhaps in computer hardware or software systems C.A.R. Hoare David de Frutos Escrig Understanding Process Semantics 4 / 32

8 Process Theory agents that act and interact continuously with other similar agents and with their common environment. The agents may be real-world objects (even people), or they may be artefacts, embodied perhaps in computer hardware or software systems C.A.R. Hoare David de Frutos Escrig Understanding Process Semantics 5 / 32

9 Process Theory Processes Mathematical abstraction of agent behaviour David de Frutos Escrig Understanding Process Semantics 6 / 32

10 Process Theory Processes Dijkstra David de Frutos Escrig Understanding Process Semantics 6 / 32

11 Process Theory Processes Dijkstra Hoare David de Frutos Escrig Understanding Process Semantics 6 / 32

12 Process Theory Processes Dijkstra Hoare Milner David de Frutos Escrig Understanding Process Semantics 6 / 32

13 Process Theory Processes Operational David de Frutos Escrig Understanding Process Semantics 6 / 32

14 Process Theory Processes Observational Operational David de Frutos Escrig Understanding Process Semantics 6 / 32

15 Process Theory Processes Axiomatic Observational Operational David de Frutos Escrig Understanding Process Semantics 6 / 32

16 Process Theory? p = q Processes Axiomatic Observational Operational David de Frutos Escrig Understanding Process Semantics 6 / 32

17 Process Theory? p = q? p q Processes Axiomatic Observational Operational David de Frutos Escrig Understanding Process Semantics 6 / 32

18 Linear Time-Branching Time spectrum bisimulation 2-nested simulation ready simulation possible worlds possible futures complete simulation ready trace failure trace readiness failure impossible futures simulation complete trace trace David de Frutos Escrig Understanding Process Semantics 7 / 32

19 Linear Time-Branching Time spectrum complete simulation bisimulation traces(0) = { } 2-nested simulation traces(ap) = { } { a t t traces(p)} traces(p + q) = traces(p) traces(q) ready simulation p = T q traces(p) possible worlds = traces(q) possible futures failure trace ready trace traces(p) = {σ p p σ p, σ = a 1... a n } failure readiness p = T q traces(p) = traces(q) impossible futures simulation complete trace trace David de Frutos Escrig Understanding Process Semantics 7 / 32

20 Linear Time-Branching Time spectrum a complete simulation bisimulation 2-nested simulation A relation S is a bisimulation if ready simulation a p p then q such that q q and p Sq a a possible worlds q q then p such that p p and q Sp ready trace possible futures We say p = B q if there is a bisimulation S such that psq failure trace readiness failure impossible futures simulation complete trace trace David de Frutos Escrig Understanding Process Semantics 7 / 32

21 Linear Time-Branching Time spectrum bisimulation 2-nested simulation ready simulation possible worlds possible futures complete simulation ready trace failure trace readiness failure impossible futures simulation complete trace trace David de Frutos Escrig Understanding Process Semantics 7 / 32

22 Examples of Equivalence Relations a p 0 = T a p 1 = F a p 2 = RS a p 3 a b F b b b RS b b B b b b c d c d c d c d c d c ab(c + d) a(bc + bd + b(d + c)) a(bc + bd) a(bc + bd) + abc = T Traces = F Failures = RS Ready Similarity = B Strong Bisimulation David de Frutos Escrig Understanding Process Semantics 8 / 32

23 Looking for Unification It would be interesting to get uniform descriptions of the (quite) different semantics for processes This would shed light into the differences and similarities between those semantics We have identifed, classified and compare groups and families of process semantics Based on them we obtain general results with general proofs applicable to (wide) families of semantics David de Frutos Escrig Understanding Process Semantics 9 / 32

24 Looking for Unification It would be interesting to get uniform descriptions of the (quite) different semantics for processes This would shed light into the differences and similarities between those semantics We have identifed, classified and compare groups and families of process semantics Based on them we obtain general results with general proofs applicable to (wide) families of semantics David de Frutos Escrig Understanding Process Semantics 9 / 32

25 Looking for Unification It would be interesting to get uniform descriptions of the (quite) different semantics for processes This would shed light into the differences and similarities between those semantics We have identifed, classified and compare groups and families of process semantics Based on them we obtain general results with general proofs applicable to (wide) families of semantics David de Frutos Escrig Understanding Process Semantics 9 / 32

26 Looking for Unification It would be interesting to get uniform descriptions of the (quite) different semantics for processes This would shed light into the differences and similarities between those semantics We have identifed, classified and compare groups and families of process semantics Based on them we obtain general results with general proofs applicable to (wide) families of semantics David de Frutos Escrig Understanding Process Semantics 9 / 32

27 BCCSP processes Definition The set BCCSP(Act) of processes is defined by: p ::= 0 ap p + q where a Act; 0 represents the process that performs no action; for every action in Act, there is a prefix operator; and + is a choice operator. Definition The operational semantics for BCCSP terms is defined by ap a p a p p q a q p + q a p p + q a q David de Frutos Escrig Understanding Process Semantics 10 / 32

28 BCCSP processes Definition The set BCCSP(Act) of processes is defined by: p ::= 0 ap p + q where a Act; 0 represents the process that performs no action; for every action in Act, there is a prefix operator; and + is a choice operator. Definition The operational semantics for BCCSP terms is defined by ap a p a p p q a q p + q a p p + q a q David de Frutos Escrig Understanding Process Semantics 10 / 32

29 Observational framework Observations Branching observations for simulation semantics Linear observations for extensional semantics (degenerated branching) Deterministic branching observations for rare semantics Concepts Local observation function at states L N, parameter N Branching general observation (bgo) a partial aggregated view of a collection of computations of a process and observations L N at its states David de Frutos Escrig Understanding Process Semantics 11 / 32

30 Observational framework Observations Branching observations for simulation semantics Linear observations for extensional semantics (degenerated branching) Deterministic branching observations for rare semantics Concepts Local observation function at states L N, parameter N Branching general observation (bgo) a partial aggregated view of a collection of computations of a process and observations L N at its states David de Frutos Escrig Understanding Process Semantics 11 / 32

31 Constrained simulations Definition Given a relation N, an N-constrained simulation is a relation S N such that ps N q implies: For every a, if p a p there exists q, q a q and p S N q, pnq. Notation: p NS q. Constraints for the Simulations The universal relation U relating all processes gives rise to the simulation semantics. Relation I, relating processes with the same initial actions, corresponds to ready simulation. Relation T, that relates processes with the same traces, corresponds to trace simulation. David de Frutos Escrig Understanding Process Semantics 12 / 32

32 Constrained simulations Definition Given a relation N, an N-constrained simulation is a relation S N such that ps N q implies: For every a, if p a p there exists q, q a q and p S N q, pnq. Notation: p NS q. Constraints for the Simulations The universal relation U relating all processes gives rise to the simulation semantics. Relation I, relating processes with the same initial actions, corresponds to ready simulation. Relation T, that relates processes with the same traces, corresponds to trace simulation. David de Frutos Escrig Understanding Process Semantics 12 / 32

33 Local observations L N We observe locally at each state of the process the information needed to decide the corresponding constraint: Observations Plain simulation: L U = { }, L U (p) =. Ready simulation: L I = P(Act), L I (p) = I(p). Complete simulation: L C = Bool, L C (p) is true if p 0 and false otherwise. Trace simulation: L T = P(Act ), L T (p) = T (p), the set of traces of p. 2-nested simulation: L S = {[p] S p BCCSP}, L S (p) = [p] S. David de Frutos Escrig Understanding Process Semantics 13 / 32

34 Branching observations Branching general observations The domain BGO N of branching general observations of p corresponding to the constraint N contains the finite trees doubly labelled, at their nodes by local observations in L N, and at their arcs by actions in Act. BGO N (p) The set BGO N (p) can be compositionally defined as BGO N (p) = { L N (p), S S {(a, bgo) bgo BGO N (p ), p a p }} David de Frutos Escrig Understanding Process Semantics 14 / 32

35 Branching observations Branching general observations The domain BGO N of branching general observations of p corresponding to the constraint N contains the finite trees doubly labelled, at their nodes by local observations in L N, and at their arcs by actions in Act. BGO N (p) The set BGO N (p) can be compositionally defined as BGO N (p) = { L N (p), S S {(a, bgo) bgo BGO N (p ), p a p }} David de Frutos Escrig Understanding Process Semantics 14 / 32

36 Branching observations Interpreting bgo s Any bgo BGO N (p) can be interpreted as a partial aggregated view of a collection of computations of p, by observing L N at their states. Example {a} {a} a {b} b {c, d} c d {b} b {c} c {a} a 2 22 a {b} b {c, d} Some bgo s in BGO I (p) for p = a(b(c + d) + bc + bd) d David de Frutos Escrig Understanding Process Semantics 15 / 32

37 Branching observations Interpreting bgo s Any bgo BGO N (p) can be interpreted as a partial aggregated view of a collection of computations of p, by observing L N at their states. Example {a} {a} a {b} b {c, d} c d {b} b {c} c {a} a 2 22 a {b} b {c, d} Some bgo s in BGO I (p) for p = a(b(c + d) + bc + bd) d David de Frutos Escrig Understanding Process Semantics 15 / 32

38 Characterization of Branching Semantics Observational Characterization Definition: p b N q if BGO N(p) BGO N (q). For all N {U, I, C, T, S} and any two processes p and q, p NS q iff p b N q. Why it works We may include, but we do not must!, in a bgo several partial computations that start executing several transitions. We may duplicate a single transition by including different computations starting with the same transition. David de Frutos Escrig Understanding Process Semantics 16 / 32

39 Characterization of Branching Semantics Observational Characterization Definition: p b N q if BGO N(p) BGO N (q). For all N {U, I, C, T, S} and any two processes p and q, p NS q iff p b N q. Why it works We may include, but we do not must!, in a bgo several partial computations that start executing several transitions. We may duplicate a single transition by including different computations starting with the same transition. David de Frutos Escrig Understanding Process Semantics 16 / 32

40 Characterization of Branching Semantics Observational Characterization Definition: p b N q if BGO N(p) BGO N (q). For all N {U, I, C, T, S} and any two processes p and q, p NS q iff p b N q. Why it works We may include, but we do not must!, in a bgo several partial computations that start executing several transitions. We may duplicate a single transition by including different computations starting with the same transition. David de Frutos Escrig Understanding Process Semantics 16 / 32

41 Linear observations for Linear Semantics Linear observations The set LGO N of linear general observations for a local observer L N is the subset of BGO N defined as: l, LGO N for each l L N. l, {(a, lgo)}, whenever a A and lgo LGO N. The set of linear general observations of a process p with respect to the local observer L N is LGO N (p) = BGO N (p) LGO N. Since lgo s are linear, they can be presented as decorated traces: LGO N (p) ::= { L N (p) } { L N (p), a lgo p a p, lgo LGO N (p )} David de Frutos Escrig Understanding Process Semantics 17 / 32

42 Linear observations for Linear Semantics Linear observations The set LGO N of linear general observations for a local observer L N is the subset of BGO N defined as: l, LGO N for each l L N. l, {(a, lgo)}, whenever a A and lgo LGO N. The set of linear general observations of a process p with respect to the local observer L N is LGO N (p) = BGO N (p) LGO N. Since lgo s are linear, they can be presented as decorated traces: LGO N (p) ::= { L N (p) } { L N (p), a lgo p a p, lgo LGO N (p )} David de Frutos Escrig Understanding Process Semantics 17 / 32

43 Linear observations for Linear Semantics Linear observations The set LGO N of linear general observations for a local observer L N is the subset of BGO N defined as: l, LGO N for each l L N. l, {(a, lgo)}, whenever a A and lgo LGO N. The set of linear general observations of a process p with respect to the local observer L N is LGO N (p) = BGO N (p) LGO N. Since lgo s are linear, they can be presented as decorated traces: LGO N (p) ::= { L N (p) } { L N (p), a lgo p a p, lgo LGO N (p )} David de Frutos Escrig Understanding Process Semantics 17 / 32

44 Characterization of Linear Semantics Characterization of the Finest Linear Semantics Definition: p l N q, if LGO N(p) LGO N (q). (1) l U = T ; (2) l I = RT ; (3) l C = CT The linear semantics corresponding to decorated traces observing L N are the finest linear semantics corresponding to each constraint. David de Frutos Escrig Understanding Process Semantics 18 / 32

45 Characterization of Linear Semantics There are other coarser semantics for which a different treatment of the linear observations is needed. Orders for the rest of linear semantics for N = I For T, T LGO I we define the orders l I, lf I, and lf I : T l I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T i 0..n X i Y i T lf I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T X n = Y n T lf I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T X n Y n Then, we write p lx I q if LGO I (p) lx I LGO I (q). David de Frutos Escrig Understanding Process Semantics 19 / 32

46 Characterization of Linear Semantics There are other coarser semantics for which a different treatment of the linear observations is needed. Orders for the rest of linear semantics for N = I For T, T LGO I we define the orders l I, lf I, and lf I : T l I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T i 0..n X i Y i T lf I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T X n = Y n T lf I T X 0 a 1 X 1... X n T Y 0 a 1 Y 1... Y n T X n Y n Then, we write p lx I q if LGO I (p) lx I LGO I (q). David de Frutos Escrig Understanding Process Semantics 19 / 32

47 Characterization of Linear Semantics Linear Observations for some other Classical Semantics lf I lf I l I generates the readiness preorder; generates the failures preorder; generates the failures trace preorder. David de Frutos Escrig Understanding Process Semantics 20 / 32

48 Characterization of Linear Semantics Three closure operations can be defined for the sets of linear observations Closures characterising the Linear semantics T = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T i 0..n X i Y i }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n X n T }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T X n Y n }. For X {, f, f } we define LGO X I (p) = LGO I (p) X. Set characterization of the Linear Semantics p lx I q LGO X I (p) LGO X I (q) David de Frutos Escrig Understanding Process Semantics 21 / 32

49 Characterization of Linear Semantics Three closure operations can be defined for the sets of linear observations Closures characterising the Linear semantics T = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T i 0..n X i Y i }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n X n T }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T X n Y n }. For X {, f, f } we define LGO X I (p) = LGO I (p) X. Set characterization of the Linear Semantics p lx I q LGO X I (p) LGO X I (q) David de Frutos Escrig Understanding Process Semantics 21 / 32

50 Characterization of Linear Semantics Three closure operations can be defined for the sets of linear observations Closures characterising the Linear semantics T = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T i 0..n X i Y i }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n X n T }. T f = {X 0 a 1 X 1... a n X n Y 0 a 1 Y 1... a n Y n T X n Y n }. For X {, f, f } we define LGO X I (p) = LGO I (p) X. Set characterization of the Linear Semantics p lx I q LGO X I (p) LGO X I (q) David de Frutos Escrig Understanding Process Semantics 21 / 32

51 Characterization of Linear Semantics Linear Observations for the rest of Linear Semantics The preorders X I can be generalised simply substituting I by an arbitrary constraint, thus getting X N. In this way we characterize two other semantics more recently added to the spectrum: lf T generates the Possible Futures preorder; generates the Impossible Futures preorder; lf T Many other new linear semantics that however can be introduced in a quite natural way. David de Frutos Escrig Understanding Process Semantics 22 / 32

52 Deterministic Branching semantics Deterministic branching observations A bgo is deterministic if for every node in it, its set of children {(a i, bgo i )} satisfies a i a j whenever i j. Deterministic branching observations of a process The set of deterministic branching observations of a process p is dbgo N (p) = BGO N (p) dbgo N. We write p db N q if dbgo N(p) dbgo N (q). The Possible Worlds semantics Deterministic branching observations capture the possible worlds semantics plus many other (a bit strange) ones. p db I q p PW q David de Frutos Escrig Understanding Process Semantics 23 / 32

53 Deterministic Branching semantics Deterministic branching observations A bgo is deterministic if for every node in it, its set of children {(a i, bgo i )} satisfies a i a j whenever i j. Deterministic branching observations of a process The set of deterministic branching observations of a process p is dbgo N (p) = BGO N (p) dbgo N. We write p db N q if dbgo N(p) dbgo N (q). The Possible Worlds semantics Deterministic branching observations capture the possible worlds semantics plus many other (a bit strange) ones. p db I q p PW q David de Frutos Escrig Understanding Process Semantics 23 / 32

54 Deterministic Branching semantics Deterministic branching observations A bgo is deterministic if for every node in it, its set of children {(a i, bgo i )} satisfies a i a j whenever i j. Deterministic branching observations of a process The set of deterministic branching observations of a process p is dbgo N (p) = BGO N (p) dbgo N. We write p db N q if dbgo N(p) dbgo N (q). The Possible Worlds semantics Deterministic branching observations capture the possible worlds semantics plus many other (a bit strange) ones. p db I q p PW q David de Frutos Escrig Understanding Process Semantics 23 / 32

55 The New Linear Time-Branching Time Spectrum B New 2S New New New New New TS New New IF PF FT RS PW RT F R CS New CT S New T David de Frutos Escrig Understanding Process Semantics 24 / 32

56 Axiomatisations for the semantics in the spectrum BCCSP axiomatisations for the equivalences B RS PW RT FT R F CS CT S T (x + y) + z = x + (y + z) x + y = y + x x + 0 = x x + x = x I(x) = I(y) a(x + y) = a(x + y) + ay + v v v v v v v v v a(bx + by + z) = a(bx + z) + a(by + z) + v v v v v v I(x) = I(y) ax + ay = a(x + y) + + v v v v ax + ay = ax + ay + a(x + y) + v v v a(bx + u) + a(by + v) = a(bx + by + u) + a(by + v) + + v v ax + a(y + z) = ax + a(x + y) + a(y + z) + v v a(x + by + z) = a(x + by + z) + a(by + z) + v v v a(bx + u) + a(cy + v) = a(bx + cy + u + v) + v a(x + y) = a(x + y) + ay + v ax + ay = a(x + y) + David de Frutos Escrig Understanding Process Semantics 25 / 32

57 Axiomatisations for the semantics in the spectrum BCCSP axiomatisations for the preorders B RS PW RT FT R F CS CT S T (x + y) + z = x + (y + z) x + y = y + x x + 0 = x x + x = x ax ax + ay v v v v a(bx + by + z) = a(bx + z) + a(by + z) + v v v v v v I(x) = I(y) ax + ay = a(x + y) + v v v v v ax + ay a(x + y) + v v v a(bx + u) + a(by + v) a(bx + by + u) + v v v ax + a(y + z) a(x + y) + v v ax ax + y + + v v a(bx + u) + a(cy + v) = a(bx + cy + u + v) + v x x + y + + ax + ay = a(x + y) + David de Frutos Escrig Understanding Process Semantics 25 / 32

58 Unifying the Axiomatization A uniform axiomatization for process semantics A first axiom capturing the Branching behaviour: (NS) N(x, y) x x + y. Another axiom identifying certain forms of non-deterministic choices: (ND) M(x, y, w) a(x + y) ax + a(y + w). The condition in the second axiom establishes which identifications are needed. Related with the Unification of the Observational Semantics The Branching axiom characterizes the Simulation Semantics. There is a Single axiom for the Linear Semantics. But we need adequate conditions to capture each of them. David de Frutos Escrig Understanding Process Semantics 26 / 32

59 Unifying the Axiomatization A uniform axiomatization for process semantics A first axiom capturing the Branching behaviour: (NS) N(x, y) x x + y. Another axiom identifying certain forms of non-deterministic choices: (ND) M(x, y, w) a(x + y) ax + a(y + w). The condition in the second axiom establishes which identifications are needed. Related with the Unification of the Observational Semantics The Branching axiom characterizes the Simulation Semantics. There is a Single axiom for the Linear Semantics. But we need adequate conditions to capture each of them. David de Frutos Escrig Understanding Process Semantics 26 / 32

60 Unifying the Axiomatization A uniform axiomatization for process semantics A first axiom capturing the Branching behaviour: (NS) N(x, y) x x + y. Another axiom identifying certain forms of non-deterministic choices: (ND) M(x, y, w) a(x + y) ax + a(y + w). The condition in the second axiom establishes which identifications are needed. Related with the Unification of the Observational Semantics The Branching axiom characterizes the Simulation Semantics. There is a Single axiom for the Linear Semantics. But we need adequate conditions to capture each of them. David de Frutos Escrig Understanding Process Semantics 26 / 32

61 Unifying the Axiomatization A uniform axiomatization for process semantics A first axiom capturing the Branching behaviour: (NS) N(x, y) x x + y. Another axiom identifying certain forms of non-deterministic choices: (ND) M(x, y, w) a(x + y) ax + a(y + w). The condition in the second axiom establishes which identifications are needed. Related with the Unification of the Observational Semantics The Branching axiom characterizes the Simulation Semantics. There is a Single axiom for the Linear Semantics. But we need adequate conditions to capture each of them. David de Frutos Escrig Understanding Process Semantics 26 / 32

62 Axiomatization of simulation semantics The Bisimulation Axioms (B 1 ) x + y y + x (B 3 ) x + x x (B 2 ) (x + y) + z x + (y + z) (B 4 ) x + 0 x Behaviour Preorder A preorder relation over processes is a behavior preorder if it is weaker than bisimilarity, i.e. p B q p q, and it is a precongruence with respect to the prefix and choice operators, i.e. if p q then ap aq and p + r q + r. The Simulation Axiom Whenever N is a behavior preorder, N-similarity can be axiomatically defined by means of the conditional axiom (NS) N(x, y) x x + y, together with B 1 B 4. David de Frutos Escrig Understanding Process Semantics 27 / 32

63 Axiomatization of simulation semantics The Bisimulation Axioms (B 1 ) x + y y + x (B 3 ) x + x x (B 2 ) (x + y) + z x + (y + z) (B 4 ) x + 0 x Behaviour Preorder A preorder relation over processes is a behavior preorder if it is weaker than bisimilarity, i.e. p B q p q, and it is a precongruence with respect to the prefix and choice operators, i.e. if p q then ap aq and p + r q + r. The Simulation Axiom Whenever N is a behavior preorder, N-similarity can be axiomatically defined by means of the conditional axiom (NS) N(x, y) x x + y, together with B 1 B 4. David de Frutos Escrig Understanding Process Semantics 27 / 32

64 Axiomatization of simulation semantics The Bisimulation Axioms (B 1 ) x + y y + x (B 3 ) x + x x (B 2 ) (x + y) + z x + (y + z) (B 4 ) x + 0 x Behaviour Preorder A preorder relation over processes is a behavior preorder if it is weaker than bisimilarity, i.e. p B q p q, and it is a precongruence with respect to the prefix and choice operators, i.e. if p q then ap aq and p + r q + r. The Simulation Axiom Whenever N is a behavior preorder, N-similarity can be axiomatically defined by means of the conditional axiom (NS) N(x, y) x x + y, together with B 1 B 4. David de Frutos Escrig Understanding Process Semantics 27 / 32

65 A uniform characterization of linear semantics The diamond of classic semantics coarser than ready simulation: (RS) ready simulation (RT) ready trace (FT) failure trace (R) readiness (F) failure Classic axiomatizations: Failures: (F) a(x + y) ax + a(y + w) Readiness: (R) a(bx + by + u) a(bx + u) + a(by + v) Failure traces: (FT ) a(x + y) ax + ay Ready traces: (RT ) I(x) = I(y) ax + ay a(x + y) David de Frutos Escrig Understanding Process Semantics 28 / 32

66 A uniform characterization of linear semantics The diamond of classic semantics coarser than ready simulation: (RS) ready simulation (RT) ready trace (FT) failure trace (R) readiness (F) failure Classic axiomatizations: Failures: (F) a(x + y) ax + a(y + w) Readiness: (R) a(bx + by + u) a(bx + u) + a(by + v) Failure traces: (FT ) a(x + y) ax + ay Ready traces: (RT ) I(x) = I(y) ax + ay a(x + y) David de Frutos Escrig Understanding Process Semantics 28 / 32

67 Synthetizing the most general conditions for (ND) The original conditions for each preorder M F (x, y, w) ::= ( I(x) I(y) I(x) ) or ( I(w) I(y) I(x) I(y) ) M R (x, y, w) ::= ( I(y) I(x) ) or ( I(x) I(y) = I(y) I(w) ) M FT (x, y, w) ::= ( I(x) I(y) ) ( I(y) I(w) ) M RT (x, y, w) ::= ( I(y) I(x) ) and ( I(x) = I(y) I(w) ) Simplified forms when used together with (RS) (ND F ) M F (x, y, w) ::= true (ND R ) M R (x, y, w) ::= I(x) I(y) (ND FT ) (ND RT ) M FT (x, y, w) ::= I(w) I(y) M RT (x, y, w) ::= ( I(x) = I(y) ) and ( I(w) I(y) ) David de Frutos Escrig Understanding Process Semantics 29 / 32

68 Synthetizing the most general conditions for (ND) The original conditions for each preorder M F (x, y, w) ::= ( I(x) I(y) I(x) ) or ( I(w) I(y) I(x) I(y) ) M R (x, y, w) ::= ( I(y) I(x) ) or ( I(x) I(y) = I(y) I(w) ) M FT (x, y, w) ::= ( I(x) I(y) ) ( I(y) I(w) ) M RT (x, y, w) ::= ( I(y) I(x) ) and ( I(x) = I(y) I(w) ) Simplified forms when used together with (RS) (ND F ) M F (x, y, w) ::= true (ND R ) M R (x, y, w) ::= I(x) I(y) (ND FT ) (ND RT ) M FT (x, y, w) ::= I(w) I(y) M RT (x, y, w) ::= ( I(x) = I(y) ) and ( I(w) I(y) ) David de Frutos Escrig Understanding Process Semantics 29 / 32

69 The coarsest semantics in the spectrum Plain simulation: U(x, y) ::= true (S) U(x, y) ::= true (ND U ) a(x + y) ax + a(y + w) All the semantics in the diamond define the trace semantics. Complete simulation: C(x, y) ::= (x = 0 y = 0) Taking C(x) ::= (x = 0), (C-ND R ) M CR (x, y, w) ::= ( C(x) C(y) ) (C-ND FT ) M CFT (x, y, w) ::= ( C(y) C(w) ) (C-ND RT ) M CRT (x, y, w) ::= ( C(x) C(y) and C(y) C(w) ) Once again, all four semantics in the diamond correspond to complete trace semantics. David de Frutos Escrig Understanding Process Semantics 30 / 32

70 The coarsest semantics in the spectrum Plain simulation: U(x, y) ::= true (S) U(x, y) ::= true (ND U ) a(x + y) ax + a(y + w) All the semantics in the diamond define the trace semantics. Complete simulation: C(x, y) ::= (x = 0 y = 0) Taking C(x) ::= (x = 0), (C-ND R ) M CR (x, y, w) ::= ( C(x) C(y) ) (C-ND FT ) M CFT (x, y, w) ::= ( C(y) C(w) ) (C-ND RT ) M CRT (x, y, w) ::= ( C(x) C(y) and C(y) C(w) ) Once again, all four semantics in the diamond correspond to complete trace semantics. David de Frutos Escrig Understanding Process Semantics 30 / 32

71 The finest semantics in the spectrum Trace simulation: T (x, y) ::= ( T (x) = T (y) ) Impossible futures: (T-ND F ) MF T (x, y, w) ::= true Possible futures: (T-ND R ) MR T (x, y, w) ::= ( T (x) T (y) ) New: impossible traces, possible traces. (T-ND FT ) M T FT (x, y, w) ::= ( T (w) T (y) ) (T-ND RT ) M T RT (x, y, w) ::= ( T (x) = T (y) and T (w) T (y) ) 2-nested simulation: S(x, y) ::= (x S y) Four new linear semantics; for example: (S-ND R ) y S x a(x + y) ax + a(y + z). David de Frutos Escrig Understanding Process Semantics 31 / 32

72 The finest semantics in the spectrum Trace simulation: T (x, y) ::= ( T (x) = T (y) ) Impossible futures: (T-ND F ) MF T (x, y, w) ::= true Possible futures: (T-ND R ) MR T (x, y, w) ::= ( T (x) T (y) ) New: impossible traces, possible traces. (T-ND FT ) M T FT (x, y, w) ::= ( T (w) T (y) ) (T-ND RT ) M T RT (x, y, w) ::= ( T (x) = T (y) and T (w) T (y) ) 2-nested simulation: S(x, y) ::= (x S y) Four new linear semantics; for example: (S-ND R ) y S x a(x + y) ax + a(y + z). David de Frutos Escrig Understanding Process Semantics 31 / 32

73 Some curious archaeological discoveries The real diamond below ready simulation (RS) (RT) (R FT) (FT) (R) (R FT) (F) (R FT) M R FT ::= ( I(x) I(y) ) and ( I(w) I(y) ). (R FT) M R FT ::= ( I(x) I(y) ) or ( I(w) I(y) ). David de Frutos Escrig Understanding Process Semantics 32 / 32

Ready to Preorder: an Algebraic and General Proof

Ready to Preorder: an Algebraic and General Proof Ready to Preorder: an Algebraic and General Proof David de Frutos Escrig,1, Carlos Gregorio Rodríguez 2, Miguel Palomino 1 Departamento de Sistemas Informáticos y Computación Universidad Complutense de

More information

Ready to Preorder: The Case of Weak Process Semantics

Ready to Preorder: The Case of Weak Process Semantics Ready to Preorder: The Case of Weak Process Semantics Taolue Chen CWI PO Box 94079, 1090 GB Amsterdam, NL chen@cwi.nl Wan Fokkink Vrije Universiteit De Boelelaan 1081a, 1081 HV Amsterdam, NL wanf@cs.vu.nl

More information

ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES

ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES Logical Methods in Computer Science Vol. 11(3:17)2015, pp. 1 30 www.lmcs-online.org Submitted Jan. 4, 2015 Published Sep. 22, 2015 ON THE AXIOMATIZABILITY OF IMPOSSIBLE FUTURES TAOLUE CHEN a, WAN FOKKINK

More information

BRICS. Finite Equational Bases in Process Algebra: Results and Open Questions

BRICS. Finite Equational Bases in Process Algebra: Results and Open Questions BRICS RS-05-19 Aceto et al.: Finite Equational Bases in Process Algebra: Results and Open Questions BRICS Basic Research in Computer Science Finite Equational Bases in Process Algebra: Results and Open

More information

Categorical logics for contravariant simulations, partial bisimulations, modal refinements and mixed transition systems

Categorical logics for contravariant simulations, partial bisimulations, modal refinements and mixed transition systems Categorical logics for contravariant simulations, partial bisimulations, modal refinements and mixed transition systems Ignacio Fábregas, Miguel Palomino, and David de Frutos-Escrig Departamento de Sistemas

More information

On the specification of modal systems: a comparison of three frameworks

On the specification of modal systems: a comparison of three frameworks On the specification of modal systems: a comparison of three frameworks Luca Aceto a, Ignacio Fábregas b, David de Frutos-Escrig b, Anna Ingólfsdóttir a, Miguel Palomino b a ICE-TCS, School of Computer

More information

Structure Preserving Bisimilarity,

Structure Preserving Bisimilarity, Structure Preserving Bisimilarity, Supporting an Operational Petri Net Semantics of CCSP Rob van Glabbeek NICTA, Sydney, Australia University of New South Wales, Sydney, Australia September 2015 Milner:

More information

Decidable Subsets of CCS

Decidable Subsets of CCS Decidable Subsets of CCS based on the paper with the same title by Christensen, Hirshfeld and Moller from 1994 Sven Dziadek Abstract Process algebra is a very interesting framework for describing and analyzing

More information

Reflection and preservation of properties in coalgebraic (bi)simulations

Reflection and preservation of properties in coalgebraic (bi)simulations Reflection and preservation of properties in coalgebraic (bi)simulations Ignacio Fábregas, Miguel Palomino, and David de Frutos Escrig Departamento de Sistemas Informáticos y Computación, UCM fabregas@fdi.ucm.es

More information

Equations, contractions, and unique solutions

Equations, contractions, and unique solutions Equations, contractions, and unique solutions Davide Sangiorgi To cite this version: Davide Sangiorgi. Equations, contractions, and unique solutions. POPL 2015 - Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT

More information

On simulations and bisimulations of general flow systems

On simulations and bisimulations of general flow systems On simulations and bisimulations of general flow systems Jen Davoren Department of Electrical & Electronic Engineering The University of Melbourne, AUSTRALIA and Paulo Tabuada Department of Electrical

More information

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980

Communication and Concurrency: CCS. R. Milner, A Calculus of Communicating Systems, 1980 Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics, to be handled on

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

Commutative laws for addition and multiplication: If a and b are arbitrary real numbers then

Commutative laws for addition and multiplication: If a and b are arbitrary real numbers then Appendix C Prerequisites C.1 Properties of Real Numbers Algebraic Laws Commutative laws for addition and multiplication: If a and b are arbitrary real numbers then a + b = b + a, (C.1) ab = ba. (C.2) Associative

More information

Rooted Branching Bisimulation as a Congruence

Rooted Branching Bisimulation as a Congruence Rooted Branching Bisimulation as a Congruence Wan Fokkink University of Wales Swansea Department of Computer Science Singleton Park, Swansea SA2 8PP, Wales w.j.fokkink@swan.ac.uk Abstract This article

More information

Inducing syntactic cut-elimination for indexed nested sequents

Inducing syntactic cut-elimination for indexed nested sequents Inducing syntactic cut-elimination for indexed nested sequents Revantha Ramanayake Technische Universität Wien (Austria) IJCAR 2016 June 28, 2016 Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination

More information

Reasoning About Bounds In Weighted Transition Systems

Reasoning About Bounds In Weighted Transition Systems Reasoning About Bounds In Weighted Transition Systems QuantLA 2017 September 18, 2017 Mikkel Hansen, Kim Guldstrand Larsen, Radu Mardare, Mathias Ruggaard Pedersen and Bingtian Xue {mhan, kgl, mardare,

More information

DISCRIMINANT EXAM QUESTIONS

DISCRIMINANT EXAM QUESTIONS DISCRIMINANT EXAM QUESTIONS Question 1 (**) Show by using the discriminant that the graph of the curve with equation y = x 4x + 10, does not cross the x axis. proof Question (**) Show that the quadratic

More information

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32

A Note on Scope and Infinite Behaviour in CCS-like Calculi p.1/32 A Note on Scope and Infinite Behaviour in CCS-like Calculi GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Joint work with Pablo Giambiagi and Frank Valencia A

More information

ESE601: Hybrid Systems. Introduction to verification

ESE601: Hybrid Systems. Introduction to verification ESE601: Hybrid Systems Introduction to verification Spring 2006 Suggested reading material Papers (R14) - (R16) on the website. The book Model checking by Clarke, Grumberg and Peled. What is verification?

More information

On the Axiomatizability of Ready Traces, Ready Simulation, and Failure Traces

On the Axiomatizability of Ready Traces, Ready Simulation, and Failure Traces On the Axiomatizability of Ready Traces, Ready Simulation, and Failure Traces Stefan Blom 1, Wan Fokkink 1,2, and Sumit Nain 3 1 CWI, Department of Software Engineering, PO Box 94079, 1090 GB Amsterdam,

More information

Predicate Calculus. CS 270 Math Foundations of Computer Science Jeremy Johnson

Predicate Calculus. CS 270 Math Foundations of Computer Science Jeremy Johnson Predicate Calculus CS 270 Math Foundations of Computer Science Jeremy Johnson Presentation uses material from Huth and Ryan, Logic in Computer Science: Modelling and Reasoning about Systems, 2nd Edition

More information

Time and Timed Petri Nets

Time and Timed Petri Nets Time and Timed Petri Nets Serge Haddad LSV ENS Cachan & CNRS & INRIA haddad@lsv.ens-cachan.fr DISC 11, June 9th 2011 1 Time and Petri Nets 2 Timed Models 3 Expressiveness 4 Analysis 1/36 Outline 1 Time

More information

A Proof System for Timed Automata

A Proof System for Timed Automata A Proof System for Timed Automata Huimin Lin 1 and Wang Yi 2 1 Laboratory for Computer Science Institute of Software, Chinese Academy of Sciences lhm@ox.ios.ac.cn 2 Department of Computer Systems Uppsala

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning

More information

Systems of modal logic

Systems of modal logic 499 Modal and Temporal Logic Systems of modal logic Marek Sergot Department of Computing Imperial College, London utumn 2008 Further reading: B.F. Chellas, Modal logic: an introduction. Cambridge University

More information

Some techniques and results in deciding bisimilarity

Some techniques and results in deciding bisimilarity Some techniques and results in deciding bisimilarity Petr Jančar Dept of Computer Science Technical University Ostrava (FEI VŠB-TU) Czech Republic www.cs.vsb.cz/jancar Talk at the Verification Seminar,

More information

Interpreting the Full λ-calculus in the π-calculus

Interpreting the Full λ-calculus in the π-calculus Interpreting the Full λ-calculus in the π-calculus Xiaojuan Cai Joint work with Yuxi Fu BASICS Lab October 12, 2009 Motivation The λ-calculus: sequential model; The π-calculus: concurrent model A deep

More information

Verifying Properties of Parallel Programs: An Axiomatic Approach

Verifying Properties of Parallel Programs: An Axiomatic Approach Verifying Properties of Parallel Programs: An Axiomatic Approach By Susan Owicki and David Gries (1976) Nathan Wetzler nwetzler@cs.utexas.edu University of Texas, Austin November 3, 2009 Outline Introduction

More information

Linearisation of dimension bounded sets of Horn clauses

Linearisation of dimension bounded sets of Horn clauses UNIVERSIDAD AUTÓNOMA DE MADRID UNDERGRADUATE THESIS DOUBLE DEGREE IN MATHEMATICS AND COMPUTER SCIENCE Linearisation of dimension bounded sets of Horn clauses Author: Elena GUTIÉRREZ VIEDMA Supervisor:

More information

EDA045F: Program Analysis LECTURE 10: TYPES 1. Christoph Reichenbach

EDA045F: Program Analysis LECTURE 10: TYPES 1. Christoph Reichenbach EDA045F: Program Analysis LECTURE 10: TYPES 1 Christoph Reichenbach In the last lecture... Performance Counters Challenges in Dynamic Performance Analysis Taint Analysis Binary Instrumentation 2 / 44 Types

More information

Communicating Multi-Stack Visibly Pushdown Processes

Communicating Multi-Stack Visibly Pushdown Processes Communicating Multi-Stack Visibly Pushdown Processes by Davidson Madudu A thesis submitted to the Department of Computer Science in conformity with the requirements for the degree of Master of Science

More information

Communication and Concurrency: CCS

Communication and Concurrency: CCS Communication and Concurrency: CCS R. Milner, A Calculus of Communicating Systems, 1980 cours SSDE Master 1 Why calculi? Prove properties on programs and languages Principle: tiny syntax, small semantics,

More information

Approximations of Modal Logic K

Approximations of Modal Logic K WoLLIC 2005 Preliminary Version Approximations of Modal Logic K Guilherme de Souza Rabello 2 Department of Mathematics Institute of Mathematics and Statistics University of Sao Paulo, Brazil Marcelo Finger

More information

CS357: CTL Model Checking (two lectures worth) David Dill

CS357: CTL Model Checking (two lectures worth) David Dill CS357: CTL Model Checking (two lectures worth) David Dill 1 CTL CTL = Computation Tree Logic It is a propositional temporal logic temporal logic extended to properties of events over time. CTL is a branching

More information

Topic 2 [312 marks] The rectangle ABCD is inscribed in a circle. Sides [AD] and [AB] have lengths

Topic 2 [312 marks] The rectangle ABCD is inscribed in a circle. Sides [AD] and [AB] have lengths Topic 2 [312 marks] 1 The rectangle ABCD is inscribed in a circle Sides [AD] and [AB] have lengths [12 marks] 3 cm and (\9\) cm respectively E is a point on side [AB] such that AE is 3 cm Side [DE] is

More information

LECTURE 15: RELATIONS. Software Engineering Mike Wooldridge

LECTURE 15: RELATIONS. Software Engineering Mike Wooldridge LECTURE 15: RELATIONS Mike Wooldridge 1 Introduction We saw in earlier lectures that a function is just a set of maplets, for example: tel == {mikew 1531, eric 1489}. A maplet is just an ordered pair,

More information

Lecture Notes: Axiomatic Semantics and Hoare-style Verification

Lecture Notes: Axiomatic Semantics and Hoare-style Verification Lecture Notes: Axiomatic Semantics and Hoare-style Verification 17-355/17-665/17-819O: Program Analysis (Spring 2018) Claire Le Goues and Jonathan Aldrich clegoues@cs.cmu.edu, aldrich@cs.cmu.edu It has

More information

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking

Temporal & Modal Logic. Acronyms. Contents. Temporal Logic Overview Classification PLTL Syntax Semantics Identities. Concurrency Model Checking Temporal & Modal Logic E. Allen Emerson Presenter: Aly Farahat 2/12/2009 CS5090 1 Acronyms TL: Temporal Logic BTL: Branching-time Logic LTL: Linear-Time Logic CTL: Computation Tree Logic PLTL: Propositional

More information

METRIC SEMANTICS FOR REACTIVE PROBABILISTIC PROCESSES GETHIN JOSIAH NORMAN

METRIC SEMANTICS FOR REACTIVE PROBABILISTIC PROCESSES GETHIN JOSIAH NORMAN METRIC SEMANTICS FOR REACTIVE PROBABILISTIC PROCESSES by GETHIN JOSIAH NORMAN A thesis submitted to the Faculty of Science of The University of Birmingham for the Degree of DOCTOR OF PHILOSOPHY School

More information

07 Equational Logic and Algebraic Reasoning

07 Equational Logic and Algebraic Reasoning CAS 701 Fall 2004 07 Equational Logic and Algebraic Reasoning Instructor: W. M. Farmer Revised: 17 November 2004 1 What is Equational Logic? Equational logic is first-order logic restricted to languages

More information

A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM

A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 100, Number 4, August 1987 A CONSERVATION RESULT CONCERNING BOUNDED THEORIES AND THE COLLECTION AXIOM SAMUEL R. BUSS Abstract. We present two proofs,

More information

A semantic framework for open processes

A semantic framework for open processes Theoretical Computer Science 389 (2007) 446 483 www.elsevier.com/locate/tcs A semantic framework for open processes P. Baldan a, A. Bracciali b,, R. Bruni b a Dipartimento di Matematica Pura e Applicata,

More information

Expanding brackets and factorising

Expanding brackets and factorising CHAPTER 8 Epanding brackets and factorising 8 CHAPTER Epanding brackets and factorising 8.1 Epanding brackets There are three rows. Each row has n students. The number of students is 3 n 3n. Two students

More information

A Semantic Framework for Open Processes

A Semantic Framework for Open Processes A Semantic Framework for Open Processes P. Baldan (1), A. Bracciali (2), R. Bruni (2) (1) Dipartimento di Matematica Pura e Applicata, Università di Padova (Italy) baldan@math.unipd.it (2) Dipartimento

More information

A Propositional Dynamic Logic for Instantial Neighborhood Semantics

A Propositional Dynamic Logic for Instantial Neighborhood Semantics A Propositional Dynamic Logic for Instantial Neighborhood Semantics Johan van Benthem, Nick Bezhanishvili, Sebastian Enqvist Abstract We propose a new perspective on logics of computation by combining

More information

7.2. Matrix Multiplication. Introduction. Prerequisites. Learning Outcomes

7.2. Matrix Multiplication. Introduction. Prerequisites. Learning Outcomes Matrix Multiplication 7.2 Introduction When we wish to multiply matrices together we have to ensure that the operation is possible - and this is not always so. Also, unlike number arithmetic and algebra,

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

A General Testability Theory: Classes, properties, complexity, and testing reductions

A General Testability Theory: Classes, properties, complexity, and testing reductions A General Testability Theory: Classes, properties, complexity, and testing reductions presenting joint work with Luis Llana and Pablo Rabanal Universidad Complutense de Madrid PROMETIDOS-CM WINTER SCHOOL

More information

Tableau-based decision procedures for the logics of subinterval structures over dense orderings

Tableau-based decision procedures for the logics of subinterval structures over dense orderings Tableau-based decision procedures for the logics of subinterval structures over dense orderings Davide Bresolin 1, Valentin Goranko 2, Angelo Montanari 3, and Pietro Sala 3 1 Department of Computer Science,

More information

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark

Model Theory of Modal Logic Lecture 5. Valentin Goranko Technical University of Denmark Model Theory of Modal Logic Lecture 5 Valentin Goranko Technical University of Denmark Third Indian School on Logic and its Applications Hyderabad, January 29, 2010 Model Theory of Modal Logic Lecture

More information

Created by T. Madas MIXED SURD QUESTIONS. Created by T. Madas

Created by T. Madas MIXED SURD QUESTIONS. Created by T. Madas MIXED SURD QUESTIONS Question 1 (**) Write each of the following expressions a single simplified surd a) 150 54 b) 21 7 C1A, 2 6, 3 7 Question 2 (**) Write each of the following surd expressions as simple

More information

Models of Concurrency

Models of Concurrency Models of Concurrency GERARDO SCHNEIDER UPPSALA UNIVERSITY DEPARTMENT OF INFORMATION TECHNOLOGY UPPSALA, SWEDEN Thanks to Frank Valencia Models of Concurrency p.1/57 Concurrency is Everywhere Concurrent

More information

AN AXIOMATIC BASIS FOR PLANE GEOMETRY*

AN AXIOMATIC BASIS FOR PLANE GEOMETRY* AN AXIOMATIC BASIS FOR PLANE GEOMETRY* BY STEWART S. CAIRNS 1. The axioms. The fourth appendix of Hubert's Grundlagen der Geometrie} is devoted to the foundation of plane geometry on three axioms pertaining

More information

CS558 Programming Languages

CS558 Programming Languages CS558 Programming Languages Winter 2017 Lecture 2b Andrew Tolmach Portland State University 1994-2017 Semantics Informal vs. Formal Informal semantics Descriptions in English (or other natural language)

More information

Operational Semantics

Operational Semantics Operational Semantics Semantics and applications to verification Xavier Rival École Normale Supérieure Xavier Rival Operational Semantics 1 / 50 Program of this first lecture Operational semantics Mathematical

More information

Decidability of SHI with transitive closure of roles

Decidability of SHI with transitive closure of roles 1/20 Decidability of SHI with transitive closure of roles Chan LE DUC INRIA Grenoble Rhône-Alpes - LIG 2/20 Example : Transitive Closure in Concept Axioms Devices have as their direct part a battery :

More information

Probabilistic Applicative Bisimulation and Call-by-Value Lam

Probabilistic Applicative Bisimulation and Call-by-Value Lam Probabilistic Applicative and Call-by-Value Lambda Calculi Joint work with Ugo Dal Lago ENS Lyon February 9, 2014 Probabilistic Applicative and Call-by-Value Lam Introduction Fundamental question: when

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

E E I M (E, I) E I 2 E M I I X I Y X Y I X, Y I X > Y x X \ Y Y {x} I B E B M E C E C C M r E X E r (X) X X r (X) = X E B M X E Y E X Y X B E F E F F E E E M M M M M M E B M E \ B M M 0 M M M 0 0 M x M

More information

Deducing Interactions in Partially Unspecified Biological Systems

Deducing Interactions in Partially Unspecified Biological Systems Deducing Interactions in Partially Unspecified Biological Systems P. Baldan 1 A. Bracciali 2 L. Brodo 3 R. Bruni 2 1 Università di Padova 2 Università di Pisa 3 Università di Sassari Algebraic Biology

More information

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor Martin Henz and Aquinas Hobor October 14, 2010 Generated on Thursday 14 th October, 2010, 11:40 1 Review of Modal Logic 2 3 4 Motivation Syntax and Semantics Valid Formulas wrt Modalities Correspondence

More information

We will begin our study of topology from a set-theoretic point of view. As the subject

We will begin our study of topology from a set-theoretic point of view. As the subject p. 1 Math 490-01 Notes 5 Topology We will begin our study of topology from a set-theoretic point of view. As the subject expands, we will encounter various notions from analysis such as compactness, continuity,

More information

Extensions Of S-spaces

Extensions Of S-spaces University of Central Florida Electronic Theses and Dissertations Doctoral Dissertation (Open Access) Extensions Of S-spaces 2013 Bernd Losert University of Central Florida Find similar works at: http://stars.library.ucf.edu/etd

More information

Trace Refinement of π-calculus Processes

Trace Refinement of π-calculus Processes Trace Refinement of pi-calculus Processes Trace Refinement of π-calculus Processes Manuel Gieseking manuel.gieseking@informatik.uni-oldenburg.de) Correct System Design, Carl von Ossietzky University of

More information

A Menagerie of Non-Finitely Based Process Semantics over BPA : From Ready Simulation Semantics to Completed Tracs

A Menagerie of Non-Finitely Based Process Semantics over BPA : From Ready Simulation Semantics to Completed Tracs BRICS RS-96-23 Aceto et al.: A Menagerie of Non-Finitely Based Process Semantics over BPA BRICS Basic Research in Computer Science A Menagerie of Non-Finitely Based Process Semantics over BPA : From Ready

More information

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings MTHSC 412 Section 3.1 Definition and Examples of Rings A ring R is a nonempty set R together with two binary operations (usually written as addition and multiplication) that satisfy the following axioms.

More information

Chapter 4: Computation tree logic

Chapter 4: Computation tree logic INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification

More information

An introduction to process calculi: Calculus of Communicating Systems (CCS)

An introduction to process calculi: Calculus of Communicating Systems (CCS) An introduction to process calculi: Calculus of Communicating Systems (CCS) Lecture 2 of Modelli Matematici dei Processi Concorrenti Paweł Sobociński University of Southampton, UK Intro to process calculi:

More information

Propositional Dynamic Logic

Propositional Dynamic Logic Propositional Dynamic Logic Contents 1 Introduction 1 2 Syntax and Semantics 2 2.1 Syntax................................. 2 2.2 Semantics............................... 2 3 Hilbert-style axiom system

More information

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking

Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking Nonmonotonic Reasoning in Description Logic by Tableaux Algorithm with Blocking Jaromír Malenko and Petr Štěpánek Charles University, Malostranske namesti 25, 11800 Prague, Czech Republic, Jaromir.Malenko@mff.cuni.cz,

More information

A matrix over a field F is a rectangular array of elements from F. The symbol

A matrix over a field F is a rectangular array of elements from F. The symbol Chapter MATRICES Matrix arithmetic A matrix over a field F is a rectangular array of elements from F The symbol M m n (F ) denotes the collection of all m n matrices over F Matrices will usually be denoted

More information

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation

Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Towards Correctness of Program Transformations Through Unification and Critical Pair Computation Conrad Rau and Manfred Schmidt-Schauß Institut für Informatik Johann Wolfgang Goethe-Universität Postfach

More information

CISC 876: Kolmogorov Complexity

CISC 876: Kolmogorov Complexity March 27, 2007 Outline 1 Introduction 2 Definition Incompressibility and Randomness 3 Prefix Complexity Resource-Bounded K-Complexity 4 Incompressibility Method Gödel s Incompleteness Theorem 5 Outline

More information

Logic, Knowledge Representation and Bayesian Decision Theory

Logic, Knowledge Representation and Bayesian Decision Theory Logic, Knowledge Representation and Bayesian Decision Theory David Poole University of British Columbia Overview Knowledge representation, logic, decision theory. Belief networks Independent Choice Logic

More information

Review of The π-calculus: A Theory of Mobile Processes

Review of The π-calculus: A Theory of Mobile Processes Review of The π-calculus: A Theory of Mobile Processes Riccardo Pucella Department of Computer Science Cornell University July 8, 2001 Introduction With the rise of computer networks in the past decades,

More information

Deducing Interactions in Partially Unspecified Biological Systems

Deducing Interactions in Partially Unspecified Biological Systems Deducing Interactions in Partially Unspecified Biological Systems P. Baldan 1 A. Bracciali 2 L. Brodo 3 R. Bruni 2 1 Università di Padova 2 Università di Pisa 3 Università di Sassari Algebraic Biology

More information

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang

Overview of Topics. Finite Model Theory. Finite Model Theory. Connections to Database Theory. Qing Wang Overview of Topics Finite Model Theory Part 1: Introduction 1 What is finite model theory? 2 Connections to some areas in CS Qing Wang qing.wang@anu.edu.au Database theory Complexity theory 3 Basic definitions

More information

Syntax and Semantics of Propositional Linear Temporal Logic

Syntax and Semantics of Propositional Linear Temporal Logic Syntax and Semantics of Propositional Linear Temporal Logic 1 Defining Logics L, M, = L - the language of the logic M - a class of models = - satisfaction relation M M, ϕ L: M = ϕ is read as M satisfies

More information

Trace- and Failure-Based Semantics for Responsiveness

Trace- and Failure-Based Semantics for Responsiveness Trace- and Failure-Based Semantics for Responsiveness Walter Vogler 1 and Christian Stahl 2 and Richard Müller 2,3 1 Institut für Informatik, Universität Augsburg, Germany vogler@informatik.uni-augsburg.de

More information

On Coinduction and Quantum Lambda Calculi

On Coinduction and Quantum Lambda Calculi On Coinduction and Quantum Lambda Calculi Yuxin Deng East China Normal University (Joint work with Yuan Feng and Ugo Dal Lago) To appear at CONCUR 15 1 Outline Motivation A quantum λ-calculus Coinductive

More information

Model Checking with CTL. Presented by Jason Simas

Model Checking with CTL. Presented by Jason Simas Model Checking with CTL Presented by Jason Simas Model Checking with CTL Based Upon: Logic in Computer Science. Huth and Ryan. 2000. (148-215) Model Checking. Clarke, Grumberg and Peled. 1999. (1-26) Content

More information

Verification. Arijit Mondal. Dept. of Computer Science & Engineering Indian Institute of Technology Patna

Verification. Arijit Mondal. Dept. of Computer Science & Engineering Indian Institute of Technology Patna IIT Patna 1 Verification Arijit Mondal Dept. of Computer Science & Engineering Indian Institute of Technology Patna arijit@iitp.ac.in Introduction The goal of verification To ensure 100% correct in functionality

More information

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA

Time(d) Petri Net. Serge Haddad. Petri Nets 2016, June 20th LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA Time(d) Petri Net Serge Haddad LSV ENS Cachan, Université Paris-Saclay & CNRS & INRIA haddad@lsv.ens-cachan.fr Petri Nets 2016, June 20th 2016 1 Time and Petri Nets 2 Time Petri Net: Syntax and Semantic

More information

Complexity Theory Part I

Complexity Theory Part I Complexity Theory Part I Outline for Today Recap from Last Time Reviewing Verifiers Nondeterministic Turing Machines What does nondeterminism mean in the context of TMs? And just how powerful are NTMs?

More information

On Expressiveness and Behavioural Theory of Attribute-based Communication

On Expressiveness and Behavioural Theory of Attribute-based Communication On Expressiveness and Behavioural Theory of Attribute-based Communication Rocco De Nicola Joint work with Y. A. Alrahman and M. Loreti Final Meeting CINA Civitanova Marche January 2016 Contents 1 Introduction

More information

4.8 Huffman Codes. These lecture slides are supplied by Mathijs de Weerd

4.8 Huffman Codes. These lecture slides are supplied by Mathijs de Weerd 4.8 Huffman Codes These lecture slides are supplied by Mathijs de Weerd Data Compression Q. Given a text that uses 32 symbols (26 different letters, space, and some punctuation characters), how can we

More information

A Logical Viewpoint on Process-Algebraic Quotients

A Logical Viewpoint on Process-Algebraic Quotients ! A Logical Viewpoint on Process-Algebraic Quotients Antonín Kučera and avier sparza Faculty of nformatics, Masaryk University, Botanická 68a, 62 Brno, Czech Republic, nstitut für nformatik, Technische

More information

Homework 3/ Solutions

Homework 3/ Solutions MTH 310-3 Abstract Algebra I and Number Theory S17 Homework 3/ Solutions Exercise 1. Prove the following Theorem: Theorem Let R and S be rings. Define an addition and multiplication on R S by for all r,

More information

Lecture 4 : Quest for Structure in Counting Problems

Lecture 4 : Quest for Structure in Counting Problems CS6840: Advanced Complexity Theory Jan 10, 2012 Lecture 4 : Quest for Structure in Counting Problems Lecturer: Jayalal Sarma M.N. Scribe: Dinesh K. Theme: Between P and PSPACE. Lecture Plan:Counting problems

More information

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014

Logic and Automata I. Wolfgang Thomas. EATCS School, Telc, July 2014 Logic and Automata I EATCS School, Telc, July 2014 The Plan We present automata theory as a tool to make logic effective. Four parts: 1. Some history 2. Automata on infinite words First step: MSO-logic

More information

Immediate Detection of Predicates in Pervasive Environments

Immediate Detection of Predicates in Pervasive Environments Immediate Detection of redicates in ervasive Environments Ajay Kshemkalyani University of Illinois at Chicago November 30, 2010 A. Kshemkalyani (U Illinois at Chicago) Immediate Detection of redicates......

More information

Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32

Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32 Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd joe.hurd@cl.cam.ac.uk University of Cambridge Verifying Probabilistic Programs using the HOL Theorem Prover Joe Hurd p.1/32 Contents

More information

Bounded Stacks, Bags and Queues

Bounded Stacks, Bags and Queues Bounded Stacks, Bags and Queues J.C.M. Baeten 1 and J.A. Bergstra 2,3 1 Department of Mathematics and Computing Science, Eindhoven University of Technology, P.O. Box 513, NL-5600 MB Eindhoven, The Netherlands,

More information

Equivalence of dynamical systems by bisimulation

Equivalence of dynamical systems by bisimulation Equivalence of dynamical systems by bisimulation Arjan van der Schaft Department of Applied Mathematics, University of Twente P.O. Box 217, 75 AE Enschede, The Netherlands Phone +31-53-4893449, Fax +31-53-48938

More information

QUASI-PREFERENCE: CHOICE ON PARTIALLY ORDERED SETS. Contents

QUASI-PREFERENCE: CHOICE ON PARTIALLY ORDERED SETS. Contents QUASI-PREFERENCE: CHOICE ON PARTIALLY ORDERED SETS ZEFENG CHEN Abstract. A preference relation is a total order on a finite set and a quasipreference relation is a partial order. This paper first introduces

More information

Testing Safety-critical Discrete- State Systems Mathematical Foundations and Concrete Algorithms

Testing Safety-critical Discrete- State Systems Mathematical Foundations and Concrete Algorithms Testing Safety-critical Discrete- State Systems Mathematical Foundations and Concrete Algorithms Wen-ling Huang and Jan Peleska University of Bremen {huang,jp}@cs.uni-bremen.de Background My research group

More information