请输入您要查询的字词:

 

单词 SemiThueSystem
释义

semi-Thue system


A semi-Thue system 𝔖 is a pair (Σ,P) where Σ is an alphabet and P is a non-empty finite binary relationMathworldPlanetmath on Σ*, the Kleene star of Σ.

Elements of P are variously called defining relations, productions, or rewrite rules, and 𝔖 itself is also known as a rewriting system. If (x,y)P, we call x the antecedentPlanetmathPlanetmath, and y the consequent. Instead of writing (x,y)P or xPy, we usually write

xy.

Let 𝔖=(Σ,P) be a semi-Thue system. Given a word u over Σ, we say that a word v over Σ is immediately derivable from u if there is a defining relation xy such that

u=rxs   and   v=rys,

for some words r,s (which may be empty) over Σ. If v is immediately derivable from u, we write

uv.

Let P be the set of all pairs (u,v)Σ*×Σ* such that uv. Then PP, and

If uv, then wuwv and uwvw for any word w.

Next, take the reflexive transitive closure P′′ of P. Write a*b for (a,b)P′′. So a*b means that either a=b, or there is a finite chain a=a1,,an=b such that aiai+1 for i=1,,n-1. When a*b, we say that b is derivable from a. ConcatenationMathworldPlanetmath preserves derivability:

a*b and c*d imply ac*bd.

Example. Let 𝔖 be a semi-Thue system over the alphabet Σ={a,b,c}, with the set of defining relations given by P={abbc,bccb}. Then words ac3b, a2c2b andas bc4 are all derivable from a2bc2:

  • a2bc2a(bc)c2ac(bc)cac2(cb)=ac3b,

  • a2bc2a2(cb)ca2c(cb)=a2c2b, and

  • a2bc2a(bc)c2(bc)cc2=bc4.

Under 𝔖, we see that if v is derivable from u, then they have the same length: |u|=|v|. Furthermore, if we denote |a|u the number of occurrences of letter a in a word u, then |a|v|a|u, |c|v|c|u, and |b|v=|b|u. Also, in order for a word u to have a non-trivial word v (non-trivial in the sense that uv) derivable from it, u must have either ab or bc as a subword. Therefore, words like a3 or c3b4a2 have no non-trivial derived words from them.

Remarks.

  1. 1.

    Given a semi-Thue system 𝔖=(Σ,P), one can associate a subset A of Σ* whose elements we call axioms of 𝔖. Any word v that is derivable from an axiom aA is called a theoremMathworldPlanetmath (of 𝔖). If v is a theorem, we write A𝔖v. The set of all theorems is written L𝔖(A), and is called the languagePlanetmathPlanetmath (over Σ) generated by A.

  2. 2.

    Let 𝔖 and A be defined as above, and T any alphabet. Call the elements of TΣ the terminals of 𝔖. The set

    L𝔖(A)T*

    is called the language generated by A over T, and written L𝔖(A,T). It is easy to see that L𝔖(A,T)=L𝔖(A,TΣ).

  3. 3.

    A language L over an alphabet Σ is said to be generable by a semi-Thue system if there is a semi-Thue system 𝔖 and a finite setMathworldPlanetmath of axioms A of 𝔖 such that L=L𝔖(A,Σ).

  4. 4.

    Semi-Thue systems are “equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmath” 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 xy in P into a production SxTSyT, where S and T are non-terminals or variablesMathworldPlanetmath. As such, a production of the form SxTSyT is sometimes called a semi-Thue production.

  5. 5.

    Given a semi-Thue system 𝔖=(Σ,P), the word problem for 𝔖 asks whether or not for any pair of words u,v over Σ, one can determine in a finite number of steps (an algorithmMathworldPlanetmath) that u*v. 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.

  6. 6.

    The word problem for a specific 𝔖 is the same as finding an algorithm to determine whether v is a theorem based on a singleton axiom {u} for arbitrary words u,v.

  7. 7.

    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.

References

  • 1 M. Davis, Computability and Unsolvability. Dover Publications, New York (1982).
  • 2 H. Hermes, Enumerability, Decidability, Computability: An Introduction to the Theory of Recursive FunctionsMathworldPlanetmath. Springer, New York, (1969).
随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 8:32:37