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 200

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 200

For a simple connected graph G, if tree(G) = ⌈1 + l_avg(G)⌉, then G has a Hamiltonian path. Here tree(G) is the number of vertices of a largest induced tree subgraph, and l_avg(G) = averageIndepNeighbors G is the average over all vertices of the independence number of the neighbourhood. A Hamiltonian path is a walk visiting every vertex exactly once.

This conjecture is false. The counterexample family in the module docstring satisfies the equality hypothesis and has no Hamiltonian path.

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

Formal statement

theorem conjecture200 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) (_h : G.Connected),
      (largestInducedTreeSize G : ℝ) = ⌈1 + averageIndepNeighbors G⌉ →
      ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian
Show the full Challenge.lean (93 lines) — definitions included
module

public import FormalConjecturesUtil

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

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

## Counterexample

For every integer $q \geq 5$, let $C = \{a,b\} \cup D$ have $q$ vertices and
induce $K_q$ minus the edge $ab$. Add two nonadjacent vertices $x,y$, each
complete to $C$; a vertex $z$ adjacent exactly to $a,b$; and, for every
$d \in D$, a pendant vertex $p_d$ adjacent exactly to $d$.

The local-neighbourhood independence numbers are $2$ at $x,y,z$, $1$ at each
$p_d$, and $3$ at every vertex of $C$. Their sum is $4q+4$, while the graph has
$2q+1$ vertices, so
$$\left\lceil 1 + l_{\mathrm{avg}}(G)\right\rceil = 4.$$
The vertices $\{a,x,y,z\}$ induce a claw, and a case split on the number of
vertices from $C$ shows that no induced tree has more than four vertices.
Thus $\operatorname{tree}(G)=4$. Finally, the graph has $q-2 \geq 3$ pendant
vertices, but a Hamiltonian path has only two endpoints.

The smallest member of this family has 11 vertices and graph6 encoding
`J??FFBRq}N_`.
This is a smallest counterexample overall: an exhaustive search over all
11,989,760 connected graphs on 4 ≤ n ≤ 10 vertices (via nauty's `geng`;
graphs on at most 3 vertices are trivially traceable) found no graph
satisfying the premise without a Hamiltonian path.
-/

@[expose] public section

namespace WrittenOnTheWallII.GraphConjecture200

open SimpleGraph

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

For a simple connected graph `G`, if `tree(G) = ⌈1 + l_avg(G)⌉`, then `G` has a Hamiltonian path.
Here `tree(G)` is the number of vertices of a largest induced tree subgraph, and
`l_avg(G) = averageIndepNeighbors G` is the average over all vertices of the independence number
of the neighbourhood.
A Hamiltonian path is a walk visiting every vertex exactly once.

This conjecture is false. The counterexample family in the module docstring
satisfies the equality hypothesis and has no Hamiltonian path.
-/
@[category research solved, question, AMS 5, formal_proof using formal_conjectures at
  "https://github.com/infinityscroll/formal-conjectures/blob/9dd290db402c49922fa42793e4a7cfb802daf5c1/FormalConjectures/WrittenOnTheWallII/GraphConjecture200Counterexample.lean#L24-L195"]
theorem conjecture200 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) (_h : G.Connected),
      (largestInducedTreeSize G : ℝ) = ⌈1 + averageIndepNeighbors G⌉ →
      ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian := by
  sorry

-- Sanity checks

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

/-- The average indep-neighbors is nonneg. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) : 0 ≤ averageIndepNeighbors G := by
  unfold averageIndepNeighbors
  apply div_nonneg
  · apply Finset.sum_nonneg; intro v _; exact Nat.cast_nonneg _
  · exact Nat.cast_nonneg _

end WrittenOnTheWallII.GraphConjecture200

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

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