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.
Myhill--Nerode Theory and DFA Minimization: Examples and Counterexamples
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Deterministic Finite Automata and Regular Languages
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- Myhill--Nerode Theory and DFA Minimization
- Relations, Functions, and Quotients
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
These examples make the abstract equivalence relations concrete. The first computes a quotient DFA by merging two genuinely redundant rejecting states. The second shows how distinguishable prefixes give a fast nonregularity proof. The counterexample closes the page by separating the pumping property from actual regularity.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Merging equivalent sink-like states in a small DFA
Example
Consider the DFA over with states start state , accepting states , and transitions It recognizes the language .
Facts & Assumptions
Given: The displayed DFA.
By The quotient by state equivalence is a well-defined equivalent DFA, merging state-equivalent states yields a well-defined DFA with the same language.
Verification
The states and are equivalent because every continuation from either state stays in a rejecting sink. No other pair is equivalent: is distinguished from by the word , and is distinguished from both and by .
The quotient therefore has four states , , , and . Its only nontrivial merge is the class , and [L1] shows that the quotient recognizes the same language as the original DFA.
Concretely, the quotient still accepts , , and , while it rejects , , and . The merge removes a redundant rejecting state without changing any acceptance decision.
The prefixes 0^n distinguish the language {0^n1^n : n >= 0}
Example
Let The prefixes give an infinite family of pairwise distinguishable words for .
Facts & Assumptions
Given: The language .
By Distinguishing words for states and for prefixes, a suffix distinguishes two prefixes exactly when appending it puts one resulting word in and the other outside .
By Infinitely many pairwise distinguishable prefixes force nonregularity, infinitely many pairwise distinguishable prefixes force nonregularity.
Verification
Fix integers . Appending the suffix gives and , so [L1] shows that distinguishes the prefixes and .
Because every pair with is distinguished by step 1.1, the family is pairwise distinguishable. Therefore [L2] implies that is not regular.
A nonregular language can still satisfy the regular pumping lemma
Statement refuted
Every language satisfying the regular pumping conclusion is regular.
Facts & Assumptions
Given: The language
By FALSE: the pumping lemma characterizes the regular languages, the claim would be true only if every pumpable language were regular.
By Infinitely many pairwise distinguishable prefixes force nonregularity, it is enough to exhibit infinitely many pairwise distinguishable prefixes in .
For and , the companion refutation proves and whenever : the unique doubled pair in forces any palindromic prefix to have length , which leaves no room for the required nonempty suffix (FALSE: the pumping lemma characterizes the regular languages).
Counterexample
The same decomposition used in FALSE: the pumping lemma characterizes the regular languages shows that satisfies the regular pumping conclusion: words with pump on the first letter of the front copy of , while words with pump inside the nonempty tail .
For each , the prefix is distinguished from every longer by the suffix , because [L3] gives and when . Hence the prefixes are pairwise distinguishable, so [L2] shows that is not regular.
Thus is a concrete nonregular language that still satisfies the pumping conclusion, so it is a counterexample to the refuted statement.