Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 1098 · variants.upper_bound

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Neumann [Ne76] noted that if the centre has index nn then Γ\Gamma contains no complete subgraph on >n>n vertices.

Subjects:Combinatorics (math.CO); Group Theory (math.GR)
MSC classes:05, 20
Cite as:NS.00648 [math.CO] · NS.00648v1 for this version
Declaration:Erdos1098.erdos_1098.variants.upper_bound
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:ad01c6701b32d532c229842d1756937579af68e90330a671795cf5f44b8f5864
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/1098.lean

Formal statement

theorem erdos_1098.variants.upper_bound (G : Type*) [Group G]
    [(Subgroup.center G).FiniteIndex] :
    (nonCommutingGraph G).CliqueFree ((Subgroup.center G).index + 1)
Show the full Challenge.lean (96 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1098

*References:*
- [erdosproblems.com/1098](https://www.erdosproblems.com/1098)
- [Ne76] Neumann, B. H., *A problem of Paul Erdős on groups*. J. Austral. Math. Soc. Ser. A (1976),
  467-472.
-/

@[expose] public section

namespace Erdos1098

/-- The non-commuting graph $\Gamma = \Gamma(G)$ of a group `G`, with vertices the elements of `G`
and an edge between `g` and `h` if and only if `g` and `h` do not commute, $gh \neq hg$. -/
def nonCommutingGraph (G : Type*) [Group G] : SimpleGraph G where
  Adj g h := g * h ≠ h * g
  symm.symm := fun _ _ h => h.symm

@[simp, category API, AMS 5 20]
theorem nonCommutingGraph_adj {G : Type*} [Group G] (g h : G) :
    (nonCommutingGraph G).Adj g h ↔ g * h ≠ h * g := Iff.rfl

set_option linter.style.formal_proof_palomar false in
/--
Let $G$ be a group and $\Gamma=\Gamma(G)$ be the non-commuting graph, with vertices the elements
of $G$ and an edge between $g$ and $h$ if and only if $g$ and $h$ do not commute, $gh\neq hg$.

If $\Gamma$ contains no infinite complete subgraph, then is there a finite bound on the size of
complete subgraphs of $\Gamma$?

This was solved by Neumann [Ne76], who proved that $\Gamma$ contains no infinite complete subgraph
if and only if the centre of the group has finite index, and noted that if the centre has index $n$
then $\Gamma$ contains no complete subgraph on $>n$ vertices.
-/
@[category research solved, question, AMS 5 20, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos1098.lean"]
theorem erdos_1098 :
    ∀ (G : Type*) [Group G],
      (∀ s : Set G, (nonCommutingGraph G).IsClique s → s.Finite) →
        ∃ n : ℕ, ∀ s : Finset G, (nonCommutingGraph G).IsClique (s : Set G) → s.card ≤ n := by
  sorry

/--
Neumann [Ne76] proved that $\Gamma$ contains no infinite complete subgraph if and only if the
centre of the group has finite index.
-/
@[category research solved, AMS 5 20]
theorem erdos_1098.variants.center_finiteIndex (G : Type*) [Group G] :
    (∀ s : Set G, (nonCommutingGraph G).IsClique s → s.Finite) ↔
      (Subgroup.center G).FiniteIndex := by
  sorry

/--
Neumann [Ne76] noted that if the centre has index $n$ then $\Gamma$ contains no complete subgraph
on $>n$ vertices.
-/
@[category research solved, AMS 5 20]
theorem erdos_1098.variants.upper_bound (G : Type*) [Group G]
    [(Subgroup.center G).FiniteIndex] :
    (nonCommutingGraph G).CliqueFree ((Subgroup.center G).index + 1) := by
  intro s hs
  have hinj : Set.InjOn (fun g : G => (QuotientGroup.mk g : G ⧸ Subgroup.center G)) s := by
    intro x hx y hy hxy
    by_contra hne
    apply hs.isClique hx hy hne
    obtain ⟨z, hz, rfl⟩ : ∃ z ∈ Subgroup.center G, y = x * z :=
      ⟨x⁻¹ * y, QuotientGroup.eq.mp hxy, by group⟩
    rw [mul_assoc, Subgroup.mem_center_iff.mp hz x, ← mul_assoc]
  have : Finite (G ⧸ Subgroup.center G) := Subgroup.finite_quotient_of_finiteIndex
  let _ := Fintype.ofFinite (G ⧸ Subgroup.center G)
  have h1 := Finset.card_le_card_of_injOn _ (t := Finset.univ)
    (fun x _ => Finset.mem_coe.2 (Finset.mem_univ _)) hinj
  rw [hs.card_eq, Finset.card_univ, ← Nat.card_eq_fintype_card, ← Subgroup.index] at h1
  omega

end Erdos1098

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1098.erdos_1098.variants.upper_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_upper_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-1098--erdos-1098-variants-upper-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-1098--erdos-1098-variants-upper-bound
nosorry submit erdos-1098--erdos-1098-variants-upper-bound nosorry/erdos-1098--erdos-1098-variants-upper-bound/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.