
< previous page page_155 next page >
Page 155
7.4 The minimal automaton
We now come to a fundamental definition. Let
L
be a recognisable language. A complete deterministic
automaton A is said to be
minimal (for L)
if
L
(A)=
L
and if B is any complete deterministic automaton
such that
L
(B)=
L,
then the number of states of A is less than or equal to the number of states of B.
Minimal automata for a language
L
certainly exist. The problem is to find a way of constructing them.
Our first result narrows down the search.
Lemma 7.4.1
Let L be a recognisable language. If
A
is minimal for L, then
A
is both accessible and
reduced
.
Proof If A is not accessible, then A
a
has fewer states than A and
L
(A
a
)=
L
. But this contradicts the
definition of A. It follows that A is accessible. A similar argument shows that A is reduced.
If A is minimal for
L,
then A must be both reduced and accessible. The next result tells us that any
reduced accessible automaton recognising
L
is in fact minimal.
Theorem 7.4.2
Let L be a recognisable language.
(i)
Any two reduced accessible automata recognising L are isomorphic.
(ii)
Any reduced accessible automaton recognising L is a minimal automaton for L.
(iii)
Any two minimal automata for L are isomorphic.
Proof (i) Let A=
(S, A, s
0
, δ, F)
and B=
(Q, A, q
0
, γ, G)
be two reduced accessible automata such that
L
(A)=
L
(B). We prove that A is isomorphic to B. To do this, we have to conjure up an isomorphism
from A to B. To keep the notation simple, we shall use the ‘dot’ notation for both
δ
* and
γ
*. We shall
use the following observation:
(7.1)
which follows from the fact that
L
(A)=
L
(B).
Let
. Because A is accessible there exists such that
s
=
s
0·
x
. Define
To show that
θ
is a well-defined injective function we have to prove that
Now B is reduced, so it will be enough to prove that
< previous page page_155 next page >