Definition. The formal language accepted by an NFA\varepsilon [017Q]
Let M=(Q,\Sigma ,\Delta ,s,F,T) be an NFA\varepsilon . The formal lanuage accepted by M is defined to be the subset \mathcal {L}{\mathopen {}\left (M\right )\mathclose {}}\subseteq \Sigma ^\star specified as follows:
\mathcal {L}{\mathopen {}\left (M\right )\mathclose {}} = {\mathopen {}\left \{ u:\Sigma ^\star \mid \exists q\in F\mathpunct {.} s \mathrel {\xRightarrow {u}} q \right \}\mathclose {}}Above we define the relation q\mathrel {\xRightarrow {u}} q' to mean that there exists a path through M from q to q' whose non-\varepsilon -transitions consume the string u. In more formal terms, we can define the relation inductively by rules:
\begin {gathered} \displaystyle \frac {\displaystyle }{\displaystyle \quad q\mathrel {\xRightarrow {\epsilon }}q\quad } \quad \displaystyle \frac {\displaystyle q\mathrel {\xrightarrow {a}}q'' \quad q''\mathrel {\xRightarrow {u}}q' }{\displaystyle \quad q\mathrel {\xRightarrow {au}}q'\quad } \qquad \displaystyle \frac {\displaystyle q\mathrel {\xrightarrow {\varepsilon }}q'' \quad q''\mathrel {\xRightarrow {u}}q' }{\displaystyle \quad q\mathrel {\xRightarrow {u}}q'\quad } \end {gathered}