Introduction to Trace Theory 1 Introduction

Total Page:16

File Type:pdf, Size:1020Kb

Introduction to Trace Theory 1 Introduction Intro duction to Trace Theory tutorial Antoni Mazurkiewicz Institute of Computer Science Polish Academy of Sciences ul Ordona Warszawa and Institute of Informatics Jagiellonian University ul Nawo jki Krakow Poland amazwarsipipanwawpl Novemb er Abstract The concept of traces has b een intro duced for describing nonsequential b e haviour of concurrent systems via its sequential observations Traces represent con current pro cesses in the same way as strings represent sequential ones The theory of traces is used as a to ol for reasoning ab out nonsequential pro cesses as a matter of fact using this theory one can get a calculus of concurrent pro cesses analogous to the ones available for sequential systems In this intro ductory tutorial we discuss a numb er of issues that are at the foundations of trace theory Among the discussed topics are algebraic prop erties of traces dep endence graphs histories xedp oint calculus for nding the b ehaviour of nets comp ositionality and mo dularity Key words concurrency traces pro cesses partial ordering nonsequential systems Intro duction The theory of traces has b een motivated by the theory of Petri Nets and the theory of formal languages and automata Already in s Carl Adam Petri has develop ed the foundations for the theory of concurrent systems In his seminal work he has presented a mo del which is based on the communication of interconnected sequential systems He has also presented an entirely Mazurkiewicz Intro duction to Trace Theory new set of notions and problems that arise when dealing with concurrent systems His mo del or actually a family of netbased mo dels that has b een since generically referred to as Petri Nets has provided b oth an intuitive informal framework for representing basic situations of concurrent systems and a formal framework for the mathematical analysis of concurrent systems The intuitive informal framework has b een based on a very convenient graphical representation of netbased systems while the formal framework has b een based on the token game resulting from this graphical representation The notion of a nite automaton seen as a restricted typ e of Turing Machine has by then b ecome a classical mo del of a sequential system The strength of automata theory is based on the simple elegance of the underlying mo del which admits p owerful mathematical to ols in the investigation of b oth the structural prop erties expressed by the underlying graphlike mo del and the b ehavioural prop erties based on the notion of the language of a system The notion of language has provided a valuable link with the theory of free monoids The original attempt of the theory of traces was to use the well develop ed to ols of formal language theory for the analysis of concurrent systems where the notion of concurrent system is understo o d in very much the same way as it is done in the theory of Petri Nets The idea was that in this way one will get a framework for reasoning ab out concurrent systems which for a numb er of imp ortant problems would b e mathematically more convenient that some approaches based on formalizations of the token game In s when the basic theory of traces has b een formulated the most p opular approach to deal with concurrency was interleaving In this approach concurrency is replaced by nondeterminism where concurrent execution of actions is treated as non deterministic choice of the order of executions of those actions Although the interleaving approach is quite adequate for many problems it has a numb er of serious pitfalls We will briey discuss here some of them b ecause those were imp ortant drawbacks that we wanted to avoid in trace theory By reducing concurrency to nondeterminism one assigns two dierent meanings to the term nondeterministic choice the choice b etween two or more p ossible actions that exclude each other and the lack of information ab out the order of two or more actions that are executed indep endently of each other Since in the theory of concurrent systems we are interested not only in the question what is computed but also in the question how it is computed this identication may b e very misleading This disadvantage of the interleaving approach is wellvisible in the treatment of renement see eg It is widely recognized that renement is one of the basic trans formations of any calculus of concurrent systems from theoretical metho dological and practical p oint of view This transformation must preserve the basic relationship b etween a system and its b ehaviour the b ehaviour of the rened system is the rened b ehaviour of the original system This requirement is not resp ected if the b ehaviour of the system is represented by interleaving Mazurkiewicz Intro duction to Trace Theory Also in considerations concerning inevitability see the interleaving approach leads to serious problems In nondeterministic systems where a choice b etween two partners may b e rep eated innite numb er of times a run discriminating against one of the partners is p ossible an action of an apriori chosen partner is not inevitable On the other hand if the two partners rep eat their actions independently of each other an action of any of them is inevitable However in the interleaving approach one do es not distinguish b etween these two situations b oth are describ ed in the same way Then as a remedy against this confusion a sp ecial notion of fairness has to b e intro duced where in fact this notion is outside of the usual algebraic means for the description of system b ehaviour Finally the identication of nondeterministic choice and concurrency b ecomes a real drawback when considering serializability of transactions To keep consistency of a database to which a numb er of users have concurrent access the database manager has to allow concurrent execution of those transactions that do not interfere with each other To this end it is necessary to distinguish transactions that are in conict from those which are indep endent of each other the identication of the nondeterministic choice in the case of conicting transactions with the choice of the execution order in case of indep endent transactions leads to serious diculties in the design of database managing systems Ab ove we have sketched some of the original motivations that led to the formulation of the theory of traces in Since then this theory has b een develop ed b oth in breadth and in depth and this volume presents the state of the art of the theory of traces Some of the developments have followed the initial motivation coming from concurrent systems while other fall within the areas such as formal language theory theory of partially commutative monoids graph grammars combinatorics of words etc In our pap er we discuss a numb er of notions and results that have played a crucial role in the initial development of the theory of traces and which in our opinion are still quite relevant Preliminary notions Let X b e a set and R b e a binary relation in X R is an ordering relation in X or X is ordered by R if R is reexive xR x for all x X transitive xR y R z implies xR z and antisymmetric xR y and y R x implies x y if moreover R is connected for any x y X either xR y or y R x then R is said to b e a linear or total ordering A set together with an ordering relation is an ordered set Let X b e a set ordered by relation R Any subset Y of X is then ordered by the restriction of R to Y ie by R Y Y The set f n g will b e denoted by By an alphabet we shall understand a nite set of symbols letters alphab ets will b e denoted by greek capital letters eg etc Let b e an alphab et the set of all nite sequences of elements of willl Mazurkiewicz Intro duction to Trace Theory b e denoted by such sequences will b e referred to as strings over Small initial letters a b with p ossible sub or sup erscripts will denote strings small nal latin letters w u v etc will denote strings If u a a a is a string n is called 1 2 n the length of u and is denoted by juj For any strings a a a b b b the 1 2 n 1 2 m concatenation a a a b b b is the string a a a b b b 1 2 n 1 2 m 1 2 n 1 2 m Usually sequences a a a are written as a a a Consequently a will denote 1 2 n 1 2 n symb ol a as well as the string consisting of single symb ol a the prop er meaning will b e always understo o d by a context String of length containing no symb ols is denoted by The set of strings over an alphab et together with the concatenation op eration and the empty string as the neutral element will b e referred to as the monoid of strings over or the free monoid generated by Symb ol is used to denote the monoid of strings over as well the set itself We say that symb ol a occurs in string w if w w aw for some strings w w For 1 2 1 2 each string w dene Alph w the alphabet of w as the set of all symb ols o ccurring in w By w a we shall understand the numb er of o ccurrences of symb ol a in string w Let b e an alphab et and w b e a string over an arbitrary alphab et then w denotes the string projection of w onto dened as follows if w u if w ua a w ua if w ua a Roughly sp eaking pro jection onto deletes from strings all symb ols not in The subscript in is omitted if is understo o d by a context The right cancel lation of symb ol a in string w is the string w a dened as follows a w if a b w b a w ab otherwise for all strings w and symb ols a b It is easy to prove that pro jection and cancellation
Recommended publications
  • Event Structures and Trace Monoids
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Theoretical Computer Science 91 (1991) 285-313 285 Elsevier Event structures and trace monoids Brigitte Rozoy* L.I.U.C. Universitt. 14032 CAEN Cedex, France P.S. Thiagarajan** The Institute of Mathematical Sciences, Madras 600 113, India Communicated by M. Nivat Received May 1989 Abstract Rozoy, B. and P.S. Thiagarajan, Event structures and trace monoids, Theoretical Computer Science 91 (1991) 285-313. Event structures are a poset-based model for describing the behaviour of distributed systems. They give rise to a well-understood class of Scott domains. Event structures are also related to Petri nets in a fundamental way. Trace monoids are a string-based formalism for describing the behaviour of distributed systems. They have an independent theory rooted in the theory of formal languages. Here we obtain a representation of trace monoids in terms of a subclass of labelled event structures. Rozoy, B. and P.S. Thiagarajan, Event structures and trace monoids, Theoretical Computer Science 91 (1991) 2855313. Les structures d’evenements peuvent itre vus comme un modele de representation du comportement des systemes distribues, base sur les ensembles partiellement ordonnes. IIs sont associes de facon classique a une classe de domaines de Scott, et aux reseaux de Petri. Les mono’ides de traces constituent aussi un moddle de description du fonctionnement des systemes distribues, a partir dun formalisme de theorie des langages. Cet article etablit entre eux des theoremes de representation. 0. Introduction In recent years, languages accompanied by a commutability relation (over the alphabet of the language) have received a good deal of attention.
    [Show full text]
  • Technische Universit¨At Dresden
    TECHNISCHE UNIVERSITATÈ DRESDEN FakultatÈ Informatik TUD/ FI98/ 09 - October1998 Daniel Kirsten Technische Berichte Grundlagen der Programmierung Technical Reports Institut fÈur Softwaretechnik I A Connection between the Star Problem ISSN 1430-211X and the Finite Power Property in Trace Monoids Technische UniversitatÈ Dresden FakultatÈ Informatik D-01062 Dresden Germany URL: http://www.inf.tu-dresden.de/ A Connection b etween the Star Problem and the Finite Power Prop erty in Trace Monoids Daniel Kirsten Department of Computer Science Dresden University of Technology D Dresden Germany DanielKirsteninftudresdende httpwwwinftudresdendedk Octob er Abstract This pap er deals with a connection b etween two decision problems for recognizable trace languages the star problem and the nite p ower prop erty problem Due to a theorem by Richomme from we know that b oth problems are decidable in trace monoids which do not contain a C submonoid It is not known whether the star problem or the nite p ower prop erty are decidable in the C or in trace monoids containing a C In this pap er we show a new connection b etween these problems Assume a trace monoid IM I which is isomorphic to the Cartesian Pro duct of two disjoint trace monoids IM I and IM I Assume further a recognizable language L in IM I such that 1 1 2 2 every trace in L contains at least one letter in and at least one letter in Then the 1 2 main theorem of this pap er asserts that L is recognizable i L has the nite p ower prop erty This work has b een supp orted by the p
    [Show full text]
  • On the Theory of One-Step Rewriting in Trace Monoids
    On the theory of one-step rewriting in trace monoids ¡ ¢ Dietrich Kuske and Markus Lohrey £ Department of Mathematics and Computer Science University of Leicester, LEICESTER, LE1 7RH, UK ¤ Universitat¨ Stuttgart, Institut fur¨ Informatik, Breitwiesenstr. 20-22, 70565 Stuttgart, Germany [email protected], [email protected] Abstract. We prove that the first-order theory of the one-step rewriting rela- tion associated with a trace rewriting system is decidable and give a nonelemen- tary lower bound for the complexity. The decidability extends known results on semi-Thue systems but our proofs use new methods; these new methods yield the decidability of local properties expressed in first-order logic augmented by modulo-counting quantifiers. Using the main decidability result, we describe a class of trace rewriting systems for which the confluence problem is decidable. The complete proofs can be found in the Technical Report [14]. 1 Introduction Rewriting systems received a lot of attention in mathematics and theoretical computer science and are still an active field of research. Historically, rewriting systems were in- troduced to solve word problems in certain structures [28]. By the work of Markov [18] and Post [24], this hope vanished as they showed that there exist fixed semi-Thue sys- tems with an undecidable word problem. Despite this result, there are plenty of rewriting systems with a decidable word problem, the most famous class being that of confluent and terminating systems. By Newman’s Lemma, confluence can be decided for termi- nating semi-Thue systems as well as for terminating term rewriting systems.
    [Show full text]
  • Arxiv:2105.02853V2 [Math.GR] 27 Jul 2021 H Uhri Urnl Hd Tdn Tteuiest Fe of University the at Student Ph.D
    THE WORD PROBLEM FOR ONE-RELATION MONOIDS: A SURVEY CARL-FREDRIK NYBERG-BRODDA Dedicated to the memory of S. I. Adian (1931–2020). Abstract. This survey is intended to provide an overview of one of the oldest and most celebrated open problems in combinatorial algebra: the word problem for one-relation monoids. We provide a history of the problem starting in 1914, and give a detailed overview of the proofs of central results, especially those due to Adian and his student Oganesian. After showing how to reduce the problem to the left cancellative case, the second half of the survey focuses on various methods for solving partial cases in this family. We finish with some modern and very recent results pertaining to this problem, including a link to the Collatz conjecture. Along the way, we emphasise and address a number of incorrect and inaccurate statements that have appeared in the literature over the years. We also fill a gap in the proof of a theorem linking special inverse monoids to one-relation monoids, and slightly strengthen the statement of this theorem. Contents Introduction 2 1. Preliminaries 4 1.1. Arghmgog 4 1.2. Notational remarks 5 1.3. Decision problems 5 2. Early results (1914–1960) 8 2.1. Equallengthandself-overlapfreewords 8 2.2. Cancellativity and embeddability 9 2.3. Special monoids 12 3. Compression and reductions (1974–1987) 18 3.1. Weak compression 18 3.2. Strong compression 21 3.3. Two generators 23 4. Adian’s algorithm A (1976–2001) 26 4.1. Two generators, one relation 26 4.2.
    [Show full text]
  • Download This PDF File
    Available online at http://scik.org J. Semigroup Theory Appl. 2016, 2016:8 ISSN: 2051-2937 CATEGORY OF ASYNCHRONOUS SYSTEMS AND POLYGONAL MORPHISMS AHMET HUSAINOV Computer Technology Faculty, Komsomolsk-on-Amur State Technical University, Komsomolsk-on-Amur, Russian Federation Copyright c 2016 A. Husainov. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Abstract. A weak asynchronous system is a trace monoid with a partial action on a set. A polygonal morphism between weak asynchronous systems commutes with the actions and preserves the independence of events. We prove that the category of weak asynchronous systems and polygonal morphisms has all limits and colimits. Keywords: trace monoid; partial monoid action; limits; colimits; asynchronous transition system. 2010 AMS Subject Classification: 18B20, 18A35, 18A40, 68Q85. 1. Introduction Mathematical models of parallel systems find numerous applications in parallel program- ming. They are applied for the development and verification of programs, searching for dead- locks and estimation of runtime. These models are widely applied to the description of seman- tics and the development of languages of parallel programming [23]. There are various models of parallel computing systems [24]. For example, for the solution of the dining philosophers problem, it is convenient to use higher dimensional automata [10], but E-mail address: [email protected] Received July 4, 2016 1 2 AHMET HUSAINOV for a readers/writers problem, it is better to consider asynchronous systems [18]. For comparing these models adjoint functors have been constructed [13, 14, 15, 26].
    [Show full text]
  • Logic -> Proof -> REST
    The College of Wooster Libraries Open Works Senior Independent Study Theses 2018 Logic -> Proof -> REST Maxwell Taylor The College of Wooster, [email protected] Follow this and additional works at: https://openworks.wooster.edu/independentstudy Part of the Algebra Commons, Logic and Foundations Commons, Other Mathematics Commons, Software Engineering Commons, Systems Architecture Commons, and the Theory and Algorithms Commons Recommended Citation Taylor, Maxwell, "Logic -> Proof -> REST" (2018). Senior Independent Study Theses. Paper 8289. https://openworks.wooster.edu/independentstudy/8289 This Senior Independent Study Thesis Exemplar is brought to you by Open Works, a service of The oC llege of Wooster Libraries. It has been accepted for inclusion in Senior Independent Study Theses by an authorized administrator of Open Works. For more information, please contact [email protected]. © Copyright 2018 Maxwell Taylor Logic Proof REST ! ! Independent Study Thesis Presented in Partial Fulfillment of the Requirements for the Degree Bachelor of Arts in the Department of Mathematics and Computer Science at The College of Wooster by Maxwell Taylor The College of Wooster 2018 Advised by: Dr. Denise Byrnes Dr. Robert Kelvey Abstract REST is a common architecture for networked applications. Applications that adhere to the REST constraints enjoy significant scaling advantages over other architectures. But REST is not a panacea for the task of building correct software. Algebraic models of computation, particularly CSP, prove useful to describe the composition of applications using REST. CSP enables us to describe and verify the behavior of RESTful systems. The descriptions of each component can be used independently to verify that a system behaves as expected.
    [Show full text]
  • The Star Problem and the Finite Power Property in Trace Monoids: Reductions Beyond C4
    CORE Information and Computation 176, 22–36 (2002) Metadata, citation and similar papers at core.ac.uk Provided by Elsevier - Publisher Connectordoi:10.1006/inco.2002.3152 The Star Problem and the Finite Power Property in Trace Monoids: Reductions beyond C4 Daniel Kirsten Institute of Algebra, Dresden University of Technology, D-01062 Dresden, Germany E-mail: [email protected] ∼ URL: www.math.tu-dresden.de/ kirsten Received April 18, 2001 We deal with the star problem in trace monoids which means to decide whether the iteration of K ={ , }∗ ×···× a recognizable trace language is recognizable. We consider trace monoids n a1 b1 ∗ {an, bn} . Our main result asserts that the star problem is decidable in some trace monoid M iffitis decidable in the biggest Kn submonoid in M. Consequently, future research on the star problem can focus on the trace monoids Kn. We develop the main results of the paper for the finit power problem. Then, we establish the link to the star problem by applying the recently shown decidability equivalence between the star problem and the finit power problem (D. Kirsten and G. Richomme, 2001, Theory Comput. Systems 34, 193–227). C 2002 Elsevier Science (USA) 1. INTRODUCTION We deal with the star problem in free, partially commutative monoids, also known as trace monoids. The star problem was raised by Ochma´nskiin 1984 [29]. It means to decide whether the iteration of a recognizable trace language is recognizable. Due to a theorem by Richomme from 1994 [35] the star ∗ ∗ problem is decidable in trace monoids which do not contain a submonoid isomorphic to {a, b} ×{c, d} .
    [Show full text]
  • Representation of Computations in Concurrent Automata by Dependence Orders ’
    Theoretical Computer Science ELSEVIER Theoretical Computer Science 174 (1997) 67-96 Representation of computations in concurrent automata by dependence orders ’ Felipe Bracho a, Mantied Droste b,**2,Dietrich Kuske b,2 a IIh4AS, Universidad National Autdnoma de Mkxico, 01000 MPxico D.F. b Institut fir Algebra, Technische Vniversitiit Dresden, D-01062 Dresden, Germany Received January 1995; revised November 1995 Communicated by D. Perrin Abstract An automaton with concurrency relations d is a labelled transition system with a collection of binary relations indicating when two actions in a given state of the automaton can occur independently of each other. The concurrency relations induce a natural equivalence relation for finite computation sequences. We investigate two graph-theoretic representations of the equiva- lence classes of computation sequences and obtain that under suitable assumptions on & they are isomorphic. Furthermore, the graphs are shown to carry a monoid operation reflecting precisely the composition of computations. This generalizes fundamental graph-theoretical representation results due to Mazurkiewicz in trace theory. 1. Introduction In the theory of concurrency, many different models have been investigated inten- sively including e.g. Petri nets [41], CCS [35] and CSP [26]. The behaviour of Petri nets led Mazurkiewicz [32,34] to the investigation of trace alphabets and their associated trace monoids, a mathematical model for the sequential behaviour of a parallel system in which the order of two independent actions is regarded as irrelevant. Trace theory has now a well-developed mathematical theory, see [I, 12, 131 for surveys. One of its foundational results [34], used in many difficult applications (cf. [38,47, 12,24,44,21 I), is that each element of the (algebraically defined) trace monoid has a graph-theoretical representation.
    [Show full text]
  • Trace Theory
    Trace Theory Volker Diekert Anca Muscholl April 2011 Abstract Trace Theory denotes a mathematical theory of free partially com- mutative monoids from the perspective of concurrent or parallel sys- tems. Traces, or equivalently, elements in a free partially commutative monoid, are given by a sequence of letters (or atomic actions). Two sequences are assumed to be equal if they can be transformed into each other by equations of type ab = ba, where the pair (a; b) be- longs to a predefined relation between letters. This relation is usually called partial commutation or independence. With an empty indepen- dence relation, i.e., without independence, the setting coincides with the classical theory of words or strings. Introduction The analysis of sequential programs describes a run of a program as a se- quence of atomic actions. On an abstract level such a sequence is simply a string in a free monoid over some (finite) alphabet of letters. This purely ab- stract viewpoint embeds program analysis into a rich theory of combinatorics on words and a theory of automata and formal languages. The approach has been very fruitful from the early days where the first compilers have been written until now where research groups in academia and industry develop formal methods for verification. Efficient compilers use autoparallelization which provides a natural exam- ple of independence of actions resulting in a partial commutation relation. For example, let a; b; c; a; d; e; f be a sequence of arithmetic operations where: (a) x := x + 2y; (b) x := x − z; (c) y := y · 5z (d) w := 2w; (e) z := y · z; (f) z := x + y · w: A concurrent-read-exclusive-write protocol yields a list of pairs of inde- pendent operations (a; d), (a; e), (b; c), (b; d), (c; d), and (d; e), which can 1 be performed concurrently or in any order.
    [Show full text]
  • Finite Transducers for Divisibility Monoids Matthieu Picantin
    Finite transducers for divisibility monoids Matthieu Picantin To cite this version: Matthieu Picantin. Finite transducers for divisibility monoids. 2006. hal-00016875 HAL Id: hal-00016875 https://hal.archives-ouvertes.fr/hal-00016875 Preprint submitted on 13 Jan 2006 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. Finite transducers for divisibility monoids Matthieu PICANTIN LIAFA CNRS UMR 7089 Universite´ Paris 7 Denis Diderot F-75251 Paris France Abstract Divisibility monoids are a natural lattice-theoretical generalization of Mazurkiewicz trace monoids, namely monoids in which the distributivity of the involved divisibility lattices is kept as an hypothesis, but the relations between the generators are not supposed to neces- sarily be commutations. Here, we show that every divisibility monoid admits an explicit finite transducer which allows to compute normal forms in quadratic time. In addition, we prove that every divisibility monoid is biautomatic. Key words: divisibility monoid, transducer, normal form, automatic monoid. 1 Introduction The goal of this paper is to establish the following result : Main Theorem. Every left divisibility monoid admits an explicit finite transducer which allows to compute right normal forms in quadratic time. Mazurkiewicz’s trace theory provides a well-investigated mathematical model for the sequential behavior of a parallel system in which the order of two independent actions is regarded as irrelevant.
    [Show full text]
  • Complexity Results for Confluence Problems
    Complexity Results for Confluence Problems Markus Lohrey Universit¨atStuttgart, Institut f¨urInformatik Breitwiesenstr. 20{22, 70565 Stuttgart, Germany e{mail: [email protected] Abstract. We study the complexity of the confluence problem for re- stricted kinds of semi{Thue systems, vector replacement systems and general trace rewriting systems. We prove that confluence for length{ reducing semi{Thue systems is P{complete and that this complexity reduces to NC2 in the monadic case. For length{reducing vector re- placement systems we prove that the confluence problem is PSPACE{ complete and that the complexity reduces to NP and P for monadic sys- tems and special systems, respectively. Finally we prove that for special trace rewriting systems, confluence can be decided in polynomial time and that the extended word problem for special trace rewriting systems is undecidable. 1 Introduction Rewriting systems that operate on different kinds of objects have received a lot of attention in computer science. Two of the most intensively studied types of rewriting systems are semi{Thue systems [BO93], which operate on free monoids, and vector replacement systems (or equivalently Petri{nets), which operate on free commutative monoids. Both of these types of rewriting systems may be seen as special cases of trace rewriting systems [Die90]. Trace rewriting systems operate on free partially commutative monoids, which are in computer science better known as trace monoids. Trace monoids were introduced by [Maz77] into computer science as a model of concurrent systems. Confluence is a very desirable property for all kinds of rewriting systems since it implies that the order in which rewrite steps are performed is irrelevant.
    [Show full text]
  • Uniform and Bernoulli Measures on the Boundary of Trace Monoids
    Uniform and Bernoulli measures on the boundary of trace monoids Samy Abbes Jean Mairesse University Paris Diderot { Paris 7 CNRS, LIP6 UMR 7606 CNRS Laboratory PPS (UMR 7126) Sorbonne Universit´es Paris, France UPMC Univ Paris 06, France [email protected] [email protected] Abstract Trace monoids and heaps of pieces appear in various contexts in com- binatorics. They also constitute a model used in computer science to describe the executions of asynchronous systems. The design of a na- tural probabilistic layer on top of the model has been a long standing challenge. The difficulty comes from the presence of commuting pieces and from the absence of a global clock. In this paper, we introduce and study the class of Bernoulli probability measures that we claim to be the simplest adequate probability measures on infinite traces. For this, we strongly rely on the theory of trace combinatorics with the M¨obius polynomial in the key role. These new measures provide a theoretical foundation for the probabilistic study of concurrent systems. 1|Introduction Trace monoids are finitely presented monoids with commutation relations be- tween some generators, that is to say, relations of the form a · b = b · a. Trace monoids have first been studied in combinatorics under the name of partially commutative monoids [7]. It was noticed by Viennot that trace monoids are ubiquitous both in combinatorics and in statistical physics [27]. Trace monoids have also attracted a lasting interest in the computer science community, since it was realized that they constitute a model of concurrent systems which are computational systems featuring parallel actions; typically, parallel access to distributed databases or parallel events in networked sys- tems [11, 12].
    [Show full text]