DFA and NFA.html


* created: 2026-04-19T23:48
* modified: 2026-04-27T00:32

title

Title

description

Description

related notes

(Non-)Deterministic Finite Automaton

These are conceptual constructs that can be used to validate any input. This is done by defining states and transitions. For every state there are follow up states defined when encountering a character from an Alphabet.

Notation

E= \{ Q, \Sigma , \delta, q_0, F \}

Non-Deterministic

A automaton is non-deterministic if there are none or multiple possible states for an input.

Method: Subset Construction

Subset construction converts an NFA to an equivalent DFA by treating sets of NFA states as single DFA states. The start state is ε-closure(q₀), and each transition from a DFA state S on symbol a leads to ε-closure(move(S, a)). This is repeated for every newly discovered state set until no new sets emerge, yielding a DFA whose states are subsets of the original NFA's state set.