{
  "id": "8677",
  "ident": "NS.08677",
  "slug": "wotw-graphconjecture146",
  "title": "Written on the Wall II - Conjecture 146",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 146](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\mathrm{tree}(G) \\ge 2 \\cdot \\mathrm{ecc}(B) / \\mathrm{rad}(G^2)$\nwhere $\\mathrm{tree}(G)$ is the number of vertices in a largest induced subtree,\n$\\mathrm{ecc}(B)$ is the eccentricity of the boundary vertices of $G$ (`eccSet`\nand `maxEccentricityVertices`), and $\\mathrm{rad}(G^2)$ is the radius of the square\ngraph of $G$.\n\nWe state the inequality in the form\n$\\mathrm{tree}(G) \\cdot \\mathrm{rad}(G^2) \\ge 2 \\cdot \\mathrm{ecc}(B)$ to avoid division.\n\n## Informal proof\n\nWrite $t$ for the largest induced-tree order, $r$ and $d$ for the radius and\ndiameter of $G$, and $p$ for the eccentricity of its peripheral set.  First,\nthe distance in the graph square is\n$\\operatorname{dist}_{G^2}(u,v)=\\lceil\\operatorname{dist}_G(u,v)/2\\rceil$,\nso $\\operatorname{rad}(G^2)=\\lceil r/2\\rceil$.  A diametral geodesic is an\ninduced path, giving $t\\ge d+1$, while $p\\le d-1$.  These bounds settle every\ncase except $r=2$, $d=4$, and $p=3$.  In that remaining configuration, choose\na centre and shortest paths to two diametral vertices and to a vertex at\ndistance three from the peripheral set.  A finite case analysis on the two\npossible cross-arm edges (and then the possible chords) always produces an\ninduced tree on at least six vertices.  Hence $t\\,\\operatorname{rad}(G^2)\n\\ge 2p$ in the exceptional case as well.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture146.conjecture146",
  "statement_lean": "theorem conjecture146 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected)\n    (hrad : 0 < graphSquareRadius G) :\n    2 * eccSet G (maxEccentricityVertices G : Set α) ≤\n    largestInducedTreeSize G * graphSquareRadius 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 146\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## Definitions\n\nThe **square** of a graph $G$, denoted $G^2$, is the graph on the same vertex set\nwhere two distinct vertices are adjacent if and only if their distance in $G$ is at\nmost $2$.\n\nThe **radius of $G^2$** is the minimum eccentricity of any vertex in $G^2$, i.e.,\n$$\\mathrm{rad}(G^2) = \\min_{v \\in V} \\max_{u \\in V} \\mathrm{dist}_{G^2}(u, v).$$\n-/\n\n@[expose] public section\n\nnamespace WrittenOnTheWallII.GraphConjecture146\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\n/-- The radius of $G^2$ (the graph square): the minimum eccentricity over all vertices\nof `graphSquare G`. -/\nnoncomputable def graphSquareRadius (G : SimpleGraph α) : ℕ :=\n  (graphSquare G).radius.toNat\n\nset_option linter.style.formal_proof_palomar false in\n/--\nWOWII [Conjecture 146](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)\n\nFor a simple connected graph $G$,\n$\\mathrm{tree}(G) \\ge 2 \\cdot \\mathrm{ecc}(B) / \\mathrm{rad}(G^2)$\nwhere $\\mathrm{tree}(G)$ is the number of vertices in a largest induced subtree,\n$\\mathrm{ecc}(B)$ is the eccentricity of the boundary vertices of $G$ (`eccSet`\nand `maxEccentricityVertices`), and $\\mathrm{rad}(G^2)$ is the radius of the square\ngraph of $G$.\n\nWe state the inequality in the form\n$\\mathrm{tree}(G) \\cdot \\mathrm{rad}(G^2) \\ge 2 \\cdot \\mathrm{ecc}(B)$ to avoid division.\n\n## Informal proof\n\nWrite $t$ for the largest induced-tree order, $r$ and $d$ for the radius and\ndiameter of $G$, and $p$ for the eccentricity of its peripheral set.  First,\nthe distance in the graph square is\n$\\operatorname{dist}_{G^2}(u,v)=\\lceil\\operatorname{dist}_G(u,v)/2\\rceil$,\nso $\\operatorname{rad}(G^2)=\\lceil r/2\\rceil$.  A diametral geodesic is an\ninduced path, giving $t\\ge d+1$, while $p\\le d-1$.  These bounds settle every\ncase except $r=2$, $d=4$, and $p=3$.  In that remaining configuration, choose\na centre and shortest paths to two diametral vertices and to a vertex at\ndistance three from the peripheral set.  A finite case analysis on the two\npossible cross-arm edges (and then the possible chords) always produces an\ninduced tree on at least six vertices.  Hence $t\\,\\operatorname{rad}(G^2)\n\\ge 2p$ in the exceptional case as well.\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at \"https://github.com/akakabrian/WOW-146/blob/f9e0ad75d829170804ce1d8f9fd4c1d4a0085203/WOW146/Conjecture146.lean\"]\ntheorem conjecture146 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected)\n    (hrad : 0 < graphSquareRadius G) :\n    2 * eccSet G (maxEccentricityVertices G : Set α) ≤\n    largestInducedTreeSize G * graphSquareRadius G := by\n  sorry\n\n-- Sanity checks\n\n/-- In `graphSquare G`, adjacent vertices in $G$ are also adjacent\n(`edist` is at most $1 \\le 2$). -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 4)) (u v : Fin 4) (h : G.Adj u v) :\n    (graphSquare G).Adj u v := by\n  refine ⟨G.ne_of_adj h, ?_⟩\n  -- edist u v ≤ length of the 1-step walk ≤ 2\n  exact (G.edist_le (Walk.cons h Walk.nil)).trans (by norm_num)\n\n/-- `graphSquare` is loopless: no vertex is adjacent to itself. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) (v : Fin 3) : ¬(graphSquare G).Adj v v := by\n  simp [graphSquare]\n\n/-- The `graphSquareRadius` is nonneg for any graph. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ graphSquareRadius G := Nat.zero_le _\n\n/-- `graphSquare G` adjacency is symmetric. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 4)) (u v : Fin 4) (h : (graphSquare G).Adj u v) :\n    (graphSquare G).Adj v u := h.symm\n\n/-- `graphSquare` does not join different connected components: the square of the edgeless\ngraph on two vertices is still edgeless. -/\n@[category test, AMS 5]\nexample : graphSquare (⊥ : SimpleGraph (Fin 2)) = ⊥ := by\n  ext u v\n  simp only [graphSquare, bot_adj, iff_false, not_and]\n  intro huv\n  rw [SimpleGraph.edist_bot_of_ne huv]\n  simp\n\nend WrittenOnTheWallII.GraphConjecture146\n",
  "statement_hash": "5019a28acf441c79a2ec58188a62b213571038f250ddfcd487c9145c5f3f1c54",
  "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."
}