reading letters until w has been consumed completely.
We say that A accepts w with a run if A is in a final
state q
f
∈ F after reading w completely at the end of
this run. By L(A) we denote the set of all strings w ∈
Σ
∗
for which A has an accepting computation in the
sense described above.
It is well-known that the class L (NFAwtl) of lan-
guages L(A) that are accepted by NFAs coincides with
the class REG of regular languages, and that DFAs ac-
cept exactly the same languages.
Now we recall a variant of the nondeterministic
finite automata that does not process its input strictly
from left to right (Nagy and Otto, 2011).
Definition 1. A finite-state acceptor with translu-
cent letters (NFAwtl) is defined as a 7-tuple A =
(Q, Σ, $, τ, I, F, δ), where Q is a finite set of internal
states, Σ is a finite alphabet of input letters, $ 6∈ Σ
is a special symbol that is used as an endmarker,
τ : Q → 2
Σ
is a translucency mapping, I ⊆ Q is a set
of initial states, F ⊆ Q is a set of final states, and
δ : Q× Σ → 2
Q
is a transition relation. For each state
q ∈ Q, the letters from the set τ(q) are translucent
for q, that is, in state q the automaton A does not see
these letters. A is called deterministic, abbreviated as
DFAwtl, if |I| = 1 and if |δ(q, a)| ≤ 1 for all q ∈ Q and
all a ∈ Σ.
An NFAwtl A = (Q, Σ, $, τ, I, F, δ) works as fol-
lows. For an input word w ∈ Σ
∗
, it starts in a non-
deterministically chosen initial state q ∈ I with the
word w · $ on its input tape. A single step compu-
tation of A is as follows. Assume that w = a
1
a
2
···a
n
for some n ≥ 1 and a
1
, . . . , a
n
∈ Σ. Then A looks for
the first occurrence from the left of a letter that is not
translucent for the current state q, that is, if w = uav
such that u ∈ (τ(q))
∗
and a 6∈ τ(q), then A nondeter-
ministically chooses a state q
′
∈ δ(q, a), erases the
letter a from the tape thus producing the tape con-
tents uv · $, and its internal state is set to q
′
. In state
q
′
the automaton considers the tape uv$ and contin-
ues the process by another single step computation
looking for the first visible letter of uv at state q
′
. In
case δ(q, a) =
/
0, A halts without accepting. Finally,
if w ∈ (τ(q))
∗
, then A reaches the $-symbol and the
computation halts. In this case A accepts if q is a final
state; otherwise, it does not accept. Observe that this
definition also applies to configurations of the form
q · $, that is, q · ε · $ ⊢
A
Accept holds if and only if q
is a final state. A word w ∈ Σ
∗
is accepted by A if
there exists an initial state q
0
∈ I and a computation
q
0
w·$⊢
∗
A
Accept, where ⊢
∗
A
denotes the reflexive tran-
sitive closure of the single-step computation relation
⊢
A
. Now L(A) = { w ∈ Σ
∗
| w is accepted by A} is the
language accepted by A.
The classical nondeterministic finite automata
(NFA) is obtained from the NFAwtl by removing
the endmarker $ and by ignoring the translucency
relation τ, and the deterministic finite-state accep-
tor (DFA) is obtained from the DFAwtl in the same
way. Thus, the NFA (DFA) can be interpreted as a
special type of NFAwtl (DFAwtl). Accordingly, all
regular languages are accepted by DFAwtl. More-
over, DFAwtls are much more expressive than stan-
dard DFAs as shown by the following example.
Example 1. Let A = (Q, Σ, $, τ, I, F, δ), where Q =
{q
0
, q
1
, q
2
}, I = {q
0
} = F, Σ = {a, b, c, d}, and the
functions τ and δ are defined as follows:
τ(q
0
) =
/
0, δ(q
0
, a) = {q
1
},
δ(q
0
, b) = {q
2
},
τ(q
1
) = {a, b}, δ(q
1
, c) = {q
0
},
τ(q
2
) = {b}, δ(q
2
, d) = {q
0
},
and δ(q, x) =
/
0 for all other pairs (q, x) ∈ Q× Σ. Ob-
serve that A is in fact a DFAwtl.
It can be shown that L(A) consists only some of
words with |w|
a
= |w|
c
and |w|
b
= |w|
d
, moreover
L(A) ∩ (a
∗
· b
∗
· c
∗
· d
∗
) = {a
n
b
m
c
n
d
m
| n, m ≥ 0} and
thus this language is not context-free.
It is shown that already DFAwtls accept non-
context-free languages.
An NFAwtl A = (Q, Σ, $, τ,I, F, δ) is described
more transparently by a graph, similar to the graph
representation of standard NFAs. A state q ∈ Q is re-
presented by a node labelled with q, where the node
of an initial state p is marked by a special incoming
edge without a label, and the node of a final state p is
marked by a special outgoing edge with label (τ(p))
∗
.
For each state q ∈ Q and each letter a ∈ Σr τ(q), if
δ(q, a) = {q
1
, . . . , q
s
}, then there is a directed edge
labelled ((τ(q))
∗
, a) from the node corresponding to
state q to the node corresponding to state q
i
for each
i = 1, . . . , s. The graph representation of the DFAwtl A
of Example 1 is given in Figure 1. (Using the notation
/
0
∗
= {ε}.)
According to the definition, an NFAwtl may ac-
cept a word without processing it completely. This,
however, is only a convenience that makes for simple
instructions, since for every NFAwtl A one can effec-
tively construct an NFAwtl B such that L(B) = L(A),
but for each word w ∈ L(B), each accepting computa-
tion of B on input w consists of |w| many reading steps
plus a final step that accepts the empty word (i.e., the
input is totally processed). Nevertheless it is an open
problem whether the same fact holds for DFAwtls in
general. If A is an NFAwtl on Σ that is accepting only
totally processed input, then by removing the translu-
cency relation from A, we obtain a standard NFA A
′
that accepts a letter equivalent language of the origi-
nal language L(A), moreover L(A) ⊇ L(A
′
).
LinguisticApplicationsofFiniteAutomatawithTranslucentLetters
463