Back to the index. Or to the chambers
This article has 25 links. View as Cloud or List.
Loading ...
Planetmath Browser (2008—2009)
BSD licence | A django site
All articles taken from PlanetMath.org snapshot under CC-BY-SA licence.
→ The original article on PlanetMath.org
Other Formats: LaTeX
Semi Thue System
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
Next, take the reflexive transitive closureIf, then
and
for any word
.
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
:
-
,
-
, and
-
.
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.
Bibliography
- 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).