|
|
|
|
semi-Thue system
|
(Definition)
|
|
|
A semi-Thue system
is a pair
where is an alphabet and is a non-empty finite binary relation on , the Kleene star of .
Elements of are variously called defining relations, productions, or rewrite rules, and
itself is also known as a rewriting system. If
, we call the antecedent, and the consequent. Instead of writing
or , we usually write
Let
be a semi-Thue system. Given a word over , we say that a word over is immediately derivable from if there is a defining relation such that
 and 
for some words (which may be empty) over . If is immediately derivable from , we write
Let be the set of all pairs
such that
. Then
, and
If
 , then
 and
 for any word  .
Next, take the reflexive transitive closure of . Write
for
. So
means that either , or there is a finite chain
such that
for
. When
, we say that is derivable from . Concatenation preserves derivability:
Example. Let
be a semi-Thue system over the alphabet
, with the set of defining relations given by
. Then words , and as are all derivable from :
Under
, we see that if is derivable from , then they have the same length: . Furthermore, if we denote the number of occurrences of
letter in a word , then
,
, and
. Also, in order for a word to have a non-trivial word (non-trivial in the sense that ) derivable from it, must have either or as a subword. Therefore, words like or have no non-trivial derived words from them.
Remarks.
- Given a semi-Thue system
, one can associate a subset of whose elements we call axioms of
. Any word that is derivable from an axiom is called a theorem (of
). If is a theorem, we write
. The set of all theorems is written
, and is called the language (over ) generated by .
- Let
and be defined as above, and any alphabet. Call the elements of
the terminals of
. The set
is called the language generated by over , and written
. It is easy to see that
.
- A language
over an alphabet is said to be generable by a semi-Thue system if there is a semi-Thue system
and a finite set of axioms of
such that
.
- Semi-Thue systems are “equivalent” to formal grammars in the following sense:
a language is generable by a formal grammar iff it is semi-Thue generable.
The idea is to turn every defining relation in into a production
, where and are non-terminals or variables. As such, a production of the form
is sometimes called a semi-Thue production.
- Given a semi-Thue system
, the word problem for
asks whether or not for any pair of words over , one can determine in a finite number of steps (an algorithm) that
. If such an algorithm exists, we say that the word problem for
is solvable. It turns out there exists a semi-Thue system such that the word problem for it is unsolvable.
- The word problem for a specific
is the same as finding an algorithm to determine whether is a theorem based on a singleton axiom
for arbitrary words .
- The word problem for semi-Thue systems asks whether or not, given any semi-Thue system
, the word problem for
is solvable. From the previous remark, we see the word problem for semi-Thue systems is unsolvable.
- 1
- M. Davis, Computability and Unsolvability. Dover Publications, New York (1982).
- 2
- H. Hermes, Enumerability, Decidability, Computability: An Introduction to the Theory of Recursive Functions. Springer, New York, (1969).
|
"semi-Thue system" is owned by CWoo.
|
|
(view preamble)
See Also: formal grammar
| Other names: |
rewriting rule, rewrite rule, rewriting system, semi-Thue generable |
| Also defines: |
antecedent, consequent, immediately derivable, derivable, defining relation, word problem for semi-Thue systems, semi-Thue production, generable by a semi-Thue system |
|
|
Cross-references: singleton, solvable, algorithm, word problem, variables, non-terminals, iff, generable by a formal grammar, formal grammars, finite set, easy to see, terminals, generated by, language, axioms, subset, associate, subword, order, occurrences, number, length, imply, preserves, concatenation, finite chain, reflexive transitive closure, word, productions, Kleene star, binary relation, finite, alphabet
There are 21 references to this entry.
This is version 17 of semi-Thue system, born on 2007-09-24, modified 2008-02-14.
Object id is 9960, canonical name is SemiThueSystem.
Accessed 3170 times total.
Classification:
| AMS MSC: | 03D03 (Mathematical logic and foundations :: Computability and recursion theory :: Thue and Post systems, etc.) | | | 20M35 (Group theory and generalizations :: Semigroups :: Semigroups in automata theory, linguistics, etc.) | | | 03D40 (Mathematical logic and foundations :: Computability and recursion theory :: Word problems, etc.) | | | 68Q42 (Computer science :: Theory of computing :: Grammars and rewriting systems) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|