Compositional Relational Semantics for Indeterminate Dataaow Networks

Given suitable categories T; C and functor F : T ! C, if X; Y are objects of T, then we deene an (X; Y)-relation in C to be a triple (R; r; r), where R is an object of C and r : R ! F X and r : R ! F Y are morphisms of C. We deene an algebra of relations in C, including operations of \relabeling," \sequential composition," \parallel composition," and \feedback," which correspond intuitively to ways in which processes can be composed into networks. Each of these operations is deened in terms of composition and limits in C, and we observe that any operations deened in this way are preserved under the mapping from relations in C to relations in C 0 induced by a continuous functor G : C ! C 0. To apply the theory, we deene a category Auto of concurrent automata, and we give an operational semantics of dataaow-like networks of processes with indeterminate behaviors, in which a network is modeled as a relation in Auto. We then deene a category EvDom of \event domains," a (non-full) subcategory of the category of Scott domains and continuous maps, and we obtain a coreeection between Auto and EvDom. It follows, by the limit-preserving properties of coreeectors, that the denota-tional semantics in which dataaow networks are represented by relations in EvDom, is \compositional" in the sense that the mapping from operational to denotational semantics preserves the operations on relations. Our results are in contrast to examples of Brock and Ackerman, which imply that no compositional semantics is possible in terms of set-theoretic relations.

[1]  Grzegorz Rozenberg,et al.  Theory of Traces , 1988, Theor. Comput. Sci..

[2]  William B. Ackerman,et al.  Scenarios: A Model of Non-Determinate Computation , 1981, ICFPC.

[3]  Manfred Broy,et al.  Nondeterministic Data Flow Programs: How to Avoid the Merge Anomaly , 1988, Sci. Comput. Program..

[4]  Pierre-Louis Curien,et al.  Categorical Combinators , 1986, Inf. Control..

[5]  Prakash Panangaden,et al.  Computations, Residuals, and the POwer of Indeterminancy , 1988, ICALP.

[6]  Marek Antoni Bednarczyk,et al.  Categories of asynchronous systems , 1987 .

[7]  J. Dean Brock,et al.  A formal model of non-determinate dataflow computation , 1983 .

[8]  Eugene W. Stark,et al.  Concurrent transition system semantics of process networks , 1987, POPL '87.

[9]  Glynn Winskel,et al.  Events in computation , 1980 .

[10]  Antony A. Faustini The equivalence of an operational and a denotational semantics for pure dataflow , 1982 .

[11]  Eugene W. Stark Connections between a Concrete and an Abstract Model of Concurrent Systems , 1989, Mathematical Foundations of Programming Semantics.

[12]  Gilles Kahn,et al.  Coroutines and Networks of Parallel Processes , 1977, IFIP Congress.

[13]  Antoni W. Mazurkiewicz,et al.  Trace Theory , 1986, Advances in Petri Nets.

[14]  David A. Schmidt Denotational Semantics: A Methodology for Language Development by Phil , 1987 .

[15]  Eugene W. Stark On the relations computable by a class of concurrent automata , 1989, POPL '90.

[16]  Eugene W. Stark,et al.  Concurrent Transition Systems , 1989, Theor. Comput. Sci..

[17]  Gilles Kahn,et al.  The Semantics of a Simple Language for Parallel Programming , 1974, IFIP Congress.

[18]  S. Lane Categories for the Working Mathematician , 1971 .