/-
Copyright 2026 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 100
Verbatim statement (WOWII #100, status O):
If G is a simple connected graph, then α(G) ≤ CEIL[(maximum of λ(v) + 0.5*length(Ḡ))/2]
Source: http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj100
The WOWII HTML uses length(Ḡ) (the bar denotes graph complement); the
extracted JSON in our private repo previously dropped the overline. The
formal statement below uses the Euclidean norm of the degree sequence of Gᶜ.
Reference: E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc
Definition of graph length
The WOWII definitions popup defines length(H) as the square root of the sum
of the squares of the vertex degrees. This is degreeL2Norm H in Lean.
Combined with the overline above, the inequality reads:
α(G) ≤ ⌈(max_v l(v) + 0.5 · degreeL2Norm(Gᶜ)) / 2⌉
where l(v) = indepNeighbors G v.
namespace WrittenOnTheWallII.GraphConjecture100open SimpleGraphvariable {α : Type*} [Fintype α] [DecidableEq α] [Nontrivial α]WOWII Conjecture 100 (status O):
For a simple connected graph G,
α(G) ≤ ⌈(max_v l(v) + 0.5 · degreeL2Norm(Gᶜ)) / 2⌉
where α(G) = G.indepNum is the independence number,
max_v l(v) is the maximum over all vertices of the independence number of
the neighbourhood (in G), and degreeL2Norm(Gᶜ) is the square root of the
sum of the squares of the degrees in the complement Gᶜ.
@[category research open, AMS 5]
theorem conjecture100 (G : SimpleGraph α) [DecidableRel G.Adj] (h : G.Connected) :
let maxL := (Finset.univ.image (indepNeighborsCard G)).max' (α:Type u_1inst✝³:Fintype αinst✝²:DecidableEq αinst✝¹:Nontrivial αG:SimpleGraph αinst✝:DecidableRel G.Adjh:G.Connected⊢ (Finset.image G.indepNeighborsCard Finset.univ).Nonempty All goals completed! 🐙)
(G.indepNum : ℝ) ≤ ⌈((maxL : ℝ) + (1 / 2) * (degreeL2Norm Gᶜ : ℝ)) / 2⌉ := α:Type u_1inst✝³:Fintype αinst✝²:DecidableEq αinst✝¹:Nontrivial αG:SimpleGraph αinst✝:DecidableRel G.Adjh:G.Connected⊢ let maxL := (Finset.image G.indepNeighborsCard Finset.univ).max' ⋯;
↑α(G) ≤ ↑⌈(↑maxL + 1 / 2 * Gᶜ.degreeL2Norm) / 2⌉
All goals completed! 🐙-- Sanity checks
The independence number is nonneg.
@[category test, AMS 5]
example (G : SimpleGraph (Fin 3)) : 0 ≤ G.indepNum := Nat.zero_le _The Euclidean norm of the degree sequence is nonnegative.
@[category test, AMS 5]
example (G : SimpleGraph (Fin 2)) [DecidableRel G.Adj] : 0 ≤ degreeL2Norm G :=
Real.sqrt_nonneg _end WrittenOnTheWallII.GraphConjecture100