2 On TLA TLA is a simple linear-time temporal logic with a relatively complete set of proof rules for reasoning about the safety (i.e. \what the syste

Size: px
Start display at page:

Download "2 On TLA TLA is a simple linear-time temporal logic with a relatively complete set of proof rules for reasoning about the safety (i.e. \what the syste"

Transcription

1 Reasoning about mobile processes in an ambient using the temporal logic of actions TATJANA KAPUS Faculty of Electrical Engineering and Computer Science University of Maribor Smetanova ul. 17, SI-2000 Maribor SLOVENIA Abstract: - Important characteristics of mobile systems are dynamical linking and eects of environments to the communication capabilities of system components. Some components can, for example, not communicate if there is a physical obstacle between their locations. Formal methods that support the description of the environment and locality of mobile system components in it are necessary in order to be able to rigorously verify if the components can communicate as desired. We propose an approach to the formal specication of mobile systems together with their environments and to the verication of their communication capabilities using the temporal logic of actions. Key-Words: - Mobile system, synchronous communication, dynamical linking, locality, connectivity, formal specication, verication, temporal logic of actions. 1 Introduction Mobile systems like mobile telephone systems and intelligent transport systems (for example, [7, 3]) consist of a number of components (we shall call them processes), such as telephones or cars, that move from one location to another and that from time to time receive information telling them which channel (for example, pseudo noise code sequences for spread spectrum communication or frequency) to use for communication. This is called dynamical linking. Although two processes in dierent locations are ready to send and receive a message on the same channel, respectively, it may happen that the communication is not possible. Such a situation may typically arise due to some physical conditions, for example, if there is a high building between the locations or if an accident happens. In order to be able to formally verify if processes can communicate as desired in such an environment, formal specication and verication methods are needed that can handle the dynamical assignment of channels as well as the location of processes and conditions in the environment. Recently, -calculus ([6]), the popular process algebra for reasoning about processes with the dynamical linking, has been extended with the capability of specifying and reasoning about the environment and locality of processes [2]. In this paper, we show how the temporal logic of actions (TLA) ([4]), which is quite a popular logical formalism, can be employed for specifying and reasoning about the same kind of systems as handled by the extended -calculus. In the next section, we shortly present TLA. In Section 3, we describe our approach to writing TLA specications of concurrently executing processes with synchronous, rendez-vous communication and dynamical linking, which are characteristic of - calculus. Section 4 shows how the TLA approach can be adapted to specify locality of mobile processes to the extent the extended -calculus does. In Section 5, we propose how to verify if communication capabilities of mobile processes in an environment are satisfactory. At the end we evaluate the TLA approach, compare it with the -calculus one, and give some ideas for future work.

2 2 On TLA TLA is a simple linear-time temporal logic with a relatively complete set of proof rules for reasoning about the safety (i.e. \what the system may do") and liveness (i.e. \what the system must do") of concurrent systems. It is usual to write a system specication as a \canonical form" TLA formula 9 x : Init ^ 2[N ] v ^ L. It says the following. Init holds at the start of every system behaviour (i.e. an innite state sequence starting with an initial state). v consists of the variables the system may change. N is a disjunction of action formulas on v and is itself an action formula. For example, if v consists of variables x and y, (x = 0)^(x 0 = x +1)^unchanged y is an action formula that represents an atomic action. If it is executed at a state, the value of x in the next state will be equal to the value of x in the current state plus 1, and the value of y will remain unchanged. In TLA, one must explicitly state that an action does not change a variable, otherwise it may change arbitrarily. One also says that an action is enabled at a state. For example, the above action is enabled (i.e. it can execute) at any state where x = 0. 2[N ] v says that at every execution step (this is expressed by the temporal operator 2), either N executes (i.e. some of its disjuncts), which changes some of the variables from v, or nothing happens. 9 x says that variables x v serve for internal purposes. L species liveness requirements for some of the actions of N. We shall not consider them in this paper since liveness is also of no concern in -calculus and its extension. One often adds other conjuncts to the canonical form formula in order to express some behavioural assumptions. For F and G TLA formulas and x ; y tuples of variables, the implication (9 x : F ) ) (9 y : G) can be proved by exhibiting the validity of F ) G, where G is obtained by substituting y i for the free occurrences of y i in G for all i. Each y i is a function of variables that occur in F. The functions are collectively called a renement mapping. Complete formal denitions of TLA syntax and semantics together with TLA proof rules can be found in [4]. 3 TLA and dynamical linking Throughout the paper, we shall use example processes adapted from [2] in order to present our approach. Let P, Q, and R be sequential processes which behave as follows. Process P may either rst send b on channel a and then terminate or rst synchronise (i.e. receive an empty message) on channel c and terminate. Process Q may either rst send an empty message on channel c and then terminate or rst receive a value on channel a and store it in variable x, afterwards send an empty message on the channel with the name stored in x and then terminate. Process R may only receive an empty message on channel b and terminate. Let S denote parallel composition of processes P, Q, and R, in which processes communicate synchronously: a process may send a number (possibly zero) of messages on a channel (i.e. execute a sending action) i another process is ready to receive the same number of messages on the same channel and to store them (i.e. execute a complementary receiving action), and vice-versa. As in -calculus, at most two processes may communicate at a time. Formulas P, Q, R in Fig. 1 and S in Fig. 2 are TLA specications of equally named processes and their parallel composition. We succeeded to specify processes with completely the same behaviour as those specied by -calculus and in such a way that the specication S is simply the conjunction of single processes' specications accompanied by a behaviour assumption and a hiding requirement. In order to be able to easily describe the dynamical linking, processes P, Q, and R share the variable Eth (Fig. 1). On this common \ether", processes send messages of the form hch; v i (notice the abbreviation Snd(ch; v)) where ch is the name of the channel on which a vector of values or channel names to be used as new links by the receiving process is sent. The receiving of v on channel ch is represented by the action formula Rcv(ch; v). hi denotes an empty vector (i.e. an empty message in the above informal description). Rcvar(ch; v) means that the value or the channel name received on ch is stored to variable v. Each process i has a corresponding variable mu[i]. It is used to record the type of each TLA action, i.e. whether it is a sending (notice the abbreviation S(v)) or receiving one (see the abbreviation R(v)). The S and R actions on mu are used to require the rendez-vous communication in Com and that Eth be only changed by processes P, Q, and R, which is expressed by B (Fig. 2). Since TLA does not contain operators for sequential composition and choice, the ordering of action executions in each process is specied by an internal \program counter" pc.

3 Snd(ch; v) = Eth 0 = Eth hch; v i Rcv(ch; v) = Snd(ch; v) Rcvar(ch; v) = 9 u : (Eth 0 = Eth hch; hu ii) ^ (v 0 = u) S(v) = v 0 = v h\o"i R(v) = v 0 = v h\i"i v P = hmu[\p"]; Eth; pc i Init P = (mu[\p"] = hi)^(pc =\s") N P = _ (pc = \s") ^ Snd(\a"; h\b"i) ^ S(mu[\P"]) ^ (pc 0 = \d") _ (pc = \s") ^ Rcv(\c"; hi)^r(mu[\p"]) ^ (pc 0 = \d") P = 9 pc : Init P ^ 2[N P _ unchanged hmu[\p"]; pc i] v P v Q = hmu[\q"]; Eth; pc; x i Init Q = (mu[\q"] = hi)^(pc =\s") N Q = _ (pc = \s") ^ Rcvar(\a"; x) ^ R(mu[\Q"]) ^ (pc 0 = \sx") _ (pc = \sx") ^ Snd(x ; hi)^s(mu[\q"]) ^ (pc 0 = \d") ^ unchanged x _ (pc = \s") ^ Snd(\c"; hi)^s(mu[\q"]) ^ (pc 0 = \d") ^ unchanged x Q = 9 pc; x : Init Q ^ 2[N Q _ unchanged hmu[\q"]; pc; x i] v Q v R = hmu[\r"]; Eth; pc i Init R = (mu[\r"] = hi)^(pc =\s") N R = (pc =\s") ^ Rcv(\b"; hi)^r(mu[\r"]) ^ (pc 0 = \d") R = 9 pc : Init R ^ 2[N R _ unchanged hmu[\r"]; pc i] v R Fig. 1: TLA specications of processes P, Q, and R Notice that canonical form TLA process specications P, Q, and R contain a part of the form 2[N _ unchanged v] where N represents the actions from the informal process description and v contains variable mu and all internal variables of the process. The unchanged v represents an execution step in which the process does nothing and the communication may take place in the other processes. The fact that variable mu is hidden in S means that we are only interested in what communications take place in the system. The communications are recorded in variable Eth, which is the only free variable of S. 4 TLA and locality So far, we were not interested in where processes P, Q, and R were located. Now, suppose that they are located in an environment consisting of four locations: 1, 2, 3, and 4. Let us further suppose that physically, the communication is only possible between locations 1 and 4, 1 and 2, and 2 and 3. Additionally, suppose that the communication between locations 1 and 4 is possible only in one direction, from 1 to 4. In [2] it is proposed that the facts of this kind be expressed in a eld F = hloc; RLi where Loc is the set of locations and RL the set of pairs (l 1 ; l 2 ) of locations from Loc, such that (l 1 ; l 2 ) 2 RL i the communication from l 1 to l 2 is possible. For every process, one may dene in which location from Loc it resides. It can also be dened how processes may move between the locations. This is done with a set MV. It contains a triple of the form hp ; l 1 ; hl 21 ;:::;l 2n ii for every process P which may move from location l 1 to any of locations l 21 ;:::;l 2n. Apair A = hf;mv i completely denes the environment of a mobile system and is called an ambient in [2]. Let us suppose that our process P is initially located in location 1, process Q in 2, and R in 4. Let only process R be allowed to move to location 3, but only when it is located in location 4. Let system L consist of concurrently executed processes P, Q,

