{
  "id": "8685",
  "ident": "NS.08685",
  "slug": "wotw-graphconjecture19",
  "title": "Written on the Wall II - Conjecture 19",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 19](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nIf $G$ is connected then the size $b(G)$ of a largest induced bipartite subgraph\nsatisfies\n$b(G) \\ge \\left\\lfloor \\frac{\\sum_v \\mathrm{ecc}(v)}{|V|} + \\sup_v l(v) \\right\\rfloor$,\nwhere $\\mathrm{ecc}(v)$ denotes eccentricity and $l(v)$ is the independence number of the\nneighbourhood of $v$.\n\n**Proof outline.** Pick $u$ maximising $l(u)$, let $e = \\mathrm{ecc}(u)$ and\n$D = \\mathrm{diam}(G)$, and let $I \\subseteq N(u)$ be an independent set with $|I| = l(u)$.\nAny family of sets $B_d$, each independent and contained in the distance sphere\n$\\{v \\mid \\mathrm{dist}(u, v) = d\\}$, induces a bipartite subgraph (colour by the parity of\n$\\mathrm{dist}(u, \\cdot)$), so $b(G) \\ge \\sum_d |B_d|$.\n* If $D \\le e$, every eccentricity is at most $e$, so the average is at most $e$. Take\n  $B_0 = \\{u\\}$, $B_1 = I$, and one vertex of a geodesic from $u$ to an eccentric vertex on\n  each sphere $2 \\le d \\le e$; this gives $b(G) \\ge e + l(u)$.\n* If $e < D$, the average eccentricity is strictly less than $D$. Take a diametral pair\n  $x, y$. On each sphere $d$ in a suitable range, the vertices of geodesics $u \\to x$ and\n  $u \\to y$ at distance $d$ from $u$ are at distance at least $2$ from each other (triangle\n  inequality with $\\mathrm{dist}(x, y) = D$), so they can share $B_d$; counting gives\n  $b(G) \\ge D - 1 + l(u)$.\nIn both cases the floor of the average plus $l(u)$ is at most $b(G)$.",
  "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.GraphConjecture19.conjecture19",
  "statement_lean": "theorem conjecture19 (G : SimpleGraph α) [Nontrivial α] (h_conn : G.Connected) :\n    ⌊(∑ v ∈ Finset.univ, ((G.eccent v).toNat : ℝ)) / (Fintype.card α : ℝ) +\n      sSup (Set.range (indepNeighbors G))⌋ ≤ 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 19\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\n\n\nnamespace WrittenOnTheWallII.GraphConjecture19\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α]\n\n/--\nWOWII [Conjecture 19](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nIf $G$ is connected then the size $b(G)$ of a largest induced bipartite subgraph\nsatisfies\n$b(G) \\ge \\left\\lfloor \\frac{\\sum_v \\mathrm{ecc}(v)}{|V|} + \\sup_v l(v) \\right\\rfloor$,\nwhere $\\mathrm{ecc}(v)$ denotes eccentricity and $l(v)$ is the independence number of the\nneighbourhood of $v$.\n\n**Proof outline.** Pick $u$ maximising $l(u)$, let $e = \\mathrm{ecc}(u)$ and\n$D = \\mathrm{diam}(G)$, and let $I \\subseteq N(u)$ be an independent set with $|I| = l(u)$.\nAny family of sets $B_d$, each independent and contained in the distance sphere\n$\\{v \\mid \\mathrm{dist}(u, v) = d\\}$, induces a bipartite subgraph (colour by the parity of\n$\\mathrm{dist}(u, \\cdot)$), so $b(G) \\ge \\sum_d |B_d|$.\n* If $D \\le e$, every eccentricity is at most $e$, so the average is at most $e$. Take\n  $B_0 = \\{u\\}$, $B_1 = I$, and one vertex of a geodesic from $u$ to an eccentric vertex on\n  each sphere $2 \\le d \\le e$; this gives $b(G) \\ge e + l(u)$.\n* If $e < D$, the average eccentricity is strictly less than $D$. Take a diametral pair\n  $x, y$. On each sphere $d$ in a suitable range, the vertices of geodesics $u \\to x$ and\n  $u \\to y$ at distance $d$ from $u$ are at distance at least $2$ from each other (triangle\n  inequality with $\\mathrm{dist}(x, y) = D$), so they can share $B_d$; counting gives\n  $b(G) \\ge D - 1 + l(u)$.\nIn both cases the floor of the average plus $l(u)$ is at most $b(G)$.\n-/\n@[category research solved, AMS 5,\n  formal_proof using lean4 at\n    \"https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-16-000014\"]\ntheorem conjecture19 (G : SimpleGraph α) [Nontrivial α] (h_conn : G.Connected) :\n    ⌊(∑ v ∈ Finset.univ, ((G.eccent v).toNat : ℝ)) / (Fintype.card α : ℝ) +\n      sSup (Set.range (indepNeighbors G))⌋ ≤ b G := by\n  sorry\n\nend WrittenOnTheWallII.GraphConjecture19\n",
  "statement_hash": "17fc059b79b6caf678a421f68e9211c9aabf964326344204db1b95a6e08f9f98",
  "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."
}