Every finite p-group is a Černý group
The question is whether every finite p-group is a Černý group. That is, every synchronizing automaton on G whose alphabet contains translations by a generating set, plus arbitrary extra transformations, should have a reset word of length at most (n-1)^2.
Two extension estimates are combined. A characteristic-p spanning lemma gives extensions of length at most D+1 for subsets of size prime to p. A real-linear-algebra argument gives extensions of length at most D+n-1 for all other sizes. A coset argument bounds the directed Cayley diameter D by n/2, and successive extensions are paired so that each step costs at most n per state gained. The whole proof is formalized in Lean 4 against a pinned Mathlib, with the full-cycle case reduced to a formal one-cluster theorem.
Every finite p-group, including nonabelian ones, is a Černý group, so the bound (n-1)^2 holds. The Lean declaration Cerny71.AllPGroups.labelled machine-checks the result, and the source is publicly available.
