Skip to content
DARC
■ Change #112 · wiki.edited

The Černý conjecture: synchronizing words of length (n−1)²: Normalize Markdown to canonical form

by DARC wiki2026-10-22 20:31:12 UTCOpen the page →
explainer.student
− **Finite-state machines.** A *deterministic finite automaton* (DFA) is the simplest model of a digital controller: a finite set of $n$ states, an alphabet of input letters, and a rule that says, for each state and letter, which state comes next. You may have drawn one as a state diagram for a vending machine or a traffic light.
+ **Finite-state machines.** A _deterministic finite automaton_ (DFA) is the simplest model of a digital controller: a finite set of $n$ states, an alphabet of input letters, and a rule that says, for each state and letter, which state comes next. You may have drawn one as a state diagram for a vending machine or a traffic light.
− **Resetting without looking.** Suppose you do not know the machine's current state and cannot observe it. A *synchronizing word* (or reset word) is a sequence of letters that sends every possible starting state to the same final state, so after feeding it in you know exactly where the machine is. A DFA is *synchronizing* if such a word exists. Černý conjectured that whenever one exists, there is one of length at most $(n-1)^2$.
+ **Resetting without looking.** Suppose you do not know the machine's current state and cannot observe it. A _synchronizing word_ (or reset word) is a sequence of letters that sends every possible starting state to the same final state, so after feeding it in you know exactly where the machine is. A DFA is _synchronizing_ if such a word exists. Černý conjectured that whenever one exists, there is one of length at most $(n-1)^2$.
**The bound would be tight.** Černý's automata on states $0,\dots,n-1$ use two letters: $a$ moves every state $i$ to $i+1 \bmod n$, and $b$ sends state $n-1$ to $0$ and leaves the others alone. Their shortest reset word has length exactly $(n-1)^2$; for $n=4$ that is 9, which a brute-force search over words confirms.
− **What is proved.** The classical bound is $(n^3-n)/6$ (Frankl and Pin, early 1980s). Szykuła (2018) and Shitov (2019) improved the constant, reaching about $0.1654\,n^3$. Eppstein (1990) gave a fast algorithm that finds reset words of length at most $11n^3/48+O(n^2)$ and proved the conjecture for *monotonic* automata, whose letters preserve a cyclic order of the states. The conjecture also holds for several other special classes and has been checked by computer for small $n$.
+ **What is proved.** The classical bound is $(n^3-n)/6$ (Frankl and Pin, early 1980s). Szykuła (2018) and Shitov (2019) improved the constant, reaching about $0.1654\,n^3$. Eppstein (1990) gave a fast algorithm that finds reset words of length at most $11n^3/48+O(n^2)$ and proved the conjecture for _monotonic_ automata, whose letters preserve a cyclic order of the states. The conjecture also holds for several other special classes and has been checked by computer for small $n$.
**Why the proofs give $n^3$.** Track the set $S$ of states the machine might be in; at the start $S$ is all $n$ states. The argument repeatedly finds a short word that makes $S$ smaller by at least one state. Linear algebra enters by treating $S$ as a 0/1 vector of length $n$ and each letter as a matrix acting on it. In the classical analysis, shrinking a set of $k$ states costs at most about $k^2/2$ letters; adding this up over $k$ from $n$ down to 2 gives about $n^3/6$. A quadratic bound would need shrinking steps of about $2n$ letters on average, and nobody knows how to guarantee that.
**Lean and checking.** `M.IsSynchronizing → ∃ w, M.IsSynchronizingWord w ∧ w.length ≤ (Fintype.card σ - 1)^2`, where Mathlib provides `DFA` and the corpus defines the two synchronizing predicates. A proof must cover every automaton; a counterexample would be one concrete automaton plus a finite check that no short reset word exists.
hash 1c64d647c9b25561922c00bccc7a7f8b2b0aadc29fafe63e3d6059898aefcc76
previous 2779c6713ef582ce85988da8f3ba07a918bf96a28008b328558636c229518856