Alphabeta Math
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.

✓ 9 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 5 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Nondeterministic Finite Automata and Subset Construction

1 · Prerequisites

2 · Summary

This page develops epsilon-NFAs from their state-set semantics through the subset construction, then isolates three standard consequences: epsilon-moves can be eliminated, regular operations admit direct NFA constructions, and the deterministic simulation may require exponentially many states.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

Nondeterministic finite automata with epsilon-moves

Definition

Let Σ be an alphabet. A nondeterministic finite automaton with epsilon-moves is a quintuple N=(Q,Σ,δ,q0,F) such that:

  • Q is a finite set of states.
  • q0∈Q is the start state.
  • F⊆Q is the set of accepting states.
  • δ assigns to each pair (q,x)∈Q×(Σ∪{ε}) a subset δ(q,x)⊆Q, equivalently an element of P(Q) in the sense of The power set P(x)={ z:z⊆x }.

Thus a letter a∈Σ may lead from one state to several next states, and an ε-transition changes state without consuming an input symbol.

Remarks

  • A DFA in the sense of Deterministic finite automata is the special case in which every set δ(q,a) is a singleton and every δ(q,ε) is empty.

  • The symbol ε is not an extra alphabet letter. It records a move that reads nothing.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

The epsilon-closure of a set of NFA states

Definition

Let N=(Q,Σ,δ,q0,F) be an NFA with epsilon-moves, and let S⊆Q.

The epsilon-closure of S, written ECl⁡(S), is the set of all states q∈Q for which there exist a state s∈S and a finite sequence of states s=r0,r1,…,rn=q such that ri+1∈δ(ri,ε) for every 0≤i<n.

Equivalently, ECl⁡(S) is the least subset T⊆Q with S⊆T and δ(t,ε)⊆T for every t∈T.

For a single state q∈Q we abbreviate ECl⁡(q):=ECl⁡({q}).

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

Epsilon-closure is a closure operator

Statement

Let N be an NFA with epsilon-moves and let S,T be subsets of its state set. Then:

  1. S⊆ECl⁡(S);
  2. if S⊆T, then ECl⁡(S)⊆ECl⁡(T);
  3. ECl⁡(ECl⁡(S))=ECl⁡(S).

Facts & Assumptions

Given: An NFA with epsilon-moves N and subsets S,T of its state set.

[L1]

By The epsilon-closure of a set of NFA states, a state lies in ECl⁡(S) exactly when it is reachable from some state of S by a finite chain of ε-transitions.

Proof

technique · direct
1.1L1given

For every s∈S, the length-zero ε-chain from s to itself shows s∈ECl⁡(S) by [L1]. Hence S⊆ECl⁡(S).

1.2L1given

Assume S⊆T and let q∈ECl⁡(S). By [L1], some ε-chain starts in a state of S and ends at q; because that start state also lies in T, the same chain shows q∈ECl⁡(T). Thus ECl⁡(S)⊆ECl⁡(T).

2.1L1step 1.1∎

Step 1.1 gives ECl⁡(S)⊆ECl⁡(ECl⁡(S)). For the reverse inclusion, let q∈ECl⁡(ECl⁡(S)). By [L1], there is an ε-chain from some r∈ECl⁡(S) to q, and again by [L1] there is an ε-chain from some s∈S to r. Concatenating the two finite chains gives an ε-chain from s to q, so q∈ECl⁡(S). Therefore ECl⁡(ECl⁡(S))=ECl⁡(S).

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

The extended transition function of an NFA

Definition

Let N=(Q,Σ,δ,q0,F) be an NFA with epsilon-moves.

Its extended transition function is the map δ^:P(Q)×Σ∗→P(Q) defined recursively by δ^(S,ε):=ECl⁡(S) and δ^(S,wa):=ECl⁡ ⁣(⋃q∈δ^(S,w)δ(q,a)) for every state set S⊆Q, every word w∈Σ∗, and every letter a∈Σ.

For a single state q∈Q we abbreviate δ^(q,w):=δ^({q},w).

Thus δ^(S,w) is the set of states that can be reached by starting in some state of S, taking any number of ε-moves before and between letter moves and after the final letter move, and reading the word w.

