A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice

Size: px
Start display at page:

Download "A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice"

Transcription

1 A Behavioral Congruence for Concurrent Constraint Programming with Nondeterministic Choice Luis Pino*, Filippo Bonchi** and Frank Valencia* (Presented by: Jorge A. Pe rez) *E quipe Come te, LIX, Laboratoire de l E cole Polytechnique associe a l INRIA. **E quipe Plume, LIP, Ecole Normale Suprieure de Lyon - ENS de Lyon September 19, 2014 ICTAC 14, Bucharest, Romania Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

2 Motivation Concurrent constraint programming (ccp) Well-established formalism from concurrency theory. Combines algebraic and operational view of process calculi with a declarative one based upon logic. Models systems whose agents (processes or programs) interact by concurrently posting (telling) and querying (asking for) partial information in a shared medium (the store). Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

3 Motivation ask 0<temperature<100 then Q tell temperature < 70 temperature=? tell temperature > 42 ask temperature = 50 then P Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

4 Motivation ask 0<temperature<100 then Q tell temperature < <temperature ask temperature = 50 then P Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

5 Motivation ask 0<temperature<100 then Q 42 <temperature<70 ask temperature = 50 then P Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

6 Motivation Q 42 <temperature<70 Remains Blocked ask temperature = 50 then P Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

7 Motivation Behavioral equivalences A central notion in any computational model of processes. Determine what processes are deemed indistinguishable. Congruence To enable algebraic and compositional reasoning, equivalences are expected to be congruences. If two processes are equivalent, one should be able to replace one with the other in any context and preserve the equivalence. Example: a context C = R. If is a congruence then P Q should imply P R Q R. Bisimilarity (and the bisimulation proof method) Reasoning on processes and their equalities therefore means dealing with infinite structures. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

8 Motivation Bisimilarity for ccp. First attempts to define bisimilarity for ccp are too fine grained. Latest notion of bisimilarity defined in [ABP + 11] is not completely satisfactory since it is a congruence only for a fragment of ccp Hint: Nondeterminism is difficult to handle. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

9 Motivation This paper: Introduce an equivalence for ccp that is also a congruence for the full language. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

10 Motivation This paper: Introduce an equivalence for ccp that is also a congruence for the full language. Hints: We shall use bisimilarity. The new notion will not require quantifying over infinitely many contexts. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

11 Outline 1 Syntax and Semantics of ccp 2 Bisimilarity for ccp 3 Full bisimilarity for ccp 4 Conclusions and Future Work Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

12 Outline Syntax and Semantics of ccp 1 Syntax and Semantics of ccp 2 Bisimilarity for ccp 3 Full bisimilarity for ccp 4 Conclusions and Future Work Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

13 Syntax and Semantics of ccp Syntax Let C = (Con, Con 0,,, true, false) be a constraint system. We write c, d, e... to denote (basic) constraints. Intuition: c d means that d contains more information than c. The ccp processes are given by the following syntax: P, Q,... ::= tell(c) ask (c i ) P i P Q x P p( z) where I is a finite set of indexes and c, c i Con 0. We use Proc to denote the set of all processes. i I Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

14 Syntax and Semantics of ccp Syntax Let C = (Con, Con 0,,, true, false) be a constraint system. We write c, d, e... to denote (basic) constraints. Intuition: c d means that d contains more information than c. The ccp processes are given by the following syntax: P, Q,... ::= tell(c) ask (c i ) P i P Q x P p( z) where I is a finite set of indexes and c, c i Con 0. We use Proc to denote the set of all processes. Summation-free ccp i I ccp\+ denotes the fragment of ccp without nondeterministic choice. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

15 Syntax and Semantics of ccp Operational Semantics A configuration is a pair P, d representing a state of a system: P is a process, i.e., a term of the syntax d is a constraint representing the global store Conf is the set of all configurations. γ, γ,... are elements of Conf. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

16 Labeled Semantics Syntax and Semantics of ccp In a transition of the form P, d α P, d the label α Con 0 represents a minimal information (from the environment) that needs to be added to the store d to reduce from P, d to P, d, i.e., P, d α P, d Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

17 Labeled Semantics Syntax and Semantics of ccp LR1 tell(c), d true stop, d c LR2 α P, d P, d α P Q, d P Q, d LR3 j I and α min{a Con 0 c j d a} i I ask (c α i) P i, d P j, d α Table: Labeled semantics for ccp (several rules are omitted). Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

18 Basic Examples Syntax and Semantics of ccp Tell: Ask: tell(x > 10), x > 5 true stop, x > 10 (ask (x > 10) Q) + (ask (y > 42) R), true x>10 Q, x > 10 Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

19 Outline Bisimilarity for ccp 1 Syntax and Semantics of ccp 2 Bisimilarity for ccp 3 Full bisimilarity for ccp 4 Conclusions and Future Work Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

20 Barbs Bisimilarity for ccp Barbs are basic observations (predicates) on the states of a system. Let γ = P, d then: Strong Barb γ c iff c Con 0 and c d Weak Barb γ c iff there exist γ s.t. γ γ c Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

21 Bisimilarity for ccp Example Let γ = ask (x > 10) tell(x > 42), x > 10. Strong barb: γ x>5 (x > 5) (x > 10) Weak barb: γ x>42 γ tell(x > 42), x > 10 stop, (x > 42) x>42 Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

