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.
The table-filling algorithm computes state equivalence and DFA minimization
Statement
Fix a DFA . Delete its unreachable states, mark every accepting/nonaccepting pair, and then repeatedly mark any unmarked pair for which some letter has already-marked successor pair . When the process stabilizes, the unmarked pairs are exactly the state-equivalent pairs of , and merging each equivalence class yields a minimal DFA for the same language.
Facts & Assumptions
Given: A DFA .
By Removing unreachable states preserves the recognized language, we may delete unreachable states first without changing the recognized language.
By Distinguishing words for states and for prefixes, a pair of states is distinguishable exactly when some continuation accepts from one state and rejects from the other.
By State-equivalent DFA states stay equivalent after every input word, state equivalence is preserved by every input word.
By The quotient by state equivalence is a well-defined equivalent DFA, quotienting by state equivalence gives an equivalent DFA.
Proof
Replace by its reachable part using [L1]. Let be the set of accepting/nonaccepting pairs, and for let be obtained from by also marking every pair for which some letter has . Put .
We prove by induction on that every pair in has a distinguishing word of length at most . For , the empty word distinguishes every accepting/nonaccepting pair by [L2]. For the induction step, if is newly marked because , prepend the letter to a distinguishing word for the successor pair.
Conversely, we induct on the length of a distinguishing word . If , then the pair is in . If , then distinguishes and , so the induction hypothesis puts the successor pair in some , and the algorithm then marks at the next stage. Therefore a pair is marked exactly when it is distinguishable.
Unmarked pairs are therefore precisely the indistinguishable pairs, hence precisely the state-equivalent pairs by [L2]. By [L3] this is an equivalence relation, and [L4] gives an equivalent quotient DFA .
Let be any reachable DFA equivalent to . Because step 1.1 replaced by its reachable part, each state class of has a representative state reached in by some word . Send to the state reached by on . If , then their representatives are distinguishable by step 3.1; choose a distinguishing word . The words and are then accepted differently by , hence also by the equivalent DFA , so the reached states of are distinct. Thus this map from the states of into the states of is injective.
Therefore every reachable DFA equivalent to has at least as many states as . Since itself is equivalent to by step 4.1, it is a minimal DFA for the same language.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · two levels
12 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
- Jean Gallier and Jocelyn Quaintance, Introduction to the Theory of Computation: Some Notes for CIS511 (standard reference, not scraped)