PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: Very low
Post system (Definition)

Introduction

A Post canonical system (or Post system for short) $ \mathfrak{P}$ is a triple $ (\Sigma,X,P)$, such that

  1. $ \Sigma$ is an alphabet,
  2. $ X$ is an alphabet, disjoint from $ \Sigma$, whose elements we call variables, and
  3. $ P$ is a non-empty finite binary relation on $ \Sigma^*$, the Kleene star of $ P$, such that for every $ (u,v)\in P$,
    • $ u\in \Sigma^*X\Sigma^*$, and
    • if $ S$ is a variable occurring in $ v$, then it occurs in $ u$.
    An element $ (x,y)\in P$ is called a production of $ \mathfrak{P}$, $ x$ is its antecedent, and $ y$ the consequent. $ (x,y)\in P$ is often written $ x\to y$.
The last condition basically says that in a production $ x\to y$, $ x$ must contain at least one variable, and $ y$ can not contain any variables that are not already occurring in $ x$. Put it more concretely, a production in a Post canonical system has the form
$\displaystyle a_1S_1a_2S_2\cdots a_nS_na_{n+1} \to b_1S_{\phi(1)}b_2S_{\phi(2)}\cdots b_mS_{\phi(m)}b_{m+1}$ (1)

where $ a_i$ and $ b_j$ are fixed words on $ \Sigma$, while $ S_k$ are variables, with $ 0<n$, $ 0\le m$, $ m\le n$, and $ \phi$ is a function (not necessarily bijective) on the set $ \lbrace 1,\ldots, n\rbrace$.

Examples. Let $ \Sigma=\lbrace a,b,c\rbrace$ and $ X=\lbrace S,U,V,W\rbrace$. Then $ (\Sigma,X,P)$ with $ P$ consisting of

$\displaystyle aSb^2\to ba,\quad cVaWaUb\to aWU,\quad a^3cUbSW \to SabU,\quad bVa \to aV^2c$
is a Post canonical system, while $ (\Sigma,X,Y)$ with $ Y$ consisting of
$\displaystyle ab^2\to ba,\quad cVaWaUb\to aWU,\quad aUbSc^2W \to ScaV,\quad a\to S$
is not, for the following reasons:
  • the antecedents in the first and fourth productions do not contain a variable
  • the consequents in the third and fourth productions contain variables ($ V$ in the third, and $ S$ in the fourth) which do not occur in the corresponding antecedents.

Normal systems. A Post canonical system $ \mathfrak{P}=(\Sigma,X,P)$ is called a Post normal system, or normal system for short, if each production has the form $ aS\to Sb$ (called a normal production), where $ a,b$ are words on $ \Sigma$ and $ S$ is a variable.

Languages generated by a Post system

Let us fix a Post system $ \mathfrak{P}=(\Sigma,X,P)$. A word $ v$ is said to be immediately derivable from a word $ u$ if there is a production of the form (1) above, such that

$\displaystyle u=a_1u_1a_2u_2\cdots a_nu_na_{n+1}$    and $\displaystyle \quad v=b_1a_{\phi(1)}b_2a_{\phi(2)}\cdots b_ma_{\phi(m)}b_{m+1},$
where $ a_i$ are words (not variables). This means that if we can write a word $ u$ in the form of an antecedent of a production by replacing all the variables with words, then we can “produce”, or “derive” a word $ v$ in the form of the corresponding consequent, replacing the corresponding variables with the corresponding words. When $ v$ is immediately derivable from $ u$, we write $ u\Rightarrow v$. Using the example above, with the production $ cVaWaUb\to aWU$, we see that
  • $ ca^4b=caaaab\Rightarrow a^3$ if we set $ V=\lambda$ and $ W=U=a$, or
  • $ ca^4b=caaaab\Rightarrow a^2$ if we set $ V=a$ and exactly one of $ W,U=a$ and the other $ \lambda$.