22 Weak bisimilarity Bisimilarity for ccp A weak bisimulation is a symmetric relation R on configurations such that whenever (γ 1, γ 2 ) R with γ 1 = P, c and γ 2 = Q, d : (i) if γ 1 e then γ 2 e, α (ii) if γ 1 γ 1 then γ 2 s.t. Q, d α γ 2 and (γ 1, γ 2 ) R. We say that γ 1 and γ 2 are weakly bisimilar, written γ 1 exists a weak bisimulation R such that (γ 1, γ 2 ) R. We write P Q iff P, true Q, true. γ 2, if there Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

23 Example Bisimilarity for ccp Let γ 1 = stop, true and γ 2 = ask (c) tell(d), true. We can show that γ 1 γ 2 when d c. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

24 Example Bisimilarity for ccp Let γ 1 = stop, true and γ 2 = ask (c) tell(d), true. We can show that γ 1 γ 2 when d c. ask (c) tell(d), true stop, true c tell(d), c stop, c Notice that stop, c is bisimilar to ask (c) tell(d), c Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

25 Bisimilarity for ccp Weak bisimilarity and ccp\+ Weak bisimilarity is a congruence in the summation-free ccp: Theorem Let P and Q be ccp\+ processes and assume that P Q. Then for every process context C[ ] in ccp\+ we have C[P] C[Q]. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

26 Bisimilarity for ccp Weak bisimilarity and summation However, it is not a congruence when summation is present... Theorem There exist processes P, Q, R in (full) ccp such that: (a) P Q but (b) P R Q R. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

27 Proof sketch Bisimilarity for ccp The processes: P = ((ask (true) tell(c)) + (ask (true) tell(d))) tell(e) Q = (ask (true) tell(c e)) + (ask (true) tell(d e)) P, e tell(c), e tell(d), e stop, c e stop, d e Q, true tell(c e), true tell(d e), true stop, c e stop, d e Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

28 Proof sketch (II) Bisimilarity for ccp The context... R = (ask (e) tell(α)) + (ask (e) tell(β)) Now take... P R, e P tell(α), e Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

29 Proof sketch (II) Bisimilarity for ccp The context... Now take... R = (ask (e) tell(α)) + (ask (e) tell(β)) P R, e P tell(α), e However if Q R, true does not make a transition then we can take Q R, true e Q tell(β), true Therefore... Q tell(β), true Q, tell(β) β while P tell(α), e β Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

30 Outline Full bisimilarity for ccp 1 Syntax and Semantics of ccp 2 Bisimilarity for ccp 3 Full bisimilarity for ccp 4 Conclusions and Future Work Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

31 Full bisimilarity for ccp The solution: Weak full bisimilarity A weak full bisimulation is a symmetric relation R on configurations s.t. whenever (γ 1, γ 2 ) R with γ 1 = P, c and γ 2 = Q, d implies that: (i) there is γ 2 = Q, d such that Q, d γ 2 where c d and (γ 1, γ 2 ) R, α (ii) if γ 1 γ 1 then there exists γ 2 = Q, d s.t. Q, d α γ 2 where c d and (γ 1, γ 2 ) R. We say that γ 1 and γ 2 are weak fully bisimilar (γ 1 f γ 2 ) if there exists a weak full bisimulation R s.t. (γ 1, γ 2 ) R. We write P f Q iff P, true f Q, true. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

32 Full bisimilarity for ccp Back to the counterexample Let P and Q as in the previous example. We need a γ 2 = Q, d s.t. Q, d γ 2, e d and (γ 1, γ 2 ) R. We have two options Q = stop and d = c e or d = d e. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

33 Full bisimilarity for ccp Back to the counterexample Let P and Q as in the previous example. We need a γ 2 = Q, d s.t. Q, d γ 2, e d and (γ 1, γ 2 ) R. We have two options Q = stop and d = c e or d = d e. However, if we take ( P, e, stop, c e ) R we have that P, e d while stop, c e d. A similar argument works for stop, d e. Therefore, no weak full bisimulation may contain ( P, e, Q, true ). Hence P, e f Q, true. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

34 Full bisimilarity for ccp Weak full bisimilarity is a congruence Theorem Let P and Q be ccp processes and assume that P f Q. Then for every process context C[ ] we have that C[P] f C[Q]. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

35 Full bisimilarity for ccp Behavioral Congruence Definition We say that P is behaviorally congruent to Q, denoted P =Q, iff for every process context C[ ] we have C[P] C[Q]. We use P, e = Q, d to denote (P tell(e)) =(Q tell(d)). Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

36 Full bisimilarity for ccp Behavioral Congruence Weak full bisimilarity coincides with the behavioral congruence! Theorem P, e f Q, d iff P, e = Q, d. As promised, without requiring quantification over infinitely many contexts Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

37 Contributions Full bisimilarity for ccp Language Equivalences Congruence w.r.t. C[ ] C[ ]\+ ccp\+ = = f = = sb = o N/A =, f,, sb, o ccp = = f = sb o =, f =, f,, sb Table: Summary of the contributions. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

38 Outline Conclusions and Future Work 1 Syntax and Semantics of ccp 2 Bisimilarity for ccp 3 Full bisimilarity for ccp 4 Conclusions and Future Work Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

39 Conclusions and Future Work Conclusions and Future Work We showed that the weak bisimilarity ( ) proposed in [ABP + 11] is not a congruence for ccp. We proposed weak full bisimilarity ( f ) and we proved that it is a congruence for the full ccp. Moreover, f does not require any quantification over a (potentially) infinite number of contexts in its definition. Finally we demonstrated that f is not too restrictive by showing that it is the largest congruence included in. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

