M
• M q
• ¢w$ i
w = a
1
a
2
. . . a
n
a
i
∈ Σ
a
i
• j ∈ {1, 2, . . . , k} j ¢u
j ttt
. . .
i
j
≤ |u
j
| j
M
δ : Q × (Σ ∪ {¢, $}) × Γ
k
→ Q ×{L, R, N} × (Γ × {L, R, N})
k
.
(q, a, b
1
, . . . , b
k
) ∈ Q ×(Σ ∪ {¢, $}) × Γ
k
• q
• a ∈ Σ ∪ {¢, $}
• k b
1
, . . . , b
k
k
M
• k b
1
, . . . , b
k
• M
• k + 1
M w q
accept
M w M w M w
q
reject
M w
M q
reject
w
k
k
k
k MT k MT
MMT MMT
MT
L
equal
= {w#w | w ∈ (Σ
bool
)
∗
}.
x#y MT x
# y #
1 MT A L
equal