DefinitionDefinition: AI-adaptedProof: Not applicableverified 2026-09-08 (gpt-6-astra)Open item page →

Acceptance of a word by an NFA and the recognized language

Definition

Let N=(Q,Σ,δ,q0,F) be an NFA with epsilon-moves as in Nondeterministic finite automata with epsilon-moves. For S⊆Q and w∈Σ∗, define δ^(S,w) to be the set of states rm for which there are a finite state list r0,…,rm and labels a1,…,am∈Σ∪{ε} such that r0∈S, ri∈δ(ri−1,ai) for 1≤i≤m, and deleting every ε label from the label list gives exactly w. The case m=0 is allowed and reads the empty word. Put δ^(q,w)=δ^({q},w) for a state q.

This is a well-defined subset of the finite state set Q. Writing E(S)=δ^(S,ε), it satisfies δ^(S,wa)=E ⁣(⋃q∈δ^(S,w)δ(q,a))(a∈Σ). Indeed, split a run immediately before and after its last non-epsilon move: its prefix reads w, that move reads a, and its suffix uses only epsilon moves. Conversely concatenating these three finite pieces constructs a run reading wa. Thus the finite-run definition also supplies the usual recursively extended transition, including epsilon moves before and after the input.

A word w∈Σ∗ is accepted by N when δ^(q0,w)∩F≠∅.

The language recognized by N is L(N):={w∈Σ∗:δ^(q0,w)∩F≠∅}. This is a language over Σ in the sense of Languages over an alphabet.

Remarks

  • NFA acceptance is existential: one accepting computation path is enough.

  • Rejection means that no computation path ends in an accepting state after the whole input has been read.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Every DFA is an NFA

Statement

Let D=(Q,Σ,δ,q0,F) be a DFA. Then there is an NFA N over the same alphabet with L(N)=L(D).

Facts & Assumptions

Given: A DFA D=(Q,Σ,δ,q0,F).

[L1]

By Deterministic finite automata, for each (q,a)∈Q×Σ the DFA has exactly one next state δ(q,a).

[L2]

By Acceptance of a word by a DFA and the recognized language, a word w is accepted by D exactly when the DFA run from q0 on w ends in a state of F.

[L3]

By Acceptance of a word by an NFA and the recognized language, a word w is accepted by an NFA exactly when the reachable state set after reading w meets its accepting set.

Proof

technique · direct
1.1L1givenconstruct

Define an NFA N=(Q,Σ,η,q0,F) by η(q,a):={δ(q,a)} for a∈Σ and η(q,ε):=∅ for every state q. Step [L1] makes this well-defined, and N has the same states, start state, and accepting states as D.

2.1L1step 1.1induction

We claim that for every state q and every word w, the NFA reachable set from q on w is the singleton containing the DFA state reached from q on w. This is proved by induction on ∣w∣: for ε there are no ε-moves, so the reachable set is {q}; for wa, the NFA applies the same one-letter transition as the DFA and then again has no ε-moves.

3.1L2L3step 2.1∎

By step 2.1 and [L2], a word w reaches an accepting DFA state exactly when the NFA reachable set on w contains an accepting state. By [L3], this is exactly the NFA acceptance condition, so L(N)=L(D).

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-09-12Open item page →

The subset-construction DFA

Definition

Let N=(Q,Σ,δ,q0,F) be an NFA with epsilon-moves.

The subset-construction DFA associated to N is DN=(P(Q),Σ,μ,S0,G), where S0:=ECl⁡(q0), μ(S,a):=ECl⁡ ⁣(⋃q∈Sδ(q,a))for S⊆Q, a∈Σ, and G:={S⊆Q:S∩F≠∅}.

Thus each DFA state records the whole set of NFA states that may be active after a given input prefix.

LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Subset construction tracks exactly the reachable NFA state set

Statement

Let N=(Q,Σ,δ,q0,F) be an NFA with epsilon-moves, and let DN=(P(Q),Σ,μ,S0,G) be its subset-construction DFA.

Then for every word w∈Σ∗, μ∗(S0,w)=δ^(q0,w), where μ∗ is the extended transition of DN.

Facts & Assumptions

Given: An NFA N and its subset-construction DFA DN.

