Definition (indistinguishable states, quotient automaton)

Let $D = (Σ, Q, δ, q_0, F)$ be a deterministic automaton.

Two states $q, q'\in Q$ are indistinguishable if $\hat δ(q, w)\in F \iff \hat δ(q', w)\in F$ for all words $w\in \mathbb{W}$.

A word $w\in Σ^\ast$ is said to distinguish $q$ and $q'$ if $\hat δ(q,w) \in F$ and $\hat δ(q', w)\not\in F$ or vice versa.

Define an equivalence relation $\sim$ on $Q$ where $q\sim q'$ if $q,q'$ are indistinguishable, and write $[q]$ for the equivalence class of $q$. The quotient automaton is $$ \begin{align*} D/{\sim} = (Σ, Q/{\sim}, [δ], [q_0], [F]) \end{align*} $$ where $[δ]([q], a) = [δ(q,a)]$ and $[F] = \sb{[q]}{q\in F}$.

Note if $f: Q \to Q'$ is an homomorphism between automata $D$ and $D'$, then for any distinguishable $p,q\in Q$, we have $f(p) \neq f(q)$.

The quotient automaton is well-defined. (Derivation)