40 Conclusions and Future Work Conclusions and Future Work Adapt the algorithms from [ABPV12, PBV13] to verify f. We obtained a notion of weak bisimilarity that is a congruence even if we do not consider a label for observing the tell actions. We shall explore this in other asynchronous calculi. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

41 Conclusions and Future Work End of the Presentation Thanks for your attention Questions? Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 33

42 Constraint System Appendix Constraint System (cs) A cs is a complete algebraic lattice C = (Con, Con 0,,, true, false) where Con, the set of constraints, is a partially ordered set w.r.t., Con 0 is the subset of compact elements of Con, is the lub operation defined on all subsets, and true, false are the least and greatest elements of Con, respectively. The ordering is the reverse of an entailment relation: c d means d entails c, i.e., d contains more information than c. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

43 Appendix Example Let Var be a set of variables and ω be the set of natural numbers. A variable assignment is a function µ : Var ω. We use A to denote the set of all assignments, P(A) to denote the powerset of A, the empty set and the intersection of sets. Let us define the following constraint system: The set of constraints is P(A). We define c d iff c d. The constraint false is, while true is A. Given two constraints c and d, c d is the intersection c d. We will often use a formula like x < n to denote the corresponding constraint, i.e., the set of all assignments that map x to a number smaller than n. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

44 Operational Semantics Appendix R1 tell(c), d stop, d c R2 P, d P, d P Q, d P Q, d R3 j I and c j d i I ask (c i) P i, d P j, d Table: Reduction semantics for ccp (symmetric rule for R2 is omitted). Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

45 Operational Semantics Appendix R4 P, e xd P, e x d e xp, d e x P, d x e R5 P[ z/ x], d γ p( z), d γ where p( x) def = P is a process definition in D Table: Reduction semantics for ccp (symmetric rule for R2 is omitted). D is the set of process definitions. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

46 Labeled Semantics (II) Appendix LR4 α P[z/x], e[z/x] d P, e d α e α xp, d e [x/z] x P [x/z], x (e [x/z]) d α with x fv(e ), z fv(p) fv(e d α) LR5 P[ z/ x], d α γ α p( z), d γ where p( x) def = P is a process definition in D Table: Labeled semantics for ccp(the symmetric rules for LR2 and LR3 are omitted). Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

47 Appendix Properties of ccp\+ Confluence Let γ Conf ccp\+. If γ γ 1 and γ γ 2 then there exists γ such that γ 1 γ and γ 2 γ. Equivalence-preserving reductions Let γ Conf ccp\+ and let Deriv(γ) = {γ γ γ }. For all γ Deriv(γ) we have γ sb γ. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

48 Appendix Characterizing Weak Bisimilarity: First attempt Given the LTS (Conf, Con 0, ), one would like to exploit it for efficiently characterizing sb and sb. One first naive attempt would be to consider the standard notion of weak bisimilarity over, but this would distinguish configurations which are in sb (and sb ), as illustrated by the following two examples: Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

49 Strong Bisimilarity Appendix A saturated barbed bisimulation is a symmetric relation R on configurations s.t. whenever (γ 1, γ 2 ) R with γ 1 = P, c and γ 2 = Q, d implies that: (i) if γ 1 e then γ 2 e, (ii) if γ 1 γ 1 then there exists γ 2 s.t. γ 2 γ 2 and (γ 1, γ 2 ) R, (iii) for every a Con 0, ( P, c a, Q, d a ) R. We say that γ 1 and γ 2 are saturated barbed bisimilar (γ 1 sb γ 2 ) if there is a saturated barbed bisimulation R s.t. (γ 1, γ 2 ) R. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

50 Example Appendix Let d c, and take P = ask (d) stop and Q = ask (c) stop Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

51 Example Appendix Let d c, and take P = ask (d) stop and Q = ask (c) stop Now, since P, true sb Q, true, P, d while Q, d Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

52 Example Appendix Let d c, and take P = ask (d) stop and Q = ask (c) stop Now, since P, true sb Q, true, P, d while Q, d Then consider P + Q, true and observe that P + Q, true sb P, true Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

53 Appendix Weak Bisimilarity: Program Equivalence A weak saturated barbed bisimulation is a symmetric relation R on configurations s.t. whenever (γ 1, γ 2 ) R with γ 1 = P, c and γ 2 = Q, d implies that: (i) if γ 1 e then γ 2 e, (ii) if γ 1 γ 1 then there exists γ 2 s.t. γ 2 γ 2 and (γ 1, γ 2 ) R, (iii) for every a Con 0, ( P, c a, Q, d a ) R. We say that γ 1 and γ 2 are weak saturated barbed bisimilar (γ 1 sb γ 2 ) if there is a weak saturated barbed bisimulation R s.t. (γ 1, γ 2 ) R. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

54 Appendix Weak Bisimilarity: Program Equivalence A weak saturated barbed bisimulation is a symmetric relation R on configurations s.t. whenever (γ 1, γ 2 ) R with γ 1 = P, c and γ 2 = Q, d implies that: (i) if γ 1 e then γ 2 e, (ii) if γ 1 γ 1 then there exists γ 2 s.t. γ 2 γ 2 and (γ 1, γ 2 ) R, (iii) for every a Con 0, ( P, c a, Q, d a ) R. We say that γ 1 and γ 2 are weak saturated barbed bisimilar (γ 1 sb γ 2 ) if there is a weak saturated barbed bisimulation R s.t. (γ 1, γ 2 ) R. Remark The standard notion of observational ccp program equivalence was shown to coincide with sb in the case of ccp\+. [ABP + 11]. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

