Rewriting with a nondeterministic choice operator : From algebra to proofs
Abstract
The privileged field of classical algebra and term rewriting systems is that of strictly deterministic systems: the confluence property is generaly assumed to hold, which ensures determinism about the result of the computations, even if there exist several different computation paths. In this paper, we develop a new formalism introducing a bounded nondeterministic choice operator ‘↑’ into algebraic specifications and related term rewriting systems; nondeterminism about the result becomes allowed in this framework. We define the algebraic and the operational aspects of such systems, and investigate their relationship. Methods à la Knuth-Bendix are developed for automatic theorem proving in such theories. Several examples are considered, including a toy concurrent language, for which non-trivial properties may be automatically proved.
Keywords
Normal Form Transitive Closure Critical Pair Classical Term Automatic Theorem ProveBibliography
- [ADJ 78]J.A.Goguen, J.W. Thatcher, E.G.Wagner, An initial algebra approach to the specification, correctness and implementation of abstract data types, in Current Trends in Programming Methodology, Prentice-Hall N-J. (1978)Google Scholar
- [Apt 84]K.Apt, Ten years of Hoare's logic: a survey. Part II: nondeterminism, in Theoretical Computer Science 28 (1984).Google Scholar
- [BK 84a]J.Bergstra, J.Klop, Algebra of communicating processes with abstraction, CWI Report CS-R8403, Amsterdam (1984).Google Scholar
- [BK 84b]J.Bergstra, J.Klop, Algebra of communicating processes. Part II, CWI Report, Amsterdam (1984)Google Scholar
- [Bidoit 81]M. Bidoit, Une methode de presentation de types abstraits: applications, These de 3e cycle, Orsay (1981)Google Scholar
- [BM 79]R. Boyer, J.S. Moore, A computational logic, Academic Press, (1979).Google Scholar
- [Boudol 84]G. Boudol, An "asynchronous" calculus MEIJE, in NATO Summer School, La-Colle-sur-Loup, France (1984).Google Scholar
- [BP 85]L.Bachmai, D.Plaisted, Associative path orderings, Proc. 1st RTA Conf., Dijon (1985).Google Scholar
- [Brookes 83]S.D.Brookes, On the relationship between CCS and CSP, Proc. 10th ICALP Conf., L.N.C.S., Springer Verlag (1983).Google Scholar
- [Broy 84]M.Broy, On the Herbrand Kleene universe for nondeterministic computations, Proc. MFCS 84 Conf., L.N.C.S., Springer Verlag (1984).Google Scholar
- [BW 81]M.Broy, M.Wirsing, On the algebraic specification of nondeterministic programming languages, Proc. CAAP-81 Conf., L.N.C.S. N.112 (1981).Google Scholar
- [CJ 85]C.Choppy, C.Johnen, Petrireve: proving Petri net properties with rewriting systems, Proc. 1st RTA Conf., Dijon (1985).Google Scholar
- [Dersh 79]N. Dershowitz, Orderings for term rewriting systems, Proc. 20th Symposium on Foundation of Computer Science, pp.123–131 (1979).Google Scholar
- [DF 85]D.Detlefs, R.Forgaard, A procedure for automatically proving the termination of a set of rewrite rules, Proc. 1st RTA Conf., Dijon (1985).Google Scholar
- [Fribourg 84]L.Fribourg, A narrowing procedure for theories with constructors, Proc. CADE Conf., Napa (1984).Google Scholar
- [GM 81]J.Goguen, J.Meseguer, Completeness of many-sorted equational logic, SIGPLAN Notices (1981).Google Scholar
- [Goguen 80]J.Goguen, How to prove algebraic inductive hypotheses without induction, 5th CAD, Les Arcs-France (1980).Google Scholar
- [Hennessy 1982]M.Hennessy, Powerdomains and nondeterministic recursive definitions, Symposium on Programming, L.N.C.S N.137 (1982)Google Scholar
- [Huet 77]G.Huet, Confluent reductions: abstract properties and applications to term rewriting systems, Proc. 18th FOCS Conf., Providence (1978).Google Scholar
- [HH 80]G. Huet, J-M. Hullot, Proofs by induction in equational theories with constructors 21st FOCS (1980).Google Scholar
- [HO 80]G.Huet, D.C. Oppen, Equations and rewrite rules: a survey, Formal languages: Perspective and open problems, R. Book Ed., Academic Press (1980).Google Scholar
- [Hoare 78]C.A.R. Hoare, Communicating sequential processes, CACM 21 666–677 (1978).Google Scholar
- [JK 84]J.P.Jouannaud, C.Kirchner, Completion of a set of rules modulo a set of equations, Proc. of the 11th POPL Conference (1984).Google Scholar
- [Kaplan 84]S. Kaplan, Unification, narrowing with fair conditional term rewriting systems, Internal L.R.I. Report (to appear).Google Scholar
- [Kaplan 86]S. Kaplan, A Birkhoff theorem for nondeterministic specifications, Weizmann Institute Internal Note, Rehovot (to appear-1986)Google Scholar
- [KB 70]D.E. Knuth, P.B. Bendix, Simple word problems in universal algebra, Computational problems in abstract algebra, J.Leech Ed., Pergammon Press (1970).Google Scholar
- [Kirchner 84]C.Kirchner, A new equational unification method: a generalization of Martelli-Montanari's algorithm, Proc. CADE Conf. (1984).Google Scholar
- [Lescanne 83]P.Lescanne, Computer experiment with the REVE term rewriting systems generator, Proc. of the 10th POPL Conference (1983).Google Scholar
- [Milner 80]R.Milner, A calculus of communicating systems, L.N.C.S. N.92, Springer Verlag (1980).Google Scholar
- [Musser 80]D.L.Musser, On proving inductive properties of abstract data types, Proc. 7th Conf., Las Vegas (1980)Google Scholar
- [Nivat 80]M.Nivat, Nondeterministic programs: an algebraic overview, Proc. of the IFIP 80 Conf., North-Holland Publishing Company (1980).Google Scholar
- [PF 85]S.Porat, N.Francez, Fairness in term rewriting systems, Proc. 1st RTA Conf., Dijon (1985).Google Scholar
- [Poigné 81]A.Poigné, On effective computations of nondeterministic schemes, Proc. of the CAAP-81 Conference, L.N.C.S. N.112 (1981)Google Scholar
- [RZ 85]J.L.Remy, H.Zhang, Contextual rewriting, Proc. 1st RTA Conf., Dijon (1985)Google Scholar