Alphabeta Math
DefinitionDefinition: AI-adaptedProof: AI-adaptedPipeline-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-09-09
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.

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.

Depends on

Used by

Dependency tree · two levels

38 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources