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

3 results · all verified · 3 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; all 3 also cleared it.

Finite-Automata Transition and Determinisation Interfaces

1 · Prerequisites

2 · Summary

Epsilon transitions can change the available states without consuming a letter. This page constructs their finite closure and proves the meaning of the extended word transition. The subset construction then turns these state sets into a total DFA, with an exact invariant for every word. The final proposition embeds a DFA using singleton letter transitions and empty epsilon transitions.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-09Open item page →

Epsilon-NFAs, finite epsilon closure, and extended word transition

Definition

An epsilon-NFA is a tuple N=(Q,Σ,δ,q0,F) with finite Q, q0Q, FQ, a finite alphabet Σ, and a total map δ:Q×(Σ{ε})P(Q). Here the disjoint union tags letters and the empty-input label separately; ε on an edge consumes no letter. Missing arrows in a diagram mean empty transition sets. Words and concatenation have the convention of Computation alphabets, words, the empty word, and Σ.

For SQ, put n=Q and define C0(S)=S,Ck+1(S)=Ck(S)qCk(S)δ(q,ε),E(S)=Cn(S). Write ECl(S)=E(S) and ECl(q)=E({q}). A subset T is epsilon-closed when δ(q,ε)T for every qT. The construction below shows that E(S) is the least epsilon-closed superset of S.

The extended word transition is the unique function δ^:P(Q)×ΣP(Q) satisfying δ^(S,ε)=E(S),δ^(S,ua)=E(qδ^(S,u)δ(q,a)). Abbreviate δ^(q,w)=δ^({q},w). A finite path of length is a sequence x0,,x of states together with labels b0,,b1 such that xj+1δ(xj,bj). Its spelling is the word obtained by erasing the epsilon labels. Length-zero paths are allowed. The set δ^(S,w) consists exactly of endpoints of such paths starting in S with spelling w.

The closure is extensive, monotone, idempotent, preserves every set-indexed union of subsets of Q, and satisfies E()=. A word is accepted when δ^(q0,w)F, and L(N)={wΣ:δ^(q0,w)F}.

Facts & Assumptions

Given: The tuple above, SQ, and n=Q. All constructions use ZF; no choice axiom is assumed.

[F2]

A subset of a finite set is finite, its cardinality is no larger, and equality occurs exactly for the whole set (A subset of a finite set is finite, with BA, and equality holds if and only if B=A). Cardinalities are natural numbers (The cardinality A of a finite set).

[F3]

A self-map of a set, with a specified initial element, has a unique natural-number iterate sequence (The recursion theorem).

[F4]

A property true at zero and preserved by successor holds at every natural number (The principle of mathematical induction).

[F5]

Words are functions w:rΣ, including the unique empty word, and Σ is a set (Computation alphabets, words, the empty word, and Σ).

[F6]

A language over Σ is a subset of Σ (Languages over an alphabet).

Verification

1.1

For TQ, the union of the sets δ(q,ε) with qT is a subset of Q. Thus H(T)=TqTδ(q,ε) is a self-map of P(Q). Applying natural-number recursion with initial element S gives the unique sequence Ck(S), with Ck(S)Ck+1(S)Q.

F1F3
2.1

If Cj=Cj+1, applying H repeatedly gives Cj+r=Cj for every natural r: the case r=0 is equality and the successor follows from H(Cj)=Cj. If CnCn+1, therefore all inclusions from C0 through Cn+1 are strict. Each raises natural cardinality by at least one, by the finite-subset equality criterion. Starting at C00, induction gives Cn+1n+1, contradicting Cn+1Q and Q=n. Hence Cn=Cn+1 and all subsequent stages equal E(S).

step 1.1F2F4
3.1

The equality H(E(S))=E(S) says precisely that E(S) is epsilon-closed, and S=C0E(S). If ST and T is epsilon-closed, then C0T; from CkT, every successor of a state in Ck is in T, so Ck+1T. Induction gives E(S)T. This proves leastness and extensivity.

step 1.1step 2.1F4
3.2

For every k, Ck(S) is exactly the set of endpoints of epsilon paths from S with at most k edges. At k=0 both sets are S. An endpoint in Ck+1 either already lies in Ck, or follows one epsilon edge from a state in Ck; retaining or appending that edge gives a path of length at most k+1. Conversely a path of length at most k+1 either has length zero, or deleting its last edge leaves a path of length at most k, whose endpoint belongs to Ck; its last endpoint lies in Ck+1. These implications give the successor equivalence and induction proves the claim. Stabilization then implies that E(S) is exactly the endpoints of all finite epsilon paths: paths of length at most n give Cn, while longer paths give a stage equal to Cn.

step 1.1step 2.1F4
4.1

If ST, the closed set E(T) contains S, so leastness gives E(S)E(T). Because E(S) is already closed, leastness gives E(E(S))E(S) and extensivity gives the reverse inclusion. For any family (Si)iI, a path starts in iSi exactly when its starting state belongs to some Si. Applying the endpoint equivalence gives E(iSi)=iE(Si) in both directions. For I= neither side has a path starting point, so E()=.

