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 767

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed proved in aiXiv:2609.01659 (2026-09-14); no independent check recorded on aiXiv. · erdosproblems.com: proved (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves For all k≥1k\ge1 and n≥k+2n\ge k+2, the maximum number of edges gk(n)g_k(n) in an nn-vertex graph with no cycle having a vertex incident with at least kk chords equals max⁡{⌊(k+1)n/2⌋, max⁡⌊(k+1)/2⌋+1≤a≤k+1(a(n−a)+⌊a(k+1−a)/2⌋)}\max\{\lfloor (k+1)n/2\rfloor,\ \max_{\lfloor (k+1)/2\rfloor+1\le a\le k+1} (a(n-a)+\lfloor a(k+1-a)/2\rfloor)\}. — aiXiv:2609.01659, 2026-09-14 · claimed by its authors; no independent check recorded on aiXiv
  2. theorem For k≥2k\ge2, gk(n)=(k+1)(n−k−1)g_k(n)=(k+1)(n-k-1) holds if and only if n≥⌈(5k+1)/2⌉n\ge\lceil(5k+1)/2\rceil in the sense that the threshold is sharp: for n=⌈(5k+1)/2⌉−1n=\lceil(5k+1)/2\rceil-1 there is a graph with (k+1)(n−k−1)+1(k+1)(n-k-1)+1 edges and no such cycle. This improves Jiang's range n≥3k+3n\ge 3k+3. — aiXiv:2609.01659, 2026-09-14 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Let gk(n)g_k(n) be the maximal number of edges possible on a graph with nn vertices which does not contain a cycle with kk chords incident to a vertex on the cycle. Is it true that gk(n)=(k+1)n−(k+1)2g_k(n)=(k+1)n-(k+1)^2 for nn sufficiently large?

The answer is yes: the conjectured equality was proved for n≥3k+3n\geq 3k+3 by Jiang [Ji04].

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

Formal statement

theorem erdos_767 :
    ∀ k ≥ 1, ∀ n ≥ 3 * k + 3, g k n = (k + 1) * n - (k + 1) ^ 2
Show the full Challenge.lean (79 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 767

*References:*
- [erdosproblems.com/767](https://www.erdosproblems.com/767)
- [Er64c] Erdős, P., _Extremal problems in graph theory_. Theory of Graphs and its Applications
  (Proc. Sympos. Smolenice, 1963) (1964), 29-36.
- [Er69b] Erdős, P., _Problems and results in chromatic graph theory_. Proof Techniques in Graph
  Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968) (1969), 27-35.
- [Er75] Erdős, P., _Some recent progress on extremal problems in graph theory_. Congr. Numer.
  (1975), 3-14.
- [Ji04] Jiang, Tao, _A note on a conjecture about cycles with many incident chords_. J. Graph
  Theory (2004), 180-182.
-/

@[expose] public section

open SimpleGraph

namespace Erdos767

/-- `G` contains a cycle with `k` chords incident to a vertex on the cycle. -/
def HasCycleWithIncidentChords {V : Type*} (G : SimpleGraph V) (k : ℕ) : Prop :=
  ∃ (v : V) (c : G.Walk v v), c.IsCycle ∧
    ∃ f : Fin k → V, Function.Injective f ∧ ∀ i, c.IsChord s(v, f i)

open scoped Classical in
/-- `g k n` is the maximal number of edges possible on a graph with `n` vertices which does not
contain a cycle with `k` chords incident to a vertex on the cycle. -/
noncomputable def g (k n : ℕ) : ℕ :=
  sSup {m | ∃ G : SimpleGraph (Fin n),
    ¬ HasCycleWithIncidentChords G k ∧ G.edgeFinset.card = m}

set_option linter.style.formal_proof_palomar false in
/--
Let $g_k(n)$ be the maximal number of edges possible on a graph with $n$ vertices which does not
contain a cycle with $k$ chords incident to a vertex on the cycle. Is it true that
$$g_k(n)=(k+1)n-(k+1)^2$$
for $n$ sufficiently large?

The answer is yes: the conjectured equality was proved for $n\geq 3k+3$ by Jiang [Ji04].
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos767.lean#L1566"]
theorem erdos_767 :
    ∀ k ≥ 1, ∀ n ≥ 3 * k + 3, g k n = (k + 1) * n - (k + 1) ^ 2 := by
  sorry

/-- Czipszer proved that $g_k(n)\leq (k+1)n$. -/
@[category research solved, AMS 5]
theorem erdos_767.variants.czipszer (k n : ℕ) : g k n ≤ (k + 1) * n := by
  sorry

/-- Pósa proved that $g_1(n)=2n-4$ for $n\geq 4$. -/
@[category research solved, AMS 5]
theorem erdos_767.variants.posa (n : ℕ) (hn : 4 ≤ n) : g 1 n = 2 * n - 4 := by
  sorry

end Erdos767

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

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