{
  "id": "8694",
  "ident": "NS.08694",
  "slug": "wotw-graphconjecture20",
  "title": "Written on the Wall II - Conjecture 20",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 20](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph `G`, `b(G) ≥ n(G) / ⌊deg_avg(G)⌋`, where `b(G)` is\nthe size of a largest induced bipartite subgraph, `n(G)` is the number of vertices,\nand `deg_avg(G) = (∑ v, deg(v)) / n(G)` is the average degree.\n\nFollows from the weighted induced-subgraph bound of Alon, Kahn and Seymour [AKS87].\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.GraphConjecture20.conjecture20",
  "statement_lean": "theorem conjecture20 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    let deg_avg : ℝ := (∑ v : α, (G.degree v : ℝ)) / (Fintype.card α : ℝ)\n    (Fintype.card α : ℝ) / (⌊deg_avg⌋ : ℝ) ≤ (b G : ℝ)",
  "challenge_source": "/-\nCopyright 2025 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 20\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- [AKS87] N. Alon, J. Kahn and P. D. Seymour, [Large Induced Degenerate Subgraphs](https://doi.org/10.1007/BF01788542), Graphs and Combinatorics 3 (1987), 203–211.\n- [Li26] Wentao Li, [Lean proof of WOWII 20](https://github.com/VictorLiwentao/lean-graph-proofs/blob/9ce66be23570e0a9c8a6ae3f19f52e642878a8a9/proofs/WOWII20/PROOF.md), 2026.\n-/\n\n@[expose] public section\n\nnamespace WrittenOnTheWallII.GraphConjecture20\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 20](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph `G`, `b(G) ≥ n(G) / ⌊deg_avg(G)⌋`, where `b(G)` is\nthe size of a largest induced bipartite subgraph, `n(G)` is the number of vertices,\nand `deg_avg(G) = (∑ v, deg(v)) / n(G)` is the average degree.\n\nFollows from the weighted induced-subgraph bound of Alon, Kahn and Seymour [AKS87].\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/WOWII20.lean#L499\"]\ntheorem conjecture20 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :\n    let deg_avg : ℝ := (∑ v : α, (G.degree v : ℝ)) / (Fintype.card α : ℝ)\n    (Fintype.card α : ℝ) / (⌊deg_avg⌋ : ℝ) ≤ (b G : ℝ) := by\n  sorry\n\n-- Sanity checks\n\n/-- The number of vertices of `K₃` is 3. -/\n@[category test, AMS 5]\nexample : Fintype.card (Fin 3) = 3 := by decide\n\n/-- The average degree of `K₃` is 2 (every vertex has degree 2 in the complete graph on 3 vertices). -/\n@[category test, AMS 5]\nexample : averageDegree (⊤ : SimpleGraph (Fin 3)) = 2 := by\n  unfold averageDegree; simp [Fintype.card_fin]\n\nend WrittenOnTheWallII.GraphConjecture20\n",
  "statement_hash": "d13aac7572e8ce5bb608aa906ed5ca83fac23b68862275231e41451ce8414c65",
  "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."
}