4 Proc = f\p"; \Q"; \R"g Com = 9 i ; j 2 Proc : ^ (i 6= j ) ^ S(mu[i]) ^ R(mu[j ]) ^ 8 k 2 Proc n fi ; j g : unchanged mu[k] B = (Eth = hi)^2[com] heth ;mu i S = 9 mu : P ^ Q ^ R ^ B Loc = f1; 2; 3; 4g RL = fh1; 4i; h1; 2i; h2; 1i; h2; 3i; h3; 2ig MV = fh\r"; 4; f3gig Fig. 2: TLA specication of system S with dynamical linking B init = (loc[\p"] = 1) ^ (loc[\q"] = 2) ^ (loc[\r"] = 4) Com l = ^ 9 i ; j 2 Proc : ^ (i 6= j ) ^ ((loc[i]; loc[j ]) 2 RL) ^ S(mu[i]) ^ R(mu[j ]) ^ 8 k 2 Proc n fi ; j g : unchanged mu[k] Move ^ unchanged loc = ^ 9 p; l ; s : ^ (hp; l ; s i 2 MV ) ^ (loc[p] = l) ^ (loc 0 [p] 2 s) ^ 8 k 2 Proc n fpg : unchanged loc[k] ^ unchanged heth; mu i B l = (Eth = hi)^2[com l _ Move] heth ;mu ;loc i L = 9 mu : P ^ Q ^ R ^ B init ^ B l Fig. 3: TLA specication of system L with dynamical linking in an ambient and R located in the described ambient. Formula L in Fig. 3 is its TLA specication. P, Q, R, and Proc, referred to in Fig. 3, are as dened in Fig. 1 and Fig. 2, respectively. In order to obtain a TLA specication of L, we had to dene a set of locations Loc, connections between the locations RL, and possible moves with MV similarly as with -calculus, to introduce a new variable loc for storing current locations of processes, and to write the following TLA formulas. B init determines initial locations of the processes. B l is similar to B in Fig. 2, except that it further restricts communication and species how processes may move. Like the reduction rule for the movement of processes in [2], it says with help of Move that whenever a process mentioned in MV is in a location that MV allows to leave, the process may move to one of the allowed locations. It also species that only one process at a time may move, which is as in [2]. As in the latter, it is not possible that a communication takes place and that a process moves simultaneously. Notice that it would also be possible not to dene MV and write a separate action formula for each possible move instead of writing the general formula Move using the quantication over the elements of MV. However, if there are many possible moves for dierent processes, it is certainly easier to specify this with the set MV and always write the same general formula Move. Similarly as in the reduction rule dening the semantics of communication in [2], the constraint on the communication depending on the locality of processes could be expressed with a small change of the Com formula in Fig. 2. Just the condition (loc[i]; loc[j ]) 2 RL had to be added, thus obtaining the new action formula Com l. As expected, the TLA specication L of the mobile system in an ambient diers from the TLA specication S only in the behaviour assumptions. L contains free variables Eth and loc, so we can also

5 express properties relating to process locations. 5 Verication of communication capabilities If F is a TLA specication of system F, and G is a TLA formula, then system F satises G i implication F ) G is valid. Suppose that G is also a system specication. Then one may also be interested in proving equivalence F G, i.e. that the system F behaves exactly like G. With the method of renement mappings, one can prove for S from Fig. 2 that S O where O = 9 pc : Init S ^ 2[N S ] heth ;pc i Init S = (pc = \s") ^ (Eth = hi) N S = Nc _ Na _ Nb Nc = ^ (pc = \s") ^ Snd(Eth; h\c"; hii) ^ (pc 0 =\d") Na = ^ (pc = \s") ^ Snd(Eth; h\a"; h\b"ii) ^ (pc 0 = \sb") Nb = ^ (pc = \sb") ^ Snd(Eth; h\b"; hii) ^ (pc 0 =\d") It means that rst, either process P and Q synchronise on channel c and the system execution terminates, or P sends channel name b to Q on channel a and nally, Q and R synchronise on channel b. Notice that the system may also stop forever at any point as we deal only with safety as in [2]. In [2], the so-called connectivity of pairs of processes is used as the criterion for deciding if the possibility of communications in an ambient is satisfactory. Informally, two processes are connectable if a message from one process can be sent to and received by another one, possibly through several processes in dierent locations. As this is an existential property (i.e., it says that there exists a behaviour such that...), it cannot directly and uniformly be expressed in a linear-time temporal logic. We therefore propose a more general criterion. It is reasonable to require that after a system, such as S, is put into an ambient, its possible behaviours are the same as without the ambient. Generally, the only free variable of the specication of the system without an ambient will be Eth and the free variables of the one in an ambient will be Eth and loc. One should then prove that the rst specication and the second one with the loc variable hidden are equivalent. It is clear that the second one implies the rst one as an ambient may only disable some communications. So one only has to prove the validity of implication in the other direction. For our systems S (Fig. 2) and L (Fig. 3), S 9 loc : L although it can also be proved that L ) Prop l where Prop l = 2(loc(\R") = 4) ) 2(8 i 2 OneTo(Length(Eth)) : 8 v : (Eth[i] 6= h\b"; v i)), i.e. if process R in L always stays in location 4, the communication on channel b never takes place (OneTo(Length(Eth)) denotes the set of integers from 1 to the length of sequence Eth). The connectivity of all pairs of processes in L is namely still the same as in S because R has the possibility to move to location 3. However, if MV were empty in L, Q and R could never communicate, the connectivity of processes in S and L would be dierent and S and 9 loc : L would no longer be equivalent. Now, suppose that one builds a system with an ambient in which processes communicate just as required and that eventually nds out that the ambient is damaged, i.e., some of RL, MV, or even Loc are changed in such a way that some communications are no more possible. Let us suppose that a maintenance method is employed on the sets in order to reestablish connectivity. One way to check if the method is satisfactory would be to verify if the specications of the systems with the loc variable hidden are equivalent. In [2], a relation called located bisimulation is dened to compare two systems in ambients. It is similar to the usual bisimulation relation, except that it also checks if each communication takes place between the same locations in both systems. We think that it might be more useful to be able to check if each communication takes place between the same processes in both systems. One could, for example, make a mistake during the maintenance and enable direct communication of two processes which was not possible be-

6 fore. We could verify this by leaving the mu variables in the compared system specications free. 6 Conclusion The aim of this paper was to show that the idea to extend -calculus for the specication of and reasoning about mobile processes in an ambient can readily be employed to use the temporal logic of actions for the same purpose. We proposed how to specify the rendez-vous communication and dynamical linking. We showed how to write specications of systems with this kind of communication in such a way that system components can be specied separately like in process algebras and composed into the system specication practically by conjunction. Notice that composition of components with rendez-vous communication is not treated in [1]. We then devised a way for writing TLA specications of mobile systems together with their ambients. It was even easier to incorporate ambients into the specications than with - calculus since TLA is state-based and the information on process locations is an additional state information. As TLA is based on states and even without any control operators such as : or +, one might say that it is more dicult to specify actions and synchronously communicating processes with TLA than with a process algebra. It is, however, a matter of taste, whether reasoning about processes using algebraic or logical rules is easier. We used very simple examples for illustration, but it is easy to specify processes that also send or receive vectors of more than one message, and several processes may have a sending or a receiving action using the same channel. In fact, the formalism in [2] allows broadcast or multicast rendez-vous communication between located processes, but we avoided to talk about it for space reasons. In order to allow it in the TLA specications, the Com l action formula could be adapted with minor changes. It is also easy to write TLA specications of actions whose enabledness depends on recently received values. It would be useful to automate composition of processes in such a way that one would immediately get only those actions that are enabled in reachable states. One might be interested in the description of changes of an ambient over time and how they could be circumvented. It would be dicult to adapt - calculus for such purposes because, for example, RL would behave like a global variable, but process algebras do not know variables in this sense. On the contrary, it would be easy to describe changes of the ambient with TLA by making its constant sets variables and dening appropriate actions on them. We could try to introduce fault and correcting actions and verify if communication capabilities are as desired. This would be a kind of fault-tolerance investigation for mobile systems (c.f. [5]). We were interested in a TLA specication method with the sole purpose of specifying and reasoning about mobile systems in the so-called ambients, but it would also be worth investigating how TLA could be used for similar purposes as, for example, mobile UNITY [8]. References: [1] M. Abadi and L. Lamport, Conjoining specications, ACM Transactions on Programming Languages and Systems, Vol. 15, No. 1, January 1993, pp. 73{132. [2] T. Ando, K. Takahashi, Y. Kato, N. Shiratori, Maintenance of Mobile System Ambients Using a Process Calculus, Computer Networks, Vol. 32, 2000, pp. 229{256. [3] Japanese Ministry of Construction ITS homepage, html. [4] L. Lamport, The Temporal Logic of Actions, ACM Transactions on Programming Languages and Systems, Vol. 16, No. 3, May 1994, pp. 872{ 943. [5] Z. Liu and M. Joseph, Specication and verication of fault-tolerance, timing, and scheduling, ACM Transactions on Programming Languages and Systems, Vol. 21, No. 1, January 1999, pp. 46{89. [6] R. Milner, The poliadic -calculus: a tutorial, Technical Report ECS-LFCS , Lab. Foundations Comp. Sci., Dept. Comp. Sci., University of Edinburgh, United Kingdom, [7] J. E. Padgett, C. G. Gunter, T. Hattori, Overview of Wireless Personal Communications, IEEE Communication Magazine, Vol. 33, No. 1, January 1995, pp. 28{41. [8] G.-C. Roman, P. J. McCann, and J. Y. Plun, Mobile UNITY: Reasoning and specication in mobile computing, ACM Transactions on Software Engineering and Methodology, Vol. 6, No. 3, July 1997, pp. 250{282.

Degradable Agreement in the Presence of. Byzantine Faults. Nitin H. Vaidya. Technical Report #

Degradable Agreement in the Presence of. Byzantine Faults. Nitin H. Vaidya. Technical Report # Degradable Agreement in the Presence of Byzantine Faults Nitin H. Vaidya Technical Report # 92-020 Abstract Consider a system consisting of a sender that wants to send a value to certain receivers. Byzantine

More information

Non-elementary Lower Bound for Propositional Duration. Calculus. A. Rabinovich. Department of Computer Science. Tel Aviv University

Non-elementary Lower Bound for Propositional Duration. Calculus. A. Rabinovich. Department of Computer Science. Tel Aviv University Non-elementary Lower Bound for Propositional Duration Calculus A. Rabinovich Department of Computer Science Tel Aviv University Tel Aviv 69978, Israel 1 Introduction The Duration Calculus (DC) [5] is a

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

Wojciech Penczek. Polish Academy of Sciences, Warsaw, Poland. and. Institute of Informatics, Siedlce, Poland.

Wojciech Penczek. Polish Academy of Sciences, Warsaw, Poland. and. Institute of Informatics, Siedlce, Poland. A local approach to modal logic for multi-agent systems? Wojciech Penczek 1 Institute of Computer Science Polish Academy of Sciences, Warsaw, Poland and 2 Akademia Podlaska Institute of Informatics, Siedlce,

More information

Genuine atomic multicast in asynchronous distributed systems

Genuine atomic multicast in asynchronous distributed systems Theoretical Computer Science 254 (2001) 297 316 www.elsevier.com/locate/tcs Genuine atomic multicast in asynchronous distributed systems Rachid Guerraoui, Andre Schiper Departement d Informatique, Ecole

More information

Bilateral Proofs of Safety and Progress Properties of Concurrent Programs (Working Draft)

Bilateral Proofs of Safety and Progress Properties of Concurrent Programs (Working Draft) Bilateral Proofs of Safety and Progress Properties of Concurrent Programs (Working Draft) Jayadev Misra December 18, 2015 Contents 1 Introduction 3 2 Program and Execution Model 4 2.1 Program Structure..........................

More information

Verification, Refinement and Scheduling of Real-time Programs

Verification, Refinement and Scheduling of Real-time Programs Verification, Refinement and Scheduling of Real-time Programs Zhiming Liu Department of Maths & Computer Science Universisty of Leicester Leicester LE1 7RH, UK. E-mail: Z.Liu@mcs.le.ac.uk Mathai Joseph

More information

Another Glance at the Alpern-Schneider. Characterization of Safety andliveness in. Concurrent Executions. Abstract

Another Glance at the Alpern-Schneider. Characterization of Safety andliveness in. Concurrent Executions. Abstract Another Glance at the Alpern-Schneider Characterization of Safety andliveness in Concurrent Executions H.Peter Gumm Abstract In order to derive a result such as the Alpern-Schneider theorem characterizing

More information

Abstract. The paper considers the problem of implementing \Virtually. system. Virtually Synchronous Communication was rst introduced

Abstract. The paper considers the problem of implementing \Virtually. system. Virtually Synchronous Communication was rst introduced Primary Partition \Virtually-Synchronous Communication" harder than Consensus? Andre Schiper and Alain Sandoz Departement d'informatique Ecole Polytechnique Federale de Lausanne CH-1015 Lausanne (Switzerland)

More information

for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty

for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty An Automata-Theoretic Decision Procedure for Propositional Temporal Logic with Since and Until Y. S. Ramakrishna, L. E. Moser, L. K. Dillon, P. M. Melliar-Smith, G. Kutty Department of Electrical and Computer

More information

2 Ralph J. R. Back, Qiwen. Xu systems with respect to total correctness. Reactive renement of action systems was investigated by Back [4] basing on th

2 Ralph J. R. Back, Qiwen. Xu systems with respect to total correctness. Reactive renement of action systems was investigated by Back [4] basing on th Acta Informatica Manuscript-Nr. (will be inserted by hand later) Renement of fair action systems Ralph J. R. Back?, Qiwen. Xu?? Department of Computer Science, Abo Akademi, Lemminkainenkatu 14, SF-20520

More information

and combine the results of the searches. We consider parallel search with subdivision, although most notions can be generalized to using dierent searc

and combine the results of the searches. We consider parallel search with subdivision, although most notions can be generalized to using dierent searc On the representation of parallel search in theorem proving Maria Paola Bonacina Department of Computer Science { The University of Iowa Abstract This extended abstract summarizes two contributions from

More information

Electronic Notes in Theoretical Computer Science 18 (1998) URL: 8 pages Towards characterizing bisim

Electronic Notes in Theoretical Computer Science 18 (1998) URL:   8 pages Towards characterizing bisim Electronic Notes in Theoretical Computer Science 18 (1998) URL: http://www.elsevier.nl/locate/entcs/volume18.html 8 pages Towards characterizing bisimilarity of value-passing processes with context-free

More information

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct.

Temporal Logic. Stavros Tripakis University of California, Berkeley. We have designed a system. We want to check that it is correct. EE 244: Fundamental Algorithms for System Modeling, Analysis, and Optimization Fall 2016 Temporal logic Stavros Tripakis University of California, Berkeley Stavros Tripakis (UC Berkeley) EE 244, Fall 2016

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

Time. Today. l Physical clocks l Logical clocks

Time. Today. l Physical clocks l Logical clocks Time Today l Physical clocks l Logical clocks Events, process states and clocks " A distributed system a collection P of N singlethreaded processes without shared memory Each process p i has a state s

More information

Financial. Analysis. O.Eval = {Low, High} Store. Bid. Update. Risk. Technical. Evaluation. External Consultant

Financial. Analysis. O.Eval = {Low, High} Store. Bid. Update. Risk. Technical. Evaluation. External Consultant ACM PODS98 of CS Dept at Stony Brook University Based Modeling and Analysis of Logic Workows Hasan Davulcu* N.Y. 11794, U.S.A. * Joint with M. Kifer, C.R. Ramakrishnan, I.V. Ramakrishnan Hasan Davulcu

More information

Diagram-based Formalisms for the Verication of. Reactive Systems. Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas E.

Diagram-based Formalisms for the Verication of. Reactive Systems. Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas E. In CADE-1 Workshop on Visual Reasoning, New Brunswick, NJ, July 1996. Diagram-based Formalisms for the Verication of Reactive Systems Anca Browne, Luca de Alfaro, Zohar Manna, Henny B. Sipma and Tomas

More information

Lecture 4 Event Systems

Lecture 4 Event Systems Lecture 4 Event Systems This lecture is based on work done with Mark Bickford. Marktoberdorf Summer School, 2003 Formal Methods One of the major research challenges faced by computer science is providing

More information

Chapter 4. Progress. Jayadev Misra 1. Department of Computer Sciences. The University of Texas at Austin. Austin, Texas (512)

Chapter 4. Progress. Jayadev Misra 1. Department of Computer Sciences. The University of Texas at Austin. Austin, Texas (512) Chapter 4 Progress Jayadev Misra 1 Department of Computer Sciences The University of Texas at Austin Austin, Texas 78712 (512) 471-9547 misra@cs.utexas.edu April 5, 1994 1 This material is based in part

More information

Kirsten Lackner Solberg. Dept. of Math. and Computer Science. Odense University, Denmark

Kirsten Lackner Solberg. Dept. of Math. and Computer Science. Odense University, Denmark Inference Systems for Binding Time Analysis Kirsten Lackner Solberg Dept. of Math. and Computer Science Odense University, Denmark e-mail: kls@imada.ou.dk June 21, 1993 Contents 1 Introduction 4 2 Review

More information

FORMALIZATION AND VERIFICATION OF PROPERTY SPECIFICATION PATTERNS. Dmitriy Bryndin

FORMALIZATION AND VERIFICATION OF PROPERTY SPECIFICATION PATTERNS. Dmitriy Bryndin FORMALIZATION AND VERIFICATION OF PROPERTY SPECIFICATION PATTERNS by Dmitriy Bryndin A THESIS Submitted to Michigan State University in partial fulllment of the requirements for the degree of MASTER OF

More information

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras

Introduction to Model Checking. Debdeep Mukhopadhyay IIT Madras Introduction to Model Checking Debdeep Mukhopadhyay IIT Madras How good can you fight bugs? Comprising of three parts Formal Verification techniques consist of three parts: 1. A framework for modeling

More information

CS477 Formal Software Dev Methods

CS477 Formal Software Dev Methods CS477 Formal Software Dev Methods Elsa L Gunter 2112 SC, UIUC egunter@illinois.edu http://courses.engr.illinois.edu/cs477 Slides based in part on previous lectures by Mahesh Vishwanathan, and by Gul Agha

More information

Guest lecturer: Prof. Mark Reynolds, The University of Western Australia

Guest lecturer: Prof. Mark Reynolds, The University of Western Australia Università degli studi di Udine Corso per il dottorato di ricerca: Temporal Logics: Satisfiability Checking, Model Checking, and Synthesis January 2017 Lecture 01, Part 02: Temporal Logics Guest lecturer:

More information

Clocks in Asynchronous Systems

Clocks in Asynchronous Systems Clocks in Asynchronous Systems The Internet Network Time Protocol (NTP) 8 Goals provide the ability to externally synchronize clients across internet to UTC provide reliable service tolerating lengthy

More information

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol.

Bounding the End-to-End Response Times of Tasks in a Distributed. Real-Time System Using the Direct Synchronization Protocol. Bounding the End-to-End Response imes of asks in a Distributed Real-ime System Using the Direct Synchronization Protocol Jun Sun Jane Liu Abstract In a distributed real-time system, a task may consist

More information

modal logic can easily be used but the drawback that the translation does not generalise to arbitrary functors. Therefore, the second approach is to u

modal logic can easily be used but the drawback that the translation does not generalise to arbitrary functors. Therefore, the second approach is to u URL: http://www.elsevier.nl/locate/entcs/volume11.html 15 pages Specifying Coalgebras with Modal Logic Alexander Kurz Institut fur Informatik, Ludwig-Maximilians-Universitat Munchen, Oettingenstr. 67,

More information

How to Pop a Deep PDA Matters

How to Pop a Deep PDA Matters How to Pop a Deep PDA Matters Peter Leupold Department of Mathematics, Faculty of Science Kyoto Sangyo University Kyoto 603-8555, Japan email:leupold@cc.kyoto-su.ac.jp Abstract Deep PDA are push-down automata

More information

Computer Science and State Machines

Computer Science and State Machines Computer Science and State Machines Leslie Lamport 8 June 2008 minor correction on 13 January 2018 Contribution to a Festschrift honoring Willem-Paul de Roever on his retirement. Computation Computer science

More information

A Theory for Composing Distributed Components, Based on Temporary Interference

A Theory for Composing Distributed Components, Based on Temporary Interference A Theory for Composing Distributed Components, Based on Temporary Interference I.S.W.B. Prasetya T.E.J. Vos S.D. Swierstra B. Widjaja Abstract Compositionality provides the foundation of software modularity,

More information

An Algebra of Hybrid Systems

An Algebra of Hybrid Systems Peter Höfner University of Augsburg August 22, 2008 The University of Queensland, August 2008 1 c Peter Höfner Hybrid Systems Definition hybrid systems are heterogeneous systems characterised by the interaction

More information

In a second part, we concentrate on interval models similar to the traditional ITL models presented in [, 5]. By making various assumptions about time

In a second part, we concentrate on interval models similar to the traditional ITL models presented in [, 5]. By making various assumptions about time Complete Proof Systems for First Order Interval Temporal Logic Bruno Dutertre Department of Computer Science Royal Holloway, University of London Egham, Surrey TW0 0EX, United Kingdom Abstract Dierent

More information

Logical Time. 1. Introduction 2. Clock and Events 3. Logical (Lamport) Clocks 4. Vector Clocks 5. Efficient Implementation

Logical Time. 1. Introduction 2. Clock and Events 3. Logical (Lamport) Clocks 4. Vector Clocks 5. Efficient Implementation Logical Time Nicola Dragoni Embedded Systems Engineering DTU Compute 1. Introduction 2. Clock and Events 3. Logical (Lamport) Clocks 4. Vector Clocks 5. Efficient Implementation 2013 ACM Turing Award:

More information

Processes are in the Eye of the Beholder. Leslie Lamport. December 25, revised January 16, 1996

Processes are in the Eye of the Beholder. Leslie Lamport. December 25, revised January 16, 1996 Processes are in the Eye of the Beholder Leslie Lamport December 25, 1994 revised January 16, 1996 ii cdigital Equipment Corporation 1994 This work may not be copied or reproduced in whole or in part for

More information

The Underlying Semantics of Transition Systems

The Underlying Semantics of Transition Systems The Underlying Semantics of Transition Systems J. M. Crawford D. M. Goldschlag Technical Report 17 December 1987 Computational Logic Inc. 1717 W. 6th St. Suite 290 Austin, Texas 78703 (512) 322-9951 1

More information

3.1 Universal quantification and implication again. Claim 1: If an employee is male, then he makes less than 55,000.

3.1 Universal quantification and implication again. Claim 1: If an employee is male, then he makes less than 55,000. Chapter 3 Logical Connectives 3.1 Universal quantification and implication again So far we have considered an implication to be universal quantication in disguise: Claim 1: If an employee is male, then

More information

Proving Safety Properties of the Steam Boiler Controller. Abstract

Proving Safety Properties of the Steam Boiler Controller. Abstract Formal Methods for Industrial Applications: A Case Study Gunter Leeb leeb@auto.tuwien.ac.at Vienna University of Technology Department for Automation Treitlstr. 3, A-1040 Vienna, Austria Abstract Nancy

More information

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces

Contents. 2.1 Vectors in R n. Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v. 2.50) 2 Vector Spaces Linear Algebra (part 2) : Vector Spaces (by Evan Dummit, 2017, v 250) Contents 2 Vector Spaces 1 21 Vectors in R n 1 22 The Formal Denition of a Vector Space 4 23 Subspaces 6 24 Linear Combinations and

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

Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer

Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer Extending temporal logic with!-automata Thesis for the M.Sc. Degree by Nir Piterman Under the Supervision of Prof. Amir Pnueli Department of Computer Science The Weizmann Institute of Science Prof. Moshe

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

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

CptS 464/564 Fall Prof. Dave Bakken. Cpt. S 464/564 Lecture January 26, 2014

CptS 464/564 Fall Prof. Dave Bakken. Cpt. S 464/564 Lecture January 26, 2014 Overview of Ordering and Logical Time Prof. Dave Bakken Cpt. S 464/564 Lecture January 26, 2014 Context This material is NOT in CDKB5 textbook Rather, from second text by Verissimo and Rodrigues, chapters

More information

Algorithmic verification

Algorithmic verification Algorithmic verification Ahmed Rezine IDA, Linköpings Universitet Hösttermin 2018 Outline Overview Model checking Symbolic execution Outline Overview Model checking Symbolic execution Program verification

More information

Extending Statecharts with Temporal Logic. A. Sowmya and S. Ramesh

Extending Statecharts with Temporal Logic. A. Sowmya and S. Ramesh SCS&E Report 9401 Extending Statecharts with Temporal Logic A. Sowmya and S. Ramesh SCHOOL OF COMPUTER SCIENCE AND ENGINEERING THE UNIVERSITY OF NEW SOUTH WALES Abstract Statecharts is a behavioural specication

More information

Oce National d' Etudes. et de Recherches Aerospatiales. Centre d' Etudes et de Recherche de l' Ecole Nationale Superieure

Oce National d' Etudes. et de Recherches Aerospatiales. Centre d' Etudes et de Recherche de l' Ecole Nationale Superieure Oce National d' Etudes et de Recherches Aerospatiales Centre d' Etudes et de Recherche de l' Ecole Nationale Superieure de l'aeronautique et de l'espace a Toulouse Programming Communicating Distributed

More information

2 PLTL Let P be a set of propositional variables. The set of formulae of propositional linear time logic PLTL (over P) is inductively dened as follows

2 PLTL Let P be a set of propositional variables. The set of formulae of propositional linear time logic PLTL (over P) is inductively dened as follows Translating PLTL into WSS: Application Description B. Hirsch and U. Hustadt Department of Computer Science, University of Liverpool Liverpool L69 7ZF, United Kingdom, fb.hirsch,u.hustadtg@csc.liv.ac.uk

More information

Collective resource bounded reasoning in concurrent multi-agent systems

Collective resource bounded reasoning in concurrent multi-agent systems Collective resource bounded reasoning in concurrent multi-agent systems Valentin Goranko Stockholm University (based on joint work with Nils Bulling) Workshop on Logics for Resource-Bounded Agents ESSLLI

More information

of acceptance conditions (nite, looping and repeating) for the automata. It turns out,

of acceptance conditions (nite, looping and repeating) for the automata. It turns out, Reasoning about Innite Computations Moshe Y. Vardi y IBM Almaden Research Center Pierre Wolper z Universite de Liege Abstract We investigate extensions of temporal logic by connectives dened by nite automata

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

Clojure Concurrency Constructs, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014

Clojure Concurrency Constructs, Part Two. CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014 Clojure Concurrency Constructs, Part Two CSCI 5828: Foundations of Software Engineering Lecture 13 10/07/2014 1 Goals Cover the material presented in Chapter 4, of our concurrency textbook In particular,

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Modelling of Railway Network Using Petri Nets

Modelling of Railway Network Using Petri Nets Modelling of Railway Network Using Petri Nets MANDIRA BANIK 1, RANJAN DASGUPTA 2 1 Dept. of Computer Sc. & Engg., National Institute of Technical Teachers' Training & Research, Kolkata, West Bengal, India

More information

Decomposing Specifications of Concurrent Systems

Decomposing Specifications of Concurrent Systems 327 Decomposing Specifications of Concurrent Systems Martín Abadi and Leslie Lamport Systems Research Center, Digital Equipment Corporation 130 Lytton Avenue, Palo Alto, CA 94301, U.S.A. We introduce a

More information

Abstract. In this paper we present a query answering system for solving non-standard

Abstract. In this paper we present a query answering system for solving non-standard Answering Non-Standard Queries in Distributed Knowledge-Based Systems Zbigniew W. Ras University of North Carolina Department of Comp. Science Charlotte, N.C. 28223, USA ras@uncc.edu Abstract In this paper

More information

ENES 489p. Verification and Validation: Logic and Control Synthesis

ENES 489p. Verification and Validation: Logic and Control Synthesis 11/18/14 1 ENES 489p Verification and Validation: Logic and Control Synthesis Mumu Xu mumu@umd.edu November 18, 2014 Institute for Systems Research Aerospace Engineering University of Maryland, College

More information

Pushdown timed automata:a binary reachability characterization and safety verication

Pushdown timed automata:a binary reachability characterization and safety verication Theoretical Computer Science 302 (2003) 93 121 www.elsevier.com/locate/tcs Pushdown timed automata:a binary reachability characterization and safety verication Zhe Dang School of Electrical Engineering

More information

INSTITUT FÜR INFORMATIK

INSTITUT FÜR INFORMATIK INSTITUT FÜR INFORMATIK DER LUDWIGMAXIMILIANSUNIVERSITÄT MÜNCHEN Bachelorarbeit Propagation of ESCL Cardinality Constraints with Respect to CEP Queries Thanh Son Dang Aufgabensteller: Prof. Dr. Francois

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

7. Queueing Systems. 8. Petri nets vs. State Automata

7. Queueing Systems. 8. Petri nets vs. State Automata Petri Nets 1. Finite State Automata 2. Petri net notation and definition (no dynamics) 3. Introducing State: Petri net marking 4. Petri net dynamics 5. Capacity Constrained Petri nets 6. Petri net models

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

Expressing Dynamics of Mobile Programs by Typing

Expressing Dynamics of Mobile Programs by Typing 5 th Slovakian-Hungarian Joint Symposium on Applied Machine Intelligence and Informatics January 25-26, 2007 Poprad, Slovakia Expressing Dynamics of Mobile Programs by Typing Martin Tomášek Department

More information

1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal

1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal Quasi-Synchronous heckpointing: Models, haracterization, and lassication D. Manivannan Mukesh Singhal Department of omputer and Information Science The Ohio State University olumbus, OH 43210 (email: fmanivann,singhalg@cis.ohio-state.edu)

More information

A Duration Calculus Semantics. for. Real-Time Reactive Systems. Michael R. Hansen. Ernst-Rudiger Olderog. Michael Schenke.

A Duration Calculus Semantics. for. Real-Time Reactive Systems. Michael R. Hansen. Ernst-Rudiger Olderog. Michael Schenke. A Duration Calculus Semantics for Real-Time Reactive Systems Michael R. Hansen Ernst-Rudiger Olderog Michael Schenke Martin Franzle Markus Muller-Olm Burghard von Karger Hans Rischel Date: 17 August 1993

More information

Logic Part II: Intuitionistic Logic and Natural Deduction

Logic Part II: Intuitionistic Logic and Natural Deduction Yesterday Remember yesterday? classical logic: reasoning about truth of formulas propositional logic: atomic sentences, composed by connectives validity and satisability can be decided by truth tables

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

1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal

1 Introduction During the execution of a distributed computation, processes exchange information via messages. The message exchange establishes causal TR No. OSU-ISR-5/96-TR33, Dept. of omputer and Information Science, The Ohio State University. Quasi-Synchronous heckpointing: Models, haracterization, and lassication D. Manivannan Mukesh Singhal Department

More information

On Reducing Linearizability to State Reachability 1

On Reducing Linearizability to State Reachability 1 On Reducing Linearizability to State Reachability 1 Ahmed Bouajjani a, Michael Emmi b, Constantin Enea a, Jad Hamza a a LIAFA, Université Paris Diderot b IMDEA Software Institute, Spain Abstract Ecient

More information

Communicating Parallel Processes. Stephen Brookes

Communicating Parallel Processes. Stephen Brookes Communicating Parallel Processes Stephen Brookes Carnegie Mellon University Deconstructing CSP 1 CSP sequential processes input and output as primitives named parallel composition synchronized communication

More information

FORMAL METHODS LECTURE III: LINEAR TEMPORAL LOGIC

FORMAL METHODS LECTURE III: LINEAR TEMPORAL LOGIC Alessandro Artale (FM First Semester 2007/2008) p. 1/39 FORMAL METHODS LECTURE III: LINEAR TEMPORAL LOGIC Alessandro Artale Faculty of Computer Science Free University of Bolzano artale@inf.unibz.it http://www.inf.unibz.it/

More information

Proving Liveness Properties of Concurrent Programs

Proving Liveness Properties of Concurrent Programs Proving Liveness Properties of Concurrent Programs SUSAN OWlCKI Stanford University and LESLIE LAMPORT SRI International A liveness property asserts that program execution eventually reaches some desirable

More information

The Temporal Logic of Actions. Leslie Lamport. December 25, 1991

The Temporal Logic of Actions. Leslie Lamport. December 25, 1991 79 The Temporal Logic of Actions Leslie Lamport December 25, 1991 Systems Research Center DEC's business and technology objectives require a strong research program. The Systems Research Center (SRC) and

More information

An Action System Approach to the Steam. Michael Butler, Emil Sekerinski, Kaisa Sere

An Action System Approach to the Steam. Michael Butler, Emil Sekerinski, Kaisa Sere An Action System Approach to the Steam Boiler Problem Michael Butler, Emil Sekerinski, Kaisa Sere 1 3 3 1 Dept. of Electronics and Computer Science, University of Southampton, Southampton, United Kingdom,

More information

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication Stavros Tripakis Abstract We introduce problems of decentralized control with communication, where we explicitly

More information

Section 6 Fault-Tolerant Consensus

Section 6 Fault-Tolerant Consensus Section 6 Fault-Tolerant Consensus CS586 - Panagiota Fatourou 1 Description of the Problem Consensus Each process starts with an individual input from a particular value set V. Processes may fail by crashing.

More information

Agreement Protocols. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur

Agreement Protocols. CS60002: Distributed Systems. Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Agreement Protocols CS60002: Distributed Systems Pallab Dasgupta Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Classification of Faults Based on components that failed Program

More information

Splitting a Default Theory. Hudson Turner. University of Texas at Austin.

Splitting a Default Theory. Hudson Turner. University of Texas at Austin. Splitting a Default Theory Hudson Turner Department of Computer Sciences University of Texas at Austin Austin, TX 7872-88, USA hudson@cs.utexas.edu Abstract This paper presents mathematical results that

More information

system perform its tasks (performance testing), how does the system react if its environment does not behave as expected (robustness testing), and how

system perform its tasks (performance testing), how does the system react if its environment does not behave as expected (robustness testing), and how Test Generation with Inputs, Outputs, and Repetitive Quiescence Jan Tretmans Tele-Informatics and Open Systems Group Department of Computer Science University of Twente P.O. Box 17, NL-7500 AE Enschede

More information

Synchronizing Multiagent Plans. using. Froduald Kabanza. Universite de Sherbrooke

Synchronizing Multiagent Plans. using. Froduald Kabanza. Universite de Sherbrooke Synchronizing Multiagent Plans using Temporal Logic Specications Froduald Kabanza Universite de Sherbrooke Sherbrooke, Quebec, J1K 2R1, Canada Email: kabanza@dmi.usherb.ca Abstract Plan synchronization

More information

Convergence Complexity of Optimistic Rate Based Flow. Control Algorithms. Computer Science Department, Tel-Aviv University, Israel

Convergence Complexity of Optimistic Rate Based Flow. Control Algorithms. Computer Science Department, Tel-Aviv University, Israel Convergence Complexity of Optimistic Rate Based Flow Control Algorithms Yehuda Afek y Yishay Mansour z Zvi Ostfeld x Computer Science Department, Tel-Aviv University, Israel 69978. December 12, 1997 Abstract

More information

Model checking the basic modalities of CTL with Description Logic

Model checking the basic modalities of CTL with Description Logic Model checking the basic modalities of CTL with Description Logic Shoham Ben-David Richard Trefler Grant Weddell David R. Cheriton School of Computer Science University of Waterloo Abstract. Model checking

More information

SE 2FA3: Discrete Mathematics and Logic II. Teaching Assistants: Yasmine Sharoda,

SE 2FA3: Discrete Mathematics and Logic II. Teaching Assistants: Yasmine Sharoda, SE 2FA3: Discrete Mathematics and Logic II Instructor: Dr. Ryszard Janicki, ITB 217, e-mail: janicki@mcmaster.ca, tel: 529-7070 ext: 23919, Teaching Assistants: Yasmine Sharoda, e-mail: sharodym@mcmaster.ca,

More information

Logic Model Checking

Logic Model Checking Logic Model Checking Lecture Notes 10:18 Caltech 101b.2 January-March 2004 Course Text: The Spin Model Checker: Primer and Reference Manual Addison-Wesley 2003, ISBN 0-321-22862-6, 608 pgs. the assignment

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

Response Time in Data Broadcast Systems: Mean, Variance and Trade-O. Shu Jiang Nitin H. Vaidya. Department of Computer Science

Response Time in Data Broadcast Systems: Mean, Variance and Trade-O. Shu Jiang Nitin H. Vaidya. Department of Computer Science Response Time in Data Broadcast Systems: Mean, Variance and Trade-O Shu Jiang Nitin H. Vaidya Department of Computer Science Texas A&M University College Station, TX 7784-11, USA Email: fjiangs,vaidyag@cs.tamu.edu

More information

Time. To do. q Physical clocks q Logical clocks

Time. To do. q Physical clocks q Logical clocks Time To do q Physical clocks q Logical clocks Events, process states and clocks A distributed system A collection P of N single-threaded processes (p i, i = 1,, N) without shared memory The processes in

More information

Introduction to Basic Proof Techniques Mathew A. Johnson

Introduction to Basic Proof Techniques Mathew A. Johnson Introduction to Basic Proof Techniques Mathew A. Johnson Throughout this class, you will be asked to rigorously prove various mathematical statements. Since there is no prerequisite of a formal proof class,

More information

INF Models of concurrency

INF Models of concurrency INF4140 - Models of concurrency RPC and Rendezvous INF4140 Lecture 15. Nov. 2017 RPC and Rendezvous Outline More on asynchronous message passing interacting processes with different patterns of communication

More information

An assumption-based framework for. Programming Systems Institute, Russian Academy of Sciences

An assumption-based framework for. Programming Systems Institute, Russian Academy of Sciences An assumption-based framework for non-monotonic reasoning 1 Andrei Bondarenko 2 Programming Systems Institute, Russian Academy of Sciences Pereslavle-Zalessky, Russia andrei@troyka.msk.su Francesca Toni,

More information

{},{a},{a,c} {},{c} {c,d}

{},{a},{a,c} {},{c} {c,d} Modular verication of Argos Programs Agathe Merceron 1 and G. Michele Pinna 2 1 Basser Department of Computer Science, University of Sydney Madsen Building F09, NSW 2006, Australia agathe@staff.cs.su.oz.au

More information

Sampled Semantics of Timed Automata

Sampled Semantics of Timed Automata Sampled Semantics of Timed Automata Parosh Abdulla, Pavel Krcal, and Wang Yi Department of Information Technology, Uppsala University, Sweden Email: {parosh,pavelk,yi}@it.uu.se Abstract. Sampled semantics

More information

1 Introduction Synchronous languages are rapidly gaining popularity as a high-level programming paradigm for a variety of safety-critical and real-tim

1 Introduction Synchronous languages are rapidly gaining popularity as a high-level programming paradigm for a variety of safety-critical and real-tim Fair Synchronous Transition Systems and their Liveness Proofs Amir Pnueli Dept. of Applied Math. and CS The Weizmann Institute of Science Rehovot, ISRAEL Natarajan Shankar Eli Singerman Computer Science

More information

An Axiomatization of. Lamport's Temporal Logic of Actions. Martn Abadi. October 12, revised March 4, 1993

An Axiomatization of. Lamport's Temporal Logic of Actions. Martn Abadi. October 12, revised March 4, 1993 An Axiomatization of Lamport's Temporal Logic of Actions Martn Abadi October 12, 1990 revised March 4, 1993 ii A preliminary version of this report appeared in the proceedings of the CONCUR '90 conference,

More information

Ordering and Consistent Cuts Nicole Caruso

Ordering and Consistent Cuts Nicole Caruso Ordering and Consistent Cuts Nicole Caruso Cornell University Dept. of Computer Science Time, Clocks, and the Ordering of Events in a Distributed System Leslie Lamport Stanford Research Institute About

More information

Asynchronous Communication 2

Asynchronous Communication 2 Asynchronous Communication 2 INF4140 22.11.12 Lecture 11 INF4140 (22.11.12) Asynchronous Communication 2 Lecture 11 1 / 37 Overview: Last time semantics: histories and trace sets specification: invariants

More information

a (b + c) = a b + a c

a (b + c) = a b + a c Chapter 1 Vector spaces In the Linear Algebra I module, we encountered two kinds of vector space, namely real and complex. The real numbers and the complex numbers are both examples of an algebraic structure

More information

and equal to true, encoded by 1, or present and equal to false, encoded by?1. The solutions of a polynomial are composed events. ILTS naturally posses

and equal to true, encoded by 1, or present and equal to false, encoded by?1. The solutions of a polynomial are composed events. ILTS naturally posses Labeling Automata with Polynomials Olga Kouchnarenko and Sophie Pinchinat y Abstract We present a behavioral model for discrete event systems based on a polynomial approach. We dene implicit transition

More information

A Semantics for a Logic of Authentication. Cambridge, MA : A; B

A Semantics for a Logic of Authentication. Cambridge, MA : A; B A Semantics for a Logic of Authentication (Extended Abstract) Martn Abadi Digital Equipment Corporation Systems Research Center 130 Lytton Avenue Palo Alto, CA 94301 ma@src.dec.com Abstract: Burrows, Abadi,

More information

Control of Real-Time Discrete Event Systems * Guillaume Brat and Vijay K. Garg. The University of Texas at Austin. Austin, TX 78712, USA

Control of Real-Time Discrete Event Systems * Guillaume Brat and Vijay K. Garg. The University of Texas at Austin. Austin, TX 78712, USA A Max-Plus Algebra of Signals for the Supervisory Control of Real-Time Discrete Event Systems * Guillaume Brat and Vijay K. Garg Department of Electrical and Computer Engineering The University of Texas

More information