Definition. Non-deterministic finite automaton [017H]

A non-deterministic finite automaton or NFA for short is defined to be a tuple M = {\mathopen {}\left (Q,\Sigma ,\Delta ,s,F\right )\mathclose {}} where:

  1. Q is a finite set (of “states”).
  2. \Sigma is an alphabet, i.e. a finite set.
  3. \Delta is a ternary relation \Delta \colon Q\times \Sigma \mathbin {\nrightarrow } Q called the transition relation: we write q\xrightarrow {a}{q'} to mean that (q,a,q')\in \Delta .
  4. s is an element of Q, the “starting state”.
  5. F is a subset of Q, the “accepting states”.