Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 65

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 with nn vertices and knkn edges, and a1<a2<⋯a_1<a_2<\cdots be the lengths of cycles in GG. Assume n>0n>0. Is it true that ∑1ai≫log⁡k?\sum\frac{1}{a_i}\gg \log k?

Gyárfás, Komlós, and Szemerédi [GKS84] have proved that this sum is ≫log⁡k\gg \log k, so that only the second question remains.

The bound is stated for all sufficiently large kk: [GKS84, Theorem 4'] proves it for k≥bk \geq b, where bb is a constant. The case of kk slightly larger than 11 is a separate problem, studied in [GPSV85].

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

Formal statement

theorem erdos_65.parts.i :
    ∃ c > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,
      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
        0 < n →
        Fintype.card V = n →
        (G.edgeSet.ncard : ℝ) = k * n →
        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ c * Real.log k
Show the full Challenge.lean (95 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 65

*References:*
- [erdosproblems.com/65](https://www.erdosproblems.com/65)
- [GKS84] Gyárfás, A., Komlós, J. and Szemerédi, E., On the distribution of cycle lengths in graphs.
  J. Graph Theory (1984), 441-462.
- [GPSV85] Gyárfás, A., Prömel, H. J., Szemerédi, E. and Voigt, B., On the sum of the reciprocals
  of cycle lengths in sparse graphs. Combinatorica (1985), 41-52.
- [LiMo20] Liu, H. and Montgomery, R., A solution to Erdős and Hajnal's odd cycle problem.
  arXiv:2010.15802 (2020).
-/

@[expose] public section

namespace Erdos65

/--
Let $G$ be a graph with $n$ vertices and $kn$ edges, and $a_1<a_2<\cdots$ be the lengths of
cycles in $G$. Assume $n>0$. Is it true that
$$\sum\frac{1}{a_i}\gg \log k?$$

Gyárfás, Komlós, and Szemerédi [GKS84] have proved that this sum is $\gg \log k$, so that only
the second question remains.

The bound is stated for all sufficiently large $k$: [GKS84, Theorem 4'] proves it for $k \geq b$,
where $b$ is a constant. The case of $k$ slightly larger than $1$ is a separate problem, studied
in [GPSV85].
-/
@[category research solved, question, AMS 5]
theorem erdos_65.parts.i :
    ∃ c > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,
      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
        0 < n →
        Fintype.card V = n →
        (G.edgeSet.ncard : ℝ) = k * n →
        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ c * Real.log k := by
  sorry

/--
Is the sum $\sum\frac{1}{a_i}$ minimised when $G$ is a complete bipartite graph?

This problem is #65 in Extremal Graph Theory in the graphs problem collection.
-/
@[category research open, question, AMS 5]
theorem erdos_65.parts.ii :
    ∀ (k : ℝ) (hk : 0 < k),
      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
        0 < n →
        Fintype.card V = n →
        (G.edgeSet.ncard : ℝ) = k * n →
        ∀ (A B : Type) [Fintype A] [Fintype B],
          Fintype.card (A ⊕ B) = n →
          ((completeBipartiteGraph A B).edgeSet.ncard : ℝ) = k * n →
          (∑ᶠ a ∈ (completeBipartiteGraph A B).cycleLengths, (1 : ℝ) / a) ≤
            (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) := by
  sorry

/--
Liu and Montgomery [LiMo20, Corollary 1.2] have proved the asymptotically sharp lower bound of
$\geq (\tfrac{1}{2}-o(1))\log k$.
-/
@[category research solved, AMS 5]
theorem erdos_65.variants.liu_montgomery :
    ∀ ε > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,
      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
        0 < n →
        Fintype.card V = n →
        (G.edgeSet.ncard : ℝ) = k * n →
        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ (1 / 2 - ε) * Real.log k := by
  sorry

-- TODO: Add variants of the problem.

end Erdos65

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

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