55 Example Appendix Let γ 1 = tell(true), true and γ 2 = ask (c) tell(d), true. We can show that γ 1 sb γ 2 when d c. Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

56 Example Appendix Let γ 1 = tell(true), true and γ 2 = ask (c) tell(d), true. We can show that γ 1 sb γ 2 when d c. Since and γ 2 γ 1 stop, true c tell(d), c stop, c Then the symmetric closure of the following relation is a weak saturated barbed bisimulation: R = {(γ 2, γ 1 ), (γ 2, stop, true ), ( tell(d), c, stop, c ), ( stop, c, stop, c )} Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

57 Examples Appendix Strong Bisimilarity Example Let P = ask (x < 7) tell(true) Q = ask (x < 5) tell(true) We saw that P + Q, true sb P, true. However, P + Q, true x<5 x<5 tell(true), x < 5, while P, true. Weak Bisimilarity Example Let γ 1 = tell(true), true γ 2 = ask (c) tell(d), true c c We showed that γ 1 sb γ 2. However, γ 2, while γ 1 Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

58 Bibliography Appendix Andrés Aristizábal, Filippo Bonchi, Catuscia Palamidessi, Luis Pino, and Frank D. Valencia. Deriving labels and bisimilarity for concurrent constraint programming. In Martin Hofmann, editor, 14th International Conference on Foundations of Software Science and Computational Structures (FOSSACS 2011), volume 6604 of Lecture Notes in Computer Science, pages Springer, Andrés Aristizábal, Filippo Bonchi, Luis Pino, and Frank D. Valencia. Partition refinement for bisimilarity in CCP. In Sascha Ossowski and Paola Lecca, editors, 27th Annual ACM Symposium on Applied Computing (SAC 2012), pages ACM, Luis Fernando Pino, Filippo Bonchi, and Frank D. Valencia. Efficient computation of program equivalence for confluent concurrent constraint programming. In Ricardo Peña and Tom Schrijvers, editors, 15th International Symposium on Principles and Practice of Declarative Programming (PPDP 2013), pages ACM, Luis Pino (Ecole Polytechnique) A Behavioral Congruence for ccp September 19, / 13

Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming

Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming Efficient Computation of Program Equivalence for Confluent Concurrent Constraint Programming Luis F. Pino INRIA/DGA and LIX École Polytechnique 91128 Palaiseau, France luis.pino@lix.polytechnique.fr Filippo

More information

Deriving Labels and Bisimilarity for Concurrent Constraint Programming

Deriving Labels and Bisimilarity for Concurrent Constraint Programming Deriving Labels and Bisimilarity for Concurrent Constraint Programming Andrés Aristizábal 1, Filippo Bonchi 2, Catuscia Palamidessi 1, Luis Pino 1, and Frank Valencia 1 1 Comète, LIX, Laboratoire de l

More information

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security Carlos Olarte and Frank D. Valencia INRIA /CNRS and LIX, Ecole Polytechnique Motivation Concurrent

More information

Weak CCP bisimilarity with strong procedures

Weak CCP bisimilarity with strong procedures Weak CCP bisimilarity with strong procedures Luis Pino, Andres Aristizabal, Filippo Bonchi, Frank Valencia To cite this version: Luis Pino, Andres Aristizabal, Filippo Bonchi, Frank Valencia. Weak CCP

More information

ÉCOLE POLYTECHNIQUE Thèse de Doctorat Spécialité Informatique. Présentée et soutenue publiquement par. 17 octobre devant le jury composé de

ÉCOLE POLYTECHNIQUE Thèse de Doctorat Spécialité Informatique. Présentée et soutenue publiquement par. 17 octobre devant le jury composé de ÉCOLE POLYTECHNIQUE Thèse de Doctorat Spécialité Informatique BISIMULATION TECHNIQUES AND ALGORITHMS FOR CONCURRENT CONSTRAINT PROGRAMMING Présentée et soutenue publiquement par ANDRÉS ALBERTO ARISTIZÁBAL

More information

Efficient Algorithms for Program Equivalence for Confluent Concurrent Constraint Programming

Efficient Algorithms for Program Equivalence for Confluent Concurrent Constraint Programming Efficient Algorithms for Program Equivalence for Confluent Concurrent Constraint Programming Luis Fernando Pino Duque, Filippo Bonchi, Frank Valencia To cite this version: Luis Fernando Pino Duque, Filippo

More information

Formal Models of Timed Musical Processes Doctoral Defense

Formal Models of Timed Musical Processes Doctoral Defense Formal Models of Timed Musical Processes Doctoral Defense Gerardo M. Sarria M. Advisor: Camilo Rueda Co-Advisor: Juan Francisco Diaz Universidad del Valle AVISPA Research Group September 22, 2008 Motivation

More information

Strong bisimilarity can be opened

Strong bisimilarity can be opened Strong bisimilarity can be opened Henning E. Andersen Hans Hüttel Karina N. Jensen June 7, 2002 Abstract We present an extension of the semantics of the π-calculus without match where strong bisimilarity

More information

