|
j }
2j }
, z1
zn) | x1, . . . , xn, y1, . . . , yn, z1, . . . , zn are in
{0, 1}, and (the natural number represented by x1
xn) - (the natural
number represented by y1
yn) = (the natural number represented by
z1
zn) }
,
,
, q0, F> be the deterministic finite-state transducer whose
transition diagram is given in Figure 2.E.2.
|
), (q2,
, q1, b)}, q0, {q2}>
has on input 0101.
|
|
, P, S> is the Type 3 grammar whose production rules are listed
below.
|
|
1 }
t }
xrev }
max(1, |v|), then
w = xyz for some x, y, z such that (v, xykz) is in R for all k
0. Moreover,
0 < |y|
m.
j } is not
computable by a finite-state transducer.
R(M2).
.
be a permutation operation on languages defined as
(L) = { x | x is a
permutation of some y in L }. Show that regular sets are not closed under
.
.
(R) = R-1 = { (y, x) | (x, y) is in R }.
(R) =
i
0Ri.
(R1, R2) = { (x, y) | x = x1x2 and y = y1y2 for
some (x1, y1) in R1, and some (x2, y2) in R2 }.
(R1, R2) = { (x, z) | (x, y) is in R1 and
(y, z) is in R2 for some y }.