A Solution to the 1-2-3 Conjecture: Every Finite Graph Without a K2 Component Has an Edge-Weighting from {1,2,3} Whose Weighted Degrees Properly Color the VerticesResearch Paper
Motivation
Many graph-colouring questions ask whether a proper colouring can be produced indirectly, from local data, instead of being assigned vertex by vertex. In the 1-2-3 Conjecture, the colours are produced by weighting the edges of a graph and colouring each vertex with the sum of the weights at it. Karoński, Łuczak and Thomason asked in 2004 whether weights from always suffice (J. Combin. Theory Ser. B 91 (2004)). The question started as a local version of the irregularity strength problem, where all vertices, not only adjacent ones, must receive different sums. It became one of the most studied problems on graph labellings. Surveys: Seamone (arXiv:1211.5122) and Grytczuk (DOI 10.1016/j.ejc.2020.103213).
Timeline.
- 2004: Karoński, Łuczak, Thomason state the conjecture and prove it for 3-colourable graphs.
- 2007: Addario-Berry, Dalal, McDiarmid, Reed and Thomason give the first finite bound, ; later (Addario-Berry et al.) and (Wang and Yu).
- 2010: Kalkowski, Karoński and Pfender reach (J. Combin. Theory Ser. B 100 (2010)).
- Before 2023: Przybyło proves the conjecture for -regular graphs with and for graphs with minimum degree ; Zhong proves it for graphs with minimum degree at least (references [20], [21], [31] of the paper).
- 2023: Keusch reaches with a maximum-cut and flow argument (Combinatorica 43 (2023), 651–658; reference [18] of the paper).
- 2024: Keusch proves the conjecture, (J. Combin. Theory Ser. B (2024), arXiv:2303.02611).
Setting
Let be a finite simple graph and write for the neighbourhood of a vertex . A -edge-weighting is a function . The weighted degree of is
Two adjacent vertices have a coloring conflict if . The weighting is vertex-coloring if no edge is a coloring conflict, that is, if is a proper vertex colouring of .
If has a connected component consisting of a single edge (a component isomorphic to ), then for every , so no weighting is vertex-coloring. This is the only obstruction.
The proof uses a few further objects:
- for , ;
- for disjoint , the bipartite subgraph with vertex set and the edges of between and ;
- a good R-B-partition (Definition 6): a partition with independent, connected and even;
- a maximum cut and an auxiliary unit-capacity flow network built from it (Lemma 4).
The Lean names are wdeg G ω v for , IsWeighting G k ω, IsVertexColoring G ω, NoK2Component G and IsGoodPartition G U R B.
Formalization targets
Goal: Theorem 1 (p. 2)
If no connected component of is isomorphic to , then there is with
The connected case (p. 14)
Every finite connected graph with has a vertex-coloring -edge-weighting. This is the statement the case analysis of the proof establishes. Theorem 1 follows by treating each component separately.
Milestones along the proof
In the order the proof uses them:
- Lemma 2: an independent set with connected, alternating along a shortest path.
- Lemma 4: a flow of value in .
- Lemma 3: a weighting and odd designated colours , proper on , with .
- Lemma 5: a bipartite weighting with prescribed parities on and exact weighted degrees on , plus a second version with extra control along a fixed path.
- Lemmas 7, 8 and 9: the three basic situations in which a good R-B-partition of , or of minus one vertex, yields a vertex-coloring weighting.
- Lemma 10: every connected graph of minimum degree at least has an edge whose removal, together with its two ends, leaves a connected graph.
Significance
The result. Theorem 1 settles a conjecture that was open for nineteen years. The constant is optimal: the triangle has no vertex-coloring -weighting (two of its three edges get the same weight, and then two vertices tie), and deciding whether a vertex-coloring -weighting exists is NP-complete (Dudek and Wajc, 2011). Theorem 1 also closes the sequence of upper bounds on the number of weights needed. Variants remain open: total weightings with vertex weights and edge weights (the 1-2 Conjecture), and list versions.
Formalizing it. The theorem is proved, in a 16-page paper. As far as is known it has no machine-checked proof. A formal proof would verify the case analysis at the end of the paper (pp. 11–14, about fifteen sub-cases with three auxiliary graphs), which is where errors in such arguments usually hide. The flow lemma is quoted from the 2023 paper and not reproved here. Formalizing it means proving an integral max-flow statement for a specific unit-capacity network, and the result can be reused for other flow-based weighting arguments.
Difficulty
The obvious approach is to fix the weights greedily, edge by edge or vertex by vertex. This fails because changing one edge weight changes two weighted degrees at once, so a repair at one vertex can create a conflict at a neighbour. With only three weights there is no room to absorb this. Every earlier bound above used the extra weight as slack.
The difficulty in the paper is parity. The construction needs the set of blue vertices to have even cardinality, and cannot always be made even. The proof therefore removes one or two vertices, applies one of three base lemmas, and re-inserts the vertices. That re-insertion may need one more round of weight changes along a path. Each sub-case has to keep track of parities, of exact weighted degrees on , and of the connectivity of simultaneously.
Formalization scope
Representation.
- Graphs are
SimpleGraph Von a finite vertex typeVwith decidable adjacency. The paper's "graph" is a finite simple graph: weighted degrees are finite sums, and the proof uses a maximum cut and vertex orderings. - An edge-weighting is a function
ω : Sym2 V → ℕon unordered pairs.IsWeighting G k ωrequires for every edge of ; values on non-edges are unconstrained and never used. - The weighted degree sums over
G.neighborFinset v. Since inSym2, the single sum equals both sides of Theorem 1's displayed inequality. - "No component isomorphic to " uses Mathlib's connected components and graph isomorphism. A sanity file proves it equivalent to "no edge both of whose ends have degree 1".
- is Mathlib's
G.between R B, induced on wherever that vertex set is not all of .
Conventions that differ from the page. There are two, both disclosed in the item statements:
- The vertex type is finite.
- The flow of Lemma 4 is integral. The page says "an --flow"; the paper uses integrality immediately afterwards, and the two versions are equivalent by the integrality theorem.
Lemma 5's condition is stated in , and Lemma 3's is computed in .
Ruled out. None of the following formalizations is faithful:
- weights allowed to be , which deletes edges;
- weights constrained off the edges;
- the hypothesis strengthened to minimum degree at least , or to connectivity;
- "adjacent vertices" replaced by "all pairs of vertices", which is the irregularity-strength problem.
Infrastructure. A complete development needs:
- spanning trees and parity arguments on trees (Lemma 5);
- depth-first search trees (Lemma 10);
- maximum cuts and an integral max-flow or augmenting-path argument for (Lemma 4), together with path decompositions of unit flows (the proof of Lemma 3).
The flow and cut definitions are stated for arbitrary finite graphs and can be reused. Contributions are welcome at every level: proofs of individual lemmas, general flow-decomposition results, and the final case analysis.
Selected references
- R. Keusch, A Solution to the 1-2-3 Conjecture, J. Combin. Theory Ser. B, 2024. arXiv:2303.02611v4, DOI 10.1016/j.jctb.2024.01.002
- R. Keusch, Vertex-coloring graphs with 4-edge-weightings, Combinatorica 43 (2023), 651–658. Cited as [18] in arXiv:2303.02611v4.
- M. Karoński, T. Łuczak, A. Thomason, Edge weights and vertex colours, J. Combin. Theory Ser. B 91 (2004), 151–157. DOI 10.1016/j.jctb.2003.12.001
- M. Kalkowski, M. Karoński, F. Pfender, Vertex-coloring edge-weightings: towards the 1-2-3-conjecture, J. Combin. Theory Ser. B 100 (2010). DOI 10.1016/j.jctb.2009.06.002
- A. Dudek, D. Wajc, On the complexity of vertex-coloring edge-weightings, Discrete Math. Theor. Comput. Sci. 13 (2011), 45–50. Cited as [11] in arXiv:2303.02611v4.
- B. Seamone, The 1-2-3 Conjecture and related problems: a survey, 2012. arXiv:1211.5122
- J. Grytczuk, From the 1-2-3 Conjecture to the Riemann Hypothesis, European J. Combin. 91 (2021), 103213. DOI 10.1016/j.ejc.2020.103213