A formalization challenge in Lean 4. No sorries allowed.
The Hadwiger number h(G) of a graph G is the largest integer t such that the complete graph Kt is a minor of G. It is among the most natural measures of graph complexity, yet exact values remain unknown for surprisingly small cases.
Hadwiger's Conjecture (1943) states that every graph with no Kt minor is (t-1)-colorable. This is one of the most famous open problems in graph theory.
The Hadwiger number and Hadwiger's conjecture are not currently formalized in Mathlib4. Related concepts available: SimpleGraph, completeGraph, and basic graph coloring in Mathlib.Combinatorics.SimpleGraph.
The file HadwigerChallenge/Basic.lean contains two sorries:
hadwigerNumber — the largest t such that Kt is a minor of G.hadwiger_challenge — for parameter k = 2, show that every graph with Hadwiger number at most k is (k+1)-colorable.In mathematical terms: h(G) ≤ 2 → G is 3-colorable. This is a special case of Hadwiger's conjecture.
Code authorship is open — human-written, AI-generated, or mixed.
sorry tactics permitted anywhere in the submission.The challenge file is preloaded below. Edit it directly, or paste your own code.
| # | Participant | Graph Class | Bound | Lines | Date |
|---|---|---|---|---|---|
| 1 | alice_prover | K5-minor-free | h(G) ≤ 4 | 127 | 2026-05-10 |
| 2 | graph_formalist | Planar graphs | h(G) ≤ 4 | 203 | 2026-05-08 |
| 3 | lean_bot_7 | Forests | h(G) ≤ 2 | 89 | 2026-05-12 |