c0ea08d2 / statements / Cerny.lean

1/-
2Ported from google-deepmind/formal-conjectures at commit a61ab09632df039ef8381b6ac8accc5ce4d954d7,
3file FormalConjectures/Wikipedia/CernyConjecture.lean, declaration CernyConjecture.cerny_conjecture.
4Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0
5(https://www.apache.org/licenses/LICENSE-2.0).
6Port: `public import FormalConjecturesUtil` replaced by specific Mathlib imports and the family's
7`Defs.DFA` (upstream's `DFA.IsSynchronizingWord` and `DFA.IsSynchronizing`); the
8`@[category …, AMS …]` attribute and the doc comments dropped; `shitov_upper_bound` dropped, and
9with it `open Filter`, which only it used. The proposition is unchanged.
10-/
11module
12
13public import statements.Defs.DFA
14public import Mathlib.Data.Fintype.Card
15
16@[expose] public section
17
18namespace CernyConjecture
19
20theorem cerny_conjecture :
21 ∀ {α : Type*} {σ : Type*} [Fintype σ] (M : DFA α σ) (hM : M.IsSynchronizing) ,
22 ∃ w : List α, M.IsSynchronizingWord w ∧ w.length ≤ (Fintype.card σ - 1)^2 := by
23 sorry
24
25end CernyConjecture
26
27/-- The family's target (decision 0100), under the family's name: its type is taken from upstream's
28`CernyConjecture.cerny_conjecture` above, so the two cannot differ. Upstream's declaration is kept for provenance; it is not a
29target. -/
30theorem Cerny.{u, v} : type_of% @CernyConjecture.cerny_conjecture.{u, v} := by
31 sorry