Concurrency theory. proof-techniques for syncronous and asynchronous pi-calculus. Francesco Zappa Nardelli. INRIA Rocquencourt, MOSCOVA research team

Concurrency theory. proof-techniques for syncronous and asynchronous pi-calculus. Francesco Zappa Nardelli. INRIA Rocquencourt, MOSCOVA research team Concurrency theory proof-techniques for syncronous and asynchronous pi-calculus Francesco Zappa Nardelli INRIA Rocquencourt, MOSCOVA research team francesco.zappa nardelli@inria.fr together with Frank

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

Alternating-Time Temporal Logic

Alternating-Time Temporal Logic Alternating-Time Temporal Logic R.Alur, T.Henzinger, O.Kupferman Rafael H. Bordini School of Informatics PUCRS R.Bordini@pucrs.br Logic Club 5th of September, 2013 ATL All the material in this presentation

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

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

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

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

TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS

TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS Nordic Journal of Computing 9(2002), 145 188. TEMPORAL CONCURRENT CONSTRAINT PROGRAMMING: DENOTATION, LOGIC AND APPLICATIONS MOGENS NIELSEN BRICS, University of Aarhus, Denmark mn@brics.dk FRANK D. VALENCIA

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

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

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

More information

T Reactive Systems: Temporal Logic LTL

T Reactive Systems: Temporal Logic LTL Tik-79.186 Reactive Systems 1 T-79.186 Reactive Systems: Temporal Logic LTL Spring 2005, Lecture 4 January 31, 2005 Tik-79.186 Reactive Systems 2 Temporal Logics Temporal logics are currently the most

More information

Formal Methods for Probabilistic Systems

Formal Methods for Probabilistic Systems Formal Methods for Probabilistic Systems Annabelle McIver Carroll Morgan Source-level program logic Meta-theorems for loops Examples Relational operational model Standard, deterministic, terminating...

More information

Approximation Metrics for Discrete and Continuous Systems

Approximation Metrics for Discrete and Continuous Systems University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science May 2007 Approximation Metrics for Discrete Continuous Systems Antoine Girard University

More information

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security

The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security The Expressivity of Universal Timed CCP: Undecidability of Monadic FLTL and Closure Operators for Security Carlos Olarte, Frank D. Valencia To cite this version: Carlos Olarte, Frank D. Valencia. The Expressivity

More information

Design of Distributed Systems Melinda Tóth, Zoltán Horváth

Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Design of Distributed Systems Melinda Tóth, Zoltán Horváth Publication date 2014 Copyright 2014 Melinda Tóth, Zoltán Horváth Supported by TÁMOP-412A/1-11/1-2011-0052

More information

Modal Logics. Most applications of modal logic require a refined version of basic modal logic.

Modal Logics. Most applications of modal logic require a refined version of basic modal logic. Modal Logics Most applications of modal logic require a refined version of basic modal logic. Definition. A set L of formulas of basic modal logic is called a (normal) modal logic if the following closure

More information

A Weak Bisimulation for Weighted Automata

A Weak Bisimulation for Weighted Automata Weak Bisimulation for Weighted utomata Peter Kemper College of William and Mary Weighted utomata and Semirings here focus on commutative & idempotent semirings Weak Bisimulation Composition operators Congruence

More information

ClC (X ) : X ω X } C. (11)

ClC (X ) : X ω X } C. (11) With each closed-set system we associate a closure operation. Definition 1.20. Let A, C be a closed-set system. Define Cl C : : P(A) P(A) as follows. For every X A, Cl C (X) = { C C : X C }. Cl C (X) is

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

Bringing class diagrams to life

Bringing class diagrams to life Bringing class diagrams to life Luis S. Barbosa & Sun Meng DI-CCTC, Minho University, Braga & CWI, Amsterdam UML & FM Workshop 2009 Rio de Janeiro 8 December, 2009 Formal Methods proofs problems structures

More information

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

More information

Expressiveness, decidability, and undecidability of Interval Temporal Logic

Expressiveness, decidability, and undecidability of Interval Temporal Logic University of Udine Department of Mathematics and Computer Science Expressiveness, decidability, and undecidability of Interval Temporal Logic ITL - Beyond the end of the light Ph.D. Defence Dario Della

More information

Axiomatizations for probabilistic finite-state behaviors

Axiomatizations for probabilistic finite-state behaviors Axiomatizations for probabilistic finite-state behaviors Yuxin Deng a, Catuscia Palamidessi b a Shanghai Jiao Tong University, China b INRIA Futurs and LIX, École Polytechnique, France Abstract We study

More information

CDS 270 (Fall 09) - Lecture Notes for Assignment 8.

CDS 270 (Fall 09) - Lecture Notes for Assignment 8. CDS 270 (Fall 09) - Lecture Notes for Assignment 8. ecause this part of the course has no slides or textbook, we will provide lecture supplements that include, hopefully, enough discussion to complete

More information

Timo Latvala. February 4, 2004

Timo Latvala. February 4, 2004 Reactive Systems: Temporal Logic LT L Timo Latvala February 4, 2004 Reactive Systems: Temporal Logic LT L 8-1 Temporal Logics Temporal logics are currently the most widely used specification formalism

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

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

Making the unobservable, unobservable

Making the unobservable, unobservable ICE 2008 Making the unobservable, unobservable Julian Rathke ecs, University of Southampton awe l Sobociński 1 ecs, University of Southampton Abstract Behavioural equivalences of various calculi for modelling

