Modelling Concurrency with Comtraces and Generalized Comtraces Ryszard Janicki∗ Department of Computing and Software, McMaster University, Hamilton, ON, L8S 4K1 Canada Dai Tri Man Lˆe Department of Computer Science, University of Toronto, Toronto, ON, M5S 3G4 Canada Abstract Comtraces (combined traces) are extensions of Mazurkiewicz traces that can model the “not later than” relationship. In this paper, we first introduce the novel notion of generalized comtraces, extensions of comtraces that can additionally model the “non-simultaneously” relationship. Then we study some basic algebraic properties and canonical reprentations of comtraces and general- ized comtraces. Finally we analyze the relationship between generalized comtraces and general- ized stratified order structures. The major technical contribution of this paper is a proof showing that generalized comtraces can be represented by generalized stratified order structures. Key words: generalized trace theory, trace monoid, step sequence, stratified partial order, stratified order structure, canonical representation Contents 1 Introduction 2 1.1 Amotivatingexample.... .... .... ... .... .... .... ... .. 3 1.1.1 Program P1 ................................. 4 1.1.2 Programs P2 and P3 ............................. 5 1.1.3 Program P4 ................................. 6 1.1.4 Summary of Analysis of P1,P2,P3 and P4 ................. 6 arXiv:0907.1722v5 [cs.LO] 31 Aug 2011 1.1.5 Intuition for comtraces and generalized comtraces . .......... 6 1.2 Summaryofcontributions . ... 7 1.3 Organization.................................... 8 2 Orders, Monoids, Sequences and Step Sequences 8 2.1 Relations,ordersandequivalences . ........ 8 2.2 Monoidsandequationalmonoids. ..... 9 2.3 Sequences,stepsequencesandpartialorders . ........... 10 ∗Corresponding author Email addresses:
[email protected] (Ryszard Janicki),
[email protected] (Dai Tri Man Lˆe) Preprint submitted to Elsevier June 10, 2018 3 Traces vs.