[L1]

By The subset-construction DFA, the start state of DN is S0=ECl⁡(q0) and its one-letter transition is μ(S,a)=ECl⁡(⋃q∈Sδ(q,a)).

[L2]

By The extended transition function of an NFA, the extended NFA transition satisfies δ^(q0,ε)=ECl⁡(q0) and δ^(q0,wa)=ECl⁡(⋃q∈δ^(q0,w)δ(q,a)).

Proof

technique · direct
1.1L1L2givenbase

For the empty word, μ∗(S0,ε)=S0 by the DFA recursion, while [L1] and [L2] identify both sides with ECl⁡(q0).

1.2given

Fix a successor word of the form wa.

2.1L1step 1.2ih

Assume μ∗(S0,w)=δ^(q0,w). Then for the successor word from step 1.2 the DFA recursion gives μ∗(S0,wa)=μ(μ∗(S0,w),a), so [L1] turns this into ECl⁡(⋃q∈μ∗(S0,w)δ(q,a)).

3.1L2step 2.1

Substituting the induction hypothesis into step 2.1 yields μ∗(S0,wa)=ECl⁡(⋃q∈δ^(q0,w)δ(q,a)), and [L2] identifies that set with δ^(q0,wa).

4.1step 1.1step 1.2step 2.1step 3.1discharge-induction: on |w|∎

Steps 1.1, 1.2, 2.1, and 3.1 prove by induction on ∣w∣ that μ∗(S0,w)=δ^(q0,w) for every word w.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passverified 2026-09-08 (gpt-6-astra)Open item page →

The subset construction preserves the recognized language

Statement

Let N be an NFA with epsilon-moves, and let DN be its subset-construction DFA. Then L(DN)=L(N).

Facts & Assumptions

Given: An NFA N and its subset-construction DFA DN.

[L1]

The finite-run transition and its word recursion are supplied by Acceptance of a word by an NFA and the recognized language. Put E(S)=δ^(S,ε) and define DN=(P(Q),Σ,μ,E({q0}),G),μ(S,a)=E ⁣(⋃q∈Sδ(q,a)),G={S⊆Q:S∩F≠∅}. The state set is finite by ∣P(A)∣=2∣A∣ for finite A, contains the indicated start state, and every transition is a uniquely defined subset of Q. Thus this is a total DFA as in Deterministic finite automata, including the empty subset as a state. Its extended transition μ∗ exists by The extended transition function exists and is unique.

[L2]

By Acceptance of a word by a DFA and the recognized language, DN accepts w exactly when its reached DFA state is accepting.

[L3]

By Acceptance of a word by an NFA and the recognized language, N accepts w exactly when its reachable state set on w contains an accepting state.

Proof

technique · direct
1.1L1giveninduction

Induct on the word length to show μ∗(E({q0}),w)=δ^(q0,w). For the empty word, both sides equal E({q0}). If the equality holds for w, the DFA recursion and [L1] give the value at wa as E(⋃q∈δ^(q0,w)δ(q,a)), which is exactly δ^(q0,wa) by the finite-run recursion. This proves the identity for every word.

2.1L2step 1.1

In the subset construction, a DFA state is accepting exactly when it contains an accepting NFA state. Therefore [L2] and step 1.1 show that DN accepts w exactly when δ^(q0,w) contains an accepting state.

3.1L3step 2.1∎

By [L3], the condition from step 2.1 is exactly the statement that N accepts w. Thus DN accepts precisely the words that N accepts, so L(DN)=L(N).

CorollaryStatement: Literature-sourcedProof: AI-generatedverified 2026-09-23 (gpt-6-sol)Open item page →

DFAs and NFAs recognize the same languages

Statement

Let Σ be an alphabet and let L⊆Σ∗.

Then L is recognized by some NFA over Σ if and only if L is regular.

Facts & Assumptions

Given: A language L⊆Σ∗.

[L1]

By Regular languages, L is regular exactly when some DFA over Σ recognizes L.

[L2]

Every total DFA embeds as an epsilon-NFA with the same recognized language (A DFA embeds as an epsilon-free NFA).

[L3]