More information

Definite Logic Programs

Definite Logic Programs Chapter 2 Definite Logic Programs 2.1 Definite Clauses The idea of logic programming is to use a computer for drawing conclusions from declarative descriptions. Such descriptions called logic programs

More information

Bisimulation for Neighbourhood Structures

Bisimulation for Neighbourhood Structures Bisimulation for Neighbourhood Structures Helle Hvid Hansen 1,2 Clemens Kupke 2 Eric Pacuit 3 1 Vrije Universiteit Amsterdam (VUA) 2 Centrum voor Wiskunde en Informatica (CWI) 3 Universiteit van Amsterdam

More information

Lecture 16: Computation Tree Logic (CTL)

Lecture 16: Computation Tree Logic (CTL) Lecture 16: Computation Tree Logic (CTL) 1 Programme for the upcoming lectures Introducing CTL Basic Algorithms for CTL CTL and Fairness; computing strongly connected components Basic Decision Diagrams

More information

Axioms of Kleene Algebra

Axioms of Kleene Algebra Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.

More information

A generalization of modal definability

A generalization of modal definability A generalization of modal definability Tin Perkov Polytechnic of Zagreb Abstract. Known results on global definability in basic modal logic are generalized in the following sense. A class of Kripke models

More information

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

Applied Logic. Lecture 1 - Propositional logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw Applied Logic Lecture 1 - Propositional logic Marcin Szczuka Institute of Informatics, The University of Warsaw Monographic lecture, Spring semester 2017/2018 Marcin Szczuka (MIMUW) Applied Logic 2018

More information

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω

The non-logical symbols determine a specific F OL language and consists of the following sets. Σ = {Σ n } n<ω 1 Preliminaries In this chapter we first give a summary of the basic notations, terminology and results which will be used in this thesis. The treatment here is reduced to a list of definitions. For the

More information

Linear Temporal Logic and Büchi Automata

Linear Temporal Logic and Büchi Automata Linear Temporal Logic and Büchi Automata Yih-Kuen Tsay Department of Information Management National Taiwan University FLOLAC 2009 Yih-Kuen Tsay (SVVRL @ IM.NTU) Linear Temporal Logic and Büchi Automata

More information

What You Must Remember When Processing Data Words

What You Must Remember When Processing Data Words What You Must Remember When Processing Data Words Michael Benedikt, Clemens Ley, and Gabriele Puppis Oxford University Computing Laboratory, Park Rd, Oxford OX13QD UK Abstract. We provide a Myhill-Nerode-like

More information

Weak Relative Pseudo-Complements of Closure Operators

Weak Relative Pseudo-Complements of Closure Operators Weak Relative Pseudo-Complements of Closure Operators Roberto Giacobazzi Catuscia Palamidessi Francesco Ranzato Dipartimento di Informatica, Università di Pisa Corso Italia 40, 56125 Pisa, Italy giaco@di.unipi.it

More information

Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security

Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security Universal Concurrent Constraint Programing: Symbolic Semantics and Applications to Security Carlos Olarte INRIA and LIX École Polytechnique Pontificia Universidad Javeriana carlos.olarte@lix.polytechnique.fr

More information

Streams and Coalgebra Lecture 2

Streams and Coalgebra Lecture 2 Streams and Coalgebra Lecture 2 Helle Hvid Hansen and Jan Rutten Radboud University Nijmegen & CWI Amsterdam Representing Streams II, Lorentz Center, Leiden, January 2014 Tutorial Overview Lecture 1 (Hansen):

More information

CS632 Notes on Relational Query Languages I

CS632 Notes on Relational Query Languages I CS632 Notes on Relational Query Languages I A. Demers 6 Feb 2003 1 Introduction Here we define relations, and introduce our notational conventions, which are taken almost directly from [AD93]. We begin

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

Probabilistic Bisimilarity as Testing Equivalence

Probabilistic Bisimilarity as Testing Equivalence Probabilistic Bisimilarity as Testing Equivalence Yuxin Deng a,, Yuan Feng b a Shanghai Key Laboratory of Trustworthy Computing, MOE International Joint Lab of Trustworthy Software, and International Research

More information

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system): Logic Knowledge-based agents Inference engine Knowledge base Domain-independent algorithms Domain-specific content Knowledge base (KB) = set of sentences in a formal language Declarative approach to building

More information

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation Outline Formale Methoden der Informatik First-Order Logic for Forgetters Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Motivation Syntax of PL1

More information

Semantics and Verification

Semantics and Verification Semantics and Verification Lecture 2 informal introduction to CCS syntax of CCS semantics of CCS 1 / 12 Sequential Fragment Parallelism and Renaming CCS Basics (Sequential Fragment) Nil (or 0) process

More information

Distributed Processes and Location Failures (Extended Abstract)

Distributed Processes and Location Failures (Extended Abstract) Distributed Processes and Location Failures (Extended Abstract) James Riely and Matthew Hennessy Abstract Site failure is an essential aspect of distributed systems; nonetheless its effect on programming

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

Basic Algebraic Logic

Basic Algebraic Logic ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings

More information

Automata-based Verification - III

Automata-based Verification - III CS3172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20/22: email: howard.barringer@manchester.ac.uk March 2005 Third Topic Infinite Word Automata Motivation Büchi Automata

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

