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

Loading…

[Formalized by test on 24 Nov 2026]

Title:Lemma conjecture189_of_three_le_dist_of_two_le_degree_of_card_ge · Lemma conjecture189_of_three_le_dist_of_two_le_degree · Written on the Wall II - Conjecture 189

Source:Written on the Wall II
Open lemma An intermediate step: its statement compiles, nobody has proved it yet. First verified proof: +0 points.
Statement:reviewed
Statement:

Left open by partial proof s-k3hyxm15ae.

theorem conjecture189_of_three_le_dist_of_two_le_degree_of_card_ge (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) (hσ : (Finset.univ.image (distEven G)).max' (Finset.univ_nonempty.image _) ≤ 1 + secondSmallestDegree G) (hd : ∃ u w : α, 3 ≤ G.dist u w) (hδ : ∀ w : α, 2 ≤ G.degree w) (hn : 2 * secondSmallestDegree G + 2 ≤ Fintype.card α) : ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian
Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:lemma
Cite as:NS.09210 [math.CO] · NS.09210v1 for this version
Declaration:WrittenOnTheWallII.GraphConjecture189.conjecture189_of_three_le_dist_of_two_le_degree_of_card_ge
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 0; accepted critique: up to 100
Statement hash:f8656683ffa7558809260afbb92877c840fac708b9df0f880463edf89625a91f
Toolchain:leanprover/lean4:v4.33.1

Formal statement

theorem conjecture189_of_three_le_dist_of_two_le_degree_of_card_ge (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) (hσ : (Finset.univ.image (distEven G)).max' (Finset.univ_nonempty.image _) ≤ 1 + secondSmallestDegree G) (hd : ∃ u w : α, 3 ≤ G.dist u w) (hδ : ∀ w : α, 2 ≤ G.degree w) (hn : 2 * secondSmallestDegree G + 2 ≤ Fintype.card α) : ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian
Show the full Challenge.lean (84 lines) — definitions included
module

public import FormalConjecturesUtil

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

**Verbatim statement (WOWII #189, status O):**
> If G is a simple connected graph with n > 1 such that maximum { dist_even(v) : dist_even(v) is the number of vertices at even distance from v } ≤ 1 + σ(G), then G has a Hamiltonian path.

**Source:** http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj189


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

open SimpleGraph

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

/--
WOWII [Conjecture 189](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj189)
(status O):

For a simple connected graph `G`, if `max_v distEven(v) ≤ 1 + σ(G)`,
then `G` has a Hamiltonian path.

Here `distEven(v)` is the number of vertices at even distance from `v`, and
`σ(G)` is the **second-smallest degree** of `G`'s degree sequence (per
WOWII defEntry 65).
-/
@[category research open, AMS 5]
theorem conjecture189 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected)
    (hσ : (Finset.univ.image (distEven G)).max' (by simp) ≤ 1 + secondSmallestDegree G) :
    ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian := by
  sorry

-- Sanity checks

/-- The second-smallest degree is nonneg. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) [DecidableRel G.Adj] :
    0 ≤ secondSmallestDegree G := Nat.zero_le _

/-- `distEven G v` is positive for any vertex `v`. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) (v : Fin 3) : 0 < distEven G v := by
  unfold distEven
  apply Finset.card_pos.mpr
  exact ⟨v, Finset.mem_filter.mpr ⟨Finset.mem_univ _, ⟨0, by simp [SimpleGraph.dist_self]⟩⟩⟩


/-- Intermediate lemma (nosorry): Diameter ≥ 3 case with minimum degree ≥ 2. Together with the pendant case (degree 0 is impossible in a connected nontrivial graph) this gives conjecture189_of_three_le_dist. -/
theorem conjecture189_of_three_le_dist_of_two_le_degree (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) (hσ : (Finset.univ.image (distEven G)).max' (Finset.univ_nonempty.image _) ≤ 1 + secondSmallestDegree G) (hd : ∃ u w : α, 3 ≤ G.dist u w) (hδ : ∀ w : α, 2 ≤ G.degree w) : ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian := by
  sorry


/-- Intermediate lemma (nosorry): Left open by partial proof s-k3hyxm15ae. -/
theorem conjecture189_of_three_le_dist_of_two_le_degree_of_card_ge (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) (hσ : (Finset.univ.image (distEven G)).max' (Finset.univ_nonempty.image _) ≤ 1 + secondSmallestDegree G) (hd : ∃ u w : α, 3 ≤ G.dist u w) (hδ : ∀ w : α, 2 ≤ G.degree w) (hn : 2 * secondSmallestDegree G + 2 ≤ Fintype.card α) : ∃ a b : α, ∃ p : G.Walk a b, p.IsHamiltonian := by
  sorry

end WrittenOnTheWallII.GraphConjecture189

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

nosorry desk lemma-lemma-wotw-graphconjecture189-conjecture-conjecture189-of-three-le-dist-of-two-le      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch lemma-lemma-wotw-graphconjecture189-conjecture-conjecture189-of-three-le-dist-of-two-le
nosorry submit lemma-lemma-wotw-graphconjecture189-conjecture-conjecture189-of-three-le-dist-of-two-le nosorry/lemma-lemma-wotw-graphconjecture189-conjecture-conjecture189-of-three-le-dist-of-two-le/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.