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 563

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Let F(n,α)F(n,\alpha) denote the smallest mm such that there exists a 22-colouring of the edges of KnK_n so that every X⊆[n]X\subseteq [n] with ∣X∣≥m\lvert X\rvert\geq m contains more than α(∣X∣2)\alpha \binom{\lvert X\rvert}{2} many edges of each colour.

Prove that, for every 0≤α<1/20\leq \alpha < 1/2, F(n,α)∼cαlog⁡nF(n,\alpha)\sim c_\alpha\log n for some constant cαc_\alpha depending only on α\alpha.

This problem is #39 in Ramsey Theory in the graphs problem collection.

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.02486 [math.CO] · NS.02486v1 for this version
Declaration:Erdos563.erdos_563
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60
Statement hash:55c7079ddffc9d5349aa5aa2d9d73ae2890422fd8ad79aee4e6b0ad9f3d028e3
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/563.lean

Formal statement

theorem erdos_563 :
    ∀ (α : ℝ), 0 ≤ α → α < 1 / 2 →
      ∃ (c : ℝ), 0 < c ∧
        Tendsto (fun n : ℕ => (F n α : ℝ) / Real.log n) atTop (nhds c)
Show the full Challenge.lean (76 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 563

*References:*
- [erdosproblems.com/563](https://www.erdosproblems.com/563)
- [Er90b] Erdős, Paul, Problems and results on graphs and hypergraphs: similarities and differences.
  Mathematics of Ramsey theory (1990), 12-28.
-/

@[expose] public section

open Filter

namespace Erdos563

open scoped Classical in
/--
A 2-coloring of $K_n$ (represented by graph $G$ on $\mathrm{Fin}\; n$) is balanced on subsets
of size at least $m$ with parameter $\alpha$ if every $X \subseteq [n]$ with $|X| \geq m$
contains more than $\alpha \binom{|X|}{2}$ edges of each color.
-/
def HasBalancedSubsets (n : ℕ) (m : ℕ) (α : ℝ) (G : SimpleGraph (Fin n)) : Prop :=
  ∀ (X : Finset (Fin n)), m ≤ X.card →
    α * (X.card.choose 2 : ℝ) < ((G.induce (X : Set (Fin n))).edgeFinset.card : ℝ) ∧
    ((G.induce (X : Set (Fin n))).edgeFinset.card : ℝ) < (1 - α) * (X.card.choose 2 : ℝ)

open scoped Classical in
/--
$F(n,\alpha)$ is the smallest $m$ such that there exists a 2-coloring of the edges of $K_n$
so that every $X\subseteq [n]$ with $|X|\geq m$ contains more than $\alpha\binom{|X|}{2}$
edges of each color.
-/
noncomputable def F (n : ℕ) (α : ℝ) : ℕ :=
  sInf {m | ∃ (G : SimpleGraph (Fin n)), HasBalancedSubsets n m α G}

/--
Let $F(n,\alpha)$ denote the smallest $m$ such that there exists a $2$-colouring of the edges of
$K_n$ so that every $X\subseteq [n]$ with $\lvert X\rvert\geq m$ contains more than
$\alpha \binom{\lvert X\rvert}{2}$ many edges of each colour.

Prove that, for every $0\leq \alpha < 1/2$,
$$F(n,\alpha)\sim c_\alpha\log n$$
for some constant $c_\alpha$ depending only on $\alpha$.

This problem is #39 in Ramsey Theory in the graphs problem collection.
-/
@[category research open, AMS 5]
theorem erdos_563 :
    ∀ (α : ℝ), 0 ≤ α → α < 1 / 2 →
      ∃ (c : ℝ), 0 < c ∧
        Tendsto (fun n : ℕ => (F n α : ℝ) / Real.log n) atTop (nhds c) := by
  sorry

-- TODO: Add variants of the problem.

end Erdos563

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

nosorry fetch erdos-563
nosorry submit erdos-563 nosorry/erdos-563/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.