{
  "id": "8711",
  "ident": "NS.08711",
  "slug": "wotw-graphconjecture33",
  "title": "Written on the Wall II - Conjecture 33",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 33](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\operatorname{path}(G) \\ge \\lceil 2 \\operatorname{dist}\\_{\\operatorname{avg}}(M, V) \\rceil$,\nwhere $\\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,\n$M$ is the set of maximum-degree vertices, and\n$\\operatorname{dist}\\_{\\operatorname{avg}}(M, V)$ is the average of all nonzero distances\n$\\operatorname{dist}\\_G(m, v)$ with $m \\in M$ and $v \\in V$.\n\nThe conjecture is false: the source records an October 2005 counterexample with\n$\\operatorname{path}(G) = 7$ and $\\operatorname{dist}\\_{\\operatorname{avg}}(M, V) = 3.56$.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture33.conjecture33",
  "statement_lean": "theorem conjecture33 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),\n      let M : Set α := {v | G.degree v = G.maxDegree}\n      let distAvg : ℝ",
  "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 33\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.GraphConjecture33\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\n/--\nWOWII [Conjecture 33](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\operatorname{path}(G) \\ge \\lceil 2 \\operatorname{dist}\\_{\\operatorname{avg}}(M, V) \\rceil$,\nwhere $\\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,\n$M$ is the set of maximum-degree vertices, and\n$\\operatorname{dist}\\_{\\operatorname{avg}}(M, V)$ is the average of all nonzero distances\n$\\operatorname{dist}\\_G(m, v)$ with $m \\in M$ and $v \\in V$.\n\nThe conjecture is false: the source records an October 2005 counterexample with\n$\\operatorname{path}(G) = 7$ and $\\operatorname{dist}\\_{\\operatorname{avg}}(M, V) = 3.56$.\n-/\n@[category research solved, question, AMS 5]\ntheorem conjecture33 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),\n      let M : Set α := {v | G.degree v = G.maxDegree}\n      let distAvg : ℝ :=\n        open scoped Classical in\n        let pairs := (M.toFinset ×ˢ Finset.univ).filter (fun p => G.dist p.1 p.2 ≠ 0)\n        (∑ p ∈ pairs, (G.dist p.1 p.2 : ℝ)) / pairs.card\n      Int.ceil (2 * distAvg) ≤ (path G : ℤ) := by\n  sorry\n\n-- Sanity checks\n\n/-- The `path G` invariant cast to ℤ is nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ (path G : ℤ) := Int.natCast_nonneg _\n\n/-- In `K₃`, the max degree is 2. -/\n@[category test, AMS 5]\nexample : (⊤ : SimpleGraph (Fin 3)).maxDegree = 2 := by decide\n\nend WrittenOnTheWallII.GraphConjecture33\n",
  "statement_hash": "29f62c78d82bf1586235021fc2993713048997d944c848a3c803c058abd93aa6",
  "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."
}