{
  "id": "8725",
  "ident": "NS.08725",
  "slug": "wotw-graphconjecture59",
  "title": "Written on the Wall II - Conjecture 59",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 59](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$, the size $f(G)$ of a largest induced forest\nsatisfies $f(G) \\ge \\lceil \\sqrt{\\mathrm{residue}(G) \\cdot b(G)} \\rceil$, where\n$\\mathrm{residue}(G)$ is the Havel-Hakimi residue (the number of zeros remaining\nafter applying the Havel-Hakimi algorithm to the degree sequence until termination)\nand $b(G)$ is the size of a largest induced bipartite subgraph.\n\nSee: Favaron, Mahéo, Saclé (1991) for the residue; DeLaVina's Graffiti.pc for the conjecture.\n\nThis conjecture is false. There is a connected counterexample on 123 vertices\nwith `residue G = 101`, `b G = 122`, and `G.largestInducedForestSize = 111`.\nIndeed, `101 * 122 = 12322 = 111 ^ 2 + 1`, so the conjectured lower bound is 112.\n\nThere is also an 18-vertex counterexample. Take a bipartite chain graph on\nvertices `0, ..., 9`, with parts `{0, ..., 4}` and `{5, ..., 9}`, a hub `10`\nadjacent to every core vertex, and leaves `11, ..., 17` attached at the hub.\nIt has residue 10, `b = 17`, and largest induced forest 13.\n`⌈√170⌉ = 14`, so it falsifies the bound.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture59.conjecture59",
  "statement_lean": "theorem conjecture59 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (_ : G.Connected),\n      ⌈Real.sqrt ((residue G : ℝ) * b G)⌉ ≤ (G.largestInducedForestSize : ℝ)",
  "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 59\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-/\n\n@[expose] public section\n\nnamespace WrittenOnTheWallII.GraphConjecture59\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 59](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$, the size $f(G)$ of a largest induced forest\nsatisfies $f(G) \\ge \\lceil \\sqrt{\\mathrm{residue}(G) \\cdot b(G)} \\rceil$, where\n$\\mathrm{residue}(G)$ is the Havel-Hakimi residue (the number of zeros remaining\nafter applying the Havel-Hakimi algorithm to the degree sequence until termination)\nand $b(G)$ is the size of a largest induced bipartite subgraph.\n\nSee: Favaron, Mahéo, Saclé (1991) for the residue; DeLaVina's Graffiti.pc for the conjecture.\n\nThis conjecture is false. There is a connected counterexample on 123 vertices\nwith `residue G = 101`, `b G = 122`, and `G.largestInducedForestSize = 111`.\nIndeed, `101 * 122 = 12322 = 111 ^ 2 + 1`, so the conjectured lower bound is 112.\n\nThere is also an 18-vertex counterexample. Take a bipartite chain graph on\nvertices `0, ..., 9`, with parts `{0, ..., 4}` and `{5, ..., 9}`, a hub `10`\nadjacent to every core vertex, and leaves `11, ..., 17` attached at the hub.\nIt has residue 10, `b = 17`, and largest induced forest 13.\n`⌈√170⌉ = 14`, so it falsifies the bound.\n-/\n@[category research solved, question, AMS 5,\n  formal_proof using lean4 at \"https://github.com/QDKStorm/wowii59-counterexample/blob/main/Counterexample59.lean\",\n  formal_proof using formal_conjectures at \"https://github.com/anagnorisis2peripeteia/formal-conjectures/blob/69388817d384ea44a5ef4b2aed1097c8281f9c3a/FormalConjectures/WrittenOnTheWallII/GraphConjecture59.lean\"]\ntheorem conjecture59 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (_ : G.Connected),\n      ⌈Real.sqrt ((residue G : ℝ) * b G)⌉ ≤ (G.largestInducedForestSize : ℝ) := by\n  sorry\n\n-- Sanity checks\n\n/-- The `largestInducedForestSize` is nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ G.largestInducedForestSize := Nat.zero_le _\n\n/-- The residue of $K_2$ equals $1$: degree sequence is $[1, 1]$; one Havel-Hakimi\nstep gives $[0]$, leaving a single zero. -/\n@[category test, AMS 5]\nexample : residue (⊤ : SimpleGraph (Fin 2)) = 1 := by\n  simp [residue, Fin.univ_succ, Multiset.sort_cons, residueAux, havelHakimiStep]\n\nend WrittenOnTheWallII.GraphConjecture59\n",
  "statement_hash": "ab6d60498d5fcf28fc17a98dd1728fb2bcb36f6ac5d483da768de43952e944e4",
  "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."
}