The exact subset-construction invariant produces a total DFA recognizing the language of each epsilon-NFA (Subset construction and its exact reachability invariant).

[L4]

The NFA recognition convention is the finite epsilon-closure and word-transition construction (Epsilon-NFAs, finite epsilon closure, and extended word transition).

Proof

technique · direct
1.1L1L2L4given

If L is regular, then [L1] gives a DFA recognizing L, and [L2] turns that DFA into an epsilon-NFA recognizing the same language under [L4].

1.2L1L3L4given

If some NFA recognizes L, interpret it with [L4]. Then [L3] gives a total DFA recognizing the same language, and [L1] therefore shows that L is regular.

2.1step 1.1step 1.2∎

Steps 1.1 and 1.2 prove that L is recognized by an NFA if and only if L is regular.

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

Epsilon-moves can be eliminated from NFAs

Statement

For every NFA with epsilon-moves there exists an equivalent NFA with no epsilon-transitions.

Facts & Assumptions

Given: An NFA N=(Q,Σ,δ,q0,F) with epsilon-moves.

[L1]

By The epsilon-closure of a set of NFA states, ECl⁡(q) is the set of states reachable from q by zero or more ε-moves.

[L2]

By Acceptance of a word by an NFA and the recognized language, a word is accepted exactly when the reachable state set after the whole word meets the accepting set.

Proof

technique · cases
1.1L1givenconstruct

Define an epsilon-free NFA N′=(Q,Σ,δ′,q0,F′) by δ′(q,a):=⋃r∈ECl⁡(q)ECl⁡(δ(r,a)) for q∈Q and a∈Σ, and by F′:={q∈Q:ECl⁡(q)∩F≠∅}. Thus one a-move of N′ does exactly what N can do by any number of ε-moves, then one a-move, then any number of ε-moves.

2.1L1step 1.1induction

We claim that for every nonempty word w, the states reachable from q0 in N′ after reading w are exactly the states reachable from q0 in N after reading w. The proof is by induction on ∣w∣: for one letter this is the definition of δ′, and appending one more letter repeats the same closure-before-and-after simulation.

3.1L2step 1.1step 2.1∎

If w=ε, then N accepts w exactly when ECl⁡(q0)∩F≠∅, which is exactly the condition q0∈F′ from step 1.1. If w≠ε, then step 2.1 and [L2] show that N and N′ have the same reachable accepting states after reading w. Hence L(N′)=L(N).

TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

NFAs can be constructed for union, concatenation, and Kleene star

Statement

Let L,K⊆Σ∗ be languages recognized by NFA's over the same alphabet Σ. Then L∪K, LK, and L∗ are also recognized by NFA's over Σ.

Facts & Assumptions

Given: NFA's NL and NK over Σ with recognized languages L and K.

[L1]

By Acceptance of a word by an NFA and the recognized language, an NFA accepts a word exactly when some full computation path ends in an accepting state.

[L2]

By Boolean operations on languages over a fixed alphabet, L∪K is the set-theoretic union of the two languages.

[L3]

By Language concatenation, powers, and Kleene star, LK={uv:u∈L, v∈K} and L∗ is the set of finite concatenations of words of L.

Proof

technique · direct
1.1L1L2givenconstruct

For union, first replace NL and NK by disjoint isomorphic copies. Add a fresh start state with ε-transitions to the copied start states, keep all copied transitions, and take the union of the two copied accepting sets as the new accepting set. By [L1] and [L2], every accepting run chooses one copy at the start and then stays inside that copy, so a word is accepted exactly when one of the two original machines accepts it. Thus the new language is L∪K.

1.2L1L3construct

For concatenation, take disjoint copies of NL and NK, use the copied start state of NL as the new start state, add an ε-transition from each copied accepting state of NL to the copied start state of NK, and designate only the copied accepting states of NK as accepting. Then [L1] and [L3] show that a successful run is exactly a decomposition of the input as uv with u∈L and v∈K, so the new machine recognizes LK.

1.3L1L3construct

For star, add a fresh start state, make it the only accepting state, add an ε-transition from it to the old start state of NL, and add ε-transitions from each old accepting state back to the fresh start state. By [L1] and [L3], every accepting run chooses finitely many factors from L, and every finite concatenation of words of L is accepted. Therefore the language recognized is L∗.

