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 810

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:

Does there exist some ϵ>0\epsilon>0 such that, for all sufficiently large nn, there exists a graph GG on nn vertices with at least ϵn2\epsilon n^2 edges whose edges can be coloured with nn colours so that every C4C_4 receives four distinct colours?

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

Formal statement

theorem erdos_810 : ∃ ε > 0, ∀ᶠ n in atTop,
    ∃ G : SimpleGraph (Fin n), ∃ color : Fin n → Fin n → Fin n,
      ε * (n : ℝ) ^ 2 ≤ (G.edgeSet.ncard : ℝ) ∧ C4RainbowColoring G color
Show the full Challenge.lean (66 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 810

*References:*
- [erdosproblems.com/810](https://www.erdosproblems.com/810)
- [BEGS89] Burr, S. A., Erdős, P., Graham, R. L., and Sós, V. T.,
  *Maximal anti-Ramsey graphs and the strong chromatic number*.
  J. Graph Theory 13 (1989), no. 3, 263–282.
- [Er91] Erdős, P., *Problems and results in combinatorial analysis and combinatorial number
  theory*. Graph theory, combinatorics, and applications, Vol. 1 (1991), 397–406.
-/

@[expose] public section

namespace Erdos810

open Filter

/-- Four objects are pairwise distinct. -/
def PairwiseDistinct4 {α : Type _} (a b c d : α) : Prop :=
  a ≠ b ∧ a ≠ c ∧ a ≠ d ∧ b ≠ c ∧ b ≠ d ∧ c ≠ d

/-- The vertices $a,b,c,d$ form a $C_4$ in cyclic order. -/
def IsC4 {n : ℕ} (G : SimpleGraph (Fin n)) (a b c d : Fin n) : Prop :=
  PairwiseDistinct4 a b c d ∧
    G.Adj a b ∧ G.Adj b c ∧ G.Adj c d ∧ G.Adj d a

/-- An edge-colouring by $n$ colours such that reversing an edge gives the same colour and every
$C_4$ receives four distinct colours. -/
def C4RainbowColoring {n : ℕ} (G : SimpleGraph (Fin n))
    (color : Fin n → Fin n → Fin n) : Prop :=
  (∀ a b, G.Adj a b → color a b = color b a) ∧
    ∀ a b c d, IsC4 G a b c d →
      PairwiseDistinct4 (color a b) (color b c) (color c d) (color d a)

/-- Does there exist some $\epsilon>0$ such that, for all sufficiently large $n$, there exists a
graph $G$ on $n$ vertices with at least $\epsilon n^2$ edges whose edges can be coloured with $n$
colours so that every $C_4$ receives four distinct colours? -/
@[category research open, question, AMS 5]
theorem erdos_810 : ∃ ε > 0, ∀ᶠ n in atTop,
    ∃ G : SimpleGraph (Fin n), ∃ color : Fin n → Fin n → Fin n,
      ε * (n : ℝ) ^ 2 ≤ (G.edgeSet.ncard : ℝ) ∧ C4RainbowColoring G color := by
  sorry

end Erdos810

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

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