# On the synthesis of an asynchronous reactive module

- 114 Citations
- 290 Downloads

## Abstract

We consider the synthesis of a reactive asynchronous module which communicates with its environment via the shared input variable *x* and the shared output variable *y*, assuming that the module is specified by the linear temporal formula ϕ(*x,y*). We derive from ϕ(*x,y*) another linear formula χ(*r,w,x,y*), with the additional *scheduling* variables *r,w*, and show that there exists a program satisfying ϕ iff the branching time formula (∀*r,w,x*)(∃*y*)Aχ(*r,w,x,y*) is valid over all tree models. For the restricted case that all variables range over finite domains, the validity problem is decidable, and we present an algorithm, of doubly exponential time and space complexity, for constructing a program that implements the specification whenever it is implementable. In addition, we provide some matching lower bounds.

## Keywords

Temporal Logic Linear Temporal Logic Canonical Model State Formula Tree Automaton## Preview

Unable to display preview. Download preview PDF.

## References

- [AE89]P.C. Attie and E.A. Emerson, Synthesis of concurrent systems with many similar sequential processes,
*Proc. 16th ACM Symp. Princ. of Prog. Lang.*, 1989, pp. 191–201.Google Scholar - [ALW89]M. Abadi, L. Lamport, and P. Wolper, Realizable and unrealizable concurrent program specifications,
*Proc. 16th Int. Colloq. Aut. Lang. Prog.*, 1989. To appear in the LNCS-series, Springer.Google Scholar - [Bac80]J. Bacon, Substance and first-order quantification over individual-concepts,
*J. Symb. Logic***45**, 1980, pp. 193–203.Google Scholar - [Bar87]H. Barringer, The use of temporal logic in the compositional specification of concurrent systems,
*Temporal Logics and Their Applications*(A. Galton, ed.), Academic Press, London, 1987, pp. 53–90.Google Scholar - [BKP84]H. Barringer, R. Kuiper, and A Pnueli, Now you may compose temporal logic specifications,
*Proc. 16th ACM Symp. Theory of Comp.*, 1984, pp. 51–63.Google Scholar - [BKP86]H. Barringer, R. Kuiper, and A Pnueli, A really abstract concurrent model and its temporal logic,
*Proc. 13th ACM Symp. Princ. of Prog. Lang.*, 1986, pp. 173–183.Google Scholar - [BL69]J.R. Büchi and L.H. Landweber, Solving sequential conditions by finite-state strategies,
*Trans. Amer. Math. Soc.***138**, 1969, pp. 295–311.Google Scholar - [CES86]E.M. Clarke, E.A. Emerson, and A.P. Sistla, Automatic verification of finite state concurrent systems using temporal logic specifications,
*ACM Trans. Prog. Lang. Sys.***8**, 1986, pp. 244–263.CrossRefGoogle Scholar - [CKS81]A.K. Chandra, D.C. Kozen, and L.J. Stockmeyer, Alternation,
*J. ACM***28**, 1981, pp. 114–133.CrossRefGoogle Scholar - [Con85]R.L. Constable, Constructive mathematics as a programming logic I: Some principles of theory,
*Ann. Discrete Math.***24**, 1985, pp. 21–38.Google Scholar - [Dil88]D.L. Dill,
*Trace Theory for Automatic Hierarchical Verification of Speed-Independent Circuits*, Ph.D. thesis, CMU, 1988. Available as Technical Report CMU-CS-88-119.Google Scholar - [EC82]E.A. Emerson and E.M. Clarke, Using branching time temporal logic to synthesize synchronization skeletons,
*Sci. Comp. Prog.***2**, 1982, pp. 241–266.CrossRefGoogle Scholar - [EH86]E.A. Emerson and J.Y. Halpern, 'sometimes’ and ‘not never’ revisited: On branching time versus linear time,
*J. ACM***33**, 1986, pp. 151–178.CrossRefGoogle Scholar - [EJ88]E.A. Emerson and C.S. Jutla, The complexity of tree automata and logic of programs,
*Proc. 29th IEEE Symp. Found. of Comp. Sci.*, 1988, pp. 328–337.Google Scholar - [EJ89]E.A. Emerson and C.S. Jutla, On simultaneously determinizing and complementing
*w*-automata,*Proc. 4th IEEE Symp. Logic in Comp. Sci.*, 1989. To appear.Google Scholar - [ES84]E.A. Emerson and A.P. Sistla, Deciding full branching time logic,
*Inf. and Cont.***61**, 1984, pp. 175–201.CrossRefGoogle Scholar - [FL79]M.J. Fischer and R.E. Ladner, Propositional dynamic logic of regular programs,
*J. Comp. Sys. Sci.***18**, 1979, pp. 194–211.CrossRefGoogle Scholar - [HR72]R. Hossley and C. Rackoff, The emptiness problem for automata on infinite trees,
*Proc. 13th IEEE Symp. Switching and Automata Theory*, 1972, pp. 121–124.Google Scholar - [HT87]T. Hafer and W. Thomas, Computation tree logic CTL* and path quantifiers in the monadic theory of the binary tree,
*Proc. 14th Int. Colloq. Aut. Lang. Prog.*, Lec. Notes in Comp. Sci. 267, Springer, 1987, pp. 269–279.Google Scholar - [Lam83]L. Lamport, What good is temporal logic,
*Proc. IFIP Congress*(R.E.A. Mason, ed.), North-Holland, 1983, pp. 657–668.Google Scholar - [Lam86]L. Lamport, Personal Communication, 1986.Google Scholar
- [MW80]Z. Manna and R.J. Waldinger, A deductive approach to program synthesis,
*ACM Trans. Prog. Lang. Sys.***2**, 1980, pp. 90–121.CrossRefGoogle Scholar - [MW84]Z. Manna and P. Wolper, Synthesis of communicating processes from temporal logic specifications,
*ACM Trans. Prog. Lang. Sys.***6**, 1984, pp. 68–93.CrossRefGoogle Scholar - [PR88]A. Pnueli and R. Rosner, A framework for the synthesis of reactive modules,
*Proc. Intl. Conf. on Concurrency: Concurrency88*(F.H. Vogt, ed.), Lec. Notes in Comp. Sci.**335**, Springer, 1988, pp. 4–17.Google Scholar - [PR89]A. Pnueli and R. Rosner, On the synthesis of a reactive module,
*Proc. 16th ACM Symp. Princ. of Prog. Lang.*, 1989, pp. 179–190.Google Scholar - [Rab72]M.O. Rabin,
*Automata on Infinite Objects and Churc's Problem*, Volume 13 of*Regional Conference Series in Mathematics*, Amer. Math. Soc., 1972.Google Scholar - [Saf88]S. Safra, On the complexity of ω-automata,
*Proc. 29th IEEE Symp. Found. of Comp. Sci.*, 1988, pp. 319–327. An extended version to appear in*J. Comp. Sys. Sci.*Google Scholar - [SVW87]A.P. Sistla, M.Y. Vardi, and P. Wolper, The complementation problem for Büchi autamata with application to temporal logic,
*Theor. Comp. Sci.***49**, 1987, pp. 217–237.CrossRefGoogle Scholar - [VS85]M.Y. Vardi and L.J. Stockmeyer, Improved upper and lower bounds for modal logics of programs,
*Proc. 17th ACM Symp. Theory of Comp.*, 1985, pp. 240–251.Google Scholar - [VW86]M.Y. Vardi and P. Wolper, Automata theoretic techniques for modal logics of programs,
*J. Comp. Sys. Sci.***32**, 1986, pp. 183–221.CrossRefGoogle Scholar