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 314

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 314:

For every finite simple connected graph GG with n>1n > 1 vertices, if GG is triangle-free and path(G)≤4\mathrm{path}(G) \le 4, then GG is well totally dominated.

Here path(G)=largestInducedPathSize G\mathrm{path}(G) = \mathrm{largestInducedPathSize}\, G is the size of a largest induced path in GG, defined locally above.

Disambiguation. Earlier revisions of this file used the SimpleGraph.path invariant, but that is the floor of the average distance, not the size of a largest induced path — a different quantity that makes Conjecture 314 vacuous in many cases.

Proof summary. In a connected, K3K_{3}-free, induced-P5P_{5}-free graph GG:

  1. No minimal total dominating set has fewer than two vertices.
  2. No minimal total dominating set has more than three vertices.
  3. Minimal total dominating sets of sizes two and three cannot coexist.

Thus, each minimal total dominating set in GG has the same size.

The Lean proof was generated by OpenAI GPT-5.6 Sol.

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

Formal statement

theorem conjecture314 [Nontrivial α] (G : SimpleGraph α) [DecidableRel G.Adj]
    (hG : G.Connected)
    (hTriFree : ∀ a b c : α, G.Adj a b → G.Adj b c → G.Adj c a → False)
    (hPath : largestInducedPathSize G ≤ 4) :
    IsWellTotallyDominated G
Show the full Challenge.lean (103 lines) — definitions included
module

public import FormalConjecturesUtil

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

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

open SimpleGraph

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

/-- The size of a largest induced path of $G$, as a natural number.

A subset $s \subseteq V(G)$ is an *induced path* when the induced subgraph
`G.induce s` is a tree in which every vertex has degree at most $2$
(equivalently: a tree that is itself a path graph). We define
`largestInducedPathSize G` as the supremum of `s.card` over all such subsets.

**Disambiguation.** This is *not* the `SimpleGraph.path` invariant, which is the
floor of the average distance — that one is the wrong tool for WOWII Conjecture
314, where $\mathrm{path}(G)$ denotes the **size of a largest induced path**.

TODO: it would probably be clearer to rename the `SimpleGraph.path` invariant to
something like `pathBound` / `floorAvgDist` to avoid this naming collision. -/
noncomputable def largestInducedPathSize (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ :=
  sSup { n | ∃ s : Finset α,
              s.card = n ∧
              (G.induce (s : Set α)).IsTree ∧
              ∀ v : (s : Set α), (G.induce (s : Set α)).degree v ≤ 2 }

set_option linter.style.formal_proof_palomar false in
/--
WOWII [Conjecture 314](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj314):

For every finite simple connected graph $G$ with $n > 1$ vertices,
if $G$ is triangle-free and $\mathrm{path}(G) \le 4$, then $G$ is well totally
dominated.

Here $\mathrm{path}(G) = \mathrm{largestInducedPathSize}\, G$ is the **size of a
largest induced path** in $G$, defined locally above.

**Disambiguation.** Earlier revisions of this file used the `SimpleGraph.path`
invariant, but that is the *floor of the average distance*, not the size of a
largest induced path — a different quantity that makes Conjecture 314 vacuous
in many cases.

**Proof summary.** In a connected, $K_{3}$-free, induced-$P_{5}$-free graph $G$:

1. No minimal total dominating set has fewer than two vertices.
2. No minimal total dominating set has more than three vertices.
3. Minimal total dominating sets of sizes two and three cannot coexist.

Thus, each minimal total dominating set in $G$ has the same size.

The Lean proof was generated by OpenAI GPT-5.6 Sol.
-/
@[category research solved, AMS 5, formal_proof using lean4 at "https://github.com/glyaea/wow-ii-314/blob/7b35f1252e4aaae3c787faf8091f9c7cd4edc41f/solution.lean"]
theorem conjecture314 [Nontrivial α] (G : SimpleGraph α) [DecidableRel G.Adj]
    (hG : G.Connected)
    (hTriFree : ∀ a b c : α, G.Adj a b → G.Adj b c → G.Adj c a → False)
    (hPath : largestInducedPathSize G ≤ 4) :
    IsWellTotallyDominated G := by
  sorry

-- Sanity checks

/-- The complete graph $K_3$ has a triangle. -/
@[category test, AMS 5]
example : ∃ a b c : Fin 3, (⊤ : SimpleGraph (Fin 3)).Adj a b ∧
    (⊤ : SimpleGraph (Fin 3)).Adj b c ∧ (⊤ : SimpleGraph (Fin 3)).Adj c a := by
  exact ⟨0, 1, 2, by decide, by decide, by decide⟩

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

end WrittenOnTheWallII.GraphConjecture314

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

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