{
  "id": "7825",
  "ident": "NS.07825",
  "slug": "wikipedia-diametersimplefinitegroups",
  "title": "Babai–Seress Conjectures on the Diameter of Finite Groups",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "**Babai–Seress Conjecture (Conjecture 1.5)**: There exists an absolute constant $C$ such\nthat the diameter of the alternating group $A_n$ satisfies\n$$\\operatorname{diam}(A_n) \\leq n^C.$$\n\n*Reference:* [L. Babai and Á. Seress, *On the diameter of permutation groups*,\nEuropean Journal of Combinatorics 13 (1992), Conjecture 1.5](https://doi.org/10.1016/S0195-6698(05)80029-0)",
  "subjects": [
    "math.CO",
    "math.GR",
    "msc:05",
    "msc:20",
    "msc:68"
  ],
  "tags": [],
  "collection": "wikipedia",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "BabaiSeressConjectures.babai_seress_conjecture_alternating",
  "statement_lean": "theorem babai_seress_conjecture_alternating :\n    ∃ C : ℕ, ∀ n : ℕ,\n    (groupDiam (alternatingGroup (Fin n)) : ℝ) ≤ (n : ℝ) ^ C",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Babai–Seress Conjectures on the Diameter of Finite Groups\n\n*References:*\n- [Wikipedia, *Diameter (group theory)*](https://en.wikipedia.org/wiki/Diameter_(group_theory))\n- [H. A. Helfgott and Á. Seress, *On the diameter of permutation groups*](https://arxiv.org/abs/1109.3550)\n- [L. Babai and Á. Seress, *On the diameter of permutation groups*,\n  European Journal of Combinatorics 13 (1992), 231–243](https://doi.org/10.1016/S0195-6698(05)80029-0)\n\nThis file contains two conjectures from the Babai–Seress paper:\n\n- **Conjecture 1.5**: $\\operatorname{diam}(A_n) < n^C$ for some absolute constant $C$,\n  where $A_n$ is the alternating group on $n$ elements.\n\n- **Conjecture 1.7**: $\\operatorname{diam}(G) < (\\log |G|)^C$ for some absolute constant $C$,\n  where $G$ ranges over all non-abelian finite simple groups.\n\nConjecture 1.7 generalises Conjecture 1.5, since for $G = A_n$ we have\n$\\log |A_n| \\approx n \\log n$, so a polylogarithmic bound in $|G|$ implies a polynomial\nbound in $n$.\n-/\n\n@[expose] public section\n\nnamespace BabaiSeressConjectures\n\n/-- The (undirected) Cayley graph of a group $G$ with respect to a generating set $S$.\nTwo elements $g, h \\in G$ are adjacent iff $g \\neq h$ and\n$g^{-1} h \\in S$ or $h^{-1} g \\in S$.\n\nThis is constructed using `SimpleGraph.fromRel`, which takes the relation\n$g \\sim h \\iff g^{-1} h \\in S$ and automatically symmetrizes it (via disjunction with the\nreverse relation) and enforces irreflexivity (via $g \\neq h$). In particular, this definition\neffectively uses the symmetrization $S \\cup S^{-1}$, so it produces a standard undirected\nCayley graph even when $S$ is not itself symmetric. -/\ndef cayleyGraph {G : Type*} [Group G] (S : Set G) : SimpleGraph G :=\n  SimpleGraph.fromRel (fun g h => g⁻¹ * h ∈ S)\n\n/-- The diameter of a finite group $G$, defined as the maximum diameter of the Cayley graphs\n$\\Gamma(G, A)$ over all generating sets $A$ of $G$.\n-/\nnoncomputable def groupDiam (G : Type*) [Group G] [Fintype G] : ℕ :=\n  sSup { d : ℕ | ∃ S : Set G, Subgroup.closure S = ⊤ ∧ (cayleyGraph S).diam = d }\n\n/-- For the trivial group (with one element), the group diameter is zero, since\nevery Cayley graph has only one vertex and hence diameter zero. -/\n@[category test, AMS 20]\ntheorem groupDiam_fin_one : groupDiam (alternatingGroup (Fin 0)) = 0 := by\n  unfold groupDiam\n  apply Nat.le_zero.mp\n  apply csSup_le\n  · exact ⟨0, Set.univ, Subgroup.closure_univ,\n      SimpleGraph.diam_eq_zero.mpr (Or.inr inferInstance)⟩\n  · rintro d ⟨S, _, hd⟩\n    exact Nat.le_zero.mpr (hd ▸ SimpleGraph.diam_eq_zero.mpr (Or.inr inferInstance))\n\n/-- The alternating group $A_3 \\cong \\mathbb{Z}/3\\mathbb{Z}$ has group diameter $1$: every\nnon-trivial generating set produces a complete Cayley graph $K_3$, since any single non-identity\nelement and its inverse already reach the entire group. -/\n@[category test, AMS 20]\ntheorem groupDiam_alternating_three : groupDiam (alternatingGroup (Fin 3)) = 1 := by\n  have hnt : Nontrivial ↥(alternatingGroup (Fin 3)) :=\n    Fintype.one_lt_card_iff_nontrivial.mp (by decide)\n  -- Key: for any generating set S of A₃, cayleyGraph S is the complete graph\n  have key : ∀ S : Set ↥(alternatingGroup (Fin 3)),\n      Subgroup.closure S = ⊤ → cayleyGraph S = ⊤ := by\n    intro S hS\n    rw [SimpleGraph.eq_top_iff_forall_ne_adj]\n    intro u v hne\n    simp only [cayleyGraph, SimpleGraph.fromRel_adj]\n    refine ⟨hne, ?_⟩\n    -- S must contain a non-identity element\n    obtain ⟨y, hy, hy1⟩ : ∃ y ∈ S, y ≠ 1 := by\n      by_contra! h\n      have : Subgroup.closure S ≤ ⊥ :=\n        (Subgroup.closure_le _).mpr fun x hx => Subgroup.mem_bot.mpr (h x hx)\n      exact absurd (le_antisymm this bot_le |>.symm ▸ hS) bot_ne_top\n    -- In A₃ (order 3), any two non-identity elements are equal or inverses\n    have h3 : ∀ x y : ↥(alternatingGroup (Fin 3)), x ≠ 1 → y ≠ 1 → x = y ∨ x = y⁻¹ := by\n      decide\n    have hg1 : u⁻¹ * v ≠ 1 := by rwa [ne_eq, inv_mul_eq_one]\n    rcases h3 (u⁻¹ * v) y hg1 hy1 with rfl | h\n    · exact Or.inl hy\n    · exact Or.inr (by rwa [show v⁻¹ * u = (u⁻¹ * v)⁻¹ from by group, h, inv_inv])\n  -- The set of diameters equals {1}, so sSup = 1\n  unfold groupDiam\n  have h_eq : { d | ∃ S : Set ↥(alternatingGroup (Fin 3)),\n      Subgroup.closure S = ⊤ ∧ (cayleyGraph S).diam = d } = {1} := by\n    ext d; simp only [Set.mem_ofPred_eq, Set.mem_singleton_iff]; constructor\n    · rintro ⟨S, hS, rfl⟩; rw [key S hS, SimpleGraph.diam_top]\n    · rintro rfl\n      exact ⟨Set.univ, Subgroup.closure_univ, by rw [key _ Subgroup.closure_univ,\n        SimpleGraph.diam_top]⟩\n  rw [h_eq, csSup_singleton]\n\n/-- The symmetric group $S_2 \\cong \\mathbb{Z}/2\\mathbb{Z}$ has group diameter $1$: the unique\ngenerating set $\\{(01)\\}$ produces the complete graph $K_2$, since the single non-identity\nelement and its inverse (which are equal) cover the only other vertex. -/\n@[category test, AMS 20]\ntheorem groupDiam_perm_two : groupDiam (Equiv.Perm (Fin 2)) = 1 := by\n  have hnt : Nontrivial (Equiv.Perm (Fin 2)) :=\n    Fintype.one_lt_card_iff_nontrivial.mp (by decide)\n  have key : ∀ S : Set (Equiv.Perm (Fin 2)),\n      Subgroup.closure S = ⊤ → cayleyGraph S = ⊤ := by\n    intro S hS\n    rw [SimpleGraph.eq_top_iff_forall_ne_adj]\n    intro u v hne\n    simp only [cayleyGraph, SimpleGraph.fromRel_adj]\n    refine ⟨hne, ?_⟩\n    obtain ⟨y, hy, hy1⟩ : ∃ y ∈ S, y ≠ 1 := by\n      by_contra! h\n      have : Subgroup.closure S ≤ ⊥ :=\n        (Subgroup.closure_le _).mpr fun x hx => Subgroup.mem_bot.mpr (h x hx)\n      exact absurd (le_antisymm this bot_le |>.symm ▸ hS) bot_ne_top\n    have h2 : ∀ x y : Equiv.Perm (Fin 2), x ≠ 1 → y ≠ 1 → x = y ∨ x = y⁻¹ := by decide\n    have hg1 : u⁻¹ * v ≠ 1 := by rwa [ne_eq, inv_mul_eq_one]\n    rcases h2 (u⁻¹ * v) y hg1 hy1 with rfl | h\n    · exact Or.inl hy\n    · exact Or.inr (by rwa [show v⁻¹ * u = (u⁻¹ * v)⁻¹ from by group, h, inv_inv])\n  unfold groupDiam\n  have h_eq : { d | ∃ S : Set (Equiv.Perm (Fin 2)),\n      Subgroup.closure S = ⊤ ∧ (cayleyGraph S).diam = d } = {1} := by\n    ext d; simp only [Set.mem_ofPred_eq, Set.mem_singleton_iff]; constructor\n    · rintro ⟨S, hS, rfl⟩; rw [key S hS, SimpleGraph.diam_top]\n    · rintro rfl\n      exact ⟨Set.univ, Subgroup.closure_univ, by rw [key _ Subgroup.closure_univ,\n        SimpleGraph.diam_top]⟩\n  rw [h_eq, csSup_singleton]\n\n/-- **Babai–Seress Conjecture (Conjecture 1.5)**: There exists an absolute constant $C$ such\nthat the diameter of the alternating group $A_n$ satisfies\n$$\\operatorname{diam}(A_n) \\leq n^C.$$\n\n*Reference:* [L. Babai and Á. Seress, *On the diameter of permutation groups*,\nEuropean Journal of Combinatorics 13 (1992), Conjecture 1.5](https://doi.org/10.1016/S0195-6698(05)80029-0) -/\n@[category research open, AMS 5 20 68]\ntheorem babai_seress_conjecture_alternating :\n    ∃ C : ℕ, ∀ n : ℕ,\n    (groupDiam (alternatingGroup (Fin n)) : ℝ) ≤ (n : ℝ) ^ C := by\n  sorry\n\n/-- **Babai–Seress Conjecture (Conjecture 1.7)**: There exists an absolute constant $C$ such\nthat every finite simple non-abelian group $G$ satisfies\n$$\\operatorname{diam}(G) \\leq (\\log |G|)^C.$$\n\n*Reference:* [L. Babai and Á. Seress, *On the diameter of permutation groups*,\nEuropean Journal of Combinatorics 13 (1992), Conjecture 1.7](https://doi.org/10.1016/S0195-6698(05)80029-0) -/\n@[category research open, AMS 5 20 68]\ntheorem babai_seress_conjecture :\n    ∃ C : ℕ,\n    ∀ (G : Type) [Group G] [Fintype G] [IsSimpleGroup G],\n    (∃ a b : G, a * b ≠ b * a) →\n    (groupDiam G : ℝ) ≤ (Real.log (Fintype.card G : ℝ)) ^ C := by\n  sorry\n\nend BabaiSeressConjectures\n",
  "statement_hash": "2bf529ef67837f31d82c11c091462fd043d1c03aa198a6482a0e014353ab7101",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}