rational transducer
Definition
A rational transducer is a generalization of a generalized sequential machine (gsm). Recall that a gsm M is a quadruple (S,Σ,Δ,τ) where S is a finite set
of states, Σ and Δ are the input and output alphabets respectively, and τ is the transition function taking an input symbol from one state to an output word in another state. A rational transducer has all of the components
above, except that the transition function τ is more general: its domain consists of a pair of a state and an input word, rather than an input symbol.
Formally, a rational transducer M is a quadruple (S,Σ,Δ,τ) where S,Σ,Δ are defined just as those in a gsm, except that the transition function τ has domain a finite subset of S×Σ* such that τ(s,u) is finite for each (s,u)∈dom(τ). One can think of τ as a finite subset of S×Σ*×S×Δ*, or equivalently a finite relation between S×Σ* and S×Δ*.
Like a gsm, a rational transducer can be turned into a language acceptor by fixing an initial state s0∈S and a non-empty set F of finite states F⊆S. In this case, a rational transducer turns into a 6-tuple (S,Σ,Δ,τ,s0,F). An input configuration
(s0,u) is said to be initial, and an output configuration (t,v) is said to be final if t∈F. The language accepted by a rational transducer M is defined as the set
L(M):={u∈Σ*∣τ(s0,u) contains an final output configuration.}. |
Rational Transductions
Additionally, like a gsm, a rational transducer can be made into a language translator. The initial state s0 and the set F of final states are needed. Given a rational transducer M, for every input word u, let
RTM(u):={v∈Δ*∣(t,v)∈τ(s0,u) is a final output configuration.}. |
Thus, RTM is a function from Σ* to P(Δ*), and is called the rational transduction (defined) for the rational transducer M. The rational transduction for M can be extended: for any language L over the input alphabet Σ,
RTM(L):=⋃{RTM(u)∣u∈L}. |
In this way, RTM may be thought of as a language translator.
As with GSM mappings, one can define the inverse of a rational transduction, given a rational transduction RTM:
RT-1M(v):={u∣v∈RTM(u)} |
Here are some examples of rational transductions
-
•
Every GSM mapping is clearly a rational transduction, since every gsm is a rational transducer. As a corollary, any homomorphism
, as well as intersection
with any regular language, is a rational transduction.
-
•
The inverse of a rational transduction is a transduction. Given any rational transducer , define a rational transducer as follws: (where denotes disjoint union
), , and is given by
As is finite, so is , so that is well-defined. In addition, . As a corollary, the inverse homomorphism is a rational transduction.
-
•
The composition
of two rational transductions is a rational transduction. To see this, suppose and are two rational transducers such that . Define as follows: , and is given by
Again, since both and are finite, so is , and thus well-defined. In addition, .
A family of languages is said to be closed under rational transduction if for every , and any rational transducer , we have . The three properties above show that if is closed under rational transduction, it is a cone. The converse is also true, as it can be shown that every rational transduction can be expressed as a composition of inverse homomorphism, intersection with a regular language, and homomorphism. Thus, a family of languages being closed under rational transduction completely characterizes a cone.
References
- 1 A. Salomaa Computation and Automata, Encyclopedia of Mathematics and Its Applications, Vol. 25. Cambridge (1985).
Title | rational transducer |
---|---|
Canonical name | RationalTransducer |
Date of creation | 2013-03-22 18:59:29 |
Last modified on | 2013-03-22 18:59:29 |
Owner | CWoo (3771) |
Last modified by | CWoo (3771) |
Numerical id | 12 |
Author | CWoo (3771) |
Entry type | Definition |
Classification | msc 03D05 |
Classification | msc 68Q45 |
Related topic | GeneralizedSequentialMachine |
Defines | rational transduction |