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.
Deterministic Finite Automata and Regular Languages: 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
- Relations, Functions, and Quotients
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
These examples compute one extended transition explicitly, show how adjoining a
sink repairs the published 11-avoidance prefix automaton into a total DFA, and
exhibit the minimal missing-edge picture that fails to define a DFA at all.
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Computing as
Example
Consider the DFA over with states , where:
- means "no nonempty suffix of the input is a prefix of
abb", - means "the current suffix is
a", - means "the current suffix is
ab", - means "the current suffix is
abb".
Take as the start state and as the accepting set.
Its transitions are
Take and .
Then
Facts & Assumptions
Given: The DFA above with start state , accepting set , and the words and .
Extended transition respects concatenation: , by Extended DFA transition respects concatenation.
Acceptance is determined by the final state reached after reading the whole word, by Acceptance of a word by a DFA and the recognized language.
Verification
Compute directly that , because .
Reading the whole concatenated word at once gives , so as well.
Continuing from , we get , so . Therefore .
The two calculations agree, exactly as [L1] predicts. In particular the word lands in the accepting state , consistent with [L2].
Adding a sink turns the published prefix automaton for avoiding 11 into a DFA
Example
Let over the alphabet . The published proper-prefix state set is Adjoin a sink state , keep and accepting, and define the transitions by
This DFA accepts exactly the binary words with no factor 11.
Facts & Assumptions
Given: The forbidden-factor set over .
The published prefix automaton extends canonically to a DFA for the factor-avoidance language by adjoining a sink and declaring the states in accepting, by The published prefix automata extend canonically to DFAs for factor-avoidance languages.
Verification
The only proper prefixes of the forbidden word 11 are and 1, so these are exactly the nonsink states. The missing transition is from 1 on input 1, and it must go to the sink because the extended word 11 already contains the forbidden factor.
Once the machine reaches , the forbidden factor has already appeared, so looping at on both letters is the correct total completion. The words , 1, 10, and 1010 stay in the accepting states, while 11 and 1011 reach .
This is exactly the sink-state completion described by [L1], so the resulting DFA recognizes the binary words avoiding 11.
A missing 1-transition shows the drawn machine is not yet a DFA
Statement refuted
The statement "a DFA transition diagram may omit a sink without changing totality" is false.
Facts & Assumptions
Given: The alphabet and the one-state picture with only the loop .
The statement refuted is: omitting a sink transition does not affect whether the diagram defines a DFA.
A DFA requires a total transition function on , by Deterministic finite automata.
Counterexample
The picture specifies a transition on input 0 but no transition on input 1. So the pair has no image.
By [L1], that means the picture does not define a DFA at all. Adding a sink state with a 1-edge repairs the omission, which is exactly why the original claim fails.
Therefore this one-state picture is a counterexample to [A1].