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

Title:Erdős Problem 71

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:

Is it true that for every infinite arithmetic progression PP which contains even numbers there is some constant c=c(P)c=c(P) such that every graph with average degree at least cc contains a cycle whose length is in PP?

In [Er82e] Erdős credits this conjecture to himself and Burr. This has been proved by Bollobás [Bo77]. The best dependence of the constant c(P)c(P) is unknown.

The infinite arithmetic progression is encoded as a set P⊆NP \subseteq \mathbb{N} satisfying P.IsAPOfLength ⊤ (which forces a positive common difference), and "contains even numbers" as the existence of an even element. The average degree of a finite simple graph is SimpleGraph.averageDegree, i.e. (∑vdeg⁡v)/∣V∣∈Q(\sum_v \deg v)/|V| \in \mathbb{Q}, and a cycle whose length is in PP is a cycle walk w with w.length ∈ P.

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

Formal statement

theorem erdos_71 :
    ∀ P : Set ℕ, P.IsAPOfLength ⊤ → (∃ n ∈ P, Even n) →
      ∃ c : ℚ, ∀ (V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V)
        [DecidableRel G.Adj], c ≤ G.averageDegree →
          ∃ (v : V) (w : G.Walk v v), w.IsCycle ∧ w.length ∈ P
Show the full Challenge.lean (62 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 71

*References:*
- [erdosproblems.com/71](https://www.erdosproblems.com/71)
- [Bo77] Bollobás, Béla, *Cycles modulo $k$*. Bull. London Math. Soc. (1977), 97-98.
- [Er82e] Erdős, Paul, *Some of my favourite problems which recently have been solved*.
  (1982), 59--79.
- [Er95] Erdős, Paul, *Some of my favourite problems in number theory, combinatorics, and
  geometry*. Resenhas (1995), 165-186.
- [Er97b] Erdős, Paul, *Some old and new problems in various branches of combinatorics*.
  Discrete Math. (1997), 227-231.
-/

@[expose] public section

namespace Erdos71

set_option linter.style.formal_proof_palomar false in
/--
Is it true that for every infinite arithmetic progression $P$ which contains even numbers
there is some constant $c=c(P)$ such that every graph with average degree at least $c$
contains a cycle whose length is in $P$?

In [Er82e] Erdős credits this conjecture to himself and Burr. This has been proved by
Bollobás [Bo77]. The best dependence of the constant $c(P)$ is unknown.

The infinite arithmetic progression is encoded as a set $P \subseteq \mathbb{N}$ satisfying
`P.IsAPOfLength ⊤` (which forces a positive common difference), and "contains even numbers"
as the existence of an even element. The average degree of a finite simple graph is
`SimpleGraph.averageDegree`, i.e. $(\sum_v \deg v)/|V| \in \mathbb{Q}$, and a cycle whose
length is in $P$ is a cycle walk `w` with `w.length ∈ P`.
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at "https://github.com/Jayyhk/erdos-lean/blob/110d489ed5c07e5b216453e092e9113127c98c9a/problems/71/Erdos71.lean"]
theorem erdos_71 :
    ∀ P : Set ℕ, P.IsAPOfLength ⊤ → (∃ n ∈ P, Even n) →
      ∃ c : ℚ, ∀ (V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V)
        [DecidableRel G.Adj], c ≤ G.averageDegree →
          ∃ (v : V) (w : G.Walk v v), w.IsCycle ∧ w.length ∈ P := by
  sorry

end Erdos71

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

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