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 1037

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:

Let GG be a graph on nn vertices in which every degree occurs at most twice, and the number of distinct degrees is >(12+ϵ)n>(\frac{1}{2}+\epsilon)n. Must GG contain a trivial (empty or complete) subgraph of size 'much larger' than log⁡n\log n?

A question of Chen and Erdős.

The answer is no - Cambie, Chan, and Hunter have in the comment section given a simple construction of a graph on nn vertices with at least 34n\frac{3}{4}n distinct degrees, every degree appears at most twice, and the largest trivial subgraph has size O(log⁡n)O(\log n).

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

Formal statement

theorem erdos_1037 :
    ¬ ∀ ε : ℝ, 0 < ε → ∀ C : ℝ, ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (∀ d : ℕ, {v : Fin n | (G.neighborSet v).ncard = d}.ncard ≤ 2) →
      ((1 / 2 + ε) * (n : ℝ) <
        ((Set.range fun v : Fin n => (G.neighborSet v).ncard).ncard : ℝ)) →
      ∃ s : Set (Fin n), G.IsHomogeneous s ∧ (C * Real.log (n : ℝ) < (s.ncard : ℝ))
Show the full Challenge.lean (71 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1037

*References:*
- [erdosproblems.com/1037](https://www.erdosproblems.com/1037)
- [Er93] Erdős, Paul, *Some of my favorite solved and unsolved problems in graph theory*.
  Quaestiones Math. (1993), 333-350.
-/

@[expose] public section

open Filter

namespace Erdos1037

set_option linter.style.formal_proof_palomar false in
/--
Let $G$ be a graph on $n$ vertices in which every degree occurs at most twice, and the number of
distinct degrees is $>(\frac{1}{2}+\epsilon)n$. Must $G$ contain a trivial (empty or complete)
subgraph of size 'much larger' than $\log n$?

A question of Chen and Erdős.

The answer is no - Cambie, Chan, and Hunter have in the comment section given a simple
construction of a graph on $n$ vertices with at least $\frac{3}{4}n$ distinct degrees, every
degree appears at most twice, and the largest trivial subgraph has size $O(\log n)$.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos1037.lean"]
theorem erdos_1037 :
    ¬ ∀ ε : ℝ, 0 < ε → ∀ C : ℝ, ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),
      (∀ d : ℕ, {v : Fin n | (G.neighborSet v).ncard = d}.ncard ≤ 2) →
      ((1 / 2 + ε) * (n : ℝ) <
        ((Set.range fun v : Fin n => (G.neighborSet v).ncard).ncard : ℝ)) →
      ∃ s : Set (Fin n), G.IsHomogeneous s ∧ (C * Real.log (n : ℝ) < (s.ncard : ℝ)) := by
  sorry

/--
Cambie, Chan, and Hunter have in the comment section given a simple construction of a graph on
$n$ vertices with at least $\frac{3}{4}n$ distinct degrees, every degree appears at most twice,
and the largest trivial subgraph has size $O(\log n)$.
-/
@[category research solved, AMS 5]
theorem erdos_1037.variants.cambie_chan_hunter :
    ∃ C : ℝ, ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),
      (∀ d : ℕ, {v : Fin n | (G.neighborSet v).ncard = d}.ncard ≤ 2) ∧
      (3 / 4 * (n : ℝ) ≤
        ((Set.range fun v : Fin n => (G.neighborSet v).ncard).ncard : ℝ)) ∧
      ∀ s : Set (Fin n), G.IsHomogeneous s → ((s.ncard : ℝ) ≤ C * Real.log (n : ℝ)) := by
  sorry

end Erdos1037

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

nosorry fetch erdos-1037
nosorry submit erdos-1037 nosorry/erdos-1037/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.