Skip to main content

1988 | Buch

Confluent String Rewriting

verfasst von: Professor Dr. rer. nat. Matthias Jantzen

Verlag: Springer Berlin Heidelberg

Buchreihe : Monographs in Theoretical Computer Science. An EATCS Series

insite
SUCHEN

Über dieses Buch

Replacement systems, such as term rewriting systems, tree manipulat­ ing systems, and graph grammars, have been used in Computer Science in the context of theorem proving, program optimization, abstract data types, algebraic simplification, and symbolic comput­ ation. Replacement systems for strings arose about seventy years earlier in the area of combinatory logic and group theory. The most natural and appropriate formalism for dealing with string rewriting is the notion of a semi-Thue system and this monograph treats its central aspects. The reduction relation is here defined firstly by the direction of the rules and secondly by some metric that yields efficient algorithms. These systems are general enough to discuss the basic notions of arbitrary replacement systems, such as termination, confluence, and the Church-Rosser property in its original meaning. Confluent semi-Thue systems in which each and every derivation consists of finitely many steps only are called complete; they guarantee the existence of unique normal forms as canonical representatives of the Thue congruence classes. Each such system can be considered a nondeterministic algorithm for the word problem which works correctly without backtracking. This is often conceptually simpler and more elegant than an ad hoc construction. In many cases a replace­ ment system can be altered to a complete system by the Knuth-Bendix completion method.

Inhaltsverzeichnis

Frontmatter
Introduction
Abstract
The study of replacement systems is at the heart of computer science and such systems appear in various forms and different contexts: compilers transform object code into machine code, graph grammars rewrite and thereby generate graphs, and the semantics of functional programming languages such as LISP and its variants is defined with the help of term rewriting systems [56, 57, 68, 74, 135, 163, 182]. Program transformations [64, 92, 129, 141], as well as program optimizers [2], data type specifications [29, 111–114, 118–120, 211–214], and algebraic simplifiers [62, 133, 179, 252], also use term rewriting systems; see also [76, 85, 106, 137, 139, 142, 144, 146, 184, 204, 245, 246, 255, 262].
Matthias Jantzen
1. Basic Definitions
Abstract
A reduction system is generally characterized by a set B of objects together with a (by definition) meaning preserving one-step transformation relation ⇒ on B. Usually this relation is irreflexive.
Matthias Jantzen
2. Decision Problems
Abstract
All the undecidability results finally have their roots in the undecidable halting problem for Turing machines. Sometimes, however, it is much easier to derive them from the Post correspondence problem (PCP) or the word problem for groups or semigroups. Unfortunately, many of the problems we encounter with reduction systems turn out to be undecidable, even when we take STSs, for instance, the innocent looking question of minimality of a string.
Matthias Jantzen
3. Congruential Languages Specified by Semi-Thue Systems
Abstract
Languages can be defined by semi-Thue systems in various ways. They can be described as sentential form languages, studied in detail by Kudlek and the author in [156], or they can be connected to well-quasi orders as done by Ehrenfeucht, Haussler and Rozenberg in [91]. Narendran and McNaughton combined the rewriting by STSs with additional nonterminal symbols in [218]. We shall here restrict our attention to languages describable in the form of congruence classes [L], sets of descendants Δ*(L), or sets of ancestors <L>*, where L is a language from one of the Chomsky families.
Matthias Jantzen
4. Complete STSs, Groups, and Monoids
Abstract
Groups are often described as quotient groups of free groups: GF(X)/N, where F(X) is a free group with basis X and N is the normal subgroup generated by a set R in F(X). Usually, this will then be written as G = <X;R>, where RX+ is a set of so-called relators, standing for the defining relations {r = 1∣rR}, where 1 is the neutral element of G. All defining relations can be presented in this form, since the relation u = υ can obviously be transformed into -1 = 1. For a more detailed exposition and for group theory notation as used here and in Chap. 5 see [188, 193]. For example < {a, b}; {ab} > is a presentation of the infinite cyclic group ℤ, which we will write <a, b; ab> or just <a> for short.
Matthias Jantzen
5. The Special One-Relator STSs S n for n > 1 and the Groups G n
Abstract
In [151] the author studied a special STS S J :={(abbaab, λ){, showing that [X 2; S J ]is in fact a group but not a context-free group. In Sect 4.2 we presented the simpler STS S 1 with this property and we will now present the appropriate generalization of both S 1 and S J .
Matthias Jantzen
Backmatter
Metadaten
Titel
Confluent String Rewriting
verfasst von
Professor Dr. rer. nat. Matthias Jantzen
Copyright-Jahr
1988
Verlag
Springer Berlin Heidelberg
Electronic ISBN
978-3-642-61549-8
Print ISBN
978-3-642-64867-0
DOI
https://doi.org/10.1007/978-3-642-61549-8