{
  "id": "8707",
  "ident": "NS.08707",
  "slug": "wotw-graphconjecture316",
  "title": "Written on the Wall II - Conjecture 316",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 316](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nLet `G` be a simple connected graph and let `P` denote the set of pendant vertices\n(vertices of degree 1). If `|P| ≥ deg_avg(Gᶜ)`, then `G` is well totally dominated,\nwhere `deg_avg(Gᶜ)` is the average degree of the complement of `G`.\n\n**Proof sketch.** In the trivial cases (`P = ∅`, or at most `2` vertices) `G` is complete,\nand complete graphs are well totally dominated. Otherwise the set `C` of non-pendant\nvertices satisfies `|C| ≤ 3` and is a clique of `G`, and a case split on the set `Q ⊆ C`\nof neighbours of pendant vertices shows that `G` is well totally dominated.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "conjecture",
    "formal_proof"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture316.conjecture316",
  "statement_lean": "theorem conjecture316 (G : SimpleGraph α) [DecidableRel G.Adj] (hG : G.Connected)\n    (h : (averageDegree Gᶜ : ℚ) ≤ (pendantVertices G).card) :\n    IsWellTotallyDominated 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# Written on the Wall II - Conjecture 316\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.GraphConjecture316\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α]\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 316](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nLet `G` be a simple connected graph and let `P` denote the set of pendant vertices\n(vertices of degree 1). If `|P| ≥ deg_avg(Gᶜ)`, then `G` is well totally dominated,\nwhere `deg_avg(Gᶜ)` is the average degree of the complement of `G`.\n\n**Proof sketch.** In the trivial cases (`P = ∅`, or at most `2` vertices) `G` is complete,\nand complete graphs are well totally dominated. Otherwise the set `C` of non-pendant\nvertices satisfies `|C| ≤ 3` and is a clique of `G`, and a case split on the set `Q ⊆ C`\nof neighbours of pendant vertices shows that `G` is well totally dominated.\n-/\n@[category research solved, AMS 5,\n  formal_proof using lean4 at \"https://github.com/KitaKen1/wowii-graph-conjecture-316-lean/blob/3335e07151bc43e86d5c104dd30fee3596f06410/GraphConjecture316.lean\"]\ntheorem conjecture316 (G : SimpleGraph α) [DecidableRel G.Adj] (hG : G.Connected)\n    (h : (averageDegree Gᶜ : ℚ) ≤ (pendantVertices G).card) :\n    IsWellTotallyDominated G := by\n  sorry\n\n-- Sanity checks\n\n/-- The average degree of the edgeless graph on 3 vertices is 0. -/\n@[category test, AMS 5]\nexample : averageDegree (⊥ : SimpleGraph (Fin 3)) = 0 := by\n  unfold averageDegree; simp [Fintype.card_fin]\n\n/-- In `P₃` (path 0-1-2), the average degree is 4/3 and there are 2 pendant vertices. -/\n@[category test, AMS 5]\nexample : averageDegree (SimpleGraph.fromEdgeSet {s(0,1), s(1,2)} : SimpleGraph (Fin 3)) = 4/3 := by\n  unfold averageDegree\n  decide +kernel\n\nend WrittenOnTheWallII.GraphConjecture316\n",
  "statement_hash": "6a6c565d72c7286494a2d7e5aa1f61b98b5158bef637fdceffc5271af6970d4a",
  "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."
}