The Černý conjecture: synchronizing words of length (n−1)²
On this page20 sections
Difficulty 75: sixty years, and the upper bound is still cubic, with only the constant improved (Pin–Frankl, then Szykuła 2018 and Shitov 2019) against a quadratic conjecture that is tight; harder than sunflowers (71), where one log factor remains, and just below deterministic prime construction (76) and diagonal Ramsey (78). Application value 8: reset sequences for finite-state devices and testing are a real, specific use. Leverage 30: the central open problem of synchronizing automata, with a large literature of special classes.
The problem
Can any n-state automaton that can be reset be reset by a word of at most (n−1)² letters?
- 1Machine in an unknown state
- 2A command word resets every state
- 3Černý machines need (n−1)² letters
- 4Best proof only gives about 0.165 n³
Finite-state machines. A deterministic finite automaton (DFA) is the simplest model of a digital controller: a finite set of 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 .
The bound would be tight. Černý's automata on states use two letters: moves every state to , and sends state to and leaves the others alone. Their shortest reset word has length exactly ; for that is 9, which a brute-force search over words confirms.
What is proved. The classical bound is (Frankl and Pin, early 1980s). Szykuła (2018) and Shitov (2019) improved the constant, reaching about . Eppstein (1990) gave a fast algorithm that finds reset words of length at most 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 .
Why the proofs give . Track the set of states the machine might be in; at the start is all states. The argument repeatedly finds a short word that makes smaller by at least one state. Linear algebra enters by treating as a 0/1 vector of length and each letter as a matrix acting on it. In the classical analysis, shrinking a set of states costs at most about letters; adding this up over from down to 2 gives about . A quadratic bound would need shrinking steps of about 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.
Go deeper
The full technical text.
A complete deterministic finite automaton (DFA) with states is synchronizing if some word sends every state to the same state. Černý conjectured that every synchronizing -state DFA has a synchronizing word of length at most . Černý's own examples show this cannot be lowered.
Lean 4 statement in the Formal Conjectures corpus:
theorem cerny_conjecture :
∀ {α : Type*} {σ : Type*} [Fintype σ] (M : DFA α σ) (hM : M.IsSynchronizing),
∃ w : List α, M.IsSynchronizingWord w ∧ w.length ≤ (Fintype.card σ - 1)^2
Words on this page (6)
- automaton
- A machine with a finite number of states that changes state when it reads symbols.
- synchronizing word
- A word that sends every state of the machine to the same state.
- alphabet
- The set of symbols the machine can read.
- Eppstein's algorithm
- A polynomial-time method that finds reasonably short synchronizing words.
- monotonic automaton
- An automaton whose transitions preserve a cyclic order of the states.
- big-O notation
- A way to describe how fast a quantity grows.
New to this? Read first (2)
- Synchronizing word (Wikipedia)Definitions and the known bounds.
- Volkov: Synchronizing Automata and the Černý ConjectureA survey by a leading researcher.
Path to understanding
foundations → problemThe research entries this problem rests on, in the order to read them. Each links to its explainer.
- Start with
- Step 2
- Step 3
- SAT solving (CDCL)Algorithm
- Step 4
- Extremal and probabilistic combinatoricsTheory · host
- Then
- The Černý conjecture: synchronizing words of length (n−1)²The problem
State of the art
Cubic upper bounds only. The classical bound (Pin and Frankl, early 1980s) stood until Szykuła (2018) and then Shitov (2019), who proved about , the best general bound. Eppstein (1990) gave an algorithm finding words of length at most and proved the conjecture for monotonic automata (transitions preserve a cyclic order). The conjecture is also known for several structured classes of automata. Lower bound: Černý's family of automata achieves exactly . The gap between quadratic and cubic has not moved in over 40 years apart from the constant.
Realistic applications
Concrete in automata engineering: a short synchronizing word resets a finite-state device (a protocol machine, a robotic part-orienter, a coded sequence decoder) from an unknown state to a known one without sensing. A quadratic bound would give tighter guarantees for such resets and for testing finite-state systems.
What counts as solved
A Lean proof of cerny_conjecture as stated for all alphabets and state types, or a Lean-checked counterexample: a finite DFA with states whose shortest synchronizing word is longer than .
How it gets verified
To verify: Lean proofA formal proof checked by Lean 4 / Mathlib.
Statement: CernyConjecture.cerny_conjecture in formal-conjectures (quoted above). Mathlib has DFA and DFA.evalFrom (Computability.DFA); the predicates DFA.IsSynchronizingWord and DFA.IsSynchronizing are defined in the corpus' DFA.lean, not in Mathlib itself, so a submission must import the corpus' definitions unchanged. A counterexample is a concrete finite DFA plus a Lean proof that no synchronizing word of length at most exists (a finite check over words or subsets of states). A proof must cover every alphabet and state type with Fintype σ. Judge with Comparator.
Claims under verification
+ add a claimNo claims for this problem yet. To put a result up for checking, use + add a claim.
Where the work is
Small cases are verified by computer, but the conjecture is about all n and needs a new proof technique; the bound has not changed exponent in decades.
Bottlenecks
ranked by votes- #1TheoryCubic to quadratic gap
Linear-algebraic and extremal methods stall at a cubic bound with an improving constant (Shitov 2019); the Černý automata show quadratic is tight but no argument reaches it.
- #2TheoryStructure of extremal automata
Known extremal families are few and the conjecture holds for several structured classes; no classification explains why the bound holds.
Sign in to name a bottleneck or vote.
Community grades
Sign in to add your own grade.
Connected problems
No connected problems yet.
Progress
- Jan 1, 2019Shitov's cubic boundsource
About 0.1654 n^3, the best general upper bound (J. Autom. Lang. Comb. 24; year only known).
- Jan 1, 1990Eppstein's algorithm and monotonic automatasource
Words of length 11n^3/48 + O(n^2) found in polynomial time; the conjecture proved for monotonic automata (SIAM J. Computing 19).
- Jan 1, 1964Černý's examplessource
A family of automata whose shortest synchronizing words have length (n-1)^2 (Mat.-fyz. časopis SAV 14).
Discussion
No comments yet. Write the first one below.
Sign in to join the discussion.