every ϵ-automaton is equivalent to an automaton


In this entry, we show that an automaton with ϵ-transitions (http://planetmath.org/EpsilonTransition) is no more power than one without. Having ϵ-transitions is purely a matter of convenience.

Proposition 1.

Every ϵ-automaton (http://planetmath.org/EpsilonAutomaton) is equivalentMathworldPlanetmathPlanetmathPlanetmathPlanetmath to an automaton.

For the proof, we use the following setup (see the parent entry for more detail):

  • •

    E=(S,Σ,δ,I,F,ϵ) is an ϵ-automaton, and Eϵ is the automaton associated with E,

  • •

    h:(Σ∪{ϵ})*→Σ* is the homomorphismPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmath that erases ϵ (it takes ϵ to the empty wordPlanetmathPlanetmathPlanetmath, also denoted by ϵ). From the parent entry, L⁢(E):=h⁢(L⁢(Eϵ)).

Proof.

Define a function δ1:S×Σ→P⁢(S), as follows: for each pair (s,a)∈S×Σ, let

δ1⁢(s,a)=⋃{δ⁢(s,u)∣h⁢(u)=a}.

In other words, δ1⁢(s,a) is the set of all states reachablePlanetmathPlanetmath from s by words of the form ϵm⁢a⁢ϵn. As usual, we extend δ1 so its domain is S×Σ*. By abuse of notation, we use δ1 again for this extensionPlanetmathPlanetmathPlanetmath. First, we set δ1⁢(s,ϵ):={s}. Then we inductively define δ1⁢(s,u⁢a)=δ1⁢(δ1⁢(s,u),a). Using inductionMathworldPlanetmath,

δ1⁢(s,u⁢a) = δ1⁢(δ1⁢(s,u),a)
= δ1⁢(⋃h⁢(v)=uδ⁢(s,v),a)
= ⋃h⁢(v)=uδ1⁢(δ⁢(s,v),a)
= ⋃h⁢(v)=u⋃t∈δ⁢(s,v)δ1⁢(t,a)
= ⋃h⁢(v)=u⋃t∈δ⁢(s,v)⋃h⁢(w)=aδ⁢(t,w)
= ⋃h⁢(v)=u⋃h⁢(w)=a⋃t∈δ⁢(s,v)δ⁢(t,w)
= ⋃h⁢(v)=u⋃h⁢(w)=aδ⁢(δ⁢(s,v),w)
= ⋃h⁢(v)=u⋃h⁢(w)=aδ⁢(s,v⁢w)
= ⋃{δ⁢(s,v⁢w)∣h⁢(v)=u⁢ and ⁢h⁢(w)=a}
= ⋃{δ⁢(s,x)∣h⁢(x)=u⁢a}

So for any non-empty word u, we have the following equation:

δ1⁢(s,u)=⋃{δ⁢(s,v)∣h⁢(v)=u}. (1)

In other words, if u=a1⁢a2⁢⋯⁢an, then δ1⁢(s,u) is the set of all states reachable from s by words of the form

ϵi0⁢a1⁢ϵi1⁢a2⁢ϵi2⁢⋯⁢ϵin-1⁢an⁢ϵin. (2)

Now, define A to be the automaton (S,Σ,δ1,I,F). Then, from equation (1) above, a word

u=a1⁢a2⁢⋯⁢an

is accepted by A iff some word v of the form (2) is accepted by Eϵ iff u=h⁢(v) is accepted by E, proving the propositionPlanetmathPlanetmath. ∎

Remark. Another approach is to use the conceptMathworldPlanetmath of ϵ-closureMathworldPlanetmath (http://planetmath.org/EpsilonClosure). The proof is very similar to the one given above, and the resulting equivalent automaton is a DFA.

Title every ϵ-automaton is equivalent to an automaton
Canonical name EveryepsilonautomatonIsEquivalentToAnAutomaton
Date of creation 2013-03-22 19:02:03
Last modified on 2013-03-22 19:02:03
Owner CWoo (3771)
Last modified by CWoo (3771)
Numerical id 8
Author CWoo (3771)
Entry type Definition
Classification msc 03D05
Classification msc 68Q45