Algebraic Process Calculi: the First Twenty Five Years and Beyond PA ’05

Total Page:16

File Type:pdf, Size:1020Kb

Algebraic Process Calculi: the First Twenty Five Years and Beyond PA ’05 BRICS NS-05-3 Aceto & Gordon (eds.): PA ’05 Short Contributions BRICS Basic Research in Computer Science Short Contributions from the Workshop on Algebraic Process Calculi: The First Twenty Five Years and Beyond PA ’05 Bertinoro, Forl`ı, Italy, August 1–5, 2005 Luca Aceto Andrew D. Gordon (editors) BRICS Notes Series NS-05-3 ISSN 0909-3206 June 2005 Copyright c 2005, Luca Aceto & Andrew D. Gordon (editors). BRICS, Department of Computer Science University of Aarhus. All rights reserved. Reproduction of all or part of this work is permitted for educational or research use on condition that this copyright notice is included in any copy. See back inner page for a list of recent BRICS Notes Series publications. Copies may be obtained by contacting: BRICS Department of Computer Science University of Aarhus Ny Munkegade, building 540 DK–8000 Aarhus C Denmark Telephone: +45 8942 3360 Telefax: +45 8942 3255 Internet: [email protected] BRICS publications are in general accessible through the World Wide Web and anonymous FTP through these URLs: http://www.brics.dk ftp://ftp.brics.dk This document in subdirectory NS/05/3/ Short Contributions from the Workshop on Algebraic Process Calculi: The First Twenty Five Years and Beyond Bertinoro (Forl`ı), Italy, August 1–5, 2005 Luca Aceto Andrew D. Gordon ii Foreword The idea for this volume of the BRICS Notes Series arose during our email discussions of issues related to the scientific content of the workshop Algebraic Process Calculi: The First Twenty Five Years and Beyond that will take place in the beautiful setting of the University Residential Centre of Bertinoro with the kind sponsorship of BICI, BRICS and Microsoft Research. Our main aim in organizing this event is to celebrate the first twenty five years of research in the field of algebraic process calculi by reflecting on the achievements within this field, and sowing the seeds for its healthy future development by highlighting the most important open problems and future directions in the field, and stimulating international cooperation. The event in part was driven by the idea of a “CONCUR re-union” endorsed by Jos Baeten, Jan Bergstra, Tony Hoare, Robin Milner, and Jan Willem Klop. We felt that providing a slim volume to read and discuss during our summer days in Bertinoro would be a useful way of stimulating the participants at the workshop to think about their contribution at the meeting, and to offer the rest of the community who cannot be in Bertinoro a collection of interesting pieces on process calculi to read and ponder on. The committee decided from the very start that this volume should not consist of a collec- tion of long technical articles. After all, there are already plenty of standard outlets for those contributions. Rather, we decided to solicit from the participants at the workshop, and other selected members of our community, short essays on the theme of algebraic process calculi. Some ideas for papers that we proposed to potential contributors were: a reminiscence about the early days; a prospectus for future research; a statement of challenges or open problems; a history of a thread of research; a critical assessment of an idea or a project; a review of a seminal paper and its impact; or even a self-contained technical observation. The response from the colleagues we contacted was overwhelmingly positive, and beyond our most optimistic expectations. We trust that you will enjoy reading their varied and inter- esting contributions. As we did not seek scientific articles in the usual sense, the contributions are unrefereed. Our efforts in organizing this workshop, and in producing the present vol- ume, will be amply rewarded if young researchers will be enticed to work in process theory by reading this volume, by the solution of some of the open problems that are raised in it, or by the further development of work along the future directions highlighted in some of the contributions. Apart from our sponsors, we thank Elena Della Godenza (University Residential Centre of Bertinoro) for her tireless organizational and secretarial assistance at all times, and Uffe H. Engberg (BRICS) for his work in the production of this volume. Luca Aceto and Andrew D. Gordon edited this volume on behalf of the committee. iii Organising Committee • Luca Aceto, BRICS, Aalborg University, and Reykjav´ık University • Mario Bravetti, University of Bologna • Jim Davies, Oxford University • Wan Fokkink, Free University Amsterdam • Andrew D. Gordon, Microsoft Research • Joost-Pieter Katoen, RWTH Aachen University • Faron Moller, University of Wales Swansea • Steve Schneider, University of Surrey iv Contents Samson Abramsky, What are the fundamental structures of concurrency? We still don’t know!. ................................................................. 1 Luca Aceto and Wan Fokkink. The Quest for Equational Axiomatizations of Parallel Compo- sition: Status and Open Problems. .................................................... 6 Roberto Amadio, Gerard´ Boudol, Fred´ eric´ Boussinot and Ilaria Castellani. Reactive concur- rent programming revisited. .......................................................... 12 J.C.M. Baeten and J.A. Bergstra. Six Themes for Future Concurrency Research. 21 J.C.M. Baeten and M. Bravetti. A generic process algebra. .............................. 24 Christel Baier, Holger Hermanns, Joost-Pieter Katoen, Verena Wolf. Bisimulation and Simu- lation Relations for Markov Chains. ................................................... 30 Martin Berger. An Interview with Robin Milner. ........................................ 35 Jan Bergstra. ACP style process algebras: is the design rationale still valid? . 46 Marco Bernardo. Markovian Testing Equivalence vs. Markovian Bisimulation Equivalence. 52 Tommaso Bolognesi. Process algebra under the light of Wolfram’s NKS................... 56 Mario Bravetti. Stochastic and Real Time in Process Algebra: A Conceptual Overview. 60 Mario Bravetti, Holger Hermanns, Joost-Pieter Katoen. YMCA: Why Markov Chain Algebra? ................................................. 66 Mario Bravetti and Gianluigi Zavattaro. Service Oriented Computing: a new challenge for Process Algebras. ................................................................... 70 Stephen Brookes. Retracing CSP. ..................................................... 75 Maria Grazia Buscemi and Ugo Montanari. A Compositional Coalgebraic Model of a Frag- ment of Fusion Calculus. ............................................................. 81 Nadia Busi and Gianluigi Zavattaro. A Process Algebraic View of Coordination. 85 Samuele Carpineti and Cosimo Laneve. A rude contract language: XML schemas with chan- nels and capabilities. ................................................................ 90 P.J.L. Cuijpers and M.A. Reniers. Topological Aspects of Hybrid Processes (a treatment using non-standard analysis). .............................................................. 95 Rocco De Nicola. From Process Calculi to KLAIM and back. ............................ 100 Zoltan´ Esik.´ Cascade products and temporal logics on finite trees. 104 Rachele Fuzzati and Uwe Nestmann. Much Ado About Nothing? . 108 Rob van Glabbeek. On Specifying Timeouts. ........................................... 112 Andrew D. Gordon. V for Virtual. ..................................................... 114 v Clemens Grabmayer, Jan Willem Klop, and Bas Luttik. Reflections on a Geometry of Pro- cesses. ............................................................................. 118 Jan Friso Groote, Aad Mathijssen, Muck van Weerdenburg, and Yaroslav Usenko. From µCRL to mCRL2. .............................................................. 126 Jan Friso Groote, Michel A. Reniers, and Yaroslav S. Usenko. Discretization of Timed Au- tomata in Timed µCRL a la Regions and Zones. ........................................ 132 Radu Grosu and Scott A. Smolka. Monte Carlo Methods for Process Algebra. 137 Tony Hoare. Why Ever CSP? ......................................................... 141 Kohei Honda. Process Algebras in the Age of Ubiquitous Computing. 147 Kim G. Larsen. One 2 Many 2 One – Evolution of Timed Systems Modeling and Analysis. 150 Insup Lee, Anna Philippou, and Oleg Sogolsky. A Family of Resource-Bound Real-Time Process Algebras. ................................................................... 151 Gerald Luttgen¨ and Michael Mendler. When 1 Clock Is Not Enough. 155 Bas Luttik. What is algebraic in process theory? ....................................... 159 Sergio Maffeis. Process calculi and peer-to-peer Web data integration. 164 Kees Middelburg. Conditionals in Algebraic Process Calculi. ........................... 168 Dale Miller. A Proof Theoretic Approach to Operational Semantics. 172 George Milne. Modelling Dynamically Changing Hardware Structure. 176 Robin Milner. Pervasive process calculus. ............................................. 180 M.W. Mislove. On Combining Probability and Nondeterminism. 184 MohammadReza Mousavi. Towards SOS Meta-Theory for Language-Based Security. 188 Joel¨ Ouaknine and Steve Schneider. Timed CSP: A Retrospective. 192 Catuscia Palamidessi. Probabilistic and Nondeterministic Aspects of Anonymity. 196 Iain Phillips and Irek Ulidowski. Operational Semantics of Reversibility in Process Algebra. 200 Alban Ponse and Mark B. van der Zwaag. ACP and Belnap’s Logic. 204 K.V.S. Prasad. A Prospectus for a Calculus of Mobile Broadcasting Systems. 209 Corrado Priami. Process Calculi and Life Science. .....................................
Recommended publications
  • Deduction Systems Based on Resolution, We Limit the Following Considerations to Transition Systems Based on Analytic Calculi
    Author’s Address Norbert Eisinger European Computer–Industry Research Centre, ECRC Arabellastr. 17 D-8000 M¨unchen 81 F. R. Germany [email protected] and Hans J¨urgen Ohlbach Max–Planck–Institut f¨ur Informatik Im Stadtwald D-6600 Saarbr¨ucken 11 F. R. Germany [email protected] Publication Notes This report appears as chapter 4 in Dov Gabbay (ed.): ‘Handbook of Logic in Artificial Intelligence and Logic Programming, Volume I: Logical Foundations’. It will be published by Oxford University Press, 1992. Fragments of the material already appeared in chapter two of Bl¨asis & B¨urckert: Deduction Systems in Artificial Intelligence, Ellis Horwood Series in Artificial Intelligence, 1989. A draft version has been published as SEKI Report SR-90-12. The report is also published as an internal technical report of ECRC, Munich. Acknowledgements The writing of the chapters for the handbook has been a highly coordinated effort of all the people involved. We want to express our gratitude for their many helpful contributions, which unfortunately are impossible to list exhaustively. Special thanks for reading earlier drafts and giving us detailed feedback, go to our second reader, Bob Kowalski, and to Wolfgang Bibel, Elmar Eder, Melvin Fitting, Donald W. Loveland, David Plaisted, and J¨org Siekmann. Work on this chapter started when both of us were members of the Markgraf Karl group at the Universit¨at Kaiserslautern, Germany. With our former colleagues there we had countless fruitful discus- sions, which, again, cannot be credited in detail. During that time this research was supported by the “Sonderforschungsbereich 314, K¨unstliche Intelligenz” of the Deutsche Forschungsgemeinschaft (DFG).
    [Show full text]
  • Concepts of Concurrent Programming Summary of the Course in Spring 2011 by Bertrand Meyer and Sebastian Nanz
    Concepts of Concurrent Programming Summary of the course in spring 2011 by Bertrand Meyer and Sebastian Nanz Stefan Heule 2011-05-28 Licence: Creative Commons Attribution-Share Alike 3.0 Unported (http://creativecommons.org/licenses/by-sa/3.0/) Contents 1 Introduction .......................................................................................................................................... 4 1.1 Ambdahl’s Law .............................................................................................................................. 4 1.2 Basic Notions ................................................................................................................................. 4 1.2.1 Multiprocessing ..................................................................................................................... 4 1.2.2 Multitasking .......................................................................................................................... 4 1.2.3 Definitions ............................................................................................................................. 4 1.2.4 The Interleaving Semantics ................................................................................................... 5 1.3 Transition Systems and LTL ........................................................................................................... 6 1.3.1 Syntax and Semantics of Linear-Time Temporal Logic.......................................................... 7 1.3.2 Safety and Liveness Properties
    [Show full text]
  • A Networked Robotic System and Its Use in an Oil Spill Monitoring Exercise
    A Networked Robotic System and its Use in an Oil Spill Monitoring Exercise El´oiPereira∗† Co-authors: Pedro Silvay, Clemens Krainerz, Christoph Kirschz, Jos´eMorgadoy, and Raja Sengupta∗ cpcc.berkeley.edu, eloipereira.com [email protected] Swarm at the Edge of the Could - ESWeek'13, Montreal, Canada September 29, 2013 ∗ - Systems Engineering, UC Berkeley y - Research Center, Portuguese Air Force Academy z - Computer Science Dept., University of Salzburg Programming the Ubiquitous World • In networked mobile systems (e.g. teams of robots, smartphones, etc.) the location and connectivity of \machines" may vary during the execution of its \programs" (computation specifications) • We investigate models for bridging \programs" and \machines" with dynamic structure (location and connectivity) • BigActors [PKSBdS13, PPKS13, PS13] are actors [Agh86] hosted by entities of the physical structure denoted as bigraph nodes [Mil09] E. Pereira, C. M. Kirsch, R. Sengupta, and J. B. de Sousa, \Bigactors - A Model for Structure-aware Computation," in ACM/IEEE 4th International Conference on Cyber-Physical Systems, 2013, pp. 199-208. Case study: Oil spill monitoring scenario • \Bilge dumping" is an environmental problem of great relevance for countries with large area of jurisdictional waters • EC created the European Maritime Safety Agency to \...prevent and respond to pollution by ships within the EU" • How to use networked robotics to monitor and take evidences of \bilge dumping" Figure: Portuguese Jurisdiction waters and evidences of \Bilge dumping".
    [Show full text]
  • Implementing a Transformation from BPMN to CSP+T with ATL: Lessons Learnt
    Implementing a Transformation from BPMN to CSP+T with ATL: Lessons Learnt Aleksander González1, Luis E. Mendoza1, Manuel I. Capel2 and María A. Pérez1 1 Processes and Systems Department, Simón Bolivar University PO Box 89000, Caracas, 1080-A, Venezuela 2 Software Engineering Department, University of Granada Aynadamar Campus, 18071, Granada, Spain Abstract. Among the challenges to face in order to promote the use of tech- niques of formal verification in organizational environments, there is the possi- bility of offering the integration of features provided by a Model Transforma- tion Language (MTL) as part of a tool very used by business analysts, and from which formal specifications of a model can be generated. This article presents the use of MTL ATLAS Transformation Language (ATL) as a transformation artefact within the domains of Business Process Modelling Notation (BPMN) and Communicating Sequential Processes + Time (CSP+T). It discusses the main difficulties encountered and the lessons learnt when building BTRANSFORMER; a tool developed for the Eclipse platform, which allows us to generate a formal specification in the CSP+T notation from a business process model designed with BPMN. This learning is valid for those who are interested in formalizing a Business Process Modelling Language (BPML) by means of a process calculus or another formal notation. 1 Introduction Business Processes (BP) must be properly and formally specified in order to be able to verify properties, such as scope, structure, performance, capacity, structural consis- tency and concurrency, i.e., those properties of BP which can provide support to the critical success factors of any organization. Formal specification languages and proc- ess algebras, which allow for the exhaustive verification of BP behaviour [17], are used to carry out the formalization of models obtained from Business Process Model- ling (BPM).
    [Show full text]
  • Bisimulations in the Join-Calculus
    Bisimulations in the Join-Calculus C´edricFournet a Cosimo Laneve b,1 aMicrosoft Research, 1 Guildhall Street, Cambridge, U.K. b Dipartimento di Scienze dell’Informazione, Universit`adi Bologna, Mura Anteo Zamboni 7, 40127 Bologna, Italy. Abstract We develop a theory of bisimulations in the join-calculus. We introduce a refined operational model that makes interactions with the environment explicit, and dis- cuss the impact of the lexical scope discipline of the join-calculus on its extensional semantics. We propose several formulations of bisimulation and establish that all formulations yield the same equivalence. We prove that this equivalence is finer than barbed congruence, but that both relations coincide in the presence of name matching. Key words: asynchronous processes; barbed congruence; bisimulation; chemical semantics; concurrency; join-calculus; locality; name matching; pi-calculus. 1 Introduction The join-calculus is a recent formalism for modeling mobile systems [15,17]. Its main motivation is to relate two crucial issues in concurrency: distributed implementation and formal semantics. To this end, the join-calculus enforces a strict lexical scope discipline over the channel names that appear in processes: names can be sent and received, but their input capabilities cannot be affected by the receivers. This is the locality property. 2 Locality yields a realistic distributed model, because the communication prim- itives of the calculus can be directly implemented via standard primitives of 1 This work is partly supported by the ESPRIT CONFER-2 WG-21836 2 The term locality is a bit overloaded in the literature; here, names are locally defined inasmuch as no external definition may interfere; this is the original meaning of locality in the chemical semantics of Banˆatre et al.
    [Show full text]
  • A Framework for Performance Evaluation and Verification in Stochastic Process Algebras
    A Framework for Performance Evaluation and Functional Verification in Stochastic Process Algebras Hossein Hojjat MohammadReza Marjan Sirjani ∗ IPM and University of Tehran, Mousavi IPM and University of Tehran, Tehran, Iran TU/Eindhoven, Eindhoven, Tehran, Iran The Netherlands, and Reykjav´ık University, Reykjav´ık, Iceland ABSTRACT To make our goals concrete, we would like to translate Despite its relatively short history, a wealth of formalisms a number of SPAs which have similar semantic frameworks exist for algebraic specification of stochastic systems. The (e.g., PEPA [14], MTIPP [13], EMPA [4] and IMC [11]) goal of this paper is to give such formalisms a unifying frame- to a common form in the mCRL2 process algebra (which work for performance evaluation and functional verification. is a classic process algebra [2] enhanced with abstract data To this end, we propose an approach enabling a provably types). Our next milestone is to generate state space using sound transformation from some existing stochastic process the mCRL2 tool-set. Finally, we wish to be able to perform algebras, e.g., PEPA and MTIPP, to a generic form in the various functional- as well as performance-related analyses mCRL2 language. This way, we resolve the semantic dif- on the generated state space using available tools, as well as ferences among different stochastic process algebras them- tools that we develop for this purpose. selves, on one hand, and between stochastic process algebras For the ease of presentation, we shall focus on one of these and classic ones, such as mCRL2, on the other hand. From process algebras, namely PEPA (due to its popularity), in the generic form, one can generate a state space and perform the remainder of this paper and only touch upon the aspects various functional and performance-related analyses, as we in which our approach has to be adapted to fit the other pro- illustrate in this paper.
    [Show full text]
  • The Space and Motion of Communicating Agents
    The space and motion of communicating agents Robin Milner December 1, 2008 ii to my family: Lucy, Barney, Chloe,¨ and in memory of Gabriel iv Contents Prologue vii Part I : Space 1 1 The idea of bigraphs 3 2 Defining bigraphs 15 2.1 Bigraphsandtheirassembly . 15 2.2 Mathematicalframework . 19 2.3 Bigraphicalcategories . 24 3 Algebra for bigraphs 27 3.1 Elementarybigraphsandnormalforms. 27 3.2 Derivedoperations ........................... 31 4 Relative and minimal bounds 37 5 Bigraphical structure 43 5.1 RPOsforbigraphs............................ 43 5.2 IPOsinbigraphs ............................ 48 5.3 AbstractbigraphslackRPOs . 53 6 Sorting 55 6.1 PlacesortingandCCS ......................... 55 6.2 Linksorting,arithmeticnetsandPetrinets . ..... 60 6.3 Theimpactofsorting .......................... 64 Part II : Motion 66 7 Reactions and transitions 67 7.1 Reactivesystems ............................ 68 7.2 Transitionsystems ........................... 71 7.3 Subtransitionsystems .. .... ... .... .... .... .... 76 v vi CONTENTS 7.4 Abstracttransitionsystems . 77 8 Bigraphical reactive systems 81 8.1 DynamicsforaBRS .......................... 82 8.2 DynamicsforaniceBRS.... ... .... .... .... ... .. 87 9 Behaviour in link graphs 93 9.1 Arithmeticnets ............................. 93 9.2 Condition-eventnets .. .... ... .... .... .... ... .. 95 10 Behavioural theory for CCS 103 10.1 SyntaxandreactionsforCCSinbigraphs . 103 10.2 TransitionsforCCSinbigraphs . 107 Part III : Development 113 11 Further topics 115 11.1Tracking................................
    [Show full text]
  • The Origins of Structural Operational Semantics
    The Origins of Structural Operational Semantics Gordon D. Plotkin Laboratory for Foundations of Computer Science, School of Informatics, University of Edinburgh, King’s Buildings, Edinburgh EH9 3JZ, Scotland I am delighted to see my Aarhus notes [59] on SOS, Structural Operational Semantics, published as part of this special issue. The notes already contain some historical remarks, but the reader may be interested to know more of the personal intellectual context in which they arose. I must straightaway admit that at this distance in time I do not claim total accuracy or completeness: what I write should rather be considered as a reconstruction, based on (possibly faulty) memory, papers, old notes and consultations with colleagues. As a postgraduate I learnt the untyped λ-calculus from Rod Burstall. I was further deeply impressed by the work of Peter Landin on the semantics of pro- gramming languages [34–37] which includes his abstract SECD machine. One should also single out John McCarthy’s contributions [45–48], which include his 1962 introduction of abstract syntax, an essential tool, then and since, for all approaches to the semantics of programming languages. The IBM Vienna school [42, 41] were interested in specifying real programming languages, and, in particular, worked on an abstract interpreting machine for PL/I using VDL, their Vienna Definition Language; they were influenced by the ideas of McCarthy, Landin and Elgot [18]. I remember attending a seminar at Edinburgh where the intricacies of their PL/I abstract machine were explained. The states of these machines are tuples of various kinds of complex trees and there is also a stack of environments; the transition rules involve much tree traversal to access syntactical control points, handle jumps, and to manage concurrency.
    [Show full text]
  • Curriculum Vitae Thomas A
    Curriculum Vitae Thomas A. Henzinger February 6, 2021 Address IST Austria (Institute of Science and Technology Austria) Phone: +43 2243 9000 1033 Am Campus 1 Fax: +43 2243 9000 2000 A-3400 Klosterneuburg Email: [email protected] Austria Web: pub.ist.ac.at/~tah Research Mathematical logic, automata and game theory, models of computation. Analysis of reactive, stochastic, real-time, and hybrid systems. Formal software and hardware verification, especially model checking. Design and implementation of concurrent and embedded software. Executable modeling of biological systems. Education September 1991 Ph.D., Computer Science Stanford University July 1987 Dipl.-Ing., Computer Science Kepler University, Linz August 1986 M.S., Computer and Information Sciences University of Delaware Employment September 2009 President IST Austria April 2004 to Adjunct Professor, University of California, June 2011 Electrical Engineering and Computer Sciences Berkeley April 2004 to Professor, EPFL August 2009 Computer and Communication Sciences January 1999 to Director Max-Planck Institute March 2000 for Computer Science, Saarbr¨ucken July 1998 to Professor, University of California, March 2004 Electrical Engineering and Computer Sciences Berkeley July 1997 to Associate Professor, University of California, June 1998 Electrical Engineering and Computer Sciences Berkeley January 1996 to Assistant Professor, University of California, June 1997 Electrical Engineering and Computer Sciences Berkeley January 1992 to Assistant Professor, Cornell University December 1996 Computer Science October 1991 to Postdoctoral Scientist, Universit´eJoseph Fourier, December 1991 IMAG Laboratory Grenoble 1 Honors Member, US National Academy of Sciences, 2020. Member, American Academy of Arts and Sciences, 2020. ESWEEK (Embedded Systems Week) Test-of-Time Award, 2020. LICS (Logic in Computer Science) Test-of-Time Award, 2020.
    [Show full text]
  • Deadlock Analysis of Wait-Notify Coordination Laneve Cosimo, Luca Padovani
    Deadlock Analysis of Wait-Notify Coordination Laneve Cosimo, Luca Padovani To cite this version: Laneve Cosimo, Luca Padovani. Deadlock Analysis of Wait-Notify Coordination. The Art of Modelling Computational Systems: A Journey from Logic and Concurrency to Security and Privacy - Essays Dedicated to Catuscia Palamidessi on the Occasion of Her 60th Birthday, Nov 2019, Paris, France. hal-02430351 HAL Id: hal-02430351 https://hal.archives-ouvertes.fr/hal-02430351 Submitted on 7 Jan 2020 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Deadlock Analysis of Wait-Notify Coordination Cosimo Laneve1[0000−0002−0052−4061] and Luca Padovani2[0000−0001−9097−1297] 1 Dept. of Computer Science and Engineering, University of Bologna { INRIA Focus 2 Dipartimento di Informatica, Universit`adi Torino Abstract. Deadlock analysis of concurrent programs that contain co- ordination primitives (wait, notify and notifyAll) is notoriously chal- lenging. Not only these primitives affect the scheduling of processes, but also notifications unmatched by a corresponding wait are silently lost. We design a behavioral type system for a core calculus featuring shared objects and Java-like coordination primitives. The type system is based on a simple language of object protocols { called usages { to determine whether objects are used reliably, so as to guarantee deadlock freedom.
    [Show full text]
  • Purely Functional Data Structures
    Purely Functional Data Structures Chris Okasaki September 1996 CMU-CS-96-177 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy. Thesis Committee: Peter Lee, Chair Robert Harper Daniel Sleator Robert Tarjan, Princeton University Copyright c 1996 Chris Okasaki This research was sponsored by the Advanced Research Projects Agency (ARPA) under Contract No. F19628- 95-C-0050. The views and conclusions contained in this document are those of the author and should not be interpreted as representing the official policies, either expressed or implied, of ARPA or the U.S. Government. Keywords: functional programming, data structures, lazy evaluation, amortization For Maria Abstract When a C programmer needs an efficient data structure for a particular prob- lem, he or she can often simply look one up in any of a number of good text- books or handbooks. Unfortunately, programmers in functional languages such as Standard ML or Haskell do not have this luxury. Although some data struc- tures designed for imperative languages such as C can be quite easily adapted to a functional setting, most cannot, usually because they depend in crucial ways on as- signments, which are disallowed, or at least discouraged, in functional languages. To address this imbalance, we describe several techniques for designing functional data structures, and numerous original data structures based on these techniques, including multiple variations of lists, queues, double-ended queues, and heaps, many supporting more exotic features such as random access or efficient catena- tion. In addition, we expose the fundamental role of lazy evaluation in amortized functional data structures.
    [Show full text]
  • The Beacon Calculus: a Formal Method for the flexible and Concise Modelling of Biological Systems
    bioRxiv preprint doi: https://doi.org/10.1101/579029; this version posted November 26, 2019. The copyright holder for this preprint (which was not certified by peer review) is the author/funder, who has granted bioRxiv a license to display the preprint in perpetuity. It is made available under aCC-BY 4.0 International license. The Beacon Calculus: A formal method for the flexible and concise modelling of biological systems Michael A. Boemo1∗ Luca Cardelli2 Conrad A. Nieduszynski3 1Department of Pathology, University of Cambridge 2Department of Computer Science, University of Oxford 3Genome Damage and Stability Centre, University of Sussex Abstract Biological systems are made up of components that change their actions (and interactions) over time and coordinate with other components nearby. Together with a large state space, the complexity of this behaviour can make it difficult to create concise mathematical models that can be easily extended or modified. This paper introduces the Beacon Calculus, a process algebra designed to simplify the task of modelling interacting biological components. Its breadth is demonstrated by creating models of DNA replication dynamics, the gene expression dynamics in response to DNA methylation damage, and a multisite phosphorylation switch. The flexibility of these models is shown by adapting the DNA replication model to further include two topics of interest from the literature: cooperative origin firing and replication fork barriers. The Beacon Calculus is supported with the open-source simulator bcs (https://github.com/MBoemo/bcs.git) to allow users to develop and simulate their own models. Author summary Simulating a model of a biological system can suggest ideas for future experiments and help ensure that conclusions about a mechanism are consistent with data.
    [Show full text]