step 3.1step 3.2F1
4.2

Fix w:rΣ. On N×P(Q) define Jw(i,T)=(i+1,E(qTδ(q,w(i)))) if i<r, and Jw(i,T)=(i,T) if ir. In the first clause w(i) exists; in both clauses the value lies in the product. Recursion starting at (0,E(S)) gives a unique sequence. For kr its value is (k,Tk), as follows by induction from its first clause. In particular T0=E(S) and Tk+1=E(qTkδ(q,w(k))) for k<r. Define δ^(S,w)=Tr. The graph is the subset of (P(Q)×Σ)×P(Q) consisting of the triples satisfying this finite-sequence prescription, so Separation gives a set function; existence and uniqueness of the sequence give exactly one output for each input. Here the ambient products are sets; the finite-sequence condition is a set-theoretic formula with parameters S,w,δ.

step 1.1step 3.1F1F3F4F5F7
5.1

If two words agree at positions below m, their sequences for the same S agree through stage m: the initial sets agree, and equality at stage k<m gives equal unions with the same letter, hence equal next closures. Induction proves this prefix compatibility. Taking the words u and ua proves the displayed successor equation, while r=0 proves the empty-word equation. Any other function satisfying those equations agrees at the empty word and, if it agrees at u, agrees at ua by substitution. Every nonempty word has this last-letter decomposition, so induction on length proves uniqueness on all words.

step 4.2F4F5
6.1

For spelling ε, the endpoint assertion is the epsilon-path assertion. Suppose the assertion holds for u and consider ua. A path spelling ua has a last non-epsilon edge: its label is a, its preceding path spells u, and its following path has only epsilon labels. The preceding endpoint is in δ^(S,u), so the last edge lands in qδ^(S,u)δ(q,a) and its epsilon suffix lands in the closure of that union. Conversely a state in this closure has an epsilon path from some vδ(q,a) with qδ^(S,u). The induction hypothesis supplies a path spelling u to q; concatenating this path, the edge to v, and that epsilon path gives spelling ua. Only witnesses for this one membership are used. Induction proves both directions for all words.

step 3.2step 5.1F1F4
7.1

Consequently the acceptance predicate holds exactly when a finite path from q0 spelling w ends in F. Its defining set is a subset of Σ, hence a language. Empty S has no path starts, so δ^(,w)= for every word; empty F accepts no word. If Σ= the only word is ε, already treated. A one-state Q and epsilon self-loops satisfy the same stabilization argument; Q= is excluded by q0Q. Thus the definitions and all asserted properties are well-defined in the boundary cases as well.

step 4.1step 5.1step 6.1F5F6F7

Source conventions

Gallier, §§3.3–3.5, Definitions 3.5–3.7, pp. 28–33 supplies the NFA convention and saturation route; Aho, Lecture 3 §§1–2 gives the corresponding set closure. The existence, uniqueness, closure laws, and path equivalence used here are derived above. The tagged epsilon label avoids any set-theoretic collision with letters.

TheoremStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-09Open item page →

Subset construction and its exact reachability invariant

Statement

Let N=(Q,Σ,δ,q0,F) be an epsilon-NFA, with E=ECl and δ^ as in Epsilon-NFAs, finite epsilon closure, and extended word transition. Define DN=(P(Q),Σ,μ,S0,G),S0=E({q0}),G={TQ:TF}, μ(T,a)=E(qTδ(q,a)). This is a total DFA with 2Q states. Its extended transition satisfies, for every SQ and wΣ, μ(E(S),w)=δ^(S,w). In particular μ(S0,w)=δ^(q0,w) and L(DN)=L(N). The empty subset is a legitimate absorbing state, whether or not it is reachable from S0.

Facts & Assumptions

Given: The epsilon-NFA N above, and the displayed definitions of μ,S0,G.

[F1]

Epsilon closure maps subsets to subsets, has E()=, and the NFA word transition satisfies the initial and successor equations and the final-set intersection test (Epsilon-NFAs, finite epsilon closure, and extended word transition).

[F2]

For finite Q, its power set is finite with cardinality 2Q (P(A)=2A for finite A).

[F3]

A DFA requires a finite state set, an element chosen as start, a subset of accepting states, and a total letter transition into its state set (Deterministic finite automata).

[F4]

Every DFA has a unique extended transition with d(q,ε)=q and d(q,ua)=d(d(q,u),a) (The extended transition function exists and is unique).

[F5]

A DFA accepts w exactly when its extended transition from the start belongs to its accepting set (Acceptance of a word by a DFA and the recognized language).

[F6]

Zero and successor establish a property for every natural length (The principle of mathematical induction).

Proof

1.1

Since Q is finite, P(Q) is finite with 2Q elements. It is nonempty because Q. For every TQ and aΣ, all δ(q,a) lie in P(Q), so their union and its closure are subsets of Q. Thus μ is defined on all P(Q)×Σ and takes values in P(Q). Moreover S0Q and GP(Q). These verify the DFA hypotheses and give its extended transition μ.

