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 101

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 101

For a simple connected graph GG, α(G)≤⌊(n+∣alphaCore(G)∣)/2⌋\alpha(G) \le \lfloor (n + |\mathrm{alphaCore}(G)|) / 2 \rfloor where α(G)=G.indepNum\alpha(G) = G.\mathrm{indepNum} is the independence number, nn is the number of vertices, and alphaCore(G)\mathrm{alphaCore}(G) is the set of vertices whose removal decreases the independence number.

This is Hajnal's inequality in its independent-set form; see [LM11].

Lean formalization by Wentao Li, with AI assistance; see [Li26].

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

Formal statement

theorem conjecture101 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :
    G.indepNum ≤ (Fintype.card α + (alphaCore G).card) / 2
Show the full Challenge.lean (106 lines) — definitions included
module

public import FormalConjecturesUtil

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

*References:*
- [E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)
- [LM11] V. E. Levit and E. Mandrescu, [A Set and Collection Lemma](https://arxiv.org/abs/1101.4564), 2011, Corollaries 2.3–2.4.
- [Li26] Wentao Li, [Lean proof of WOWII 101](https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/proofs/WOWII101/PROOF.md), 2026.

## Definitions

The **$\alpha$-core** of a graph $G$, written `alphaCore G`, is the set of vertices
$v$ such that removing $v$ strictly decreases the independence number:
$$\mathrm{alphaCore}(G) = \{v \mid \alpha(G - v) < \alpha(G)\}$$
where $G - v$ is the subgraph of $G$ induced on $V(G) \setminus \{v\}$.

These vertices are also called "critical vertices for independence."
-/

@[expose] public section

namespace WrittenOnTheWallII.GraphConjecture101

open SimpleGraph

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

/-- The independence number of the subgraph induced on $V \setminus \{v\}$
(i.e., the graph $G - v$). -/
noncomputable def indepNumDeleteVertex (G : SimpleGraph α) (v : α) : ℕ :=
  (G.induce (Set.univ \ {v})).indepNum

/-- The $\alpha$-core of $G$: the set of vertices whose removal strictly decreases the
independence number. A vertex $v$ is in the $\alpha$-core if $\alpha(G - v) < \alpha(G)$. -/
noncomputable def alphaCore (G : SimpleGraph α) : Finset α :=
  Finset.univ.filter (fun v => indepNumDeleteVertex G v < G.indepNum)

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

For a simple connected graph $G$,
$\alpha(G) \le \lfloor (n + |\mathrm{alphaCore}(G)|) / 2 \rfloor$
where $\alpha(G) = G.\mathrm{indepNum}$ is the independence number, $n$ is the
number of vertices, and $\mathrm{alphaCore}(G)$ is the set of vertices whose
removal decreases the independence number.

This is Hajnal's inequality in its independent-set form; see [LM11].

Lean formalization by Wentao Li, with AI assistance; see [Li26].
-/
@[category research solved, AMS 5,
  formal_proof using lean4 at "https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/LeanGraphProofs/WOWII101.lean#L318"]
theorem conjecture101 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :
    G.indepNum ≤ (Fintype.card α + (alphaCore G).card) / 2 := by
  sorry

-- Sanity checks

/-- The $\alpha$-core has cardinality at most $n$ (the number of vertices). -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) : (alphaCore G).card ≤ 3 := by
  apply Finset.card_le_univ

/-- The $\alpha$-core is always a subset of all vertices. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 5)) : alphaCore G ⊆ Finset.univ :=
  Finset.filter_subset _ _

/-- If a vertex $v$ is NOT in the $\alpha$-core, then removing $v$ does not decrease $\alpha$. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) (v : Fin 3)
    (hv : v ∉ alphaCore G) :
    G.indepNum ≤ indepNumDeleteVertex G v := by
  unfold alphaCore at hv
  simp [Finset.mem_filter] at hv
  exact hv

/-- If a vertex $v$ IS in the $\alpha$-core, then removing $v$ strictly decreases $\alpha$. -/
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) (v : Fin 3)
    (hv : v ∈ alphaCore G) :
    indepNumDeleteVertex G v < G.indepNum := by
  unfold alphaCore at hv
  exact (Finset.mem_filter.mp hv).2

end WrittenOnTheWallII.GraphConjecture101

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

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