A word $ v$ is derivable from a word $ u$ if there is a finite sequence of words $ u_1,\ldots,u_n$ such that
$\displaystyle u=u_1\Rightarrow u_2\Rightarrow \cdots \Rightarrow u_n=v.$
When $ v$ is derivable from $ u$, we write $ u\stackrel{*}{\Rightarrow}v$. Again, following from the example above, we see that $ c^2abab^2\stackrel{*}{\Rightarrow}ac$, since
$\displaystyle c^2abab^2=ccababb \Rightarrow ab^2 \Rightarrow ba \Rightarrow ac.$
Given a finite subset $ A$ of words on $ \Sigma$, let $ T_A$ be the set of all words derivable from words in $ A$. Elements of $ A$ are called axioms of $ \mathfrak{P}$ and elements of $ T_A$ theorems (of $ \mathfrak{P}$ derived from axioms of $ A$). Intuitively, we see that the Post system $ \mathfrak{P}$ is a language generating machine that creates the language $ T_A$ via a set $ A$ of axioms. In general, we say that a language $ M$ over an alphabet $ \Sigma$ is generable by a Post system if there is a Post system $ \mathfrak{P}=(\Sigma_1, X,P)$ such that $ \Sigma\subseteq \Sigma_1$, a finite set $ A$ of axioms on $ \Sigma_1$ such that $ M=T_A\cap \Sigma^*$.

Remarks.

  • If a language is generable by a Post system, it is generable by a normal system.
  • A language is generable by a Post system iff it is generable by a semi-Thue system. In this sense, Post systems and semi-Thue systems are “equivalent”.
  • Instead of allowing for one antecedent and one consequent in any production, one can have a more generalized system where one production involves a finite number of antecedents as well as a finite number of consequents:
    $\displaystyle \left\{ \begin{array}{c} a_{11}S_{11}a_{12}S_{12}\cdots a_{1n_1}S... ...}b_{q2}S_{\phi_q(2)}\cdots b_{qm}S_{\phi_q(m_q)}b_{q,m+1} \end{array} \right\} $
    where each $ \phi_i$ is a function from $ \lbrace 1,\ldots,m_i\rbrace$ to $ \lbrace (1,1),\ldots,(1,n_1),\ldots, (p,1),\ldots, (p,n_p)\rbrace$. We may define $ b$ to be immediately derivable from $ a$ if $ a$ can be expressed using each of the antecedents by substituting the variables $ S_{ij}$ by words $ c_{ij}\in \Sigma^*$, and $ b$ can be expressed in at least one of the consequents by the corresponding substitutions (of $ S_{\phi_i(j)}$ into $ c_{\phi_i(j)}$). It can be shown that any language generated by this more general system is in fact Post generable!

Bibliography

1
M. Davis, Computability and Unsolvability. Dover Publications, New York (1982).
2
N. Cutland, Computability: An Introduction to Recursive Function Theory. Cambridge University Press, (1980).
3
M. Minsky, Computation: Finite and Infinite Machines. Prentice Hall, (1967).



"Post system" is owned by CWoo.
(view preamble)

View style:

See Also: formal grammar

Other names:  normal system, Post generable
Also defines:  Post canonical system, Post normal system, normal production, generable by a Post system
Log in to rate this entry.
(view current ratings)

Cross-references: generated by, number, semi-Thue systems, generable by a semi-Thue system, iff, finite set, machine, generating, language, axioms, subset, finite sequence, derivable, immediately derivable, bijective, function, fixed, contain, consequent, antecedent, production, occur ins, Kleene star, binary relation, finite, variables, disjoint, alphabet
There are 3 references to this entry.

This is version 15 of Post system, born on 2007-09-25, modified 2007-10-22.
Object id is 9964, canonical name is PostSystem.
Accessed 1296 times total.

Classification:
AMS MSC03D03 (Mathematical logic and foundations :: Computability and recursion theory :: Thue and Post systems, etc.)
 68Q42 (Computer science :: Theory of computing :: Grammars and rewriting systems)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)