{
  "id": "8718",
  "ident": "NS.08718",
  "slug": "wotw-graphconjecture36",
  "title": "Written on the Wall II - Conjecture 36",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 36](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj36):\n\nFor every finite simple connected graph $G$,\n$\\operatorname{path}(G) \\ge 2 \\cdot \\operatorname{rad}(G) / \\operatorname{dp}(G)$,\nwhere $\\operatorname{path}(G)$ is the number of vertices in a largest induced path,\n$\\operatorname{rad}(G)$ is the radius of $G$, and $\\operatorname{dp}(G)$ is the number\nof *diametrical pairs* of $G$ — that is, the number of pairs of vertices at distance\n$\\operatorname{diam}(G)$.\n\nDisproved by Waller in Oct 2003 (counterexample: path number 5, radius 3, dp 1).",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture36.conjecture36",
  "statement_lean": "theorem conjecture36 :\n    ¬ ∀ {α : Type} [Fintype α] [DecidableEq α] [Nontrivial α],\n      ∀ (G : SimpleGraph α) [DecidableRel G.Adj] (_ : G.Connected) (_ : 0 < dp G),\n        (2 * G.radius.toNat : ℝ) / (dp G : ℝ) ≤ (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 36\n\nThe conjecture is false. The counterexample below has a subdivided triangle on\nvertices `0`, `1`, `9`; vertices `7`, `8` adjacent to all three triangle\nvertices; and leaves `3`, `2` attached to `7`, `8`, respectively. It has radius\nthree, one diametrical pair, and largest induced-path order five.\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.GraphConjecture36\n\nopen SimpleGraph\n\n/-- `dp G` is the number of diametrical pairs of `G`: the number of unordered\npairs `{u, v}` of vertices at distance `diam(G)`.  -/\nnoncomputable def dp {α : Type*} [Fintype α] (G : SimpleGraph α) : ℕ :=\n  open scoped Classical in\n  (Finset.univ.filter\n    (fun p : Sym2 α => p.lift ⟨fun u v => G.dist u v = G.diam ∧ u ≠ v,\n      fun u v => by simp [SimpleGraph.dist_comm, ne_comm]⟩)).card\n\n/-- A 10-vertex counterexample to Conjecture 36. -/\nabbrev wowii36Counterexample : SimpleGraph (Fin 10) :=\n  SimpleGraph.fromEdgeSet {\n    s(0, 4), s(0, 5), s(0, 7), s(0, 8),\n    s(1, 4), s(1, 6), s(1, 7), s(1, 8),\n    s(2, 8), s(3, 7),\n    s(5, 9), s(6, 9), s(7, 9), s(8, 9)\n  }\n\n/-- The counterexample is connected. -/\n@[category test, AMS 5]\ntheorem wowii36Counterexample_connected : wowii36Counterexample.Connected := by\n  decide +native\n\n/-- The counterexample has radius three. -/\n@[category test, AMS 5]\ntheorem wowii36Counterexample_radius : wowii36Counterexample.radius.toNat = 3 := by\n  rw [radius_eq_computable wowii36Counterexample wowii36Counterexample_connected]\n  decide +native\n\n/-- The counterexample contains no induced path on six vertices. -/\n@[category test, AMS 5]\ntheorem wowii36Counterexample_no_inducedPath6 :\n    ¬ ∃ e : Fin 6 → Fin 10, Function.Injective e ∧\n      ∀ i j : Fin 6, wowii36Counterexample.Adj (e i) (e j) ↔\n        i.val + 1 = j.val ∨ j.val + 1 = i.val := by\n  native_decide\n\n/-- The largest induced path in the counterexample has exactly five vertices. -/\n@[category test, AMS 5]\ntheorem wowii36Counterexample_path : path wowii36Counterexample = 5 := by\n  apply Nat.le_antisymm\n  · exact path_le_of_not_exists_inducedPath_succ wowii36Counterexample 5\n      wowii36Counterexample_no_inducedPath6\n  · have hpath : wowii36Counterexample.isInducedPath [2, 8, 0, 7, 3] := by\n      constructor\n      · decide\n      · intro i j\n        fin_cases i <;> fin_cases j <;> native_decide\n    simpa using length_le_path_of_isInducedPath\n      wowii36Counterexample [2, 8, 0, 7, 3] hpath\n\n/-- The counterexample has a unique diametrical pair, namely `{2, 3}`. -/\n@[category test, AMS 5]\ntheorem wowii36Counterexample_dp : dp wowii36Counterexample = 1 := by\n  have hdiam : wowii36Counterexample.diam = 4 := by\n    unfold SimpleGraph.diam\n    rw [ediam_eq_computable wowii36Counterexample wowii36Counterexample_connected]\n    decide +native\n  unfold dp\n  rw [Finset.card_eq_one]\n  refine ⟨s(2, 3), ?_⟩\n  ext pair\n  simp only [Finset.mem_filter, Finset.mem_univ, true_and, Finset.mem_singleton]\n  induction pair using Sym2.inductionOn with\n  | _ u v =>\n      simp only [Sym2.lift_mk]\n      rw [hdiam, SimpleGraph.dist_eq_computable]\n      fin_cases u <;> fin_cases v <;> native_decide\n\n/--\nWOWII [Conjecture 36](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj36):\n\nFor every finite simple connected graph $G$,\n$\\operatorname{path}(G) \\ge 2 \\cdot \\operatorname{rad}(G) / \\operatorname{dp}(G)$,\nwhere $\\operatorname{path}(G)$ is the number of vertices in a largest induced path,\n$\\operatorname{rad}(G)$ is the radius of $G$, and $\\operatorname{dp}(G)$ is the number\nof *diametrical pairs* of $G$ — that is, the number of pairs of vertices at distance\n$\\operatorname{diam}(G)$.\n\nDisproved by Waller in Oct 2003 (counterexample: path number 5, radius 3, dp 1).\n-/\n@[category research solved, question, AMS 5]\ntheorem conjecture36 :\n    ¬ ∀ {α : Type} [Fintype α] [DecidableEq α] [Nontrivial α],\n      ∀ (G : SimpleGraph α) [DecidableRel G.Adj] (_ : G.Connected) (_ : 0 < dp G),\n        (2 * G.radius.toNat : ℝ) / (dp G : ℝ) ≤ (path G : ℝ) := by\n  intro h\n  have hbad := h (α := Fin 10) wowii36Counterexample\n    wowii36Counterexample_connected (by\n      rw [wowii36Counterexample_dp]\n      norm_num)\n  rw [wowii36Counterexample_radius, wowii36Counterexample_dp,\n    wowii36Counterexample_path] at hbad\n  norm_num at hbad\n\n-- Sanity checks\n\n/-- The `path G` invariant is nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ (path G : ℝ) := Nat.cast_nonneg _\n\nend WrittenOnTheWallII.GraphConjecture36\n",
  "statement_hash": "3daea5e352d7aaca7b860d5a37d5ea396415a72d41255794c0c5b736fb55eb5b",
  "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."
}