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 7

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 7

For a simple connected graph GG, Ls(G)≥max⁡vλ(v)−1+n−2α(G)L_s(G) \ge \max_v \lambda(v) - 1 + n - 2 \alpha(G), where Ls(G)L_s(G) is the maximum number of leaves over all spanning trees of GG, n=∣V(G)∣n = |V(G)|, α(G)=G.indepNum\alpha(G) = G.\mathrm{indepNum} is the independence number, and λ(v)=indepNeighborsCard G v\lambda(v) = \mathrm{indepNeighborsCard}\, G\, v is the independence number of the neighbourhood of vv.

Proved by DeLaVina, Fajtlowicz, Waller (2002); see [DFW03].

Lean formalization by Wentao Li, with AI assistance; see [Li26].

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

Formal statement

theorem conjecture7 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :
    let maxL := (Finset.univ.image (fun v => indepNeighborsCard G v)).max' (by simp)
    ((maxL : ℤ) - 1 + (Fintype.card α : ℤ) - 2 * (G.indepNum : ℤ) : ℝ) ≤ Ls G
Show the full Challenge.lean (66 lines) — definitions included
module

public import FormalConjecturesUtil

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

*References:*
- [E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)
- [DFW03] E. DeLaVina, S. Fajtlowicz and B. Waller, [On Some Conjectures of Griggs and Graffiti](https://www.uhd.edu/documents/academics/sciences/griggsngraffiti.pdf), 2002, revised 2003.
- [Li26] Wentao Li, [Lean proof of WOWII 7](https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/proofs/WOWII7/PROOF.md), 2026.
-/

@[expose] public section

namespace WrittenOnTheWallII.GraphConjecture7

open SimpleGraph

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

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

For a simple connected graph $G$,
$L_s(G) \ge \max_v \lambda(v) - 1 + n - 2 \alpha(G)$,
where $L_s(G)$ is the maximum number of leaves over all spanning trees of $G$,
$n = |V(G)|$, $\alpha(G) = G.\mathrm{indepNum}$ is the independence number, and
$\lambda(v) = \mathrm{indepNeighborsCard}\, G\, v$ is the independence number of the
neighbourhood of $v$.

Proved by DeLaVina, Fajtlowicz, Waller (2002); see [DFW03].

Lean formalization by Wentao Li, with AI assistance; see [Li26].
-/
@[category research solved, AMS 5,
  formal_proof using lean4 at "https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/LeanGraphProofs/WOWII7.lean#L462"]
theorem conjecture7 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :
    let maxL := (Finset.univ.image (fun v => indepNeighborsCard G v)).max' (by simp)
    ((maxL : ℤ) - 1 + (Fintype.card α : ℤ) - 2 * (G.indepNum : ℤ) : ℝ) ≤ Ls G := by
  sorry

-- Sanity checks

/-- The independence number is nonneg. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) : 0 ≤ G.indepNum := Nat.zero_le _

end WrittenOnTheWallII.GraphConjecture7

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

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