{
  "id": "8662",
  "ident": "NS.08662",
  "slug": "wotw-graphconjecture101",
  "title": "Written on the Wall II - Conjecture 101",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 101](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\alpha(G) \\le \\lfloor (n + |\\mathrm{alphaCore}(G)|) / 2 \\rfloor$\nwhere $\\alpha(G) = G.\\mathrm{indepNum}$ is the independence number, $n$ is the\nnumber of vertices, and $\\mathrm{alphaCore}(G)$ is the set of vertices whose\nremoval decreases the independence number.\n\nThis is Hajnal's inequality in its independent-set form; see [LM11].\n\nLean formalization by Wentao Li, with AI assistance; see [Li26].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture101.conjecture101",
  "statement_lean": "theorem conjecture101 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    G.indepNum ≤ (Fintype.card α + (alphaCore G).card) / 2",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Written on the Wall II - Conjecture 101\n\n*References:*\n- [E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n- [LM11] V. E. Levit and E. Mandrescu, [A Set and Collection Lemma](https://arxiv.org/abs/1101.4564), 2011, Corollaries 2.3–2.4.\n- [Li26] Wentao Li, [Lean proof of WOWII 101](https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/proofs/WOWII101/PROOF.md), 2026.\n\n## Definitions\n\nThe **$\\alpha$-core** of a graph $G$, written `alphaCore G`, is the set of vertices\n$v$ such that removing $v$ strictly decreases the independence number:\n$$\\mathrm{alphaCore}(G) = \\{v \\mid \\alpha(G - v) < \\alpha(G)\\}$$\nwhere $G - v$ is the subgraph of $G$ induced on $V(G) \\setminus \\{v\\}$.\n\nThese vertices are also called \"critical vertices for independence.\"\n-/\n\n@[expose] public section\n\nnamespace WrittenOnTheWallII.GraphConjecture101\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\n/-- The independence number of the subgraph induced on $V \\setminus \\{v\\}$\n(i.e., the graph $G - v$). -/\nnoncomputable def indepNumDeleteVertex (G : SimpleGraph α) (v : α) : ℕ :=\n  (G.induce (Set.univ \\ {v})).indepNum\n\n/-- The $\\alpha$-core of $G$: the set of vertices whose removal strictly decreases the\nindependence number. A vertex $v$ is in the $\\alpha$-core if $\\alpha(G - v) < \\alpha(G)$. -/\nnoncomputable def alphaCore (G : SimpleGraph α) : Finset α :=\n  Finset.univ.filter (fun v => indepNumDeleteVertex G v < G.indepNum)\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 101](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\alpha(G) \\le \\lfloor (n + |\\mathrm{alphaCore}(G)|) / 2 \\rfloor$\nwhere $\\alpha(G) = G.\\mathrm{indepNum}$ is the independence number, $n$ is the\nnumber of vertices, and $\\mathrm{alphaCore}(G)$ is the set of vertices whose\nremoval decreases the independence number.\n\nThis is Hajnal's inequality in its independent-set form; see [LM11].\n\nLean formalization by Wentao Li, with AI assistance; see [Li26].\n-/\n@[category research solved, AMS 5,\n  formal_proof using lean4 at \"https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/LeanGraphProofs/WOWII101.lean#L318\"]\ntheorem conjecture101 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    G.indepNum ≤ (Fintype.card α + (alphaCore G).card) / 2 := by\n  sorry\n\n-- Sanity checks\n\n/-- The $\\alpha$-core has cardinality at most $n$ (the number of vertices). -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : (alphaCore G).card ≤ 3 := by\n  apply Finset.card_le_univ\n\n/-- The $\\alpha$-core is always a subset of all vertices. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 5)) : alphaCore G ⊆ Finset.univ :=\n  Finset.filter_subset _ _\n\n/-- If a vertex $v$ is NOT in the $\\alpha$-core, then removing $v$ does not decrease $\\alpha$. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) (v : Fin 3)\n    (hv : v ∉ alphaCore G) :\n    G.indepNum ≤ indepNumDeleteVertex G v := by\n  unfold alphaCore at hv\n  simp [Finset.mem_filter] at hv\n  exact hv\n\n/-- If a vertex $v$ IS in the $\\alpha$-core, then removing $v$ strictly decreases $\\alpha$. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) (v : Fin 3)\n    (hv : v ∈ alphaCore G) :\n    indepNumDeleteVertex G v < G.indepNum := by\n  unfold alphaCore at hv\n  exact (Finset.mem_filter.mp hv).2\n\nend WrittenOnTheWallII.GraphConjecture101\n",
  "statement_hash": "538277d61d6c1a3a0dbde823a98d64f557a073f78e8acfac1170d92ac65164e9",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}