{
  "id": "8703",
  "ident": "NS.08703",
  "slug": "wotw-graphconjecture309",
  "title": "Written on the Wall II - Conjecture 309",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Does every finite simple connected graph $G$ of order greater than two satisfy\n$$\n\\gamma_t(G) \\leq \\frac{1}{2}\\left(\n\\max_v(\\operatorname{distEven}(v)-\\operatorname{evenHorizontal}(v))+\n\\min_{e\\in E(\\overline G)}|N_{\\overline G}(e)|\\right)?\n$$\nGebendorfer disproved the statement with the family $C_5[K_k]$, $k \\geq 3$.",
  "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.GraphConjecture309.conjecture309",
  "statement_lean": "theorem conjecture309 : ¬ conjecture309Statement",
  "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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Written on the Wall II - Conjecture 309\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- [J. J. Gebendorfer, An Infinite Family of Counterexamples to Written on the Wall II,\n  Conjecture 309](https://doi.org/10.5281/zenodo.21553295)\n\nThe conjecture is false for the clique blow-ups $C_5[K_k]$ for every $k \\geq 3$.\n-/\n\n@[expose] public section\n\nnamespace WrittenOnTheWallII.GraphConjecture309\n\nopen SimpleGraph\n\nvariable {V : Type} [Fintype V] [DecidableEq V]\n\n/-- The number of edges whose endpoints are at the same even distance from $v$. -/\ndef evenHorizontal (G : SimpleGraph V) [DecidableRel G.Adj] (v : V) : ℕ :=\n  (G.edgeFinset.filter fun e =>\n    let distances := e.toFinset.image (G.computable_dist v)\n    distances.card = 1 ∧ ∃ d ∈ distances, Even d).card\n\n/-- The maximum of $\\operatorname{distEven}(v)-\\operatorname{evenHorizontal}(v)$. -/\nnoncomputable def maxEvenCorrection (G : SimpleGraph V) [Nonempty V]\n    [DecidableRel G.Adj] : ℤ :=\n  (Finset.univ.image\n    (fun v => (G.distEven v : ℤ) - (evenHorizontal G v : ℤ))).max' (by simp)\n\n/-- The minimum complement-edge neighborhood-union order, when a complement edge exists. -/\ndef minComplementEdgeNeighborhood (G : SimpleGraph V)\n    [DecidableRel G.Adj] : Option ℕ :=\n  Gᶜ.edgeFinset.image\n    (fun e => Sym2.lift ⟨fun u w =>\n      (Gᶜ.neighborFinset u ∪ Gᶜ.neighborFinset w).card,\n      fun u w => by\n        change (Gᶜ.neighborFinset u ∪ Gᶜ.neighborFinset w).card =\n          (Gᶜ.neighborFinset w ∪ Gᶜ.neighborFinset u).card\n        rw [Finset.union_comm]⟩ e) |>.min\n\n/--\nThe universal inequality proposed in WOWII Conjecture 309. The `Option`-valued\nminimum makes the statement vacuous for complete graphs, whose complements\nhave no edge; this totalization does not affect the counterexample.\n-/\ndef conjecture309Statement : Prop :=\n  ∀ (V : Type) [Fintype V] [DecidableEq V] [Nonempty V]\n    (G : SimpleGraph V) [DecidableRel G.Adj], G.Connected → 2 < Fintype.card V →\n    ∀ mt ∈ minComplementEdgeNeighborhood G,\n      (G.totalDominationNumber : ℝ) ≤\n        ((maxEvenCorrection G : ℝ) + (mt : ℝ)) / 2\n\nset_option linter.style.formal_proof_palomar false in\n/--\nDoes every finite simple connected graph $G$ of order greater than two satisfy\n$$\n\\gamma_t(G) \\leq \\frac{1}{2}\\left(\n\\max_v(\\operatorname{distEven}(v)-\\operatorname{evenHorizontal}(v))+\n\\min_{e\\in E(\\overline G)}|N_{\\overline G}(e)|\\right)?\n$$\nGebendorfer disproved the statement with the family $C_5[K_k]$, $k \\geq 3$.\n-/\n@[category research solved, question, AMS 5,\n  formal_proof using lean4 at \"https://github.com/Kuberwastaken/c5-k4/blob/c9daf0f594d6d5b264c6cd54dc9eec488cb64741/lean/GraphConjecture309.lean\"]\ntheorem conjecture309 : ¬ conjecture309Statement := by\n  sorry\n\nend WrittenOnTheWallII.GraphConjecture309\n",
  "statement_hash": "6c59036856c0ae91963e2e766eca2fa8782126dc44999a26364f62ace23c9566",
  "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."
}