Main Page: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
In [[mathematics]], a '''congruent number''' is a positive [[integer]] that is the area of a [[right triangle]] with three [[rational number]] sides.<ref>{{MathWorld |urlname=CongruentNumber |title=Congruent Number}}</ref> A more general definition includes all positive rational numbers with this property.<ref name=Koblitz>{{cite book |first = Neal |last = Koblitz |authorlink = Neal Koblitz |title = Introduction to Elliptic Curves and Modular Forms |isbn = 0-387-97966-2 |publisher = [[Springer-Verlag]] |year = 1993| page = 3 |location = New York}}</ref>
In [[theoretical computer science]] and [[mathematical logic]] a '''string rewriting system''' ('''SRS'''), historically called a '''semi-Thue system''', is a [[rewriting]] system over [[String (computer science)|strings]] from a (usually [[Finite set|finite]]) [[Alphabet (computer science)|alphabet]]. Given a [[binary relation]] <math>R</math> between fixed strings in the alphabet, called '''rewrite rules''', denoted by <math>s\rightarrow t</math>, an SRS extends the rewriting relation to all strings in which the left- and right-hand side of the rules appear as [[substring]]s, that is <math>usv\rightarrow utv</math>, where <math>s</math>, <math>t</math>, <math>u</math>, and <math>v</math> are strings.


The sequence of integer congruent numbers starts with
The notion of a semi-Thue system essentially coincides with the [[presentation of a monoid]]. Thus they constitute a natural framework for solving the [[word problem (mathematics)|word problem]] for monoids and groups.
: 5, 6, 7, 13, 14, 15, 20, 21, 22, 23, 24, 28, 29, 30, 31, 34, 37, 38, 39, 41, 45, 46, 47, … {{OEIS|A003273}}


For example, 5 is a congruent number because it is the area of a 20/3, 3/2, 41/6 triangle. Similarly, 6 is a congruent number because it is the area of a 3,4,5 triangle. 3 is not a congruent number.
An SRS can be defined directly as an [[abstract rewriting system]]. It can also be seen as a restricted kind of a [[term rewriting]] system. As a formalism, string rewriting systems are [[Turing complete]]. The semi-Thue name comes from the Norwegian mathematician [[Axel Thue]], who introduced systematic treatment of string rewriting systems in a 1914 paper.<ref>Book and Otto, p. 36</ref> Thue introduced this notion hoping to solve the word problem for finitely presented semigroups. It wasn't until 1947 the problem was shown to be [[undecidable problem|undecidable]]&mdash; this result was obtained independently by [[Emil Post]] and [[Andrey Markov (Soviet mathematician)|A. A. Markov Jr.]]<ref>Abramsky et al. p. 416</ref><ref>Salomaa et al., p.444</ref>


If ''q'' is a congruent number then ''s''<sup>2</sup>''q'' is also a congruent number for any rational number ''s'' (just by multiplying each side of the triangle by ''s'').  This leads to the observation that whether a nonzero rational number ''q'' is a congruent number depends only on its residue in the [[group (mathematics)|group]]
==Definition==


:<math>\mathbb{Q}^{*}/\mathbb{Q}^{*2}</math>.
A '''string rewriting system''' or '''semi-Thue system''' is a [[tuple]] <math>(\Sigma, R)</math> where 
* <math>\Sigma</math> is an alphabet, usually assumed finite.<ref>In Book and Otto a semi-Thue system is defined over a finite alphabet through most of the book, except chapter 7 when monoid presentation are introduced, when this assumption is quietly dropped.</ref> The elements of the set <math>\Sigma^*</math> (* is the [[Kleene star]] here) are finite (possibly empty) strings on <math>\Sigma</math>, sometimes called ''words'' in [[formal languages]]; we will simply call them strings here.
* <math>R</math> is a [[binary relation]] on strings from <math>\Sigma</math>, i.e., <math>R \subseteq \Sigma^* \times \Sigma^*.</math> Each element <math>(u,v) \in R</math> is called a ''(rewriting) rule'' and is usually written <math>u \rightarrow v</math>.


