Technical Report: SRI-CSL July Computer Science Laboratory, SRI International, Menlo Park. also. Technical Report: TR-98-09
|
|
- Augustus Wilkerson
- 5 years ago
- Views:
Transcription
1 Technical Report: SRI-CSL July 1998 Computer Science Laoratory, SRI International, Menlo Park also Technical Report: TR Dipartimento di Informatica, Universita di Pisa Process and Term Tile Logic Roerto BRUNI Jose MESEGUER Ugo MONTANARI Dipartimento di Informatica Computer Science Laoratory Dipartimento di Informatica Universita di Pisa SRI International Universita di Pisa Corso Italia Ravenswood Ave. Corso Italia Pisa, Italy Menlo Park, CA 94025, USA Pisa, Italy
2 Process and Term Tile Logic Roerto Bruni y runi@di.unipi.it Jose Meseguer z meseguer@csl.sri.com Ugo Montanari x ugo@di.unipi.it Astract In a similar way as 2-categories can e regarded as a special case of doule categories, rewriting logic (in the unconditional case) can e emedded into the more general tile logic, where also side-eects and rewriting synchronization are considered. Since rewriting logic is the semantic asis of several language implementation eorts, it is useful to map tile logic ack into rewriting logic in a conservative way, to otain executale specications of tile systems. We extend the results of earlier work y two of the authors, focusing on some interesting cases where the mathematical structures representing congurations (i.e., states) and eects (i.e., oservale actions) are very similar, in the sense that they have in common some auxiliary structure (e.g., for tupling, projecting, etc.). In particular, we give in full detail the descriptions of two such cases where (net) process-like and usual term structures are employed. Corresponding to these two cases, we introduce two categorical notions, namely, symmetric strict monoidal doule category and cartesian doule category with consistently chosen products, which seem to oer an adequate semantic setting for process and term tile systems. The new model theory of 2EVH-categories required to relate the categorical models of tile logic and rewriting logic is presented making use of a recently developed framework, called partial memership equational logic, particularly suitale to deal with categorical structures. Consequently, symmetric strict monoidal and cartesian classes of doule categories and 2-categories are compared through their emedding in the corresponding versions of 2EVH-categories. As a result of this comparison, we otain a correct rewriting implementation of tile logic. This implementation uses a meta-layer to control the rewritings, so that only tile proofs are accepted. Making use of the reective capailities of the Maude language, some (general) internal strategies are then dened to implement the mapping from tile systems into rewriting systems, and some interesting applications related to the implementation of concurrent process calculi are presented. Research supported y Oce of Naval Research Contracts N C-0225 and N C-0114, y National Science Foundation Grant CCR , and y the Information Technology Promotion Agency, Japan, as part of the Industrial Science and Technology Frontier Program \New Models for Software Architechture" sponsored y NEDO (New Energy and Industrial Technology Development Organization). Also research supported in part y U.S. Army contract DABT63-96-C-0096 (DARPA); CNR Integrated Project Metodi e Strumenti per la Progettazione e la Verica di Sistemi Eterogenei Connessi mediante Reti di Comunicazione; and Esprit Working Groups CONFER2 and COORDINA. Research carried out in part while the rst and the third authors were visiting at Computer Science Laoratory, SRI International, and the third author was visiting scholar at Stanford University. y Dipartimento di Informatica, Universita di Pisa. Corso Italia n.40, Pisa, Italia. z Computer Science Laoratory, SRI International. 333 Ravenswood Av., Menlo Park CA , U.S.A. x Dipartimento di Informatica, Universita di Pisa. Corso Italia n.40, Pisa, Italia. 1
3 Contents 1 Introduction 4 2 Tile Logic Background : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Algeraic Theories : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Rewriting Logic : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Algeraic Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Nave Process Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : The Inference Rules for Process Tile Logic : : : : : : : : : : : : : : : : : : : Proof Terms for Process Tile Logic : : : : : : : : : : : : : : : : : : : : : : : Axiomatizing Process Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : Nave Term Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : The Inference Rules for Term Tile Logic : : : : : : : : : : : : : : : : : : : : Proof Terms for Term Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : Axiomatizing Term Tile Logic : : : : : : : : : : : : : : : : : : : : : : : : : : 32 3 Doule Categories Notation : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Inverse : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Diagonal Categories : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Transformations etween Doule Functors : : : : : : : : : : : : : : : : : : : : : : : Symmetric Monoidal Doule Categories : : : : : : : : : : : : : : : : : : : : : : : : Cartesian Doule Categories (with consistently chosen products) : : : : : : : : : : 44 4 Relating Doule Categories with Extended 2-Categories Partial Memership Equational Logic : : : : : : : : : : : : : : : : : : : : : : : : : Partial Algeras and Memership Equational Theories : : : : : : : : : : : : The Tensor Product Construction : : : : : : : : : : : : : : : : : : : : : : : Categories and 2VH-Categories : : : : : : : : : : : : : : : : : : : : : : : : Extended 2VH-Categories : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Monoids and Symmetries : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Cartesian Theories : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 63 5 Computads VH-computads : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Term Tile Rewriting Systems and Computads : : : : : : : : : : : : : : : : : : : : : 70 6 Dealing with Nondeterminism Nondeterministic Rewriting Systems : : : : : : : : : : : : : : : : : : : : : : : : : : Internal Strategies in Rewriting Logic : : : : : : : : : : : : : : : : : : : : : : : : : Collective Strategies in Maude : : : : : : : : : : : : : : : : : : : : : : : : : : : : : The Kernel : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Collection of Rewritings : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Nondeterminism and Term Tile Systems : : : : : : : : : : : : : : : : : : : : : : : : Non Uniform Case : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Uniform Case : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 85 7 Maude as a Semantic Framework Finite CCS : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : Concurrent and Located CCS : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 97 A The Axioms of Process Tile Logic 114 2
4 B The Axioms of Term Tile Logic 115 C Hypertransformations 118 C.1 The 3-fold category SqD : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 120 C.2 The 4-fold category SqSqD : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 120 C.3 Hypertransformations : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 120 D Maude 122 D.1 Basic Syntax : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 122 D.2 Shorthands : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 124 D.2.1 Variale Declarations : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 124 D.2.2 Susort Declarations : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 124 D.2.3 Memership Assertions : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 125 D.2.4 Using iff in a Conditional Sentence : : : : : : : : : : : : : : : : : : : : : : 125 D.3 Built-ins : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 126 D.3.1 Booleans : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 126 D.3.2 Machine Integers : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 126 D.3.3 Quoted Identiers : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 126 D.4 The Meta-Level : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 126 D.5 Parametric Modules and Inx Operators : : : : : : : : : : : : : : : : : : : : : : : : 128 3
5 1 Introduction The tile model [32, 35] is a formalism for modular descriptions of the dynamic evolution of concurrent systems. The idea is that a set of rules denes the ehaviour of certain asic modules, which may interact through their interfaces. Roughly speaking, we consider a module to e just an open (e.g., partially specied) conguration of the system. Then, the ehaviour of a whole system is dened as a coordinated evolution of its sumodules. The name \tile" is due to the graphic representation of such rules. Graphically, a tile has the form a s s 0 and textually it is written s?! a s 0, stating that the initial conguration s of the system evolves to the nal conguration s 0 producing an eect, which can e oserved y the rest of the system. However, such a step is allowed if and only if the sucomponents of s (which is in general an open conguration) evolve to the sucomponents of s 0, producing the trigger a. The vertices of the tile are called interfaces. Tiles can e composed horizontally (through side eects), vertically (computational evolutions of a certain component), and in parallel (concurrent steps) to generate larger steps. It is evident that the tile model extends rewriting logic [50] (in the nonconditional case), taking into account rewriting with side eects and rewriting synchronization, and can e naturally equipped with oservational equivalences and congruences ased on eects. In fact, in (non-conditional) rewriting systems, oth triggers and eects are just identities; therefore rewriting steps may e applied freely, i.e., without interacting with the rest of the system. Thus, unconditional rewriting logic is oviously emedded in the tile formalism as a special case. The main goal of this paper is to investigate this connection in the opposite direction extending the results of [58] to the case in which congurations and eects rely on common auxiliary structures (e.g., for tupling, projecting or permuting interfaces). This is useful ecause there exist several languages ased on rewriting logic, and the implementation of a conservative mapping of tiles into rewriting logic supports the execution of tile specications. The nature of such structures will e more evident after a rief survey of the motivation for the introduction of tile systems, and of the techniques and tools employed in their semantical characterization. The rich compositional nature of the tile model is the result of a progressive exploration of mathematical structures allowing for nitary descriptions of complex context-dependent transition systems. In Computer Science, (laelled) transition systems are one of the most widely used formalisms, intuitively arising from the operational understanding of a computational system. First, an astract description of the system is dened, whose set of congurations (i.e., the feasile assignments to memory cells, registers, data structures, etc.) gives the set of states S of the transition system. Then, a transition relation T S S is dened, representing the possile evolutions of the system. A set of actions (or laels) A is sometimes introduced to take into account also oservational aspects: T ecomes a ternary relation T S A S, and an external oserver may have discriminating capailities over dierent evolutions etween the same pair of states. In many cases, taking advantage of a possile compositional structure over the states, the relation T can e inductively dened according to that structure. As an example, the states of a Petri net [66] are multisets of places, an elementary evolution is a transition t that rewrites a multiset u t to a multiset v t, and a transition can re (i.e., e executed) in every state u with u t u, leading to the state v u u t v t, where,, and respectively denote multiset inclusion, dierence and union. Thus, evolutions of a multiset are dened in terms of its susets, and disjoint susets may concurrently evolve. Another signicant paradigm is given y term rewriting systems [50], where the states are terms of an algera, and elementary evolutions are rewriting steps otained (y closure under sustitution and contextualization) from a set of rewriting rules (with free variales). Also the well-known structural operational semantics approach (SOS) [65] 4
6 is a relevant generalization of this kind of methodology. We are especially interested in SOS specications for process description algeras [2, 39, 59], where states are terms of a free algera { whose operators reect the asic composition aspects of the system { and a set of inference rules (guided y the structure of the states) inductively denes the transition relation. In recent years, the expressiveness and properties of a variety of SOS rule formats have een investigated and compared [67, 5, 37, 4]. Context systems [43], and structured transition systems [22, 26] are two interesting developments of the SOS approach. In the former, the transition relation is extended to contexts (that is, terms where free variales may occur) instead of closed terms, thus characterizing the ehaviour of partially specied components of a system. In the latter, also transitions are equipped with an algeraic structure, usually y lifting the structure dened on the states in such a way that computationally equivalent evolutions are identied in the algera of transitions. A similar methodology is also at the asis of rewriting logic [51, 53]: a logic theory is associated to a term rewriting system, in such a way that each computation represents a sequent entailed y the theory. The entailment relation is specied y means of simple inference rules, accordingly to the term algera under consideration. As an important result, equivalent computations correspond to the same sequent, and therefore deduction ecomes equivalent to concurrent computing. The tile model [32, 35] allows expressing rewrite rules with side eects, extending oth the SOS approach and also context systems to a framework where the rules have a very general format, and, as already noticed, trigger and eects extends also rewriting systems with a mechanism of rewriting synchronization. This aspect is very important when modelling process algeras via a rewrite system, ecause the ehaviour of most process algeras depends on the interaction etween agents and \the rest of the world". By analogy with rewriting logic, the tile model also comes equipped with a purely logical presentation [35], where tiles are just considered as special (proof) sequents suject to certain inference rules. Since rewriting logic can e considered as a semantic framework for the study of concurrent systems with state changes, tile logic can e thought of as a logic of concurrent systems with conditional state changes and synchronization. Given a tile system, the associated tile logic is otained y adding some auxiliary tiles and then freely composing in all possile ways (i.e., horizontally, vertically and in parallel) oth auxiliary and asic tiles. Auxiliary tiles may e necessary to represent consistent rearrangements of the interfaces due to the topological structure of the actual conguration. To give a formal denition of auxiliary structure we assume the existence of the categories of congurations and eects (e.g., states in S and actions in A of the associated transition systems are arrows of categories). The advantages of using category theory in computer science are well summarized in [36]. We just remark here the following aspects: (a) suitale classes of (structure-preserving) functors etween categories (representing transition systems) oer an immediate denition of simulation morphism etween the underlying systems; () considering categories \in the small" (i.e., ojects are states and arrows are computations), a commuting diagram may identify \computationally equivalent ehaviours", also from a concurrent viewpoint; (c) considering categories \in the large" (i.e., ojects are categorical models and arrows are simulation functors), isomorphisms may e used to characterize equivalent models; (d) universal constructions (i.e., adjunctions, (co)reections, etc.) may e used to dene a notion of optimal model; (e) (co)limits often summarize useful compositions also from a model theoretic viewpoint. Moreover, categories generalize transition systems in an ovious way: states are ojects and transitions are arrows equipped with a partial composition operator ; (associative and with identities), corresponding to the intuitive sequential composition of transitions for expressing computations (identities represent idle components of the system). As an example, monoidal categories can eectively model Petri net ehaviours [57]; in particular, for each Petri net N, there exists a freely generated strictly symmetric strict monoidal category T [N] such that the monoidal operation denes parallel composition of Best-Devillers processes, and the functoriality axiom (of tensor product ) expresses a asic fact aout the true concurrency of the model. A second example, showing that the use of categories oer a general and convenient characterization also of congurations, is given y Lawvere theories. An algeraic theory [44, 45, 40] is just a cartesian category having natural numers as ojects. The free algeraic theory associated to a (one-sorted) signature is called the Lawvere theory for, and is denoted y Th[] (also L ): the arrows from m 5
7 @? to n are in a one-to-one correspondence with n-tuples of terms of the free -algera with (at most) m variales, and composition is term sustitution. In a certain sense, a Lawvere theory is just an alternative presentation of a signature, ecause the additional structure (for tupling, projecting and permuting the elements of a tuple) is generated in a completely free way: only the operators of the signature contain information, whereas the other constructors add nothing ut auxiliary structure. From this point of view, the use of a wires and oxes notation turns out to e very useful for a visual and intuitive understanding of the role played y auxiliary structure: variales are represented y wires (we assume an implicit total order of the variales involved) and the operator of the signature are denoted y oxes laelled with the name of the operator. For instance, the term f(x 1 ; g(x 2 ); h(x 1 ; a)) over the signature fa : 0?! 1; g : 1?! 1; h : 2?! 1; f : 3?! 1g and variales x 1 < x 2 admits the following graphical representation: x 1 a h x 2 g f It should e ovious that wire duplications (e.g., of x 1 ) and crossing of wires (e.g., of x 2 and a copy of x 1 ) are auxiliary, in the sense that they elong to any wires and oxes model, independently from the underlying signature. It follows that, if we use the wires and oxes notation for congurations and eects, then this kind of operations (e.g., rearrangements of wires) elongs to oth dimensions (i.e., they are shared). Moreover, consistent rearrangements of wires on oth dimensions do not change the meaning of a rule, ut only its interface. To illustrate this point, let us consider a simple tile system where the aove signature is the signature of congurations, and 0 fs : 1?! 1; t : 2?! 1g is the signature of eects, having the following asic tiles: a y x 2 1 g 2 y z 1 w 1 t x 1 U UUUUUUUUUUUUUUU 7 7x ~ 7 ~ 7 ~ 7 ~ ~ 7 7 x t z 1 f y 1 s Q QQQQQQQQQ( z 2 h w 1 Then, it should e clear that the conguration f(a; x 1 ; g(x 2 )) should e ale to evolve to h(x 1 ; x 2 ), producing an eect s (as a result of the horizontal composition, or synchronization, of the two tiles). However, we cannot compose the tiles in the ovious way without rearranging the interfaces, ecause the arguments of trigger t are separated y a variale in the initial (input) interface of the second tile (notice the crossing of wires), while the rst tile applies only to adjacent arguments (notice that it is always possile to put an idle component in parallel with the rst tile to model the second argument of f). Thus we have the following nave characterization of auxiliary tiles: Auxiliary tiles coincide with the consistent rearrangements of interfaces in oth dimensions, where consistency means that the composition of the wire transformations induced y the initial conguration and the eect of the tile is equivalent to the composition of the wire transformations due to the trigger and the nal conguration. 6
8 Algeraic theories provide a clear mathematical representation of auxiliary constructors as suitale natural transformations, whose components are called symmetries, duplicators, and dischargers. This result will e very useful to relate our nave denition with a more formal denition. Lawvere theories introduce a very general notion of model (i.e., chosen functor from Th[] to a cartesian category with chosen products C) and model morphism (i.e., natural transformation etween two models). This fact has een well-exploited in the categorical semantics of rewriting systems. In fact, in the eld of term rewriting, the states are terms over a certain signature (i.e., arrows of the associated Lawvere theory), and rewriting steps are transitions etween two terms (with variales). It has een shown in [50], that a rewriting theory R yields a cartesian 2-category 1 L R, which does for R what a Lawvere theory does for a signature (i.e., models can e dened as 2-product-preserving 2-functors). Gadducci and Montanari pointed out in [33], that if also side-eects are to e taken into consideration during the rewriting process, then doule categories [25, 1, 41] should e considered as a natural model. A doule category can e informally descried as the superposition of a horizontal and a vertical category of cells, the former dening eect propagations, and the latter descriing state evolutions. Then, in the same way as the term algera is freely generated y a signature, and the initial model of rewriting logic is freely generated from the rules of the rewriting system, the tiles freely generate a (monoidal) doule category which constitutes the natural operational characterization 2 in the spirit of initial model semantics. In this paper we consider two main interesting cases of shared auxiliary structures. In particular the notions of Process Tile Logic and Term Tile Logic are introduced: Flat (e.g., any two sequents having the same \order" are identied, thus no emphasis is given upon the axiomatization of logic proofs) versions of process tile logic have een shown to e especially useful for dening compositional models of computation of moile calculi, and causal and located concurrent systems [27, 28]. The auxiliary tiles of process tile logic express consistent permutations of interfaces along the horizontal and vertical structures. Term tile logic should represent the ovious extension of term rewriting logic. Connections etween the two logics are particularly interesting ecause in oth logics the underlying cartesian category structure manifests itself at the level of syntax, allowing the use of the standard term notation with term sustitution as composition. The auxiliary tiles of term tile logic allow consistent permutations of interfaces along the horizontal and vertical structures (as for process tile logic), consistent free copying, and consistent projections on sucomponents. The natural semantics of process and term tile logics are given in terms of suitale classes of doule categories whose equational axioms identify intuitively equivalent tile computations. For this purpose, we introduce the notions of Symmetric strict monoidal doule categories and Cartesian doule categories (\with consistently chosen products"). As far as we know these denitions are new, ecause all the previous attempts (ased on internal constructions) for analogous notions have led to asymmetric models, where the auxiliary structure (i.e., symmetries, duplicators, and dischargers) is fully exploited in one dimension only. We elieve that this should not e the case, oth conceptually and for the kind of applications we have in mind; therefore we propose a roader notion of doule cartesianity y developing an alternative approach, following the idea of hypertransformations [25] for many-fold categories, and exploiting the results for doule categories. In particular, we dene the notion of generalized transformations, which act in oth dimensions, and assert the coherence of the two ways of transforming the structure. Then, we instantiate the denition to the special cases of symmetries, duplicators, and dischargers, in a similar way as it 1 A 2-category [41, 46] is a category C such that, for any two ojects a, and, the class C[a; ] of arrows from a to in C, forms a (vertical) category. The arrows of these hom-categories are called cells and satisfy particular composition properties. As an example, the category Cat of categories and functors is a 2-category. Actually, Cat[C; C 0 ] is the category having the functors from C to C 0 as ojects, and the natural transformations etween such functors as arrows. 2 The tiles are cells, the contexts are arrows of the 1-horizontal category, the side-eects are the arrows of the vertical 1-category, and 0-ojects model connections etween the somehow syntactic horizontal category and the dynamic vertical evolution. 7
9 0. B happens for the 1-dimensional case. Moreover, y doing that, we give evidence for the usefulness of axiomatizing the resulting doule categories, thus allowing for the denition of more signicant models than the at ones. Actually such models could also take into account the structure of proofs. This approach motivates the following formal characterization of auxiliary tiles: Auxiliary tiles for process and term tile logic are suitale generalized transformations respecting some coherence equations, where coherence means that they are uniquely dened. The comparison etween tile logic and rewriting logic is carried out y emedding their corresponding categorical models in a recently developed, more general framework, called partial memership equational logic [54, 56, 10]. In doing so, we extend the result of [58], y dening an extended version of 2-categories, called 2EVH-categories, providing a systematic connection etween models of tile logic and of rewriting logic. The idea is to \stretch" doule cells into ordinary 2-cells as pictured elow, mantaining the capaility to distinguish etween congurations and eects, whereas the auxiliary structure ecomes shared, i.e., it elongs to oth classes. s s a s 0 a + s 0 Doing this, 2EVH-categories are ale to simulate { in the sense that the algeraic structure of the original doule categories is recoverale in terms of operations on 2-cells { the structure of doule categories, where oth the horizontal and vertical 1-categories share some non-trivial structure other than ojects. In this attening process we must e careful aout two issues, namely, the possile identication of distinct doule cells, and the possile existence of 2-cells having correct horizontal-vertical partition of the source and vertical-horizontal partition of the target, ut which do not represent any doule cell. From the facts that: (1) each arrow of a 2-category can e viewed as an identity 2-cell, (2) each auxiliary operator is a shared arrow, and (3) auxiliary tiles are consistent (in the sense that the composition of s with is equivalent to the composition of a with s 0 ), it follows that 2EVH-categories allow for a third characterization of auxiliary tiles: Auxiliary tiles coincide with the possile square-shaped decompositions of the identity 2-cells associated to auxiliary constructors. We will show that the three dierent denitions of auxiliary tiles that we have sketched in this introduction coincide. Partial memership equational logic is particularly suitale for the modelling and the emedding of categorical structures, rstly ecause the sequential composition of arrows is a partial operation (e.g., it is dened if and only if the target of the rst argument is equal to the source of the second argument), and secondly ecause memership predicates over a poset of sorts allow modelling the ojects as a suset of the arrows and arrows as a suset of cells (as it is usually done in category theory). Moreover, the tensor product construction illustrated in [58] can e easily formulated in partial memership equational logic and this allows for a convenient denition of monoidal doule categories as the tensor product of the theory of categories (twice) with the theory of monoids. Though the results are very satisfying from a theoretical perspective, they cannot e applied directly to rewriting implementations of tile systems, ecause we are interested only in correct computations. Indeed, we need suitale meta-strategies to control the possile nondeterminism contained in a tile specication and in its translation. This could e summarized y saying that \the rewriting engine must e ale to lter rewriting computations". To overcome this diculty, we make use of the reective capailities [17, 18] of the rewriting logic language Maude [15] to dene suitale internal strategies [19], which help the user control the computation and collect (some of) the possile (correct) results. The key point is that the internal strategies dened here 8
10 for simulating tile systems can also e thought of as general meta-strategies for rewriting systems in general. We have experimented with Maude some executale tile specications of interesting CCS-like process calculi, and have successfully developed and applied general internal strategies to lter and collect tile computations. The structure of the paper is as follows. In Section 2 we recall some asic facts aout algeraic theories, rewriting logic, and tile logic (Section 2.1), and then we introduce the new tile models ased on process-like and term structures of congurations and eects. Each model is presented in its at version rst, then is equipped with an algera of proofs, and then naturally equivalent proof terms are equated to characterize the natural semantic framework of the logic. In Section 3, we introduce suitale categorical models for process and term tile logic, developing the notion of generalized transformation and diagonal categories to deal with symmetries, duplicators and dischargers. As a result, we propose a precise characterization of symmetric strict monoidal doule categories and cartesian doule categories with chosen products. In Section 4 and 5 we present the full comparison etween tile logic and rewriting logic through partial memership equational logic, then showing how to map tiles into ordinary rewrite rules. As a result of this comparison, we otain a correct rewriting implementation of tile logic, in which dierent tile sequents having the same \order" cannot always e distinguished. This implementation requires a meta-layer to control the rewritings, so that only tile proofs are accepted. In Section 6 we present some general meta-strategies (written in the Maude language) fullling this last requirement. In Section 7 we apply the previous results to show how Maude { thanks to its reective capailities and, in particular, to the possiility of dening internal strategy languages { can in fact e used to prototype and execute tile rewriting systems. In particular, we dene executale implementations of some CCS-like process calculi (namely, nite CCS and located CCS), preserving their original semantics. 9
11 @ 2 Tile Logic Tiles are rewrite rules with side-eects, extending the SOS approach to open systems and also to heterogeneous systems. A generic tile has the form s?! a s 0, stating that the partially specied conguration s may evolve to s 0 producing an oservale eect, ut this rewriting step is allowed if and only if the sucomponents of s evolve to the sucomponents of s 0 producing the oservation a, which is the trigger of the rule. The notions of conguration and oservation are very general here, the only requirement is that they come equipped with operations of parallel and sequential composition. In fact, tiles can e comined y means of three composition operators, extending those dened on their order: parallel ( ), horizontal ( ), and vertical ( ) composition. Parallel composition intuitively corresponds to the concurrent rewriting of disjoint components of the system. Vertical composition models successive rewriting, i.e., computations. Horizontal composition synchronizes evolutions of a conguration and its sucomponents. Although tile systems are essentially monoidal doule categories [25], the tile model allows for a purely logical presentation, where tiles are considered as sequents (suject to certain inference rules and normalization axioms), in the style of rewriting logic. Then, deduction in the tile logic exactly corresponds to computing in the tile model (i.e., applying composition rules in all possile ways, starting from a set of asic tiles), and the axioms of tile logic identify equivalent proofs of a sequent entailed y the logic. The simplest possile interpretation of structured congurations and oservations is considered in [11, 12], consisting of PT net markings. As an important result, horizontal composition in the tile model yields a notion of transition synchronization, an important feature for compositionality, missing in ordinary nets (where only token synchronization is provided), and usually achieved through complex constructions. As an another example, tile models for most process algeras [35] have process terms as congurations, and elements of the free monoid on oservale actions (which are unary symols) as oservations. However, when either causality aspects or ound names are taken into account, it is possile to consider more general horizontal and vertical structures, dealing with (local and gloal) names. Since models of computation ased on the notion of free and ound names are widespread, the notion of name sharing is essential for several applications, ranging from logic programming, -calculus and process algera with restriction (or name hiding mechanisms) to moile processes (where local names may e communicated to the external world, thus ecoming gloal names). We can think of names as links to communication channels, or to ojects, or to locations, or to remote shared resources, or, also, to some cause in the event history of the system. In general, names can e freely -converted, ecause the only important information they oer is sharing. The wires and oxes notation presented in the introduction can give an intuitive understanding of a name sharing mechanism. Let us consider a certain signature with constants 0, 1 and 2, and inary operators f and g. Then the congurations c 1 and c 2 in the picture elow can model quite dierent systems. 0 c 1 f 0 c 2 0 > > > > >???? f In a value-oriented interpretation, oth c 1 and c 2 yield the same term f(0; 0). Instead, in a reference-oriented interpretation, c 1 and c 2 dene dierent situations: in the former the two sucomponents of the f ox are uncorrelated, while in the latter they point to the same shared location. The dierence ecomes even more clear, if we assume a tile system in which the conguration 0 may e rewritten either to 1, producing an eect e 1, or to 2, with eect e 2 6 e 1, and the conguration f(x 1 ; x 2 ) may e rewritten to g(z 1 ; z 2 ) only if x 1 yields e 1 and x 2 yields e 2 as 10
12 triggers, ecoming z 1 and z 2, i.e., the asic tiles of the system are as follows: x 1 0 y 1 e 1 1 w 1 0 y 1 e 2 2 w 1 e 1 z 1 P PPPPPPPPP' x 2 Q e Q 2 QQQQQQQQ( f y 1 z 2 g w 1 Then, c 1 may e rewritten, while c 2 cannot; in fact, if we try to rewrite 0 with the rst tile, the same eect e 1 is propagated to oth arguments of f, and the conguration is stuck, ecause we cannot apply the third tile, and similarly if we try to rewrite 0 with the second tile. Term graphs [24] are a reference-oriented generalization of the ordinary (value-oriented) notion of term, where the sharing of suterms can e specied also for closed (i.e., without variales) terms 3. The distinction is made very precisely y the axiomatization of algeraic theories: terms and term graphs dier y two axioms, representing, in a categorical setting, the naturality of transformations for copying and discharging arguments [20]. Term graphs have een shown useful in [27] to dene a tile model for the (asynchronous) -calculus [60] (one of the most studied moile calculi), and in [28] to represent oth the operational and the astract semantics of CCS [59] with locations [9] within the tile model. In oth cases, at versions of the tile model are used, and the general notion of tile isimilarity [35] is employed to quotient out congurations, thus recovering the ordinary astract semantics. In this section we introduce two versions of tile logic, called Process Tile Logic, and Term Tile Logic. They model two specic situations in which the structure of congurations and oservations are quite similar, and a set of auxiliary tiles seems to capture precisely their similarity. Conguration and oservation in process tile logic are dened in terms of a suclass of directed, acyclic hyper-graphs, where each node has at most one entering (exiting) arc. The \process" terminology is taken from net theory, due to the characterization of concatenale (deterministic) processes of PT nets via symmetric strict monoidal categories [23]. Here congurations may model states of a great variety of distriuted systems (at a certain level of astraction), and oservations may exactly model causal dependencies etween the resources consumed and generated y concurrent and cooperative evolutions of distriuted agents. Models proposed in [27, 28] are essentially at process tile logic modelsa equipped with \ad-hoc" notions of sharing and garage collection. Auxiliary tiles for process tile logic are essentially tiles for consistent permutations of interfaces. Term tile logic is the natural generalization of term rewriting logic. Here, oth congurations and oservations are term algeras. Thanks to the work of Lawvere relating algeraic theories and cartesian categories, and to classical results on cartesianity (with chosen products) as enriched monoidality, the auxiliary structure which allows the generation of the term algera starting from a signature is characterized y three natural transformations called symmetries, duplicators, and dischargers. Similarly, auxiliary tiles of term tile logic are the consistent generalization of such transformations w.r.t. the two dimensions of tile systems. Intuitively, in process and term tile logic, congurations and oservations have in common the auxiliary structure, i.e., the possiility of re-arranging the interfaces as explained in the introduction. Moreover, auxiliary tiles model exactly the consistent re-arrangements, in the sense that given any auxiliary tile s?! a s0, the composition of the transformation induced y s followed y the one induced y should yield the same result as the transformation induced y a followed y the one induced y s 0. An important requirement is that there should e a unique auxiliary tile for each possile idimensional transformation, i.e., all the possile decompositions of the proof terms of auxiliary tiles yielding the same order should e equivalent. 3 Terms can share variales, ut shared suterms of a closed term can e freely copied, always yielding an equivalent term. 11
13 Notice that, although auxiliary tiles for process and term tile logic are introduced in this section, their characterization, and in particular the axioms we propose, are ased on the research concerning generalized transformations, which is the suject of Section 3. However, for the sake of an easier presentation, and to aord a etter intuitive understanding of the main ideas with the minimum machinery possile, we have chosen to reverse the \mathematically natural" order of the two formalizations. 2.1 Background Algeraic Theories We recall here some asic denitions from graph theory, used to recast the usual notion of term over a signature in a more general setting, where suitale equivalence classes of monoidal (hyper)graphs equipped with auxiliary arrows are considered. Denition 2.1 [(Hyper)Signatures] A many-sorted hyper-signature over a set S of sorts is a family f w;w 0g w;w 02S of sets of operators. A many-sorted signature is just a hyper-signature such that w;w 0 6 ; ) w 0 2 S, i.e., a family f w;s g w2s ;s2s. If S is a singleton, we denote the hypersignature (signature) is called one-sorted and is simply denoted y the family f n;m g n;m2lin (f n g n2lin ). 2 Denition 2.2 [Graphs] A graph G is a 4-tuple (O G ; A G 0 1 ), where O G is the set of ojects, A G is the set of arrows, 0 1 : A G?! O G are functions, called respectively source and target. We use the standard notation f : a?! to denote an arrow f with source a and target. A graph G is reexive if there exists an identity function id : O G?! A G such that 8a 2 O 0 (id(a)) 1 (id(a)); it is with pairing if O G is a monoid; it is monoidal if it is reexive, oth O G and A G are monoids, and the 0,@ 1, and id are monoid homomorphisms (i.e., preserve the monoidal operator and the neutral element). 2 It is immediate that a many-sorted hyper-signature over S may e seen as a graph with pairing G such that its ojects are strings on S (i.e., O G S, string concatenation :: is the monoidal operator, and the empty string is the neutral element), and its arcs are laelled with operators of the signature (i.e., f : w?! w 0 2 A G i f 2 w;w 0). For simplicity, throughout the paper we will consider one-sorted hyper-signature only, ut the results extend immediately to the many-sorted case. Denition 2.3 [Graph Theories] Given a one-sorted (hyper)signature, the associated graph theory G() is the monoidal graph with ojects the elements of the additive monoid of natural numers (i.e., 0 is the neutral element, and the monoidal operation is dened as nm n+m), and arrows those generated y the following inference rules: (generators) f 2 n;m f : n?! m 2 G() (pairing) t : n?! m; t0 : n 0?! m 0 2 G() t t 0 : n n 0?! m m 0 2 G() n 2 lin (identities) id n : n?! n 2 G() Monoidality implies that is associative on arrows, id 0 is the neutral element of the monoid of arrows, and that the monoidality axiom id nm id n id m holds for all n; m 2 lin. 2 This view is very useful to dene a chain of further structural enrichments on graphs, nally leading to the usual algeraic notion of terms over a signature. We are particularly interested in this nal level, and also in the intermediate level corresponding to symmetric theories. For the sake of simplicity, we treat here one-sorted signatures only, ut the extension to the many-sorted case should follow immediately. 12
14 Denition 2.4 [Monoidal Theories, Symmetric Theories] Given a (hyper)signature, the associated monoidal theory M() is the monoidal graph with ojects the elements of the additive monoid of natural numers (i.e., 0 is the neutral element, and the monoidal operation is dened as n m n + m), and arrows those generated y the following inference rules: (generators) f 2 n;m f : n?! m 2 M() (pairing) t : n?! m; t0 : n 0?! m 0 2 M() t t 0 : n n 0?! m m 0 2 M() (identities) n 2 lin id n : n?! n 2 M() (composition) t : n?! m; t0 : m?! k 2 M() t; t 0 : n?! k 2 M() Moreover, is associative on arrows with identity id 0, the composition operator ; is associative, and the arrows of M() satisfy the identity axiom (8t : n?! m), id n ; t t t; id m, and the functoriality axiom (s t); (s 0 t 0 ) (s; s 0 ) (t; t 0 ) (whenever compositions s; s 0 and t; t 0 are dened). The symmetric theory S() associated to the (hyper)signature is the monoidal graph generated y the same inference rules and axioms given for M(), together with the following inference rule: n; m 2 lin (symmetries) n;m : n m?! m n 2 S() Moreover, the arrows of S() satisfy the naturality axiom (8t : n?! m; t 0 : n 0?! m 0 ), and the coherence axioms (8n; m; k 2 lin), (t t 0 ); m;m 0 n;n 0; (t 0 t); nm;k (id n m;k ); ( n;k id m ); and n;m ; m;n id nm : 2 Actually, a (symmetric) monoidal theory is just a particular (symmetric) strict monoidal category [46], namely the free such category generated y the signature. Denition 2.5 [Algeraic Theories] Given a signature, the associated algeraic theory A() is the monoidal graph generated y the same inference rules and axioms given for S() together with the following inference rules: (duplicators) n 2 lin r n : n?! n n 2 A() (dischargers) Moreover, the arrows of A() verify the naturality axioms (8t : n?! m), and the coherence axioms (8n; m 2 lin), t; r m r n ; (t t); and t;! m! n ; n 2 lin! n : n?! 0 2 A() r nm (r n r m ); (id n n;m id m ); r 0 id 0! 0 ;! nm! n! m ; r n ; (1 n r n ) r n ; (r n 1 n ); r n ; n;n r n ; and r n ; (1 n! n ) id n : 2 It can e considered categorical folklore that a cartesian category can actually e decomposed into a symmetric monoidal category, together with a family of suitale natural transformations, usually denoted as diagonals and projections. Then, Def. 2.5 can e proved equivalent to the classical Lawvere theory construction Th[], dating ack to the early work of Lawvere [44]. A classical result states the equivalence of these theories with the usual term algera. 13
15 Denition 2.6 [-Algera] Given a signature f n g n2lin, a -algera is a set A, together with an assignment of a function A f : A n?! A for each f 2 n. 2 As usual, we write T to denote the -algera of ground -terms, and T (X) to denote the -algera of -terms with variales in a set X. Proposition 2.7 Let e a signature. Then, for all n; m 2 lin, there exists a one-to-one correspondence etween the set A()[n; m] of arrows from n to m in A() and the m-tuples of elements of the term algera T (X) over a set X of n variales. We elieve that the constructive denition of algeraic theories separates very nicely the auxiliary structure from the -structure (etter than the ordinary description involving the metaoperation of sustitution). Moreover, the naturality axioms of r and! allow a controlled form of duplication and discharging of information Rewriting Logic Rewriting logic [50, 51, 53] is an elegant and expressive semantic framework for the specication of languages and systems, and it is a good candidate as a logical framework in which many other logics can e represented [48, 49]. A workshop [55] has een recently dedicated to a great miscellany of dierent aspects of rewriting logic, relating many dierent sujects (oject-oriented programming, reection, external and internal strategies, dierent categorical interpretations of rewriting logic, semantic asis for language implementations, actor systems). Here we just sketch an introductory description of the suject and the original 2-algeraic semantics as proposed y Meseguer in [50]. A short summary of the reective capailities of rewriting logic will e given in Section 6.2. Let e a signature. Given a set E of -equations (i.e., sentences of the form t t 0 with t; t 0 2 T (X)), T ;E (resp. T ;E (X)) denotes the -algera of equivalence classes of ground - terms modulo the equations in E (the -algera of equivalence classes of -terms with variales in X modulo the equations in E). We denote the congruence modulo E y E, and the E-equivalence class of a -term t y [t] E, or just [t]. Denition 2.8 [Rewrite Theory] A laelled rewrite theory R is a 4-tuple (; E; L; R) where is a signature, E is a set of -equations, L is the set of laels, and R L T ;E (X) T ;E (X) is the set of laelled rewrite rules. For (r; [t]; [t 0 ]) 2 R we use the notation r : [t] ) [t 0 ]. 2 Rewrite rules in R may e understood as asic sequents entailed y R. More complex deduction in the logic of R can e otained y a nite application of four simple rules. Denition 2.9 [Rewriting Sequents] Let R (; E; L; R) e a rewrite theory. We say that R entails a at sequent [t] ) [t 0 ], written R ` [t] ) [t 0 ] i [t] ) [t 0 ] can e otained y a nite numer of applications of the following rules of deduction. Reexivity Congruence Replacement [t] 2 T ;E (X) [t] ) [t] [t 1 ] ) [t 0 1]; : : : ; [t n ] ) [t 0 n]; f 2 n [f(t 1 ; : : :; t n )] ) [f(t 0 1 ; : : :; t0 n )] [w 1 ] ) [w 0 1]; : : :; [w n ] ) [w 0 n]; r : [t(x 1 ; : : :; x n )] ) [t 0 (x 1 ; : : :; x n )] 2 R [t(~w~x)] ) [t 0 (~w~x)] 14
16 Transitivity [t 1 ] ) [t 2 ]; [t 2 ] ) [t 3 ] [t 1 ] ) [t 3 ] where t(~w~x) denotes the simultaneous sustitution of w i for x i in t. 2 A rewrite theory is just a static description of \what a system can do". The meaning of the theory should e given y computational models of its actual ehaviour. Taking advantage of the correspondence etween deductions in rewriting logic and (concurrent) computations, it is natural, in the spirit of initial model semantics, to dene the initial model T R of R as a system whose states are E-equivalence classes of -terms, and whose transitions are equivalence classes of terms representing proofs in rewriting deduction, i.e., concurrent rewritings using the rules in R. The rules for generating such proof terms are otained from the rules of deduction of Def. 2.9 y decorating the sequents with appropriate proof terms. Denition 2.10 [Proof Terms of Rewrite Logic] Let R (; E; L; R) e a rewrite theory such that each rewrite rule has a dierent lael. We say that R entails the proof term : [t] ) [t 0 ], written R ` : [t] ) [t 0 ] (or just R ` ), i the proof term is generated y a nite numer of applications of the following decorated rules of deduction. Identities -structure Replacement Composition [t] 2 T ;E (X) [t] : [t] ) [t] 1 : [t 1 ] ) [t 0 1 ]; : : : ; n : [t n ] ) [t 0 n]; f 2 n f( 1 ; : : :; n ) : [f(t 1 ; : : :; t n )] ) [f(t 0 1; : : :; t 0 n)] 1 : [w 1 ] ) [w 0 1]; : : :; n : [w n ] ) [w 0 n]; r : [t(x 1 ; : : :; x n )] ) [t 0 (x 1 ; : : :; x n )] 2 R r( 1 ; : : :; n ) : [t(~w~x)] ) [t 0 (~w~x)] : [t 1 ] ) [t 2 ]; : [t 2 ] ) [t 3 ] : [t 1 ] ) [t 3 ] Each of the rules presented aove denes a dierent operation, taking certain proof terms as arguments and returning a resulting proof term. In other words, proof terms form an algeraic structure P R (X) consisting of a graph with nodes T ;E (X), with identity arrows, and with operations f (for each f 2 ), r (for each rewrite rule), and (for composing arrows). 2 Notice that we use diagrammatic order for the sequential composition of proofs, and that the composition operator is denoted y the same symol of vertical composition of natural transformations to enhance the relations with the categorical semantics descried at the end of this section. Denition 2.11 [Model T R (X)] Given a rewrite theory R, the model T R (X) of R is the quotient of the algera of proof terms P R (X) modulo the following equations (when composition of arrows is involved, we always implicitly assume that the corresponding source and target match): Category Associativity: 8; ; ; ( ) ( ) 15
transition relation needs to e inductively dened according to that structure. This is the case of formalisms like Petri nets [30], where a state is a
Electronic Notes in Theoretical Computer Science 4 (1996) Tiles, Rewriting Rules and CCS 1 Faio Gadducci and Ugo Montanari Dipartimento di Informatica Universita di Pisa Corso Italia 40, 56125 Pisa, Italy
More informationTo this purpose, ordinary transition systems have een extended in the literature in several ways. From the operational point of view, certain commutin
Electronic Notes in Theoretical Computer Science 7 (1997) URL: http://www.elsevier.nl/locate/entcs/volume7.html 26 pages Tiles for Concurrent and Located Calculi? GianLuigi Ferrari Dipartimento di Informatica,
More informationCONNECTOR ALGEBRAS FOR C/E AND P/T NETS INTERACTIONS
Logical Methods in Computer Science Vol. 9(3:6)203, pp. 65 www.lmcs-online.org Sumitted Apr. 5, 202 Pulished Sep. 7, 203 CONNECTOR ALGEBRAS FOR C/E AND P/T NETS INTERACTIONS ROBERTO BRUNI a, HERNÁN MELGRATTI,
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato September 10, 2015 ABSTRACT. This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a
More information1 2 A 2 TG 2 1 A 2 C1
Linear Ordered Graph Grammars and Their lgeraic Foundations? Ugo Montanari and Leila Rieiro Dipartimento di Informática, Universitá di Pisa, Pisa, Italy ugo@di.unipi.it, Instituto de Informática, Universidade
More informationBoolean Algebra and Propositional Logic
Boolean Algebra and Propositional Logic Takahiro Kato June 23, 2015 This article provides yet another characterization of Boolean algebras and, using this characterization, establishes a more direct connection
More informationFunctorial Models for Petri Nets 1
Information and Computation 170, 207 236 (2001) doi:10.1006/inco.2001.3050, available online at http://www.idealibrary.com on Functorial Models for Petri Nets 1 Roberto Bruni Dipartimento di Informatica,
More informationEquational Logic. Chapter Syntax Terms and Term Algebras
Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from
More informationThis is a repository copy of Attributed Graph Transformation via Rule Schemata : Church-Rosser Theorem.
This is a repository copy of Attriuted Graph Transformation via Rule Schemata : Church-Rosser Theorem. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/9/ Version: Accepted
More informationOne Year Later. Iliano Cervesato. ITT Industries, NRL Washington, DC. MSR 3.0:
MSR 3.0: The Logical Meeting Point of Multiset Rewriting and Process Algebra MSR 3: Iliano Cervesato iliano@itd.nrl.navy.mil One Year Later ITT Industries, inc @ NRL Washington, DC http://www.cs.stanford.edu/~iliano
More informationCompositionality in SLD-derivations and their abstractions Marco Comini, Giorgio Levi and Maria Chiara Meo Dipartimento di Informatica, Universita di
Compositionality in SLD-derivations and their abstractions Marco Comini Giorgio Levi and Maria Chiara Meo Dipartimento di Informatica Universita di Pisa Corso Italia 40 56125 Pisa Italy fcomini levi meog@di.unipi.it
More informationBranching Bisimilarity with Explicit Divergence
Branching Bisimilarity with Explicit Divergence Ro van Glaeek National ICT Australia, Sydney, Australia School of Computer Science and Engineering, University of New South Wales, Sydney, Australia Bas
More informationCategory Theory. Categories. Definition.
Category Theory Category theory is a general mathematical theory of structures, systems of structures and relationships between systems of structures. It provides a unifying and economic mathematical modeling
More information1Number ONLINE PAGE PROOFS. systems: real and complex. 1.1 Kick off with CAS
1Numer systems: real and complex 1.1 Kick off with CAS 1. Review of set notation 1.3 Properties of surds 1. The set of complex numers 1.5 Multiplication and division of complex numers 1.6 Representing
More informationSCATTERING CONFIGURATION SPACES
SCATTERING CONFIGURATION SPACES RICHARD MELROSE AND MICHAEL SINGER 1.0B; Revised: 14-8-2008; Run: March 17, 2009 Astract. For a compact manifold with oundary X we introduce the n-fold scattering stretched
More informationTopological structures and phases. in U(1) gauge theory. Abstract. We show that topological properties of minimal Dirac sheets as well as of
BUHEP-94-35 Decemer 1994 Topological structures and phases in U(1) gauge theory Werner Kerler a, Claudio Rei and Andreas Weer a a Fachereich Physik, Universitat Marurg, D-35032 Marurg, Germany Department
More informationRepresentation theory of SU(2), density operators, purification Michael Walter, University of Amsterdam
Symmetry and Quantum Information Feruary 6, 018 Representation theory of S(), density operators, purification Lecture 7 Michael Walter, niversity of Amsterdam Last week, we learned the asic concepts of
More informationEvaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic
Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Mauro Ferrari 1, Camillo Fiorentini 2 1 DiSTA, Univ. degli Studi dell Insubria, Varese, Italy 2 DI, Univ.
More informationLecture 2: Syntax. January 24, 2018
Lecture 2: Syntax January 24, 2018 We now review the basic definitions of first-order logic in more detail. Recall that a language consists of a collection of symbols {P i }, each of which has some specified
More informationvia Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello
in University of Cambridge 2 / 23 in in In this lecture, whenever I use the word topos, I really mean Grothendieck topos. Recall that a Grothendieck topos can be seen as: a generalized space a mathematical
More informationWojciech 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 informationDenotational semantics of linear logic
Denotational semantics of linear logic Lionel Vaux I2M, Université d Aix-Marseille, France LL2016, Lyon school: 7 and 8 November 2016 L. Vaux (I2M) Denotational semantics of linear logic LL2016 1 / 31
More informationThe Morita-equivalence between MV-algebras and abelian l-groups with strong unit
The Morita-equivalence between MV-algebras and abelian l-groups with strong unit Olivia Caramello and Anna Carla Russo December 4, 2013 Abstract We show that the theory of MV-algebras is Morita-equivalent
More informationOn the Independence of the Formal System L *
6 International Journal of Fuzzy Systems, Vol. 4, No., June On the Independence of the Formal System L * Daowu Pei Astract The formal system L * of fuzzy propositional logic has een successfully applied
More informationGeneralized Rewrite Theories
Generalized Rewrite Theories Roberto Bruni 1 2 and José Meseguer 2 1 Dipartimento di Informatica, Università di Pisa, Italia. 2 CS Department, University of Illinois at Urbana-Champaign, USA. bruni@di.unipi.it,meseguer@cs.uiuc.edu
More informationAttributed Graph Transformation via Rule Schemata: Church-Rosser Theorem
Attriuted Graph Transformation via Rule Schemata: Church-Rosser Theorem Ivaylo Hristakiev and Detlef Plump (B) University of York, York, UK detlef.plump@york.ac.uk Astract. We present an approach to attriuted
More informationA Graph Rewriting Semantics for the Polyadic π-calculus
A Graph Rewriting Semantics for the Polyadic π-calculus BARBARA KÖNIG Fakultät für Informatik, Technische Universität München Abstract We give a hypergraph rewriting semantics for the polyadic π-calculus,
More informationSVETLANA KATOK AND ILIE UGARCOVICI (Communicated by Jens Marklof)
JOURNAL OF MODERN DYNAMICS VOLUME 4, NO. 4, 010, 637 691 doi: 10.3934/jmd.010.4.637 STRUCTURE OF ATTRACTORS FOR (a, )-CONTINUED FRACTION TRANSFORMATIONS SVETLANA KATOK AND ILIE UGARCOVICI (Communicated
More informationSémantique des jeux asynchrones et réécriture 2-dimensionnelle
Sémantique des jeux asynchrones et réécriture 2-dimensionnelle Soutenance de thèse de doctorat Samuel Mimram Laboratoire PPS (CNRS Université Paris Diderot) 1 er décembre 2008 1 / 64 A program is a text
More informationCS522 - Programming Language Semantics
1 CS522 - Programming Language Semantics Simply Typed Lambda Calculus Grigore Roşu Department of Computer Science University of Illinois at Urbana-Champaign 2 We now discuss a non-trivial extension of
More informationPolynomial Degree and Finite Differences
CONDENSED LESSON 7.1 Polynomial Degree and Finite Differences In this lesson, you Learn the terminology associated with polynomials Use the finite differences method to determine the degree of a polynomial
More informationOptimal Routing in Chord
Optimal Routing in Chord Prasanna Ganesan Gurmeet Singh Manku Astract We propose optimal routing algorithms for Chord [1], a popular topology for routing in peer-to-peer networks. Chord is an undirected
More informationdistinct models, still insists on a function always returning a particular value, given a particular list of arguments. In the case of nondeterministi
On Specialization of Derivations in Axiomatic Equality Theories A. Pliuskevicien_e, R. Pliuskevicius Institute of Mathematics and Informatics Akademijos 4, Vilnius 2600, LITHUANIA email: logica@sedcs.mii2.lt
More informationVertical Implementation
Information and Computation 70, 95 33 (00) doi:0.006/inco.00.967, availale online at http://www.idealirary.com on Vertical Implementation Arend Rensink Faculty of Informatics, University of Twente, Postus
More informationOperads. Spencer Liang. March 10, 2015
Operads Spencer Liang March 10, 2015 1 Introduction The notion of an operad was created in order to have a well-defined mathematical object which encodes the idea of an abstract family of composable n-ary
More informationTECHNISCHE UNIVERSITÄT DRESDEN. Fakultät Informatik. Technische Berichte Technical Reports. D. Kirsten 1 G. Richomme 2. TUD/FI99/03 - April 1999
TECHNISCHE UNIVERSITÄT DRESDEN Fakultät Informatik Technische Berichte Technical Reports ISSN 1430-211X TUD/FI99/03 - April 1999 D. Kirsten 1 G. Richomme 2 1 Institut für Softwaretechnik I, Grundlagen
More informationRelativizing Tarskian Variables
Relativizing Tarskian Variables Brice Halimi Paris Ouest University Two main goals: Introducing the concept of fibration (that comes from geometry) and showing that it holds out a natural way to formalize
More informationAdjunctions! Everywhere!
Adjunctions! Everywhere! Carnegie Mellon University Thursday 19 th September 2013 Clive Newstead Abstract What do free groups, existential quantifiers and Stone-Čech compactifications all have in common?
More informationACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)
ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted
More informationPetri Net Modules in the Transformation-Based Component Framework
Petri Net Modules in the Transformation-Based Component Framework Julia Padberg, Hartmut Ehrig Technische Universität Berlin Fakultät IV - Informatik und Elektrotechnik Franklinstr. 28/29, D-10587 Berlin
More informationAlgebraic Geometry
MIT OpenCourseWare http://ocw.mit.edu 18.726 Algebraic Geometry Spring 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.726: Algebraic Geometry
More informationExpansion formula using properties of dot product (analogous to FOIL in algebra): u v 2 u v u v u u 2u v v v u 2 2u v v 2
Least squares: Mathematical theory Below we provide the "vector space" formulation, and solution, of the least squares prolem. While not strictly necessary until we ring in the machinery of matrix algera,
More informationFoundations of Mathematics MATH 220 FALL 2017 Lecture Notes
Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements
More informationCategories of Coalgebraic Games with Selective Sum
Fundamenta Informaticae XX (2014) 1 20 1 DOI 10.3233/FI-2012-0000 IOS Press Categories of Coalgebraic Games with Selective Sum Furio Honsell Dipartimento di Matematica e Informatica, Università di Udine,
More information2 C. A. Gunter ackground asic Domain Theory. A poset is a set D together with a binary relation v which is reexive, transitive and anti-symmetric. A s
1 THE LARGEST FIRST-ORDER-AXIOMATIZALE CARTESIAN CLOSED CATEGORY OF DOMAINS 1 June 1986 Carl A. Gunter Cambridge University Computer Laboratory, Cambridge C2 3QG, England Introduction The inspiration for
More informationSymbolic Graphs for Attributed Graph Constraints
Symbolic Graphs for Attributed Graph Constraints Fernando Orejas Dpt. L.S.I., Universitat Politècnica de Catalunya, Campus Nord, Mòdul Omega, Jordi Girona 1-3, 08034 Barcelona, Spain. Abstract In this
More informationA Preference Semantics. for Ground Nonmonotonic Modal Logics. logics, a family of nonmonotonic modal logics obtained by means of a
A Preference Semantics for Ground Nonmonotonic Modal Logics Daniele Nardi and Riccardo Rosati Dipartimento di Informatica e Sistemistica, Universita di Roma \La Sapienza", Via Salaria 113, I-00198 Roma,
More informationInequational Deduction as Term Graph Rewriting 1
TERMGRAPH Preliminary Version Inequational Deduction as Term Graph Rewriting Andrea Corradini and Fabio Gadducci Dipartimento di Informatica, Università di Pisa, Italy Wolfram Kahl 3 Department of Computing
More informationusual one uses sequents and rules. The second one used special graphs known as proofnets.
Math. Struct. in omp. Science (1993), vol. 11, pp. 1000 opyright c ambridge University Press Minimality of the orrectness riterion for Multiplicative Proof Nets D E N I S B E H E T RIN-NRS & INRILorraine
More informationUNIVERSITÀ CA FOSCARI DI VENEZIA Dipartimento di Informatica Technical Report Series in Computer Science. Rapporto di Ricerca CS
UNIVERSITÀ CA FOSCARI DI VENEZIA Dipartimento di Informatica Technical Report Series in Computer Science Rapporto di Ricerca CS-2005-2 Marzo 2005 Paolo Baldan, Andrea Corradini, Ugo Montanari, Leila Ribeiro
More informationHow 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 informationFoundations of Mathematics
Foundations of Mathematics Andrew Monnot 1 Construction of the Language Loop We must yield to a cyclic approach in the foundations of mathematics. In this respect we begin with some assumptions of language
More informationCS 4120 Lecture 3 Automating lexical analysis 29 August 2011 Lecturer: Andrew Myers. 1 DFAs
CS 42 Lecture 3 Automating lexical analysis 29 August 2 Lecturer: Andrew Myers A lexer generator converts a lexical specification consisting of a list of regular expressions and corresponding actions into
More informationDepth versus Breadth in Convolutional Polar Codes
Depth versus Breadth in Convolutional Polar Codes Maxime Tremlay, Benjamin Bourassa and David Poulin,2 Département de physique & Institut quantique, Université de Sherrooke, Sherrooke, Quéec, Canada JK
More informationCategorical coherence in the untyped setting. Peter M. Hines
Categorical coherence in the untyped setting Peter M. Hines SamsonFest Oxford May 2013 The Untyped Setting Untyped categories Categories with only one object (i.e. monoids) with additional categorical
More informationsset(x, Y ) n = sset(x [n], Y ).
1. Symmetric monoidal categories and enriched categories In practice, categories come in nature with more structure than just sets of morphisms. This extra structure is central to all of category theory,
More informationUniversal Properties
A categorical look at undergraduate algebra and topology Julia Goedecke Newnham College 24 February 2017, Archimedeans Julia Goedecke (Newnham) 24/02/2017 1 / 30 1 Maths is Abstraction : more abstraction
More informationThe equivalence axiom and univalent models of type theory.
The equivalence axiom and univalent models of type theory. (Talk at CMU on February 4, 2010) By Vladimir Voevodsky Abstract I will show how to define, in any type system with dependent sums, products and
More informationReinhold Heckmann. FB 14 { Informatik. D-6600 Saarbrucken. Bundesrepublik Deutschland. September 10, Abstract
Power Domain Constructions Reinhold Heckmann FB 14 { Informatik Universitat des Saarlandes D-6600 Saarbrucken Bundesrepublik Deutschland email: heckmann@cs.uni-sb.de September 10, 1998 Abstract The variety
More informationWhat are Iteration Theories?
What are Iteration Theories? Jiří Adámek and Stefan Milius Institute of Theoretical Computer Science Technical University of Braunschweig Germany adamek,milius @iti.cs.tu-bs.de Jiří Velebil Department
More informationNOTES ON ATIYAH S TQFT S
NOTES ON ATIYAH S TQFT S J.P. MAY As an example of categorification, I presented Atiyah s axioms [1] for a topological quantum field theory (TQFT) to undergraduates in the University of Chicago s summer
More informationTHE INFLATION-RESTRICTION SEQUENCE : AN INTRODUCTION TO SPECTRAL SEQUENCES
THE INFLATION-RESTRICTION SEQUENCE : AN INTRODUCTION TO SPECTRAL SEQUENCES TOM WESTON. Example We egin with aelian groups for every p, q and maps : + (here, as in all of homological algera, all maps are
More informationQuantum groupoids and logical dualities
Quantum groupoids and logical dualities (work in progress) Paul-André Melliès CNS, Université Paris Denis Diderot Categories, ogic and Foundations of Physics ondon 14 May 2008 1 Proof-knots Aim: formulate
More informationPseudo-automata for generalized regular expressions
Pseudo-automata for generalized regular expressions B. F. Melnikov A. A. Melnikova Astract In this paper we introduce a new formalism which is intended for representing a special extensions of finite automata.
More informationDesigning and Evaluating Generic Ontologies
Designing and Evaluating Generic Ontologies Michael Grüninger Department of Industrial Engineering University of Toronto gruninger@ie.utoronto.ca August 28, 2007 1 Introduction One of the many uses of
More informationUniversal Algebra for Logics
Universal Algebra for Logics Joanna GRYGIEL University of Czestochowa Poland j.grygiel@ajd.czest.pl 2005 These notes form Lecture Notes of a short course which I will give at 1st School on Universal Logic
More informationA Formal Approach to Modeling and Model Transformations in Software Engineering
A Formal Approach to Modeling and Model Transformations in Software Engineering Adrian Rutle 1, Uwe Wolter 2, and Yngve Lamo 1 1 Bergen University College, p.b. 7030, 5020 Bergen, Norway {aru,yla}@hib.no
More informationTheoretical Computer Science
Theoretical Computer Science 433 (202) 20 42 Contents lists available at SciVerse ScienceDirect Theoretical Computer Science journal homepage: www.elsevier.com/locate/tcs An axiomatic approach to structuring
More informationBehavioural theories and the proof of. LIENS, C.N.R.S. U.R.A & Ecole Normale Superieure, 45 Rue d'ulm, F{75230 Paris Cedex 05, France
Behavioural theories and the proof of behavioural properties Michel Bidoit a and Rolf Hennicker b b a LIENS, C.N.R.S. U.R.A. 1327 & Ecole Normale Superieure, 45 Rue d'ulm, F{75230 Paris Cedex 05, France
More informationBringing class diagrams to life
Bringing class diagrams to life Luis S. Barbosa & Sun Meng DI-CCTC, Minho University, Braga & CWI, Amsterdam UML & FM Workshop 2009 Rio de Janeiro 8 December, 2009 Formal Methods proofs problems structures
More informationUpper Bounds for Stern s Diatomic Sequence and Related Sequences
Upper Bounds for Stern s Diatomic Sequence and Related Sequences Colin Defant Department of Mathematics University of Florida, U.S.A. cdefant@ufl.edu Sumitted: Jun 18, 01; Accepted: Oct, 016; Pulished:
More informationThe synthetic theory of -categories vs the synthetic theory of -categories
Emily Riehl Johns Hopkins University The synthetic theory of -categories vs the synthetic theory of -categories joint with Dominic Verity and Michael Shulman Vladimir Voevodsky Memorial Conference The
More informationUniversity of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor
Categorical Semantics and Topos Theory Homotopy type theory Seminar University of Oxford, Michaelis 2011 November 16, 2011 References Johnstone, P.T.: Sketches of an Elephant. A Topos-Theory Compendium.
More informationStatic BiLog: a Unifying Language for Spatial Structures
Fundamenta Informaticae 80 (2007) 1 20 1 IOS Press Static BiLog: a Unifying Language for Spatial Structures Giovanni Conforti DI, Università di Pisa, Italy Damiano Macedonio DSI, Università Ca Foscari
More informationCS632 Notes on Relational Query Languages I
CS632 Notes on Relational Query Languages I A. Demers 6 Feb 2003 1 Introduction Here we define relations, and introduce our notational conventions, which are taken almost directly from [AD93]. We begin
More informationMSR 3.0: The Logical Meeting Point of Multiset Rewriting and Process Algebra. Iliano Cervesato. ITT Industries, NRL Washington, DC
MSR 3.0: The Logical Meeting Point of Multiset Rewriting and Process Algebra Iliano Cervesato iliano@itd.nrl.navy.mil ITT Industries, inc @ NRL Washington, DC http://theory.stanford.edu/~iliano ISSS 2003,
More informationFROM COHERENT TO FINITENESS SPACES
FROM COHERENT TO FINITENESS SPACES PIERRE HYVERNAT Laboratoire de Mathématiques, Université de Savoie, 73376 Le Bourget-du-Lac Cedex, France. e-mail address: Pierre.Hyvernat@univ-savoie.fr Abstract. This
More informationPart II. Logic and Set Theory. Year
Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]
More informationRobot Position from Wheel Odometry
Root Position from Wheel Odometry Christopher Marshall 26 Fe 2008 Astract This document develops equations of motion for root position as a function of the distance traveled y each wheel as a function
More informationMath 210B. Profinite group cohomology
Math 210B. Profinite group cohomology 1. Motivation Let {Γ i } be an inverse system of finite groups with surjective transition maps, and define Γ = Γ i equipped with its inverse it topology (i.e., the
More informationMath 210B. Artin Rees and completions
Math 210B. Artin Rees and completions 1. Definitions and an example Let A be a ring, I an ideal, and M an A-module. In class we defined the I-adic completion of M to be M = lim M/I n M. We will soon show
More informationCategory theory and set theory: algebraic set theory as an example of their interaction
Category theory and set theory: algebraic set theory as an example of their interaction Brice Halimi May 30, 2014 My talk will be devoted to an example of positive interaction between (ZFC-style) set theory
More informationTrue Concurrency Semantics for a Linear Logic Programming Language. with Broadcast Communication
Appears in Proc. of TAPSOFT'93, Orsay, France True Concurrency Semantics for a Linear Logic Programming Language with Broadcast Communication Jean-Marc Andreoli, Lone Leth, Remo Pareschi and Bent Thomsen
More informationMathematical Foundations for Conceptual Blending
Mathematical Foundations for Conceptual Blending Răzvan Diaconescu Simion Stoilow Institute of Mathematics of the Romanian Academy FROM 2017 Part I Conceptual Blending: from Fauconnier and Turner to Goguen
More informationMultiplicative Conjunction and an Algebraic. Meaning of Contraction and Weakening. A. Avron. School of Mathematical Sciences
Multiplicative Conjunction and an Algebraic Meaning of Contraction and Weakening A. Avron School of Mathematical Sciences Sackler Faculty of Exact Sciences Tel Aviv University, Tel Aviv 69978, Israel Abstract
More informationA few bridges between operational and denotational semantics of programming languages
A few bridges between operational and denotational semantics of programming languages Soutenance d habilitation à diriger les recherches Tom Hirschowitz November 17, 2017 Hirschowitz Bridges between operational
More information2 logic, such as those for resolution and hyperresolution. A number of recent developments serve as the motivation for the current paper. In [2, 3], i
Sequents, Frames, and Completeness Thierry Coquand 1 and Guo-Qiang Zhang 2?? 1 Department of Computer Science, University of Goteborg S 412 96, Goteborg, Sweden coquand@cs.chalmers.se 2 Department of Computer
More informationLocally cartesian closed categories
Locally cartesian closed categories Clive Newstead 80-814 Categorical Logic, Carnegie Mellon University Wednesday 1st March 2017 Abstract Cartesian closed categories provide a natural setting for the interpretation
More informationFibrational Semantics
Fibrational Semantics Brice Halimi Paris Ouest University & Sphere Introduction The question What can Set Theory do for Philosophy? would never be asked nowadays. The main reason for dismissing such a
More information1. Introduction. Let C be a Waldhausen category (the precise definition
K-THEORY OF WLDHUSEN CTEGORY S SYMMETRIC SPECTRUM MITY BOYRCHENKO bstract. If C is a Waldhausen category (i.e., a category with cofibrations and weak equivalences ), it is known that one can define its
More informationThe WHILE Hierarchy of Program Schemes is Infinite
The WHILE Hierarchy of Program Schemes is Infinite Can Adam Alayrak and Thomas Noll RWTH Aachen Ahornstr. 55, 52056 Aachen, Germany alayrak@informatik.rwth-aachen.de and noll@informatik.rwth-aachen.de
More informationCategories and functors
Lecture 1 Categories and functors Definition 1.1 A category A consists of a collection ob(a) (whose elements are called the objects of A) for each A, B ob(a), a collection A(A, B) (whose elements are called
More informationA simple propositional calculus for compact Hausdor spaces
A simple propositional calculus for compact Hausdor spaces G. Bezhanishvili N. Bezhanishvili T. Santoli Y. Venema Abstract We introduce a simple propositional calculus for compact Hausdor spaces. Our approach
More informationReconsidering MacLane. Peter M. Hines
Reconsidering MacLane Coherence for associativity in infinitary and untyped settings Peter M. Hines Oxford March 2013 Topic of the talk: Pure category theory... for its own sake. This talk is about the
More informationAutomata, Logic and Games: Theory and Application
Automata, Logic and Games: Theory and Application 2 Parity Games, Tree Automata, and S2S Luke Ong University of Oxford TACL Summer School University of Salerno, 14-19 June 2015 Luke Ong S2S 14-19 June
More informationThe Dierential Lambda-Calculus
The Dierential Lambda-Calculus Thomas Ehrhard and Laurent Regnier Institut de Mathématiques de Luminy, C.N.R.S. U.P.R. 9016 ehrhard@iml.univ-mrs.fr and regnier@iml.univ-mrs.fr July 17, 2003 Abstract We
More information1 Introduction A general problem that arises in dierent areas of computer science is the following combination problem: given two structures or theori
Combining Unication- and Disunication Algorithms Tractable and Intractable Instances Klaus U. Schulz CIS, University of Munich Oettingenstr. 67 80538 Munchen, Germany e-mail: schulz@cis.uni-muenchen.de
More informationPart IV Basic procs 131 Chapter 10 Possible delay, Delay, Prex In this chapter the procs pdly, dly and pref are introduced. Those procs make it possible to compare chronicles in several ways. Important
More information4 Phase semantics Phase semantics of intuitionistic linear logic Proving safety properties of LCC programs with the phase se
Linear concurrent constraint programming: operational and phase semantics Francois Fages, Paul Ruet, Sylvain Soliman LIENS - CNRS, Ecole Normale Superieure 45 rue d'ulm, 75005 Paris (France) Phone: +33
More informationLogic for Computational Effects: work in progress
1 Logic for Computational Effects: work in progress Gordon Plotkin and John Power School of Informatics University of Edinburgh King s Buildings Mayfield Road Edinburgh EH9 3JZ Scotland gdp@inf.ed.ac.uk,
More information