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 34

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 34

For a simple connected graph GG, $\operatorname{path}(G) \ge \lceil \operatorname{dist}_{\operatorname{avg}}(C, V)

  • \operatorname{dist}_{\operatorname{avg}}(M, V) \rceil$, where path⁡(G)\operatorname{path}(G) is the number of vertices of a largest induced path of GG, CC is the set of center vertices (those with minimum eccentricity), MM is the set of maximum-degree vertices, and dist⁡_avg⁡(S,V)\operatorname{dist}\_{\operatorname{avg}}(S, V) is the average of all nonzero distances dist⁡_G(s,v)\operatorname{dist}\_G(s, v) with s∈Ss \in S and v∈Vv \in V.

The conjecture is false. The counterexample below was documented by Salvatore Mercuri. Let GG be the tree on 3939 vertices formed by a vertex with three pendant leaves, joined by a path of five edges to the root of a perfect binary tree of depth four. Then path⁡(G)=11\operatorname{path}(G) = 11, while CC and MM are singletons whose distance sums are 154154 and 266266, so the bound is ⌈(154+266)/38⌉=12\lceil (154 + 266) / 38 \rceil = 12.

Lean formalization by Wentao Li, with AI assistance.

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

Formal statement

theorem conjecture34 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),
      let C : Set α := center G
      let M : Set α := {v | G.degree v = G.maxDegree}
      let distAvg (S : Set α) : ℝ
Show the full Challenge.lean (81 lines) — definitions included
module

public import FormalConjecturesUtil

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

*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.GraphConjecture34

open SimpleGraph

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

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

For a simple connected graph $G$,
$\operatorname{path}(G) \ge \lceil \operatorname{dist}\_{\operatorname{avg}}(C, V)
+ \operatorname{dist}\_{\operatorname{avg}}(M, V) \rceil$,
where $\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,
$C$ is the set of center vertices (those with minimum eccentricity), $M$ is the set of
maximum-degree vertices, and $\operatorname{dist}\_{\operatorname{avg}}(S, V)$ is the average
of all nonzero distances $\operatorname{dist}\_G(s, v)$ with $s \in S$ and $v \in V$.

The conjecture is false. The counterexample below was documented by
[Salvatore Mercuri](https://github.com/google-deepmind/formal-conjectures/pull/5733).
Let $G$ be the tree on $39$ vertices formed by a vertex with three
pendant leaves, joined by a path of five edges to the root of a perfect binary tree of depth
four. Then $\operatorname{path}(G) = 11$, while $C$ and $M$ are singletons whose distance sums
are $154$ and $266$, so the bound is $\lceil (154 + 266) / 38 \rceil = 12$.

Lean formalization by Wentao Li, with AI assistance.
-/
@[category research solved, question, AMS 5,
  formal_proof using lean4 at "https://github.com/VictorLiwentao/lean-graph-proofs/blob/b60c2e548910b32eb3b602f6a8e67af806e4b9f6/LeanGraphProofs/WOWII34.lean#L350"]
theorem conjecture34 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),
      let C : Set α := center G
      let M : Set α := {v | G.degree v = G.maxDegree}
      let distAvg (S : Set α) : ℝ :=
        open scoped Classical in
        let pairs := (S.toFinset ×ˢ Finset.univ).filter (fun p => G.dist p.1 p.2 ≠ 0)
        (∑ p ∈ pairs, (G.dist p.1 p.2 : ℝ)) / pairs.card
      Int.ceil (distAvg C + distAvg M) ≤ (path G : ℤ) := by
  sorry

-- Sanity checks

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

/-- The edgeless graph on 3 vertices has no edges. -/
@[category test, AMS 5]
example : (⊥ : SimpleGraph (Fin 3)).edgeFinset.card = 0 := by simp

end WrittenOnTheWallII.GraphConjecture34

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

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