Every residue class in this group contains exactly one [[square free]] integer, and it is common, therefore, only to consider square free positive integers, when speaking about congruent numbers.
If the relation <math>R</math> is [[symmetric relation|symmetric]], then the system is called a '''Thue system'''.


==Congruent number problem==
The rewriting rules in <math>R</math> can be naturally extended to other strings in <math>\Sigma^*</math> by allowing substrings to be rewritten according to <math>R</math>. More formally, the '''one-step rewriting relation''' relation <math>\rightarrow_R</math> induced by <math>R</math> on <math>\Sigma^*</math> for any strings <math>s</math>, and <math>t</math> in <math>\Sigma^*</math>:
The question of determining whether a given rational number is a congruent number is called the '''congruent number problem'''.  This problem has not (as of 2012) been brought to a successful resolution. [[Tunnell's theorem]] provides an easily testable criterion for determining whether a number is congruent; but his result relies on the [[Birch and Swinnerton-Dyer conjecture]], which is still unproven.


'''Fermat's right triangle theorem''', named after [[Pierre de Fermat]], states that no [[square number]] can be a congruent number.
: <math>s \rightarrow_R t</math> if and only if there exist <math>x</math>, <math>y</math>, <math>u</math>, <math>v</math> in <math>\Sigma^*</math> such that <math>s = xuy</math>, <math>t = xvy</math>, and <math>u \rightarrow v</math>.


==Relation to elliptic curves==
Since <math>\rightarrow_R</math> is a relation on <math>\Sigma^*</math>, the pair <math>(\Sigma^*, \rightarrow_R)</math> fits the definition of an [[abstract rewriting system]]. Obviously <math>R</math> is a subset of <math>\rightarrow_R</math>. Some authors use a different notation for the arrow in <math>\rightarrow_R</math> (e.g. <math>\Rightarrow_R</math>) in order to distinguish it from <math>R</math> itself (<math>\rightarrow</math>) because they later want to be able to drop the subscript and still avoid confusion between <math>R</math> and the one-step rewrite induced by <math>R</math>.
The question of whether a given number is congruent turns out to be equivalent to the condition that a certain [[elliptic curve]] has positive [[rank of an abelian group|rank]].<ref name=Koblitz /> An alternative approach to the idea is presented below (as can essentially also be found in the introduction to Tunnell's paper).


Suppose ''a'',''b'',''c'' are numbers (not necessarily positive or rational) which satisfy the following two equations:
Clearly in a semi-Thue system we can form a (finite or infinite) sequence of strings produced by starting with an initial string <math>s_0 \in \Sigma^*</math> and repeatedly rewriting it by making one substring-replacement at a time:  


:<math>
:<math>s_0 \ \rightarrow_R \ s_1 \ \rightarrow_R \ s_2 \ \rightarrow_R \ \ldots </math>
\begin{matrix}
a^2 + b^2 &=& c^2\\
\frac{ab}{2} &=& n.
\end{matrix}
</math>


Then set ''x'' = ''n''(''a''+''c'')/''b'' and
A zero-or-more-steps rewriting like this is captured by the [[reflexive transitive closure]] of <math>\rightarrow_R</math>, denoted by <math>\stackrel{*}{\rightarrow}_R</math> (see [[abstract rewriting system#Basic notions]]). This is called the '''rewriting relation''' or '''reduction relation''' on <math>\Sigma^*</math> induced by <math>R</math>.
''y'' = 2''n''<sup>2</sup>(''a''+''c'')/''b''<sup>2</sup>.
A calculation shows
:<math>
y^2 = x^3 -n^2x
\,\!
</math>
and ''y'' is not 0 (if ''y'' = 0 then ''a'' = -''c'', so ''b'' = 0, but (1/2)''ab'' = ''n'' is nonzero, a contradiction).


Conversely, if ''x'' and ''y'' are numbers which satisfy the above equation and ''y'' is not 0, set
== Thue congruence ==
''a'' = (''x''<sup>2</sup> - ''n''<sup>2</sup>)/''y'',
''b'' = 2''nx''/''y'', and ''c'' = (''x''<sup>2</sup> + ''n''<sup>2</sup>)/''y'' .  A calculation shows these three numbers
satisfy the two equations for ''a'', ''b'', and ''c'' above.


These two correspondences between (''a'',''b'',''c'') and (''x'',''y'') are inverses of each other, so
In general, the set <math>\Sigma^*</math> of strings on an alphabet forms a [[free monoid]] together with the [[binary operation]] of [[string concatenation]] (denoted as <math>\cdot</math> and written multiplicatively by dropping the symbol). In a SRS, the reduction relation <math>\stackrel{*}{\rightarrow}_R</math> is compatible with the monoid operation, meaning that <math>x\stackrel{*}{\rightarrow}_R y</math> implies <math>uxv\stackrel{*}{\rightarrow}_R uyv</math> for all strings <math>x</math>, <math>y</math>, <math>u</math>, <math>v</math> in <math>\Sigma^*</math>. Since <math>\stackrel{*}{\rightarrow}_R</math> is by definition a [[preorder]], <math>(\Sigma^*, \cdot, \stackrel{*}{\rightarrow}_R)</math> forms a [[preordered monoid]].
we have a one-to-one correspondence between any solution of the two equations in
''a'', ''b'', and ''c'' and any solution of the equation in ''x'' and ''y'' with ''y'' nonzero.   In particular,
from the formulas in the two correspondences, for rational ''n'' we see that ''a'', ''b'', and ''c'' are
rational if and only if the corresponding ''x'' and ''y'' are rational, and vice versa.
(We also have that ''a'', ''b'', and ''c'' are all positive if and only if ''x'' and ''y'' are all positive;
notice from the equation ''y''<sup>2</sup> = ''x''<sup>3</sup> - ''xn''<sup>2</sup> = ''x''(''x''<sup>2</sup> - ''n''<sup>2</sup>)
that if ''x'' and ''y'' are positive then ''x''<sup>2</sup> - ''n''<sup>2</sup> must be positive, so the formula for
''a'' above is positive.)


Thus a positive rational number ''n'' is congruent if and only if the equation
Similarly, the [[reflexive transitive symmetric closure]] of <math>\rightarrow_R</math>, denoted <math>\stackrel{*}{\leftrightarrow}_R</math> (see [[abstract rewriting system#Basic notions]]), is a [[Congruence relation|congruence]], meaning it is an [[equivalence relation]] (by definition) and it is also compatible with string concatenation. The relation <math>\stackrel{*}{\leftrightarrow}_R</math> is called the '''Thue congruence''' generated by <math>R</math>. In a Thue system, i.e. if <math>R</math> is symmetric, the rewrite relation <math>\stackrel{*}{\rightarrow}_R</math> coincides with the Thue congruence <math>\stackrel{*}{\leftrightarrow}_R</math>.
''y''<sup>2</sup> = ''x''<sup>3</sup> - ''n''<sup>2</sup>''x'' has a [[rational point]] with ''y'' not equal to 0.
It can be shown (as a nice application of [[Dirichlet's theorem on arithmetic progressions|Dirichlet's theorem]] on primes in arithmetic progression)
that the only torsion points on this elliptic curve are those with ''y'' equal to 0, hence the
existence of a rational point with ''y'' nonzero is equivalent to saying the elliptic curve has positive rank.


==Current progress==
== Factor monoid and monoid presentations ==
Much work has been done classifying congruent numbers.
Since <math>\stackrel{*}{\leftrightarrow}_R</math> is a congruence, we can define the '''factor monoid''' <math>\mathcal{M}_R = \Sigma^*/\stackrel{*}{\leftrightarrow}_R</math> of the [[free monoid]] <math>\Sigma^*</math> by the Thue congruence in the [[factor monoid|usual manner]]. If a monoid <math>\mathcal{M}</math> is [[isomorphic]] with <math>\mathcal{M}_R</math>, then the semi-Thue system <math>(\Sigma, R)</math> is called a [[monoid presentation]] of <math>\mathcal{M}</math>.


For example, it is known<ref>{{cite journal |author=[[Paul Monsky]] |title=Mock Heegner Points and Congruent Numbers |journal=Mathematische Zeitschrift |volume=204 |issue=1 |year=1990 |pages=45–67 |doi=10.1007/BF02570859}}</ref> that if ''p'' is a prime number then
We immediately get some very useful connections with other areas of algebra. For example, the alphabet {''a'', ''b''} with the rules { ''ab'' → ε, ''ba'' → ε }, where ε is the [[empty string]], is a presentation of the [[free group]] on one generator. If instead the rules are just { ''ab'' → ε }, then we obtain a presentation of the [[bicyclic monoid]].
*if ''p'' ≡ 3 ([[modular arithmetic|mod]] 8), then ''p'' is not a congruent number, but 2''p'' is a congruent number.
*if ''p'' ≡ 5 (mod 8), then ''p'' is a congruent number.
*if ''p'' ≡ 7 (mod 8), then ''p'' and 2''p'' are congruent numbers.


==References==
The importance of semi-Thue systems as presentation of monoids is made stronger by the following:
 
'''Theorem''': Every monoid has a presentation of the form <math>(\Sigma, R)</math>, thus it may be always be presented by a semi-Thue system, possibly over an infinite alphabet.<ref>Book and Otto, Theorem 7.1.7, p. 149</ref>
 
In this context, the set <math>\Sigma</math> is called the '''set of generators''' of <math>\mathcal{M}</math>, and <math>R</math> is called the set of '''defining relations''' <math>\mathcal{M}</math>. We can immediately classify monoids based on their presentation. <math>\mathcal{M}</math> is called
* '''finitely generated''' if <math>\Sigma</math> is finite.
* '''finitely presented''' if both <math>\Sigma</math> and <math>R</math> are finite.
 
== The word problem for semi-Thue systems ==
 
The word problem for semi-Thue systems can be stated as follows: Given a semi-Thue system <math>T:=(\Sigma, R)</math> and two words (strings) <math>u, v \in \Sigma^*</math>, can <math>u</math> be transformed into <math>v</math> by applying rules from <math>R</math>? This problem is [[Undecidable problem|undecidable]], i.e. there is no general algorithm for solving this problem. This even holds if we limit the input to finite systems.
 
Martin Davis offers the lay reader a two-page proof in his article "What is a Computation?" pp.&nbsp;258–259 with commentary p.&nbsp;257. Davis casts the proof in this manner: "Invent [a word problem] whose solution would lead to a solution to the [[halting problem]]."
 
== Connections with other notions ==
 
A semi-Thue system is also a [[term-rewriting]] system&mdash;one that has [[monadic (arity)|monadic]] words (functions) ending in the same variable as left- and right-hand side terms,<ref>Nachum Dershowitz and Jean-Pierre Jouannaud. [http://citeseer.ist.psu.edu/dershowitz90rewrite.html Rewrite Systems] (1990) p. 6</ref> e.g. a term rule <math>f_2(f_1(x)) \rightarrow g(x)</math> is equivalent with the string rule <math>f_1f_2 \rightarrow g</math>.
 
A semi-Thue system is also a special type of [[Post canonical system]], but every Post canonical system can also be reduced to an SRS. Both formalism are [[Turing complete]], and thus equivalent to [[Noam Chomsky]]'s [[unrestricted grammar]]s, which are sometimes called ''semi-Thue grammars''.<ref>D.I.A. Cohen, Introduction to Computer Theory, 2nd ed., Wiley-India, 2007, ISBN 81-265-1334-9, p.572</ref> A [[formal grammar]] only differs from a semi-Thue system by the separation of the alphabet in terminals and non-terminals, and the fixation of a starting symbol amongst non-terminals. A minority of authors actually define a semi-Thue system as a triple <math>(\Sigma, A, R)</math>, where <math>A\subseteq\Sigma^*</math> is called the ''set of axioms''. Under this "generative" definition of semi-Thue system, an unrestricted grammar is just a semi-Thue system with a single axiom in which one partitions the alphabet in terminals and non-terminals, and makes the axiom a nonterminal.<ref>Dan A. Simovici, Richard L. Tenney, ''Theory of formal languages with applications'', World Scientific, 1999 ISBN 981-02-3729-4, chapter 4</ref> The simple artifice of partitioning the alphabet in terminals and non-terminals is a powerful one; it allows the definition of the [[Chomsky hierarchy]] based on the what combination of terminals and non-terminals rules contain. This was a crucial development in the theory of [[formal languages]].
 
==History and importance==
Semi-Thue systems were developed as part of a program to add additional constructs to [[logic]], so as to create systems such as [[propositional logic]], that would allow general mathematical theorems to be expressed in a [[formal language]], and then proven and verified in an automatic, mechanical fashion. The hope was that the act of [[theorem proving]] could then be reduced to a set of defined manipulations on a set of strings.  It was subsequently realized that semi-Thue systems are isomorphic to [[unrestricted grammar]]s, which in turn are known to be isomorphic to [[Turing machine]]s. This method of research succeeded and now computers can be used to verify the proofs of mathematic and logical theorems.
 
At the suggestion of [[Alonzo Church]], [[Emil Post]] in a paper published in 1947, first proved "a certain Problem of Thue" to be unsolvable, what [[Martin Davis]] states as "...the first unsolvability proof for a problem from classical mathematics -- in this case the word problem for semigroups." (Undecidable p.&nbsp;292)
 
Davis [ibid] asserts that the proof was offered independently by A. A. Markov (C. R. (Doklady) Acad. Sci. U.S.S.R. (n.s.) 55(1947), pp.&nbsp;583–586.
 
== See also ==
 
* [[L-system]]
* [[MU puzzle]]
 
== Notes ==
{{reflist}}
{{reflist}}
*A short discussion of the current state of the problem with many references can be found in [[Alice Silverberg]]'s [http://www.math.uci.edu/~asilverb/bibliography/pcmibook.ps Open Questions in Arithmetic Algebraic Geometry] (Postscript).
*Many references are given in {{cite book |author=[[Richard Guy]] |title=Unsolved Problems in Number Theory |isbn=0-387-20860-7}}
*For a history of the problem, see {{cite book |author=[[Leonard Eugene Dickson]] |title=History of the Theory of Numbers |volume=Volume II |isbn=0-8218-1935-6 |chapter=Chapter XVI}}
*{{cite journal |author=[[Ronald Alter]] |title=The Congruent Number Problem |journal=American Mathematical Monthly |volume=87 |issue=1 |year=1980 |pages=43–45 |doi=10.2307/2320381 |publisher=Mathematical Association of America |jstor=2320381}}
*{{cite journal |doi=10.1007/BF02837344 |author=V. Chandrasekar |title=The Congruent Number Problem |journal=Resonance |volume=3 |issue=8 |year=1998 |pages=33–45 |url=http://www.ias.ac.in/resonance/Aug1998/pdf/Aug1998p33-45.pdf}}
* {{cite journal
  | author = Tunnell, Jerrold B.
  | title = A classical Diophantine problem and modular forms of weight 3/2
  | journal = [[Inventiones Mathematicae]]
  | volume = 72
  | issue = 2
  | pages = 323–334
  | year = 1983
  | doi = 10.1007/BF01389327}}
* [http://www.aimath.org/news/congruentnumbers/ A Trillion Triangles] - mathematicians have resolved the first one trillion cases (conditional on the [[Birch and Swinnerton-Dyer conjecture]]).


[[Category:Arithmetic problems of plane geometry]]
== References ==
[[Category:Unsolved problems in mathematics]]
 
[[Category:Number theory]]
=== Monographs ===
[[Category:Elliptic curves]]
 
[[Category:Triangle geometry]]
* [[Ronald V. Book]] and Friedrich Otto, ''String-rewriting Systems'', Springer, 1993, ISBN 0-387-97965-4.
* Matthias Jantzen, ''Confluent string rewriting'', Birkhäuser, 1988, ISBN 0-387-13715-7.
 
=== Textbooks ===
 
* [[Martin Davis]], Ron Sigal, Elaine J. Weyuker, ''Computability, complexity, and languages: fundamentals of theoretical computer science'', 2nd ed., Academic Press, 1994, ISBN 0-12-206382-1, chapter 7
* Elaine Rich, ''Automata, computability and complexity: theory and applications'', Prentice Hall, 2007, ISBN 0-13-228806-0, chapter 23.5.
 
=== Surveys ===
 
<!--TODO: find article names/authors from the reflist above.-->
* Samson Abramsky, Dov M. Gabbay, Thomas S. E. Maibaum (ed.), ''Handbook of Logic in Computer Science: Semantic modelling'', Oxford University Press, 1995, ISBN 0-19-853780-8.
* Grzegorz Rozenberg, Arto Salomaa (ed.), ''Handbook of Formal Languages: Word, language, grammar'', Springer, 1997, ISBN 3-540-60420-0.
 
=== Landmark papers ===
 
* [[Emil Post]] (1947), ''Recursive Unsolvability of a Problem of Thue'', The Journal of Symbolic Logic, vol. 12 (1947) pp.&nbsp;1–11. Reprinted in [[Martin Davis]] ed. (1965), ''The Undecidable: Basic Papers on Undecidable Propositions, Unsolvable Problems and Computable Functions'', Raven Press, New York. pp.&nbsp;293ff
 
[[Category:Formal languages]]
[[Category:Theory of computation]]
[[Category:Rewriting systems]]


[[he:מספר קונגרואנטי]]
[[ja:文字列書き換え系]]
[[ja:合同数]]
[[pt:Números congruentes]]
[[ru:Конгруэнтное число]]

Revision as of 11:02, 14 August 2014

In theoretical computer science and mathematical logic a string rewriting system (SRS), historically called a semi-Thue system, is a rewriting system over strings from a (usually finite) alphabet. Given a binary relation R between fixed strings in the alphabet, called rewrite rules, denoted by st, an SRS extends the rewriting relation to all strings in which the left- and right-hand side of the rules appear as substrings, that is usvutv, where s, t, u, and v are strings.

The notion of a semi-Thue system essentially coincides with the presentation of a monoid. Thus they constitute a natural framework for solving the word problem for monoids and groups.

An SRS can be defined directly as an abstract rewriting system. It can also be seen as a restricted kind of a term rewriting system. As a formalism, string rewriting systems are Turing complete. The semi-Thue name comes from the Norwegian mathematician Axel Thue, who introduced systematic treatment of string rewriting systems in a 1914 paper.[1] Thue introduced this notion hoping to solve the word problem for finitely presented semigroups. It wasn't until 1947 the problem was shown to be undecidable— this result was obtained independently by Emil Post and A. A. Markov Jr.[2][3]

Definition

A string rewriting system or semi-Thue system is a tuple (Σ,R) where

If the relation R is symmetric, then the system is called a Thue system.

The rewriting rules in R can be naturally extended to other strings in Σ* by allowing substrings to be rewritten according to R. More formally, the one-step rewriting relation relation R induced by R on Σ* for any strings s, and t in Σ*:

sRt if and only if there exist x, y, u, v in Σ* such that s=xuy, t=xvy, and uv.

Since R is a relation on Σ*, the pair (Σ*,R) fits the definition of an abstract rewriting system. Obviously R is a subset of R. Some authors use a different notation for the arrow in R (e.g. R) in order to distinguish it from R itself () because they later want to be able to drop the subscript and still avoid confusion between R and the one-step rewrite induced by R.

Clearly in a semi-Thue system we can form a (finite or infinite) sequence of strings produced by starting with an initial string s0Σ* and repeatedly rewriting it by making one substring-replacement at a time:

s0Rs1Rs2R

A zero-or-more-steps rewriting like this is captured by the reflexive transitive closure of R, denoted by *R (see abstract rewriting system#Basic notions). This is called the rewriting relation or reduction relation on Σ* induced by R.

Thue congruence

In general, the set Σ* of strings on an alphabet forms a free monoid together with the binary operation of string concatenation (denoted as and written multiplicatively by dropping the symbol). In a SRS, the reduction relation *R is compatible with the monoid operation, meaning that x*Ry implies uxv*Ruyv for all strings x, y, u, v in Σ*. Since *R is by definition a preorder, (Σ*,,*R) forms a preordered monoid.

Similarly, the reflexive transitive symmetric closure of R, denoted *R (see abstract rewriting system#Basic notions), is a congruence, meaning it is an equivalence relation (by definition) and it is also compatible with string concatenation. The relation *R is called the Thue congruence generated by R. In a Thue system, i.e. if R is symmetric, the rewrite relation *R coincides with the Thue congruence *R.

Factor monoid and monoid presentations

Since *R is a congruence, we can define the factor monoid R=Σ*/*R of the free monoid Σ* by the Thue congruence in the usual manner. If a monoid is isomorphic with R, then the semi-Thue system (Σ,R) is called a monoid presentation of .

We immediately get some very useful connections with other areas of algebra. For example, the alphabet {a, b} with the rules { ab → ε, ba → ε }, where ε is the empty string, is a presentation of the free group on one generator. If instead the rules are just { ab → ε }, then we obtain a presentation of the bicyclic monoid.

The importance of semi-Thue systems as presentation of monoids is made stronger by the following:

Theorem: Every monoid has a presentation of the form (Σ,R), thus it may be always be presented by a semi-Thue system, possibly over an infinite alphabet.[5]

In this context, the set Σ is called the set of generators of , and R is called the set of defining relations . We can immediately classify monoids based on their presentation. is called

  • finitely generated if Σ is finite.
  • finitely presented if both Σ and R are finite.

The word problem for semi-Thue systems

The word problem for semi-Thue systems can be stated as follows: Given a semi-Thue system T:=(Σ,R) and two words (strings) u,vΣ*, can u be transformed into v by applying rules from R? This problem is undecidable, i.e. there is no general algorithm for solving this problem. This even holds if we limit the input to finite systems.

Martin Davis offers the lay reader a two-page proof in his article "What is a Computation?" pp. 258–259 with commentary p. 257. Davis casts the proof in this manner: "Invent [a word problem] whose solution would lead to a solution to the halting problem."

Connections with other notions

A semi-Thue system is also a term-rewriting system—one that has monadic words (functions) ending in the same variable as left- and right-hand side terms,[6] e.g. a term rule f2(f1(x))g(x) is equivalent with the string rule f1f2g.

A semi-Thue system is also a special type of Post canonical system, but every Post canonical system can also be reduced to an SRS. Both formalism are Turing complete, and thus equivalent to Noam Chomsky's unrestricted grammars, which are sometimes called semi-Thue grammars.[7] A formal grammar only differs from a semi-Thue system by the separation of the alphabet in terminals and non-terminals, and the fixation of a starting symbol amongst non-terminals. A minority of authors actually define a semi-Thue system as a triple (Σ,A,R), where AΣ* is called the set of axioms. Under this "generative" definition of semi-Thue system, an unrestricted grammar is just a semi-Thue system with a single axiom in which one partitions the alphabet in terminals and non-terminals, and makes the axiom a nonterminal.[8] The simple artifice of partitioning the alphabet in terminals and non-terminals is a powerful one; it allows the definition of the Chomsky hierarchy based on the what combination of terminals and non-terminals rules contain. This was a crucial development in the theory of formal languages.

History and importance

Semi-Thue systems were developed as part of a program to add additional constructs to logic, so as to create systems such as propositional logic, that would allow general mathematical theorems to be expressed in a formal language, and then proven and verified in an automatic, mechanical fashion. The hope was that the act of theorem proving could then be reduced to a set of defined manipulations on a set of strings. It was subsequently realized that semi-Thue systems are isomorphic to unrestricted grammars, which in turn are known to be isomorphic to Turing machines. This method of research succeeded and now computers can be used to verify the proofs of mathematic and logical theorems.

At the suggestion of Alonzo Church, Emil Post in a paper published in 1947, first proved "a certain Problem of Thue" to be unsolvable, what Martin Davis states as "...the first unsolvability proof for a problem from classical mathematics -- in this case the word problem for semigroups." (Undecidable p. 292)

Davis [ibid] asserts that the proof was offered independently by A. A. Markov (C. R. (Doklady) Acad. Sci. U.S.S.R. (n.s.) 55(1947), pp. 583–586.

See also

Notes

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

References

Monographs

  • Ronald V. Book and Friedrich Otto, String-rewriting Systems, Springer, 1993, ISBN 0-387-97965-4.
  • Matthias Jantzen, Confluent string rewriting, Birkhäuser, 1988, ISBN 0-387-13715-7.

Textbooks

  • Martin Davis, Ron Sigal, Elaine J. Weyuker, Computability, complexity, and languages: fundamentals of theoretical computer science, 2nd ed., Academic Press, 1994, ISBN 0-12-206382-1, chapter 7
  • Elaine Rich, Automata, computability and complexity: theory and applications, Prentice Hall, 2007, ISBN 0-13-228806-0, chapter 23.5.

Surveys

  • Samson Abramsky, Dov M. Gabbay, Thomas S. E. Maibaum (ed.), Handbook of Logic in Computer Science: Semantic modelling, Oxford University Press, 1995, ISBN 0-19-853780-8.
  • Grzegorz Rozenberg, Arto Salomaa (ed.), Handbook of Formal Languages: Word, language, grammar, Springer, 1997, ISBN 3-540-60420-0.

Landmark papers

  • Emil Post (1947), Recursive Unsolvability of a Problem of Thue, The Journal of Symbolic Logic, vol. 12 (1947) pp. 1–11. Reprinted in Martin Davis ed. (1965), The Undecidable: Basic Papers on Undecidable Propositions, Unsolvable Problems and Computable Functions, Raven Press, New York. pp. 293ff

ja:文字列書き換え系

  1. Book and Otto, p. 36
  2. Abramsky et al. p. 416
  3. Salomaa et al., p.444
  4. In Book and Otto a semi-Thue system is defined over a finite alphabet through most of the book, except chapter 7 when monoid presentation are introduced, when this assumption is quietly dropped.
  5. Book and Otto, Theorem 7.1.7, p. 149
  6. Nachum Dershowitz and Jean-Pierre Jouannaud. Rewrite Systems (1990) p. 6
  7. D.I.A. Cohen, Introduction to Computer Theory, 2nd ed., Wiley-India, 2007, ISBN 81-265-1334-9, p.572
  8. Dan A. Simovici, Richard L. Tenney, Theory of formal languages with applications, World Scientific, 1999 ISBN 981-02-3729-4, chapter 4