/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil /-! # Bondy's conjecture on longest cycles in highly connected graphs *References:* - [arxiv/2606.03696](https://arxiv.org/abs/2606.03696) **Longest cycles and Dirac-type results in highly connected graphs** by *Jie Ma, Bo Ning, Ziyuan Zhao*, where this is Conjecture 1. - [Bo80] Bondy, J. A., Longest paths and cycles in graphs of high degree. (1980). Take a `k`-connected graph with a large minimum degree. Bondy says that the graph outside any longest cycle holds no long path. The case `k = 1` is Dirac's theorem and the case `k = 2` is the theorem of Nash-Williams. The case `k = 3` is proved. The cases `k ≥ 4` are open. -/ @[expose] public section open SimpleGraph namespace Arxiv.«2606.03696» variable {V : Type*} [Fintype V] [DecidableEq V] /-- The set of vertices that a walk does not touch. For a longest cycle `C` this set carries the graph `G - V(C)` of the conjecture. -/ def offWalk {a b : V} {G : SimpleGraph V} (w : G.Walk a b) : Set V := {v | v ∉ w.support} /-- **Conjecture 1 (Bondy, 1980).** Let $k \geq 1$ and let $G$ be a $k$-connected graph on $n$ vertices. If $\delta(G) \geq \frac{n + k(k-1)}{k+1}$, then for every longest cycle $C$ of $G$, every path in $G - V(C)$ has at most $k-1$ vertices. The bound on the number of vertices of a path is written as `+ 1 ≤ k` rather than `≤ k - 1`, because subtraction on `ℕ` is truncated. The two forms agree for `k ≥ 1`. A longest cycle is a cycle whose length is the circumference of `G`. -/ @[category research open, question, AMS 5] theorem bondy_conjecture : ∀ (k : ℕ), 1 ≤ k → ∀ (V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], IsKConnected G k → ((Fintype.card V : ℝ) + k * (k - 1)) / (k + 1) ≤ G.minDegree → ∀ (a : V) (C : G.Walk a a), C.IsCycle → C.length = G.circumference → ∀ (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v), P.IsPath → P.support.length + 1 ≤ k := by sorry /-- The case $k = 1$ is Dirac's theorem. The condition reads $\delta(G) \geq n/2$, and no path in $G - V(C)$ can hold a vertex, so a longest cycle covers every vertex. -/ @[category research solved, AMS 5] theorem bondy_conjecture.variants.one {G : SimpleGraph V} [DecidableRel G.Adj] (hG : IsKConnected G 1) (hd : ((Fintype.card V : ℝ)) / 2 ≤ G.minDegree) {a : V} (C : G.Walk a a) (hC : C.IsCycle) (hlong : C.length = G.circumference) (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v) (hP : P.IsPath) : P.support.length + 1 ≤ 1 := by sorry /-- The case $k = 2$ is the theorem of Nash-Williams. -/ @[category research solved, AMS 5] theorem bondy_conjecture.variants.two {G : SimpleGraph V} [DecidableRel G.Adj] (hG : IsKConnected G 2) (hd : ((Fintype.card V : ℝ) + 2) / 3 ≤ G.minDegree) {a : V} (C : G.Walk a a) (hC : C.IsCycle) (hlong : C.length = G.circumference) (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v) (hP : P.IsPath) : P.support.length + 1 ≤ 2 := by sorry /-- The case $k = 3$ is proved. -/ @[category research solved, AMS 5] theorem bondy_conjecture.variants.three {G : SimpleGraph V} [DecidableRel G.Adj] (hG : IsKConnected G 3) (hd : ((Fintype.card V : ℝ) + 6) / 4 ≤ G.minDegree) {a : V} (C : G.Walk a a) (hC : C.IsCycle) (hlong : C.length = G.circumference) (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v) (hP : P.IsPath) : P.support.length + 1 ≤ 3 := by sorry /-- **Theorem 1.1 (Ma-Ning-Zhao, 2026), explicit threshold.** Bondy's conjecture holds when $n \geq 5k^2 + 7k$. This value of $n_k$ is given after Theorem 1.1 and in its reduction from Theorem 2.2. -/ @[category research solved, AMS 5] theorem bondy_conjecture.variants.large_explicit : ∀ k : ℕ, 1 ≤ k → ∀ (V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], 5 * k ^ 2 + 7 * k ≤ Fintype.card V → IsKConnected G k → ((Fintype.card V : ℝ) + k * (k - 1)) / (k + 1) ≤ G.minDegree → ∀ (a : V) (C : G.Walk a a), C.IsCycle → C.length = G.circumference → ∀ (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v), P.IsPath → P.support.length + 1 ≤ k := by sorry /-- **Theorem 1.1 (Ma-Ning-Zhao, 2026).** The conjecture holds for every graph with enough vertices. The full conjecture, for graphs of every size, stays open. -/ @[category research solved, AMS 5] theorem bondy_conjecture.variants.large : ∀ k : ℕ, 1 ≤ k → ∃ N : ℕ, ∀ (V : Type) [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj], N ≤ Fintype.card V → IsKConnected G k → ((Fintype.card V : ℝ) + k * (k - 1)) / (k + 1) ≤ G.minDegree → ∀ (a : V) (C : G.Walk a a), C.IsCycle → C.length = G.circumference → ∀ (u v : offWalk C) (P : (G.induce (offWalk C)).Walk u v), P.IsPath → P.support.length + 1 ≤ k := by intro k hk exact ⟨5 * k ^ 2 + 7 * k, bondy_conjecture.variants.large_explicit k hk⟩ end Arxiv.«2606.03696»