{
  "id": "2721",
  "ident": "NS.02721",
  "slug": "erdos-65",
  "title": "Erdős Problem 65",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $G$ be a graph with $n$ vertices and $kn$ edges, and $a_1<a_2<\\cdots$ be the lengths of\ncycles in $G$. Assume $n>0$. Is it true that\n$$\\sum\\frac{1}{a_i}\\gg \\log k?$$\n\nGyárfás, Komlós, and Szemerédi [GKS84] have proved that this sum is $\\gg \\log k$, so that only\nthe second question remains.\n\nThe bound is stated for all sufficiently large $k$: [GKS84, Theorem 4'] proves it for $k \\geq b$,\nwhere $b$ is a constant. The case of $k$ slightly larger than $1$ is a separate problem, studied\nin [GPSV85].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos65.erdos_65.parts.i",
  "statement_lean": "theorem erdos_65.parts.i :\n    ∃ c > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,\n      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),\n        0 < n →\n        Fintype.card V = n →\n        (G.edgeSet.ncard : ℝ) = k * n →\n        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ c * Real.log k",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 65\n\n*References:*\n- [erdosproblems.com/65](https://www.erdosproblems.com/65)\n- [GKS84] Gyárfás, A., Komlós, J. and Szemerédi, E., On the distribution of cycle lengths in graphs.\n  J. Graph Theory (1984), 441-462.\n- [GPSV85] Gyárfás, A., Prömel, H. J., Szemerédi, E. and Voigt, B., On the sum of the reciprocals\n  of cycle lengths in sparse graphs. Combinatorica (1985), 41-52.\n- [LiMo20] Liu, H. and Montgomery, R., A solution to Erdős and Hajnal's odd cycle problem.\n  arXiv:2010.15802 (2020).\n-/\n\n@[expose] public section\n\nnamespace Erdos65\n\n/--\nLet $G$ be a graph with $n$ vertices and $kn$ edges, and $a_1<a_2<\\cdots$ be the lengths of\ncycles in $G$. Assume $n>0$. Is it true that\n$$\\sum\\frac{1}{a_i}\\gg \\log k?$$\n\nGyárfás, Komlós, and Szemerédi [GKS84] have proved that this sum is $\\gg \\log k$, so that only\nthe second question remains.\n\nThe bound is stated for all sufficiently large $k$: [GKS84, Theorem 4'] proves it for $k \\geq b$,\nwhere $b$ is a constant. The case of $k$ slightly larger than $1$ is a separate problem, studied\nin [GPSV85].\n-/\n@[category research solved, question, AMS 5]\ntheorem erdos_65.parts.i :\n    ∃ c > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,\n      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),\n        0 < n →\n        Fintype.card V = n →\n        (G.edgeSet.ncard : ℝ) = k * n →\n        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ c * Real.log k := by\n  sorry\n\n/--\nIs the sum $\\sum\\frac{1}{a_i}$ minimised when $G$ is a complete bipartite graph?\n\nThis problem is #65 in Extremal Graph Theory in the graphs problem collection.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_65.parts.ii :\n    ∀ (k : ℝ) (hk : 0 < k),\n      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),\n        0 < n →\n        Fintype.card V = n →\n        (G.edgeSet.ncard : ℝ) = k * n →\n        ∀ (A B : Type) [Fintype A] [Fintype B],\n          Fintype.card (A ⊕ B) = n →\n          ((completeBipartiteGraph A B).edgeSet.ncard : ℝ) = k * n →\n          (∑ᶠ a ∈ (completeBipartiteGraph A B).cycleLengths, (1 : ℝ) / a) ≤\n            (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) := by\n  sorry\n\n/--\nLiu and Montgomery [LiMo20, Corollary 1.2] have proved the asymptotically sharp lower bound of\n$\\geq (\\tfrac{1}{2}-o(1))\\log k$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_65.variants.liu_montgomery :\n    ∀ ε > (0 : ℝ), ∀ᶠ k : ℝ in Filter.atTop,\n      ∀ (n : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),\n        0 < n →\n        Fintype.card V = n →\n        (G.edgeSet.ncard : ℝ) = k * n →\n        (∑ᶠ a ∈ G.cycleLengths, (1 : ℝ) / a) ≥ (1 / 2 - ε) * Real.log k := by\n  sorry\n\n-- TODO: Add variants of the problem.\n\nend Erdos65\n",
  "statement_hash": "71dfb7ae240d9421878bd3ef305b9f5c6900748fc69351cf42e49328ec4d6596",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}