/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ module public import FormalConjecturesUtil /-! # Written on the Wall II - Conjecture 17 *Reference:* [E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) -/ @[expose] public section namespace WrittenOnTheWallII.GraphConjecture17 open SimpleGraph variable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α] /-- WOWII [Conjecture 17](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a simple connected graph `G`, the size `b(G)` of a largest induced bipartite subgraph satisfies `b(G) ≥ α(G) + ⌈diam(G) / 3⌉`, where `α(G)` is the independence number of `G` and `diam(G)` is the diameter of `G`. -/ @[category research solved, AMS 5] theorem conjecture17 (G : SimpleGraph α) (h : G.Connected) : (G.indepNum : ℝ) + ⌈(G.diam : ℝ) / 3⌉ ≤ b G := by sorry -- Sanity checks /-- The invariant `b G` is nonneg (it's the cast of a natural number). -/ @[category test, AMS 5] example (G : SimpleGraph (Fin 3)) : 0 ≤ b G := Nat.cast_nonneg _ /-- The independence number `α(K₂)` equals 1 (each independent set contains at most one vertex). -/ @[category test, AMS 5] example : (⊤ : SimpleGraph (Fin 2)).edgeFinset.card = 1 := by decide end WrittenOnTheWallII.GraphConjecture17