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 291

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 291

For a simple connected graph GG with n>2n > 2, γt(G)≤k+frequency(tmin⁡(v))\gamma_t(G) \le k + \mathrm{frequency}(t_{\min}(v)) where:

  • γt(G)\gamma_t(G) is the total domination number,
  • kk is the first step in which a zero appears in the Havel-Hakimi process,
  • frequency(tmin⁡(v))\mathrm{frequency}(t_{\min}(v)) is the number of vertices achieving the minimum triangle count.

This is false: the source records a 12-vertex counterexample by Zyad Tamimi (July 23, 2026) with γt(G)=4>2+1=k+frequency(tmin⁡(v))\gamma_t(G) = 4 > 2 + 1 = k + \mathrm{frequency}(t_{\min}(v)).

The linked Lean proof certifies the twelve-vertex member (m=6m = 6) of the family given by vulnix0x4.

The hypothesis n>2n > 2 is stated in the source's full list of conjectures (as for the neighbouring Conjectures 290, 292 and 293) but omitted on its list of open conjectures; the counterexample has 1212 vertices, so it refutes both readings.

Lean formalization by Wentao Li, with AI assistance.

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

Formal statement

theorem conjecture291 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (_h : G.Connected) (_hn : 2 < Fintype.card α),
      G.totalDominationNumber ≤ havelHakimiZeroStep G + freqMinTriangles G
Show the full Challenge.lean (163 lines) — definitions included
module

public import FormalConjecturesUtil

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

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

## Definitions

For a vertex $v$ in a graph $G$, **$T(v)$** is the number of triangles (3-cliques)
incident to $v$, i.e., the number of 3-element cliques in $G$ that contain $v$.

The **triangle-frequency of the minimum** is the number of vertices that achieve the
minimum value of $T(v)$.

**$k$** is the **first step in the Havel–Hakimi process at which a zero appears**.
Concretely, starting from the descending degree sequence $s_0$ of $G$, we set
$s_{i+1} = \mathrm{havelHakimiStep}\, s_i$ and let $k$ be the least $i \ge 0$ such
that $s_i$ contains a zero entry (or, vacuously, has been emptied entirely). Since
each step is sorted descending and never increases entries, this is equivalent
to the last (smallest) entry of $s_i$ being $0$, or $s_i$ being $[]$.

This is **strictly weaker** than $n - \mathrm{residue}(G)$: $n - \mathrm{residue}(G)$
is the *total* number of reduction steps until *every* entry is zero, whereas $k$
only requires that *some* entry has hit zero — and a $0$ typically appears well
before the all-zero state is reached.

**Conjecture 291:** For a simple connected graph $G$ with $n > 2$,
$\gamma_t(G) \le k + \mathrm{frequency}(t_{\min}(v))$
where $\gamma_t(G)$ is the total domination number, $k$ is the Havel-Hakimi zero
step, and $\mathrm{frequency}(t_{\min}(v))$ is the number of vertices achieving
the minimum triangle count.

The conjecture is **false**: on July 23, 2026, Zyad Tamimi sent a 12-vertex
counterexample with $\gamma_t(G) = 4$, $\mathrm{frequency}(t_{\min}(v)) = 1$ and $k = 2$,
and the source now lists Conjecture 291 as refuted.
-/

@[expose] public section

namespace WrittenOnTheWallII.GraphConjecture291

open SimpleGraph

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

