{
  "id": "8708",
  "ident": "NS.08708",
  "slug": "wotw-graphconjecture32",
  "title": "Written on the Wall II - Conjecture 32",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 32](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\operatorname{path}(G) \\ge \\operatorname{dist}\\_{\\operatorname{avg}}(A) + 0.5 \\cdot \\operatorname{ecc}\\_{\\operatorname{avg}}(M)$,\nwhere $\\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,\n$A$ is the set of minimum-degree vertices, $M$ is the set of maximum-degree vertices,\n$\\operatorname{dist}\\_{\\operatorname{avg}}(A)$ is the average of all nonzero distances\n$\\operatorname{dist}\\_G(u, v)$ with $u, v \\in A$ (i.e. the average over ordered pairs of\ndistinct vertices of $A$; it is taken to be $0$ when $A$ has fewer than two vertices), and\n$\\operatorname{ecc}\\_{\\operatorname{avg}}(M)$ is the average eccentricity of the vertices\nin $M$.\n\nThe conjecture is false, the authors present a counterexample: \"The path on 5 vertices\nis a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum\ndegree vertices is 8/3.\"\n\nIndependent Lean formalization by Wentao Li, with AI assistance. An earlier Lean proof\nis recorded in the Epoch review archived in\n[tadamcz/fc-review-results](https://github.com/tadamcz/fc-review-results/blob/971290dd3e0e4dce063f98feaa8ecb9e51acd5ec/data/782312817c/files/WrittenOnTheWallII/GraphConjecture32.json).",
  "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.GraphConjecture32.conjecture32",
  "statement_lean": "theorem conjecture32 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),\n      let A : Finset α := Finset.univ.filter (fun v => G.degree v = G.minDegree)\n      let M : Finset α := Finset.univ.filter (fun v => G.degree v = G.maxDegree)\n      let distavgA : ℝ := (∑ p ∈ A.offDiag, (G.dist p.1 p.2 : ℝ)) / (A.offDiag.card : ℝ)\n      let eccavg (S : Finset α) : ℝ := (∑ v ∈ S, (G.eccent v).toNat) / (S.card : ℝ)\n      distavgA + (1 / 2 : ℝ) * eccavg M ≤ (path G : ℝ)",
  "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-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Written on the Wall II - Conjecture 32\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.GraphConjecture32\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 32](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\operatorname{path}(G) \\ge \\operatorname{dist}\\_{\\operatorname{avg}}(A) + 0.5 \\cdot \\operatorname{ecc}\\_{\\operatorname{avg}}(M)$,\nwhere $\\operatorname{path}(G)$ is the number of vertices of a largest induced path of $G$,\n$A$ is the set of minimum-degree vertices, $M$ is the set of maximum-degree vertices,\n$\\operatorname{dist}\\_{\\operatorname{avg}}(A)$ is the average of all nonzero distances\n$\\operatorname{dist}\\_G(u, v)$ with $u, v \\in A$ (i.e. the average over ordered pairs of\ndistinct vertices of $A$; it is taken to be $0$ when $A$ has fewer than two vertices), and\n$\\operatorname{ecc}\\_{\\operatorname{avg}}(M)$ is the average eccentricity of the vertices\nin $M$.\n\nThe conjecture is false, the authors present a counterexample: \"The path on 5 vertices\nis a counterexample, path = 5, distavg(A) = 4 and the average of eccentricity of maximum\ndegree vertices is 8/3.\"\n\nIndependent Lean formalization by Wentao Li, with AI assistance. An earlier Lean proof\nis recorded in the Epoch review archived in\n[tadamcz/fc-review-results](https://github.com/tadamcz/fc-review-results/blob/971290dd3e0e4dce063f98feaa8ecb9e51acd5ec/data/782312817c/files/WrittenOnTheWallII/GraphConjecture32.json).\n-/\n@[category research solved, question, AMS 5,\n  formal_proof using lean4 at \"https://github.com/VictorLiwentao/lean-graph-proofs/blob/b60c2e548910b32eb3b602f6a8e67af806e4b9f6/LeanGraphProofs/WOWII32.lean#L114\"]\ntheorem conjecture32 :\n    ¬ ∀ (α : Type) [Fintype α] [DecidableEq α] [Nontrivial α]\n      (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected),\n      let A : Finset α := Finset.univ.filter (fun v => G.degree v = G.minDegree)\n      let M : Finset α := Finset.univ.filter (fun v => G.degree v = G.maxDegree)\n      let distavgA : ℝ := (∑ p ∈ A.offDiag, (G.dist p.1 p.2 : ℝ)) / (A.offDiag.card : ℝ)\n      let eccavg (S : Finset α) : ℝ := (∑ v ∈ S, (G.eccent v).toNat) / (S.card : ℝ)\n      distavgA + (1 / 2 : ℝ) * eccavg M ≤ (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 : ℝ) := Nat.cast_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.GraphConjecture32\n",
  "statement_hash": "256d6389d952d9c289ed88428ca7dcf16c8b1aa37aaedada73ff1b2f0942c34e",
  "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."
}