COMPUTER SCIENCE TEMPORAL LOGICS NEED THEIR CLOCKS

COMPUTER SCIENCE TEMPORAL LOGICS NEED THEIR CLOCKS Bulletin of the Section of Logic Volume 18/4 (1989), pp. 153 160 reedition 2006 [original edition, pp. 153 160] Ildikó Sain COMPUTER SCIENCE TEMPORAL LOGICS NEED THEIR CLOCKS In this paper we solve some

More information

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr

Semantic Equivalences and the. Verification of Infinite-State Systems 1 c 2004 Richard Mayr Semantic Equivalences and the Verification of Infinite-State Systems Richard Mayr Department of Computer Science Albert-Ludwigs-University Freiburg Germany Verification of Infinite-State Systems 1 c 2004

More information

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14

Logical Agents. Knowledge based agents. Knowledge based agents. Knowledge based agents. The Wumpus World. Knowledge Bases 10/20/14 0/0/4 Knowledge based agents Logical Agents Agents need to be able to: Store information about their environment Update and reason about that information Russell and Norvig, chapter 7 Knowledge based agents

More information

On Distribution Based Bisimulations for Probabilistic Automata

On Distribution Based Bisimulations for Probabilistic Automata On Distribution Based Bisimulations for Probabilistic Automata AVACS alumni technical talk Lijun Zhang Institute of Software, Chinese Academy of Sciences Joint work with Holger Hermanns, Lei Song, Christian

More information

CS154, Lecture 10: Rice s Theorem, Oracle Machines

CS154, Lecture 10: Rice s Theorem, Oracle Machines CS154, Lecture 10: Rice s Theorem, Oracle Machines Moral: Analyzing Programs is Really, Really Hard But can we more easily tell when some program analysis problem is undecidable? Problem 1 Undecidable

More information

Unifying Theories of Programming

Unifying Theories of Programming 1&2 Unifying Theories of Programming Unifying Theories of Programming 3&4 Theories Unifying Theories of Programming designs predicates relations reactive CSP processes Jim Woodcock University of York May

More information

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza

Automata theory. An algorithmic approach. Lecture Notes. Javier Esparza Automata theory An algorithmic approach Lecture Notes Javier Esparza July 2 22 2 Chapter 9 Automata and Logic A regular expression can be seen as a set of instructions ( a recipe ) for generating the words

More information

Weighted automata coalgebraically

Weighted automata coalgebraically Weighted automata coalgebraically Filippo Bonchi 4 Michele Boreale 5 Marcello Bonsangue,2 Jan Rutten,3 Alexandra Silva Centrum Wiskunde en Informatica 2 LIACS - Leiden University 3 Radboud Universiteit

More information

Bisimulation and coinduction in higher-order languages

Bisimulation and coinduction in higher-order languages Bisimulation and coinduction in higher-order languages Davide Sangiorgi Focus Team, University of Bologna/INRIA ICE, Florence, June 2013 Bisimulation Behavioural equality One of the most important contributions

More information

Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems

Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems Formal Techniques for Software Engineering: CCS: A Calculus for Communicating Systems Rocco De Nicola IMT Institute for Advanced Studies, Lucca rocco.denicola@imtlucca.it June 2013 Lesson 10 R. De Nicola

More information

A hierarchy of Constraint Systems for Data-Flow Analysis of Constraint Logic-Based Languages

A hierarchy of Constraint Systems for Data-Flow Analysis of Constraint Logic-Based Languages A hierarchy of Constraint Systems for Data-Flow Analysis of Constraint Logic-Based Languages Roberto Bagnara Dipartimento di Informatica, Università di Pisa, Corso Italia 40, 56125 Pisa, Italy Abstract

More information

On decision problems for timed automata

On decision problems for timed automata On decision problems for timed automata Olivier Finkel Equipe de Logique Mathématique, U.F.R. de Mathématiques, Université Paris 7 2 Place Jussieu 75251 Paris cedex 05, France. finkel@logique.jussieu.fr

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

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

Theoretical Foundations of the UML

Theoretical Foundations of the UML Theoretical Foundations of the UML Lecture 17+18: A Logic for MSCs Joost-Pieter Katoen Lehrstuhl für Informatik 2 Software Modeling and Verification Group moves.rwth-aachen.de/teaching/ws-1718/fuml/ 5.

More information

2 Conceptual Framework Before introducing the probabilistic concurrent constraint (PCCP) language we have to discuss a basic question: What is a proba

2 Conceptual Framework Before introducing the probabilistic concurrent constraint (PCCP) language we have to discuss a basic question: What is a proba On Probabilistic CCP Alessandra Di Pierro and Herbert Wiklicky fadp,herbertg@cs.city.ac.uk City University London, Northampton Square, London EC1V OHB Abstract This paper investigates a probabilistic version

More information

CS411 Notes 3 Induction and Recursion

CS411 Notes 3 Induction and Recursion CS411 Notes 3 Induction and Recursion A. Demers 5 Feb 2001 These notes present inductive techniques for defining sets and subsets, for defining functions over sets, and for proving that a property holds

More information

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics

CS256/Spring 2008 Lecture #11 Zohar Manna. Beyond Temporal Logics CS256/Spring 2008 Lecture #11 Zohar Manna Beyond Temporal Logics Temporal logic expresses properties of infinite sequences of states, but there are interesting properties that cannot be expressed, e.g.,

More information

On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture

