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.
Finite-Automata Transition and Determinisation Interfaces
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Deterministic Finite Automata and Regular Languages
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Linear Recurrences and Rational Generating Functions
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
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
Epsilon-NFAs, finite epsilon closure, and extended word transition
Definition
An epsilon-NFA is a tuple with finite , , , a finite alphabet , and a total map 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 , put and define Write and . A subset is epsilon-closed when for every . The construction below shows that is the least epsilon-closed superset of .
The extended word transition is the unique function satisfying Abbreviate . A finite path of length is a sequence of states together with labels such that . Its spelling is the word obtained by erasing the epsilon labels. Length-zero paths are allowed. The set consists exactly of endpoints of such paths starting in with spelling .
The closure is extensive, monotone, idempotent, preserves every set-indexed union of subsets of , and satisfies . A word is accepted when , and
Facts & Assumptions
Given: The tuple above, , and . All constructions use ZF; no choice axiom is assumed.
Power sets contain precisely the subsets of their argument, and indexed unions have the existential membership rule (The power set , , and for ).
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 , and equality holds if and only if ). Cardinalities are natural numbers (The cardinality of a finite set).
A self-map of a set, with a specified initial element, has a unique natural-number iterate sequence (The recursion theorem).
A property true at zero and preserved by successor holds at every natural number (The principle of mathematical induction).
Words are functions , including the unique empty word, and is a set (Computation alphabets, words, the empty word, and ).
A language over is a subset of (Languages over an alphabet).
Cartesian products are sets of the specified ordered pairs (The Cartesian product ); Separation forms the subset of an ambient set satisfying a formula with fixed parameters (The Axiom Schema of Separation: for each formula , ).
Verification
For , the union of the sets with is a subset of . Thus is a self-map of . Applying natural-number recursion with initial element gives the unique sequence , with .
If , applying repeatedly gives for every natural : the case is equality and the successor follows from . If , therefore all inclusions from through are strict. Each raises natural cardinality by at least one, by the finite-subset equality criterion. Starting at , induction gives , contradicting and . Hence and all subsequent stages equal .
The equality says precisely that is epsilon-closed, and . If and is epsilon-closed, then ; from , every successor of a state in is in , so . Induction gives . This proves leastness and extensivity.
For every , is exactly the set of endpoints of epsilon paths from with at most edges. At both sets are . An endpoint in either already lies in , or follows one epsilon edge from a state in ; retaining or appending that edge gives a path of length at most . Conversely a path of length at most either has length zero, or deleting its last edge leaves a path of length at most , whose endpoint belongs to ; its last endpoint lies in . These implications give the successor equivalence and induction proves the claim. Stabilization then implies that is exactly the endpoints of all finite epsilon paths: paths of length at most give , while longer paths give a stage equal to .
If , the closed set contains , so leastness gives . Because is already closed, leastness gives and extensivity gives the reverse inclusion. For any family , a path starts in exactly when its starting state belongs to some . Applying the endpoint equivalence gives in both directions. For neither side has a path starting point, so .
Fix . On define if , and if . In the first clause exists; in both clauses the value lies in the product. Recursion starting at gives a unique sequence. For its value is , as follows by induction from its first clause. In particular and for . Define . The graph is the subset of 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 .
If two words agree at positions below , their sequences for the same agree through stage : the initial sets agree, and equality at stage gives equal unions with the same letter, hence equal next closures. Induction proves this prefix compatibility. Taking the words and proves the displayed successor equation, while proves the empty-word equation. Any other function satisfying those equations agrees at the empty word and, if it agrees at , agrees at by substitution. Every nonempty word has this last-letter decomposition, so induction on length proves uniqueness on all words.
For spelling , the endpoint assertion is the epsilon-path assertion. Suppose the assertion holds for and consider . A path spelling has a last non-epsilon edge: its label is , its preceding path spells , and its following path has only epsilon labels. The preceding endpoint is in , so the last edge lands in and its epsilon suffix lands in the closure of that union. Conversely a state in this closure has an epsilon path from some with . The induction hypothesis supplies a path spelling to ; concatenating this path, the edge to , and that epsilon path gives spelling . Only witnesses for this one membership are used. Induction proves both directions for all words.
Consequently the acceptance predicate holds exactly when a finite path from spelling ends in . Its defining set is a subset of , hence a language. Empty has no path starts, so for every word; empty accepts no word. If the only word is , already treated. A one-state and epsilon self-loops satisfy the same stabilization argument; is excluded by . Thus the definitions and all asserted properties are well-defined in the boundary cases as well.
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.
Subset construction and its exact reachability invariant
Statement
Let be an epsilon-NFA, with and as in Epsilon-NFAs, finite epsilon closure, and extended word transition. Define This is a total DFA with states. Its extended transition satisfies, for every and , In particular and . The empty subset is a legitimate absorbing state, whether or not it is reachable from .
Facts & Assumptions
Given: The epsilon-NFA above, and the displayed definitions of .
Epsilon closure maps subsets to subsets, has , 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).
For finite , its power set is finite with cardinality ( for finite ).
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).
Every DFA has a unique extended transition with and (The extended transition function exists and is unique).
A DFA accepts exactly when its extended transition from the start belongs to its accepting set (Acceptance of a word by a DFA and the recognized language).
Zero and successor establish a property for every natural length (The principle of mathematical induction).
Proof
Since is finite, is finite with elements. It is nonempty because . For every and , all lie in , so their union and its closure are subsets of . Thus is defined on all and takes values in . Moreover and . These verify the DFA hypotheses and give its extended transition .
Fix any . At length zero, . This includes and subsets that are not epsilon-closed.
Assume the equality holds for every word of length , and write a word of length uniquely as . Then . The second equality uses the induction hypothesis, and the last uses the NFA recursion.
Induction on length proves the equality for every ; since was arbitrary, it holds for every subset. Taking gives .
If accepts , then , so and accepts . Conversely if accepts , that intersection is nonempty, so and accepts . This proves equality of the two languages, also for (neither accepts) and (acceptance is exactly nonemptiness of the reached subset).
For any letter , the union indexed by the empty set is empty, whence . Its extended transition stays empty: the empty-word value is empty, and if the value at is empty, the successor value is . Induction gives absorption for every word. If , the transition has empty domain and the same empty-word calculation applies; a one-state causes no exception to the power-set count or the proof.
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 ; replacing that by an arbitrary unclosed would already make the empty-word equality false. No minimization claim is made.
A DFA embeds as an epsilon-free NFA
Statement
For a total DFA , define with the same and Then is an epsilon-NFA and for every and , Consequently .
Facts & Assumptions
Given: The total DFA and the displayed singleton/empty transition prescription.
A DFA has finite , start , finals , and a total transition (Deterministic finite automata).
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 (Epsilon-NFAs, finite epsilon closure, and extended word transition).
The extended DFA transition exists and satisfies the empty-word and last-letter equations (The extended transition function exists and is unique).
DFA acceptance is the condition (Acceptance of a word by a DFA and the recognized language).
Induction holds for every natural length (The principle of mathematical induction).
Proof
For each letter pair the element exists in , so its singleton is a subset of . Each epsilon value is also a subset of , and the tagged epsilon domain is disjoint from the letter domain. Thus the prescription is total into ; the other tuple requirements are inherited from . It defines .
For any , the first saturation stage is . Whenever a stage equals , its next stage has the same value. Induction gives for all , hence , including .
Fix . For the empty word, .
Assume for all words of length . For a word of length , the union defining its next NFA state set has the single index . Therefore . These equalities use the displayed singleton prescription, the identity closure, and the DFA successor equation.
Induction proves the singleton identity for every word and every initial state . This remains valid when the alphabet is empty, since then there is only the empty word, and when has one state.
At , nonempty intersection implies its sole possible element lies in . Conversely membership of that element in witnesses the nonempty intersection. The NFA and DFA acceptance tests therefore agree for every word, giving ; in particular empty rejects all words and accepts all words.
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.