F1F2F3F4
1.2

Fix any SQ. At length zero, μ(E(S),ε)=E(S)=δ^(S,ε). This includes S= and subsets that are not epsilon-closed.

F1F4base
1.3

Assume the equality holds for every word u of length k, and write a word of length k+1 uniquely as ua. Then μ(E(S),ua)=μ(μ(E(S),u),a)=μ(δ^(S,u),a)=E(qδ^(S,u)δ(q,a))=δ^(S,ua). The second equality uses the induction hypothesis, and the last uses the NFA recursion.

F1F4ihgiven
2.1

Induction on length proves the equality for every w; since S was arbitrary, it holds for every subset. Taking S={q0} gives μ(S0,w)=δ^(q0,w).

step 1.2step 1.3F6discharge-induction
3.1

If DN accepts w, then μ(S0,w)G, so δ^(q0,w)F and N accepts w. Conversely if N accepts w, that intersection is nonempty, so μ(S0,w)G and DN accepts w. This proves equality of the two languages, also for F= (neither accepts) and F=Q (acceptance is exactly nonemptiness of the reached subset).

step 2.1F1F5given
4.1

For any letter a, the union indexed by the empty set is empty, whence μ(,a)=E()=. Its extended transition stays empty: the empty-word value is empty, and if the value at u is empty, the successor value is μ(,a)=. Induction gives absorption for every word. If Σ=, the transition has empty domain and the same empty-word calculation applies; a one-state Q causes no exception to the power-set count or the proof.

F1F4F6step 1.1step 3.1discharge-induction

Source conventions

Aho, Lecture 3 §2 uses the full power set as here. Gallier, §3.5, pp. 33–34 restricts to epsilon-closed subsets. Our invariant starts at E(S); replacing that by an arbitrary unclosed S would already make the empty-word equality false. No minimization claim is made.

PropositionStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-09Open item page →

A DFA embeds as an epsilon-free NFA

Statement

For a total DFA D=(Q,Σ,d,q0,F), define ND with the same Q,Σ,q0,F and δ(q,a)={d(q,a)}(aΣ),δ(q,ε)=. Then ND is an epsilon-NFA and for every qQ and wΣ, δ^ND(q,w)={d(q,w)}. Consequently L(ND)=L(D).

Facts & Assumptions

Given: The total DFA D and the displayed singleton/empty transition prescription.

[F1]

A DFA has finite Q,Σ, start q0Q, finals FQ, and a total transition d:Q×ΣQ (Deterministic finite automata).

[F2]

Epsilon-NFA closure is finite saturation; word transition starts with that closure and, after a letter, closes the union of successors; acceptance is nonempty intersection with F (Epsilon-NFAs, finite epsilon closure, and extended word transition).

[F3]

The extended DFA transition exists and satisfies the empty-word and last-letter equations (The extended transition function exists and is unique).

[F4]

DFA acceptance is the condition d(q0,w)F (Acceptance of a word by a DFA and the recognized language).

[F5]

Induction holds for every natural length (The principle of mathematical induction).

Proof

1.1

For each letter pair (q,a) the element d(q,a) exists in Q, so its singleton is a subset of Q. Each epsilon value is also a subset of Q, and the tagged epsilon domain is disjoint from the letter domain. Thus the prescription is total into P(Q); the other tuple requirements are inherited from D. It defines ND.

F1F2given
1.2

For any SQ, the first saturation stage is SqS=S. Whenever a stage equals S, its next stage has the same value. Induction gives Ck(S)=S for all k, hence E(S)=S, including S=.

F2F5given
2.1

Fix qQ. For the empty word, δ^(q,ε)=E({q})={q}={d(q,ε)}.

step 1.2F2F3base
2.2

Assume δ^(q,u)={d(q,u)} for all words of length k. For a word ua of length k+1, the union defining its next NFA state set has the single index d(q,u). Therefore δ^(q,ua)=E(δ(d(q,u),a))=E({d(d(q,u),a)})={d(q,ua)}. These equalities use the displayed singleton prescription, the identity closure, and the DFA successor equation.

step 1.2F2F3givenih
3.1

Induction proves the singleton identity for every word and every initial state q. This remains valid when the alphabet is empty, since then there is only the empty word, and when Q has one state.

step 2.1step 2.2F5discharge-induction
4.1

At q=q0, nonempty intersection δ^(q0,w)F implies its sole possible element d(q0,w) lies in F. Conversely membership of that element in F witnesses the nonempty intersection. The NFA and DFA acceptance tests therefore agree for every word, giving L(ND)=L(D); in particular empty F rejects all words and F=Q accepts all words.

step 3.1F2F4discharge-induction

Source

This makes explicit the DFA-as-NFA observation in Gallier, §3.5, p. 34. The direction proved is DFA to epsilon-NFA; the subset construction is not a premise.

5 · Examples, counterexamples and false statements

None yet.

Sources