/-- The minimum number of triangles incident to any vertex, over all vertices of $G$. -/
noncomputable def minTrianglesAtVertex (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ :=
  Finset.univ.inf' Finset.univ_nonempty (numTrianglesAtVertex G)

/-- The number of vertices achieving the minimum triangle count. -/
noncomputable def freqMinTriangles (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ :=
  (Finset.univ.filter (fun v => numTrianglesAtVertex G v = minTrianglesAtVertex G)).card

/-- The descending degree sequence of $G$, used as the starting point of the
Havel-Hakimi reduction.

Uses `Finset.univ.val.map` (multiset, duplicate-preserving) rather than
`Finset.univ.image` (set, deduplicating), so that e.g. $C_4$ produces
$[2, 2, 2, 2]$ rather than $[2]$. -/
noncomputable def descDegreeSequence (G : SimpleGraph α) [DecidableRel G.Adj] : List ℕ :=
  (Finset.univ.val.map (fun v : α => G.degree v)).sort (· ≥ ·)

/-- The Havel-Hakimi sequence of iterates: `s i` is the result of applying
`havelHakimiStep` $i$ times to the descending degree sequence of $G$. -/
noncomputable def havelHakimiIterate (G : SimpleGraph α) [DecidableRel G.Adj] (i : ℕ) :
    List ℕ :=
  (havelHakimiStep)^[i] (descDegreeSequence G)

/-- The first step $i$ (counting from $0$) at which a zero appears in the
Havel-Hakimi reduction of the descending degree sequence of $G$, or in which
the sequence has been emptied. We use `sInf` over the set of such $i$ so the
definition is well-defined for every graph: in particular, when $G$ is a
connected graph with $n \ge 2$ the minimum degree at iteration $0$ is at least
$1$, so the first zero only appears at some $i \ge 1$; and since each step
strictly shortens the list (or empties it), at the latest by $i = n$ the
sequence is empty and the predicate holds vacuously.

This is the WOWII $k$ of Conjecture 291, which is the **first** step at which a
zero appears — typically strictly less than $n - \mathrm{residue}(G)$ (which is
the *total* number of reduction steps to reach the all-zero state). -/
noncomputable def havelHakimiZeroStep (G : SimpleGraph α) [DecidableRel G.Adj] : ℕ :=
  sInf {i | 0 ∈ havelHakimiIterate G i ∨ havelHakimiIterate G i = []}

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

For a simple connected graph $G$ with $n > 2$,
$\gamma_t(G) \le k + \mathrm{frequency}(t_{\min}(v))$
where:

- $\gamma_t(G)$ is the total domination number,
- $k$ is the first step in which a zero appears in the Havel-Hakimi process,
- $\mathrm{frequency}(t_{\min}(v))$ is the number of vertices achieving the
  minimum triangle count.

This is false: the source records a 12-vertex counterexample by Zyad Tamimi (July 23, 2026)
with $\gamma_t(G) = 4 > 2 + 1 = k + \mathrm{frequency}(t_{\min}(v))$.

The linked Lean proof certifies the twelve-vertex member ($m = 6$) of the family given by
[`vulnix0x4`](https://github.com/google-deepmind/formal-conjectures/issues/4562).

The hypothesis $n > 2$ is stated in the source's full list of conjectures (as for the
neighbouring Conjectures 290, 292 and 293) but omitted on its list of open conjectures;
the counterexample has $12$ vertices, so it refutes both readings.

Lean formalization by Wentao Li, with AI assistance.
-/
@[category research solved, question, AMS 5,
  formal_proof using lean4 at "https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-13-000012"]
theorem conjecture291 :
    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]
      (G : SimpleGraph α) [DecidableRel G.Adj] (_h : G.Connected) (_hn : 2 < Fintype.card α),
      G.totalDominationNumber ≤ havelHakimiZeroStep G + freqMinTriangles G := by
  sorry

-- Sanity checks

/-- In $K_3$, every vertex is in exactly $1$ triangle. -/
@[category test, AMS 5]
example : numTrianglesAtVertex (⊤ : SimpleGraph (Fin 3)) (0 : Fin 3) = 1 := by
  unfold numTrianglesAtVertex
  decide

/-- In the path $P_3$, vertex $1$ has no triangles incident to it
($0$ and $2$ are neighbors of $1$ but not adjacent to each other). -/
@[category test, AMS 5]
example : numTrianglesAtVertex
    (SimpleGraph.fromEdgeSet {s(0,1), s(1,2)} : SimpleGraph (Fin 3)) (1 : Fin 3) = 0 := by
  unfold numTrianglesAtVertex
  decide

/-- In $K_3$, the minimum triangle count is $1$ (every vertex has $1$ triangle). -/
@[category test, AMS 5]
example : minTrianglesAtVertex (⊤ : SimpleGraph (Fin 3)) = 1 := by
  unfold minTrianglesAtVertex numTrianglesAtVertex
  decide

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

end WrittenOnTheWallII.GraphConjecture291

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

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