{
  "id": "8682",
  "ident": "NS.08682",
  "slug": "wotw-graphconjecture18",
  "title": "Written on the Wall II - Conjecture 18",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 18](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$, the size $b(G)$ of a largest induced bipartite\nsubgraph satisfies\n$b(G) \\ge \\alpha(G) + \\lceil \\sqrt{\\mathrm{dist}_{\\max}(M)} \\rceil$,\nwhere $\\alpha(G)$ is the independence number, $M$ is the set of maximum-degree\nvertices, and $\\mathrm{dist}_{\\max}(M) = \\max\\{\\mathrm{dist}_G(u,v) \\mid u, v \\in M\\}$\nis the maximum distance between two maximum-degree vertices (DeLaVina's\n`dist_max(M)`). Proven by Benny John (Feb. 2006), generalizing Schindl's proof\nof conjecture 17.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture18.conjecture18",
  "statement_lean": "theorem conjecture18 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    let M : Set α := {v | G.degree v = G.maxDegree}\n    (G.indepNum : ℝ) + ⌈Real.sqrt (distMaxSet G M : ℝ)⌉ ≤ b G",
  "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 18\n\n*Reference:*\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.GraphConjecture18\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\n/--\nWOWII [Conjecture 18](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$, the size $b(G)$ of a largest induced bipartite\nsubgraph satisfies\n$b(G) \\ge \\alpha(G) + \\lceil \\sqrt{\\mathrm{dist}_{\\max}(M)} \\rceil$,\nwhere $\\alpha(G)$ is the independence number, $M$ is the set of maximum-degree\nvertices, and $\\mathrm{dist}_{\\max}(M) = \\max\\{\\mathrm{dist}_G(u,v) \\mid u, v \\in M\\}$\nis the maximum distance between two maximum-degree vertices (DeLaVina's\n`dist_max(M)`). Proven by Benny John (Feb. 2006), generalizing Schindl's proof\nof conjecture 17.\n-/\n@[category research solved, AMS 5]\ntheorem conjecture18 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    let M : Set α := {v | G.degree v = G.maxDegree}\n    (G.indepNum : ℝ) + ⌈Real.sqrt (distMaxSet G M : ℝ)⌉ ≤ b G := by\n  sorry\n\n-- Sanity checks\n\n/-- The invariant `b G` is nonneg (cast of a natural number). -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ b G := Nat.cast_nonneg _\n\n/-- In $K_3$, the max degree is $2$. -/\n@[category test, AMS 5]\nexample : (⊤ : SimpleGraph (Fin 3)).maxDegree = 2 := by decide\n\n/-- `eccSet G S` is always nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) (S : Set (Fin 3)) : 0 ≤ eccSet G S := Nat.zero_le _\n\n/-- `distToSet G v S` is always nonneg (it is a natural number). -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) (v : Fin 3) (S : Set (Fin 3)) : 0 ≤ distToSet G v S :=\n  Nat.zero_le _\n\nend WrittenOnTheWallII.GraphConjecture18\n",
  "statement_hash": "a2abd428501d6bbacab0a265350c5c1287594f3bfccd22cff8538c37b5a0296c",
  "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."
}