Abstract
A dataflow network consists of nodes that communicate by passing data over unbounded FIFO channels. For dataflow networks containing only deterministic nodes, Kahn has presented a simple and elegant semantic model. However, the generalization of this model is not compositional for nondeterministic networks. Past work has shown that compositionality can be attained by models based on traces. In the paper, we investigate trace models of dataflow networks, with the aim of characterizing compositional and non-compositional models. We study several compositional trace models, which differ in whether they model liveness, termination or divergence. We relate the models into a hierarchy, according to their capability to distinguish networks. A hierarchy is called complete if any gap between two models in the hierarchy contains no compositional models. Our main contribution is to prove that most of the gaps in our hierarchy do not contain compositional models. Several full abstraction results in the literature follow directly from the gaps in our hierarchy. We also show that by restricting the networks to contain less powerful nondeterministic processes, additional models become compositional. This means that additional models are added to the hierarchy.
Supported in part by the Swedish Board for Technical Development (STU) under contract No. 89-01220P as part of Esprit BRA project SPEC, No. 3096.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
R. Back and H. Mannila. On the suitability of trace semantics for modular proofs of communicating processes. Theoretical Computer Science, 39(1):47–68, 1985.
F. Boussinot. Proposition de semantique denotationelle pur des processus avec operateur de melange equitable. Theoretical Computer Science, 18(2):173–206, 1982.
J. Brock and W. Ackerman. Scenarios: a model of non-determinate computation. In Formalization of Programming Concepts, LNCS 107, pages 252–259. 1981.
S. Brookes, C. Hoare, and A. Roscoe. A theory of communicating sequential processes. J. ACM, 31(3):560–599, 1984.
M. Broy. Fixed point theory for communication and concurrency. In Bjoerner, editor, Formal Description of Programming Concepts II, pages 125–146, 1983. North-Holland.
M. Broy. Nondeterministic data flow programs: How to avoid the merge anomaly. Science of Computer Programming, 10:65–85, 1988.
R. de Nicola and M. Hennessy. Testing equivalences for processes. Theoretical Computer Science, 34:83–133, 1984.
C. Hoare. Communicating Sequential Processes. Prentice-Hall, 1985.
B. Jonsson. A model and proof system for asynchronous networks. In Proc. 4th ACM PoDC, pages 49–58, 1985.
B. Jonsson. Compositional Verification of Distributed Systems. PhD thesis, Uppsala University, Sweden, 1987.
B. Jonsson. A fully abstract trace model for dataflow networks. In Proc. 16th ACM PoPL, pages 155–165, 1989.
B. Jonsson. A hiearchy of compositional models of I/O-automata. In Proc. MFCS, LNCS 452, pages 347–354. 1990.
B. Jonsson and J. Kok. Comparing two fully absttract dataflow models. In Proc. PARLE 89, LNCS 365, pages 217–234. 1989.
G. Kahn. The semantics of a simple language for parallel programming. In IFIP 74, pages 471–475. North-Holland, 1974.
R. Keller and P. Panangaden. Semantics of networks containing indeterminate operators. In Seminar on Concurrency 1984, LNCS 197, pages 479–496, 1985.
R. Keller and P. Panangaden. Semantics of networks containing indeterminate operators. Distributed Computing, 1:235–245, 1986.
J. Kok. Denotational semantics of nets with nondeterminism. In European Symposium on Programming, Saarbrücken, LNCS 206, pages 237–249. 1986.
J. Kok. A fully abstract semantics for data flow nets. In Proc. PARLE, LNCS 259, pages 351–368. 1987.
P. Kosinski. A straight-forward denotational semantics for nondeterminate data flow programs. In Proc. 5th ACM PoPL, pages 214–219, 1978.
N. Lynch and M. Tuttle. Hierarchical correctness proofs for distributed algorithms. In Proc. 6th ACM PoDC, pages 137–151, 1987.
R. Milner. Communication and Concurrency. Prentice-Hall, 1989.
J. Misra and K. M. Chandy. Proofs of networks of processes. IEEE Trans. on Software Engineering, SE-7(4):417–426, July 1981.
V. Nguyen, A. Demers, D. Gries, and S. Owicki. A model and temporal proof system for networks of processes. Distributed Computing, 1(1):7–25, 1986.
E. Olderog and C. Hoare. Specification-oriented semantics for communicating processes. Acta Informatica, 23(1):9–66, 1986.
P. Panangaden and V. Shanbhogue. The expressive power of indeterminate dataflow primitives, May 1989. Manuscript.
P. Panangaden, V. Shanbhogue, and E. Stark. Stability and sequentiality in dataflow networks. TR 89-1055, Cornell University, Nov. 1989.
P. Panangaden and E. Stark. Computations, residuals, and the power of indeterminiacy. In Proc. ICALP '88, LNCS 317, volume 317 of Lecture Notes in Computer Science, pages 439–454. Springer Verlag, 1988.
D. Park. The ‘fairness’ problem and nondeterministic computing networks. In, Foundations of Computer Science IV, Part 2, pages 133–161, Amsterdam, 1983. Mathematical Centre Tracts 159.
V. Pratt. On the composition of processes. In Proc. 9th ACM PoPL, pages 213–223, 1982.
V. Pratt. The pomset model of parallel processes: Unifying the temporal and the spatial. In Proc. Seminar on Concurrency, LNCS 197, pages 180–196. 1984.
A. Rabinovich and B. Trakhtenbrot. Nets of processes and data flow. In Linear Time, Branching Time and Partial Order in Logics and Models for Concurrency, LNCS 354, pages 574–602. 1989.
G. Reed and A. Roscoe. A timed model for communicating sequential processes. In Proc. ICALP '86, LNCS 226, pages 314–323. 1986.
G. Reed and A. Roscoe. Metric spaces as models for real-time concurrency. In Proc. 3rd Workshop on Math. Found. of Progr. Lang. Semantics, LNCS 298. Springer Verlag, 1988.
J. Russell. Full abstraction for nondeterministic dataflow networks. In Proc. 30th IEEE FoCS, 1989.
J. Staples and V. Nguyen. A fixpoint semantics for nondeterministic data flow. J. ACM, 32(2):411–444, April 1985.
R. J. van Glabbeek and F. W. Vaandrager. Petri net models for algebraic theories of concurency. In Proc. PARLE, LNCS 259, pages 224–242. 1987.
J. Zwiers. Compositionality, Concurrency and Partial Correctness, LNCS 321. 1989.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1991 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Jonsson, B., Kok, J.N. (1991). Towards a complete hierarchy of compositional dataflow models. In: Ito, T., Meyer, A.R. (eds) Theoretical Aspects of Computer Software. TACS 1991. Lecture Notes in Computer Science, vol 526. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-54415-1_47
Download citation
DOI: https://doi.org/10.1007/3-540-54415-1_47
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-54415-9
Online ISBN: 978-3-540-47617-7
eBook Packages: Springer Book Archive