2.1step 1.1step 1.2step 1.3∎

Hence NFA's can be built for union, concatenation, and Kleene star.

PropositionStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-09-12Open item page →

The subset construction can require exponentially many states

Statement

For each integer n≥1 there exists a language over Σn={a1,…,an} that is recognized by an NFA with 2n+1 states but by no DFA with fewer than 2n states.

Facts & Assumptions

Given: An integer n≥1 and the alphabet Σn={a1,…,an}.

[L1]

By Nondeterministic finite automata with epsilon-moves, an NFA may branch into several possible next states on the same input symbol.

[L2]

By Deterministic finite automata, a DFA has exactly one state after each input prefix, so two prefixes that land in the same state must have the same future acceptance behavior.

Proof

technique · direct
1.1L1givenconstruct

Let Ln be the set of words over Σn for which at least one letter ai occurs an odd number of times. An NFA for Ln has one start state and, for each i, two parity states that track whether the number of ai's seen so far is even or odd. By [L1], the machine may nondeterministically choose which letter ai to track, and then it accepts exactly when that tracked count ends odd. Thus Ln has an NFA with 1+2n states.

1.2givenconstruct

For a prefix u, let π(u)∈{0,1}n be its parity vector, whose ith coordinate records whether ai has appeared an even or odd number of times in u. Distinct parity vectors are distinguishable: if π(u)≠π(v), append the suffix consisting of exactly those letters whose parity is odd in π(u). The resulting word from u has all-even parity and is not in Ln, while the resulting word from v still has at least one odd coordinate and lies in Ln.

2.1L2step 1.2

Therefore no DFA can place two different parity vectors in the same state, because [L2] would then force the same acceptance behavior for the distinguishing suffix from step 1.2. Since there are 2n parity vectors, every DFA for Ln needs at least 2n states.

3.1step 1.1step 2.1∎

So the subset-construction simulation of NFA's by DFA's can require exponentially many states.

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

FALSE: an NFA accepts only if every branch accepts

Statement

False claim: an NFA accepts a word only when every computation branch on that word accepts.

Facts & Assumptions

Given: The NFA over Σ={a,b} with states q0,q1,q2,q3, start state q0, accepting state q3, loops q0→aq0 and q0→bq0, and extra transitions q0→aq1→bq2→bq3.

[A1]

The statement refuted is: an NFA accepts a word only when every computation branch accepts.

[L1]

By Acceptance of a word by an NFA and the recognized language, an NFA accepts a word exactly when the set of states reachable after reading the word contains an accepting state.

Refutation

technique · direct
1.1given

On input abb, one computation branch takes the transition q0→aq1 at the first letter and then follows the two b-transitions to q3, so this branch accepts. Another branch stays on the loop at the first letter, reaches q0 again after reading the first b, and then has no way to complete the suffix bb to q3, so that branch rejects.

2.1L1step 1.1

Step 1.1 shows that after reading abb an accepting state is reachable, even though not every branch accepts. Therefore [L1] says the machine accepts abb.

3.1A1step 2.1∎

This contradicts [A1]. NFA acceptance is existential over branches, not universal.

False statementConstruction: Literature-sourcedVerification: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-12Open item page →

FALSE: epsilon is an input symbol

Statement

False claim: in an NFA with epsilon-moves, the symbol ε is one more input symbol in the alphabet.

Facts & Assumptions

Given: An NFA with epsilon-moves over an alphabet Σ.

[A1]

The statement refuted is: ε is an input symbol of the machine.

[L1]

By Nondeterministic finite automata with epsilon-moves, the alphabet is Σ, while ε appears only in the transition domain Σ∪{ε} to denote a move that consumes no input symbol.

Refutation

technique · direct
1.1L1given

The definition distinguishes the alphabet letters from ε-moves: letters of Σ are read from the input word, whereas an ε-transition changes state without reading any letter.

2.1L1step 1.1

So ε is not part of the input alphabet itself. It is extra transition notation for "read nothing."

3.1A1step 2.1∎

This contradicts [A1]. Therefore the claim is false.

5 · Examples, counterexamples and false statements

None yet.

Sources