{
  "id": "8674",
  "ident": "NS.08674",
  "slug": "wotw-graphconjecture143",
  "title": "Written on the Wall II - Conjecture 143",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "WOWII [Conjecture 143](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj143):\n\nFor a simple connected graph $G$,\n$\\mathrm{tree}(G) \\ge (\\mathrm{girth}(G) + 1) / \\sigma(G)$,\nwhere $\\mathrm{tree}(G)$ is the largest induced tree size, $\\mathrm{girth}(G)$\nis the length of the shortest cycle, and\n$\\sigma(G) = G.\\mathrm{secondSmallestDegree}$ is the **second-smallest degree**\nof $G$'s degree sequence (per WOWII defEntry 65). We state the inequality in\ndenominator-free form to avoid the $\\sigma = 0$ corner case ($n \\le 1$).\n\nThe proof splits into the acyclic case and two cyclic cases. For an acyclic\ngraph the girth is zero. If $\\sigma \\ge 2$, deleting two consecutive edges from\na shortest cycle leaves an induced tree on $\\mathrm{girth}(G)-1$ vertices, and\nthe factor $\\sigma \\ge 2$ yields the required inequality. If $\\sigma = 1$,\nthere are two degree-one vertices. A maximal induced tree containing them must\nhave an external vertex with two attachments; those attachments create a cycle\nwhose length forces the tree to contain at least $\\mathrm{girth}(G)+1$ vertices.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [],
  "collection": "wotw",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "WrittenOnTheWallII.GraphConjecture143.conjecture143",
  "statement_lean": "theorem conjecture143 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected)\n    (hσ : 0 < secondSmallestDegree G) :\n    (G.girth : ℝ) + 1 ≤ (largestInducedTreeSize G : ℝ) * (secondSmallestDegree 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 143\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.GraphConjecture143\n\nopen SimpleGraph\n\nvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]\n\n/--\nWOWII [Conjecture 143](http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj143):\n\nFor a simple connected graph $G$,\n$\\mathrm{tree}(G) \\ge (\\mathrm{girth}(G) + 1) / \\sigma(G)$,\nwhere $\\mathrm{tree}(G)$ is the largest induced tree size, $\\mathrm{girth}(G)$\nis the length of the shortest cycle, and\n$\\sigma(G) = G.\\mathrm{secondSmallestDegree}$ is the **second-smallest degree**\nof $G$'s degree sequence (per WOWII defEntry 65). We state the inequality in\ndenominator-free form to avoid the $\\sigma = 0$ corner case ($n \\le 1$).\n\nThe proof splits into the acyclic case and two cyclic cases. For an acyclic\ngraph the girth is zero. If $\\sigma \\ge 2$, deleting two consecutive edges from\na shortest cycle leaves an induced tree on $\\mathrm{girth}(G)-1$ vertices, and\nthe factor $\\sigma \\ge 2$ yields the required inequality. If $\\sigma = 1$,\nthere are two degree-one vertices. A maximal induced tree containing them must\nhave an external vertex with two attachments; those attachments create a cycle\nwhose length forces the tree to contain at least $\\mathrm{girth}(G)+1$ vertices.\n-/\n@[category research solved, AMS 5]\ntheorem conjecture143 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected)\n    (hσ : 0 < secondSmallestDegree G) :\n    (G.girth : ℝ) + 1 ≤ (largestInducedTreeSize G : ℝ) * (secondSmallestDegree G : ℝ) := by\n  have hnat : G.girth + 1 ≤\n      largestInducedTreeSize G * secondSmallestDegree G := by\n    by_cases hacyc : G.IsAcyclic\n    · have htpos : 0 < largestInducedTreeSize G := one_le_largestInducedTreeSize G\n      rw [hacyc.girth_eq_zero]\n      exact Nat.mul_pos htpos hσ\n    · have hgirth : 3 ≤ G.girth := G.three_le_girth hacyc\n      by_cases hσ1 : secondSmallestDegree G = 1\n      · obtain ⟨x, y, hxy, hx, hy⟩ :=\n          exists_distinct_degree_one_of_secondSmallestDegree_eq_one G\n            h.preconnected hσ1\n        simpa [hσ1] using\n          girth_add_one_le_largestInducedTreeSize_of_two_leaves\n            G h hacyc hxy hx hy\n      · have hσ2 : 2 ≤ secondSmallestDegree G := by omega\n        have htreebound : G.girth - 1 ≤ largestInducedTreeSize G :=\n          girth_sub_one_le_largestInducedTreeSize G hacyc\n        calc\n          G.girth + 1 ≤ 2 * (G.girth - 1) := by omega\n          _ ≤ 2 * largestInducedTreeSize G :=\n            Nat.mul_le_mul_left 2 htreebound\n          _ = largestInducedTreeSize G * 2 := by omega\n          _ ≤ largestInducedTreeSize G * secondSmallestDegree G :=\n            Nat.mul_le_mul_left _ hσ2\n  exact_mod_cast hnat\n\n-- Sanity checks\n\n/-- The `largestInducedTreeSize` is nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) : 0 ≤ largestInducedTreeSize G := Nat.zero_le _\n\n/-- The second-smallest degree is nonneg. -/\n@[category test, AMS 5]\nexample (G : SimpleGraph (Fin 3)) [DecidableRel G.Adj] : 0 ≤ secondSmallestDegree G :=\n  Nat.zero_le _\n\nend WrittenOnTheWallII.GraphConjecture143\n",
  "statement_hash": "0753a490e83e334f8c61c500fe5f938154566f4e64bb4edf231df6580f2fbd55",
  "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."
}