Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Graph minors, complete minors, the statement HC(t)\mathrm{HC}(t)HC(t), and degeneracy

Definition
HadwigerConj_Defs

by Lucas · Sep 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

graph-coloringgraph-minorsgraph-theory

All graphs are simple (no loops or parallel edges).

  1. Minor. A graph HHH with vertex set WWW is a minor of a graph GGG with vertex set VVV if there are branch sets Bw⊆VB_w\subseteq VBw​⊆V, one for each w∈Ww\in Ww∈W, such that each BwB_wBw​ induces a connected (hence nonempty) subgraph of GGG, distinct branch sets are disjoint, and for every edge w1w2w_1w_2w1​w2​ of HHH some vertex of Bw1B_{w_1}Bw1​​ is adjacent in GGG to some vertex of Bw2B_{w_2}Bw2​​. This is equivalent to the usual definition: HHH is isomorphic to a graph obtained from a subgraph of GGG by contracting edges.
  2. Complete minor. GGG has a KtK_tKt​ minor if the complete graph KtK_tKt​ is a minor of GGG.
  3. HC(t)\mathrm{HC}(t)HC(t). For an integer t≥0t\ge 0t≥0, HC(t)\mathrm{HC}(t)HC(t) is the statement “every finite graph with no Kt+1K_{t+1}Kt+1​ minor is ttt-colourable”.
  4. Degeneracy. GGG is kkk-degenerate if every nonempty set SSS of vertices contains a vertex having at most kkk neighbours in SSS.

These are the basic notions of Seymour's survey (Section 1 and Section 3) and are shared by every statement of this mission.

Formalization Note Minors are encoded by branch sets (a minor model). HC(t)\mathrm{HC}(t)HC(t) quantifies over all finite vertex types in Type. Degeneracy is phrased with induced subgraphs (vertex subsets); this is equivalent to the survey's “every non-null subgraph has a vertex of degree at most kkk”, since passing from a subgraph to the induced subgraph on the same vertex set can only raise degrees.

Definition code
import Mathlib

namespace HadwigerConj

/-- `IsMinor H G`: the graph `H` is a minor of the graph `G`, expressed through branch sets.
There is a family `B w` (one for each vertex `w` of `H`) of vertex sets of `G` such that
each `B w` induces a connected (in particular nonempty) subgraph of `G`, distinct branch sets
are disjoint, and whenever `w₁ w₂` is an edge of `H` some vertex of `B w₁` is adjacent in `G`
to some vertex of `B w₂`. -/
def IsMinor {W V : Type*} (H : SimpleGraph W) (G : SimpleGraph V) : Prop :=
  ∃ B : W → Set V,
    (∀ w, (G.induce (B w)).Connected) ∧
    (∀ w₁ w₂, w₁ ≠ w₂ → Disjoint (B w₁) (B w₂)) ∧
    (∀ w₁ w₂, H.Adj w₁ w₂ → ∃ u ∈ B w₁, ∃ v ∈ B w₂, G.Adj u v)

/-- `HasCompleteMinor G t`: the complete graph `K_t` is a minor of `G`. -/
def HasCompleteMinor {V : Type*} (G : SimpleGraph V) (t : ℕ) : Prop :=
  IsMinor (⊤ : SimpleGraph (Fin t)) G

/-- `HC t`: every finite graph with no `K_{t+1}` minor is `t`-colourable. -/
def HC (t : ℕ) : Prop :=
  ∀ (V : Type) [Finite V] (G : SimpleGraph V), ¬ HasCompleteMinor G (t + 1) → G.Colorable t

/-- `IsDegenerate G k`: every nonempty set `S` of vertices contains a vertex with at most `k`
neighbours inside `S` (i.e. every non-null induced subgraph has a vertex of degree `≤ k`). -/
def IsDegenerate {V : Type*} (G : SimpleGraph V) (k : ℕ) : Prop :=
  ∀ S : Set V, S.Nonempty → ∃ v ∈ S, (G.neighborSet v ∩ S).ncard ≤ k

end HadwigerConj
Source
P. Seymour, "Hadwiger's conjecture" (survey), in: Open Problems in Mathematics, Springer, 2016 (uploaded PDF `paper.pdf`), Section 1 (definition of minor, statement 1.1 and HC(t)) and Section 3 (definition of k-degenerate, p. 4); Wikipedia, "Hadwiger conjecture (graph theory)", https://en.wikipedia.org/wiki/Hadwiger_conjecture_(graph_theory)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Note — non-blind read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the intended meaning. It is not independent or blind testimony, and no reviewer should treat it as such; an independent audit is still needed.

This file declares four notions.

  1. IsMinor(H,G)\mathrm{IsMinor}(H,G)IsMinor(H,G), for a graph HHH on a vertex type WWW and a graph GGG on a vertex type VVV (arbitrary types, possibly infinite): there exists a family of vertex sets Bw⊆VB_w\subseteq VBw​⊆V, indexed by w∈Ww\in Ww∈W, such that
    • for every www, the subgraph of GGG induced on BwB_wBw​ is connected (connected includes nonempty);
    • for all w1≠w2w_1\neq w_2w1​=w2​, Bw1B_{w_1}Bw1​​ and Bw2B_{w_2}Bw2​​ are disjoint;
    • for all w1,w2w_1,w_2w1​,w2​ adjacent in HHH, there exist u∈Bw1u\in B_{w_1}u∈Bw1​​ and v∈Bw2v\in B_{w_2}v∈Bw2​​ adjacent in GGG.
  2. HasCompleteMinor(G,t)\mathrm{HasCompleteMinor}(G,t)HasCompleteMinor(G,t), for t∈Nt\in\mathbb Nt∈N: IsMinor(Kt,G)\mathrm{IsMinor}(K_t,G)IsMinor(Kt​,G) where KtK_tKt​ is the complete graph on {0,…,t−1}\{0,\dots,t-1\}{0,…,t−1}. For t=0t=0t=0 it is true for every GGG (empty family).
  3. HC(t)\mathrm{HC}(t)HC(t), for t∈Nt\in\mathbb Nt∈N: for every finite type VVV (in the lowest universe) and every simple graph GGG on VVV, if GGG does not have a Kt+1K_{t+1}Kt+1​ minor then GGG admits a proper colouring with ttt colours (adjacent vertices get different colours; with t=0t=0t=0 this requires VVV empty).
  4. IsDegenerate(G,k)\mathrm{IsDegenerate}(G,k)IsDegenerate(G,k): for every nonempty set S⊆VS\subseteq VS⊆V there is v∈Sv\in Sv∈S such that the number of neighbours of vvv lying in SSS is at most kkk. The count is the cardinality of a set, with the convention that an infinite set counts as 000; so for infinite VVV this count is junk, while for finite VVV it is the usual count.
Human review
  • Endorsed by Shuze Chen · Oct 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 1, 2026

    Confirmed by the mission captain (proposal self-audit).

  • Endorsed by mikedeng1 · Nov 8, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me