How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Nondeterministic Finite Automata and Subset Construction: Examples and Counterexamples
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Deterministic Finite Automata and Regular Languages
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- Nondeterministic Finite Automata and Subset Construction
- Relations, Functions, and Quotients
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
These examples realize the DFA-to-NFA embedding, display a small subset construction that really adds states, and refute the mistaken universal-branch reading of NFA acceptance.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Viewing a small DFA as an NFA with singleton transitions
Example
Consider the two-state DFA over with states , start state , accepting state , and transitions that toggle between and on input and stay fixed on input .
Regarded as an NFA, the same machine has singleton one-letter transition sets and no epsilon-transitions. It still recognizes the language of words with an even number of 's.
Facts & Assumptions
Given: The parity DFA just described.
By Every DFA is an NFA, every DFA can be viewed as an NFA by replacing each one-letter transition by a singleton transition set and adding no -moves.
Verification
The parity DFA has exactly one next state on each input symbol, so the associated NFA has transition sets or and never branches.
Because there is only one live branch on every input, the NFA reaches exactly the same state as the DFA after every word. Therefore it accepts exactly the words with an even number of 's.
This is a concrete instance of the DFA-to-NFA embedding from [L1].
A three-state NFA whose equivalent DFA needs four states
Example
Let be the language of words whose second symbol from the end is .
An NFA for has three states: a start state that loops on both symbols, a state entered when the machine guesses that two symbols remain and the current symbol is , and an accepting state reached after one more symbol. The subset construction on this NFA produces four reachable subsets.
Facts & Assumptions
Given: The language of words over whose second symbol from the end is .
By The subset-construction DFA, the subset construction turns each reachable set of NFA states into a DFA state.
By The subset construction can require exponentially many states, nondeterministic branching can force a deterministic simulation to keep track of several possibilities at once.
Verification
The three NFA states represent "still guessing", "just guessed the penultimate 1", and "accepted after one more symbol". On a word such as , the machine may stay in the guessing state for the first symbol and then branch correctly at the second symbol, where the symbol really is penultimate.
The reachable subsets are the four nonempty sets , , , and . They have different future acceptance behavior: the two sets containing accept while the other two do not; accepts the one-letter suffix while does not; and accepts while does not. Therefore [L1] makes them four distinct DFA states.
This concrete four-state DFA illustrates the general phenomenon from [L2]: subset states encode simultaneous NFA possibilities.
One accepting branch is enough for an NFA to accept
Statement refuted
The statement "an NFA accepts a word only if every branch accepts" is false.
Facts & Assumptions
Given: The NFA and input word from FALSE: an NFA accepts only if every branch accepts.
The statement refuted is: an NFA accepts a word only if every branch accepts.
The false statement's refutation already exhibits one accepting branch and one rejecting branch on the same input, by FALSE: an NFA accepts only if every branch accepts.
Counterexample
On the input , one branch follows the path and accepts, while another branch stays on the start-state loop too long and rejects.
Therefore the same machine and the same word witness that acceptance can occur even when not every branch accepts.
This contradicts [A1], so the displayed NFA on is a counterexample.