On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture On the Progression of Situation Calculus Basic Action Theories: Resolving a 10-year-old Conjecture Stavros Vassos and Hector J Levesque Department of Computer Science University of Toronto Toronto, ON,

More information

Compositionality in SLD-derivations and their abstractions Marco Comini, Giorgio Levi and Maria Chiara Meo Dipartimento di Informatica, Universita di

Compositionality in SLD-derivations and their abstractions Marco Comini, Giorgio Levi and Maria Chiara Meo Dipartimento di Informatica, Universita di Compositionality in SLD-derivations and their abstractions Marco Comini Giorgio Levi and Maria Chiara Meo Dipartimento di Informatica Universita di Pisa Corso Italia 40 56125 Pisa Italy fcomini levi meog@di.unipi.it

More information

Syllogistic Logic and its Extensions

Syllogistic Logic and its Extensions 1/31 Syllogistic Logic and its Extensions Larry Moss, Indiana University NASSLLI 2014 2/31 Logic and Language: Traditional Syllogisms All men are mortal. Socrates is a man. Socrates is mortal. Some men

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

On Compensation Primitives as Adaptable Processes

On Compensation Primitives as Adaptable Processes On Compensation Primitives as Adaptable Processes Jovana Dedeić University of Novi Sad Jovanka Pantović (Novi Sad) and Jorge A. Pérez (Groningen) LAP 2015 - Dubrovnik, September 24, 2015 Outline 1 Context

More information

Towards Trace Metrics via Functor Lifting

Towards Trace Metrics via Functor Lifting Towards Trace Metrics via Functor Lifting Paolo Baldan 1,Filippo Bonchi 2, Henning Kerstan 3 and Barbara König 3 1 Università di Padova, Italy 2 CNRS, ENS Lyon, Université de Lyon, France 3 Universität

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

More information

Variations on a theme: call-by-value and factorization

Variations on a theme: call-by-value and factorization Variations on a theme: call-by-value and factorization Beniamino Accattoli INRIA & LIX, Ecole Polytechnique Accattoli (INRIA Parsifal) Variations on a theme: call-by-value and factorization 1 / 31 Outline

More information

Designing and Evaluating Generic Ontologies

Designing and Evaluating Generic Ontologies Designing and Evaluating Generic Ontologies Michael Grüninger Department of Industrial Engineering University of Toronto gruninger@ie.utoronto.ca August 28, 2007 1 Introduction One of the many uses of

More information

Type Soundness for Path Polymorphism

Type Soundness for Path Polymorphism Type Soundness for Path Polymorphism Andrés Ezequiel Viso 1,2 joint work with Eduardo Bonelli 1,3 and Mauricio Ayala-Rincón 4 1 CONICET, Argentina 2 Departamento de Computación, FCEyN, UBA, Argentina 3

More information

Reasoning with Constraint Diagrams

Reasoning with Constraint Diagrams Reasoning with Constraint Diagrams Gem Stapleton The Visual Modelling Group University of righton, righton, UK www.cmis.brighton.ac.uk/research/vmg g.e.stapletonbrighton.ac.uk Technical Report VMG.04.01

More information

Automata, Logic and Games: Theory and Application

Automata, Logic and Games: Theory and Application Automata, Logic and Games: Theory and Application 1. Büchi Automata and S1S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong Büchi Automata & S1S 14-19 June

More information

Inquisitive semantics

Inquisitive semantics Inquisitive semantics NASSLLI 2012 lecture notes Ivano Ciardelli University of Bordeaux Floris Roelofsen University of Amsterdam June 25, 2012 Jeroen Groenendijk University of Amsterdam About this document

More information

Automata-based Verification - III

Automata-based Verification - III COMP30172: Advanced Algorithms Automata-based Verification - III Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2009 Third Topic Infinite Word Automata Motivation Büchi Automata

More information

On the Progression of Knowledge in the Situation Calculus

On the Progression of Knowledge in the Situation Calculus On the Progression of Knowledge in the Situation Calculus Yongmei Liu Department of Computer Science Sun Yat-sen University Guangzhou, China Joint work with Ximing Wen KRW-2012, Guiyang June 17, 2012 Y.

More information

1. The Method of Coalgebra

1. The Method of Coalgebra 1. The Method of Coalgebra Jan Rutten CWI Amsterdam & Radboud University Nijmegen IMS, Singapore - 15 September 2016 Overview of Lecture one 1. Category theory (where coalgebra comes from) 2. Algebras

More information

Confluence Modulo Equivalence with Invariants in Constraint Handling Rules

Confluence Modulo Equivalence with Invariants in Constraint Handling Rules Confluence Modulo Equivalence with Invariants in Constraint Handling Rules Daniel Gall and Thom Frühwirth Institute of Software Engineering and Programming Languages, Ulm University, 89069 Ulm, Germany

More information

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Finite Automata and Regular Languages

Finite Automata and Regular Languages Finite Automata and Regular Languages Topics to be covered in Chapters 1-4 include: deterministic vs. nondeterministic FA, regular expressions, one-way vs. two-way FA, minimization, pumping lemma for regular

More information

Logic: Propositional Logic (Part I)

Logic: Propositional Logic (Part I) Logic: Propositional Logic (Part I) Alessandro Artale Free University of Bozen-Bolzano Faculty of Computer Science http://www.inf.unibz.it/ artale Descrete Mathematics and Logic BSc course Thanks to Prof.

More information