1(a). Find an
that recognizes the same language as the following
:
| State |
State |
||||
| { |
|||||
| { |
{ |
{ |
|||
| { |
The initial state is
and the accepting states are
and
.
3. For the following
, answer the questions below:
| State |
|||
| { |
{ |
||
| { |
{ |
||
| { |
{ |
||
(a) Find
Note that the set of strings
over the alphabet
and
for DFA are defined recursively as follows:
Basis Clause:
and
Inductive Clause: If any string
in
, then
and
are in
.
Extremal Clause: Nothing is in
unless it is obtained by Basis and Inductive Clauses
.
Basis Clause:
=
Inductive Clause: For any state
and any string
in
and any symbol
of
,
.
Proof:
Basis Step:
.
If
, then
=
.
Also
by the definition of
.
Hence
if
.
Inductive Step: Assume that for any string
.
We are going to show that
for any symbol a of the alphabet.
by the definition of
.
=
by the induction hypothesis.
=
by the definition of
.