Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Written on the Wall II - Conjecture 32

Source:Written on the Wall II
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

WOWII Conjecture 32

For a simple connected graph GG, path⁡(G)≥dist⁡_avg⁡(A)+0.5⋅ecc⁡_avg⁡(M)\operatorname{path}(G) \ge \operatorname{dist}\_{\operatorname{avg}}(A) + 0.5 \cdot \operatorname{ecc}\_{\operatorname{avg}}(M), where path⁡(G)\operatorname{path}(G) is the number of vertices of a largest induced path of GG, AA is the set of minimum-degree vertices, MM is the set of maximum-degree vertices, dist⁡_avg⁡(A)\operatorname{dist}\_{\operatorname{avg}}(A) is the average of all nonzero distances dist⁡_G(u,v)\operatorname{dist}\_G(u, v) with u,v∈Au, v \in A (i.e. the average over ordered pairs of distinct vertices of AA; it is taken to be 00 when AA has fewer than two vertices), and ecc⁡_avg⁡(M)\operatorname{ecc}\_{\operatorname{avg}}(M) is the average eccentricity of the vertices in MM.

The conjecture is false, the authors present a counterexample: "The path on 5 vertices is a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum degree vertices is 8/3."

Independent Lean formalization by Wentao Li, with AI assistance. An earlier Lean proof is recorded in the Epoch review archived in tadamcz/fc-review-results.

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

Formal statement

theorem conjecture32 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),
      let A : Finset α := Finset.univ.filter (fun v => G.degree v = G.minDegree)
      let M : Finset α := Finset.univ.filter (fun v => G.degree v = G.maxDegree)
      let distavgA : ℝ := (∑ p ∈ A.offDiag, (G.dist p.1 p.2 : ℝ)) / (A.offDiag.card : ℝ)
      let eccavg (S : Finset α) : ℝ := (∑ v ∈ S, (G.eccent v).toNat) / (S.card : ℝ)
      distavgA + (1 / 2 : ℝ) * eccavg M ≤ (path G : ℝ)
Show the full Challenge.lean (80 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Written on the Wall II - Conjecture 32

*Reference:*
[E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)
-/

@[expose] public section

namespace WrittenOnTheWallII.GraphConjecture32

open SimpleGraph

variable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]

set_option linter.style.formal_proof_palomar false in
/--
WOWII [Conjecture 32](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)

For a simple connected graph $G$,
$\operatorname{path}(G) \ge \operatorname{dist}\_{\operatorname{avg}}(A) + 0.5 \cdot \operatorname{ecc}\_{\operatorname{avg}}(M)$,
where $\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,
$A$ is the set of minimum-degree vertices, $M$ is the set of maximum-degree vertices,
$\operatorname{dist}\_{\operatorname{avg}}(A)$ is the average of all nonzero distances
$\operatorname{dist}\_G(u, v)$ with $u, v \in A$ (i.e. the average over ordered pairs of
distinct vertices of $A$; it is taken to be $0$ when $A$ has fewer than two vertices), and
$\operatorname{ecc}\_{\operatorname{avg}}(M)$ is the average eccentricity of the vertices
in $M$.

The conjecture is false, the authors present a counterexample: "The path on 5 vertices
is a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum
degree vertices is 8/3."

Independent Lean formalization by Wentao Li, with AI assistance. An earlier Lean proof
is recorded in the Epoch review archived in
[tadamcz/fc-review-results](https://github.com/tadamcz/fc-review-results/blob/971290dd3e0e4dce063f98feaa8ecb9e51acd5ec/data/782312817c/files/WrittenOnTheWallII/GraphConjecture32.json).
-/
@[category research solved, question, AMS 5,
  formal_proof using lean4 at "https://github.com/VictorLiwentao/lean-graph-proofs/blob/b60c2e548910b32eb3b602f6a8e67af806e4b9f6/LeanGraphProofs/WOWII32.lean#L114"]
theorem conjecture32 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),
      let A : Finset α := Finset.univ.filter (fun v => G.degree v = G.minDegree)
      let M : Finset α := Finset.univ.filter (fun v => G.degree v = G.maxDegree)
      let distavgA : ℝ := (∑ p ∈ A.offDiag, (G.dist p.1 p.2 : ℝ)) / (A.offDiag.card : ℝ)
      let eccavg (S : Finset α) : ℝ := (∑ v ∈ S, (G.eccent v).toNat) / (S.card : ℝ)
      distavgA + (1 / 2 : ℝ) * eccavg M ≤ (path G : ℝ) := by
  sorry

-- Sanity checks

/-- The `path G` invariant cast to ℝ is nonneg. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) : 0 ≤ (path G : ℝ) := Nat.cast_nonneg _

/-- In `K₃`, the max degree is 2. -/
@[category test, AMS 5]
example : (⊤ : SimpleGraph (Fin 3)).maxDegree = 2 := by decide

end WrittenOnTheWallII.GraphConjecture32

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

nosorry fetch wotw-graphconjecture32
nosorry submit wotw-graphconjecture32 nosorry/wotw-graphconjecture32/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.