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 199 · vertexConnectivity_singleton

Source:Written on the Wall II
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

A single vertex has vertex connectivity zero.

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.08690 [math.CO] · NS.08690v1 for this version
Declaration:WrittenOnTheWallII.GraphConjecture199.vertexConnectivity_singleton
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:5a1e07e6612c67c7f2b18519cfb3088073bb85a2c9794b909244b1f35cd78a25
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/WrittenOnTheWallII/GraphConjecture199.lean

Formal statement

theorem vertexConnectivity_singleton : vertexConnectivity (⊤ : SimpleGraph (Fin 1)) = 0
Show the full Challenge.lean (92 lines) — definitions included
module

public import FormalConjecturesUtil

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

**Verbatim statement (WOWII #199, status O):**
> If G is a simple connected graph with n > 1 such that tree(G) - 2 ≤ κ(G), then G has a Hamiltonian path.

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


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

open SimpleGraph

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

/--
WOWII [Conjecture 199](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)

For a simple connected graph `G`, if `tree(G) - 2 ≤ κ(G)`, then `G` has a Hamiltonian path.
The nontrivial vertex type encodes the source assumption $n > 1$.
Here `tree(G)` is the number of vertices in a largest induced tree and
`κ(G) = vertexConnectivity G` is the vertex connectivity of `G`.
-/
@[category research open, AMS 5]
theorem conjecture199 (G : SimpleGraph α) (h : G.Connected)
    (hκ : largestInducedTreeSize G - 2 ≤ vertexConnectivity 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 empty graph has vertex connectivity zero. -/
@[category test, AMS 5]
theorem vertexConnectivity_empty : vertexConnectivity (⊥ : SimpleGraph (Fin 0)) = 0 := by
  simp

/-- A single vertex has vertex connectivity zero. -/
@[category test, AMS 5]
theorem vertexConnectivity_singleton : vertexConnectivity (⊤ : SimpleGraph (Fin 1)) = 0 := by
  simp

/-- Two isolated vertices have vertex connectivity zero. -/
@[category test, AMS 5]
theorem vertexConnectivity_disconnected : vertexConnectivity (⊥ : SimpleGraph (Fin 2)) = 0 := by
  exact vertexConnectivity_eq_zero_of_not_connected _ not_connected_bot

/-- The complete graph on three vertices has vertex connectivity two. -/
@[category test, AMS 5]
theorem vertexConnectivity_complete_three : vertexConnectivity (⊤ : SimpleGraph (Fin 3)) = 2 := by
  classical
  rw [vertexConnectivity, if_neg (by decide)]
  apply le_antisymm
  · exact csInf_le' ⟨{0, 1}, by decide, Or.inr (by decide)⟩
  · refine le_csInf ?_ ?_
    · exact ⟨2, {0, 1}, by decide, Or.inr (by decide)⟩
    · rintro k ⟨S, rfl, hS⟩
      exact (by decide +kernel : ∀ S : Finset (Fin 3),
        (¬((⊤ : SimpleGraph (Fin 3)).induce ((S : Set (Fin 3))ᶜ)).Connected ∨
          S.card = Fintype.card (Fin 3) - 1) → 2 ≤ S.card) S hS

end WrittenOnTheWallII.GraphConjecture199

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

nosorry desk wotw-graphconjecture199--vertexconnectivity-singleton      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wotw-graphconjecture199--vertexconnectivity-singleton
nosorry submit wotw-graphconjecture199--vertexconnectivity-singleton nosorry/wotw-graphconjecture199--vertexconnectivity-singleton/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.