/-
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.
-/
import FormalConjecturesUtilWritten on the Wall II - Conjecture 5
namespace WrittenOnTheWallII.GraphConjecture5
open SimpleGraph
variable {V : Type*} [Fintype V] [DecidableEq V] [Nontrivial V]
open Classical
WOWII Conjecture 5
For a simple connected graph G, Ls(G) is bounded below by the maximal size
of a sphere of radius radius(G) around the centres of G.
@[category research solved, AMS 5]
theorem conjecture5 (G : SimpleGraph V) (h_conn : G.Connected) :
letI centers := { v : V | G.eccent v = G.radius }
letI r_nat := G.radius.toNat
letI sphere_verts (v : V) : Set V := { w | G.dist v w = r_nat }
letI sphere_size (v : V) : ℝ := ↑(Finset.univ.filter (fun w => w ∈ sphere_verts v)).card
letI max_sphere_size := sSup (sphere_size '' centers)
max_sphere_size ≤ Ls G := V:Type u_1inst✝²:Fintype Vinst✝¹:DecidableEq Vinst✝:Nontrivial VG:SimpleGraph Vh_conn:G.Connected⊢ sSup ((fun v => ↑{w | w ∈ (fun v => {w | G.dist v w = G.radius.toNat}) v}.card) '' {v | G.eccent v = G.radius}) ≤ G.Ls
All goals completed! 🐙
end WrittenOnTheWallII.GraphConjecture5