The Aharoni–Berger Rainbow Matching Conjecture for n ≤ 6: Exact Thresholds, Obstruction Classifications, and a Deterministic Global Bound in Lean 4

Result: Proves in Lean 4 the Aharoni–Berger rainbow matching conjecture for every n ≤ 6: any n matchings of size n + 1 in a bipartite multigraph (parallel edges of distinct colours allowed, arbitrary finite vertex sets) have a full rainbow matching, and size n can fail, so f(n) = n + 1 for 2 ≤ n ≤ 6. For n = 4, 5, 6 this replaces the best general bounds 6, 8, 10 (Kotlar–Ziv) with the exact values 5, 6, 7; no earlier proof of these three values was located (priority not established), while n ≤ 3 follows from published results. The simple-graph thresholds are exact too: f_simp(n) = n + 1 for n ∈ {2, 4, 5, 6} and f_simp(3) = 3. The development also classifies all rainbow-free (2,2), (3,3,3) and (4,4,4,5) families, certifies 43 multigraph (5,5,5,5,6) obstructions (completeness of that list rests on an enumeration outside Lean), formalizes Drisko's theorem, and re-derives f(n) ≤ n + ⌊n/q⌋ for n ≥ N(q) with an explicit but astronomically large threshold, weaker than the published bounds of Pokrovskiy and of Munhá Correia–Pokrovskiy–Sudakov. The conjecture remains open from n = 7 on. The Aharoni–Berger conjecture (2009), which generalizes the Brualdi–Stein conjecture on partial transversals of Latin squares, asserts that every bipartite multigraph formed as the union of n matchings of size n + 1 contains a rainbow matching of size n. It is open in general. For n = 4, 5, 6 the uniform finite bound of Kotlar and Ziv gives matching sizes 6, 8 and 10. We prove the conjecture for every n ≤ 6 in Lean 4.34.0 (standard library only): f(n) = n + 1 for 2 ≤ n ≤ 6 in unrestricted bipartite multigraphs, where parallel edges of distinct colours and arbitrary finite vertex sets are allowed. For simple graphs we prove f_simp(n) = n + 1 for n ∈ {2, 4, 5, 6} and f_simp(3) = 3, with lower-bound witnesses. We classify all rainbow-free (2,2), (3,3,3) and (4,4,4,5) families, and check in Lean that each of 43 listed multigraph (5,5,5,5,6) representatives is an obstruction (the list itself comes from a computer enumeration outside Lean). The case n = 6 is closed by common 7 × 7 board decision trees and a reflective bitmask cover-tree verifier (24,080 simple nodes; 238,710 unrestricted multigraph nodes across 35 off-board profiles); the certificates come from an untrusted C++ search and are replayed in the Lean kernel. The development also formalizes known results: Drisko's theorem with sharpness, the Barát–Gyárfás–Sárközy rectangular bound, and a deterministic fourth-moment re-derivation of f(n) ≤ n + ⌊n/q⌋ for every fixed q ≥ 1 and n ≥ N(q). No earlier proof of the exact values for n = 4, 5, 6 was located; priority is not established. Credits: Conjecture: R. Aharoni and E. Berger (2009). Drisko's theorem: A. A. Drisko (1998), bipartite form by Aharoni–Berger (2009). Rectangular bound: Barát, Gyárfás and Sárközy (2017). Reserve-sampling principle: Munhá Correia, Pokrovskiy and Sudakov (2023). The n = 3 case can be deduced from Aharoni–Haxell (2000) and Stein's rectangle theorem. The Lean proofs of these known results are formalizations. No third-party Lean code was adapted. The Lean development, certificate generators and searches were produced with AI coding agents operated by the author; the agent and model were not recorded.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24765079
Primary Topic
Limits and Structures in Graph Theory
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Aharoni–Berger Rainbow Matching Conjecture for n ≤ 6: Exact Thresholds, Obstruction Classifications, and a Deterministic Global Bound in Lean 4

Ali Uyar
Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
preprint

The Aharoni–Berger Rainbow Matching Conjecture for n ≤ 6: Exact Thresholds, Obstruction Classifications, and a Deterministic Global Bound in Lean 4

Ali Uyar
preprint en

Abstract

Result: Proves in Lean 4 the Aharoni–Berger rainbow matching conjecture for every n ≤ 6: any n matchings of size n + 1 in a bipartite multigraph (parallel edges of distinct colours allowed, arbitrary finite vertex sets) have a full rainbow matching, and size n can fail, so f(n) = n + 1 for 2 ≤ n ≤ 6. For n = 4, 5, 6 this replaces the best general bounds 6, 8, 10 (Kotlar–Ziv) with the exact values 5, 6, 7; no earlier proof of these three values was located (priority not established), while n ≤ 3 follows from published results. The simple-graph thresholds are exact too: f_simp(n) = n + 1 for n ∈ {2, 4, 5, 6} and f_simp(3) = 3. The development also classifies all rainbow-free (2,2), (3,3,3) and (4,4,4,5) families, certifies 43 multigraph (5,5,5,5,6) obstructions (completeness of that list rests on an enumeration outside Lean), formalizes Drisko's theorem, and re-derives f(n) ≤ n + ⌊n/q⌋ for n ≥ N(q) with an explicit but astronomically large threshold, weaker than the published bounds of Pokrovskiy and of Munhá Correia–Pokrovskiy–Sudakov. The conjecture remains open from n = 7 on. The Aharoni–Berger conjecture (2009), which generalizes the Brualdi–Stein conjecture on partial transversals of Latin squares, asserts that every bipartite multigraph formed as the union of n matchings of size n + 1 contains a rainbow matching of size n. It is open in general. For n = 4, 5, 6 the uniform finite bound of Kotlar and Ziv gives matching sizes 6, 8 and 10. We prove the conjecture for every n ≤ 6 in Lean 4.34.0 (standard library only): f(n) = n + 1 for 2 ≤ n ≤ 6 in unrestricted bipartite multigraphs, where parallel edges of distinct colours and arbitrary finite vertex sets are allowed. For simple graphs we prove f_simp(n) = n + 1 for n ∈ {2, 4, 5, 6} and f_simp(3) = 3, with lower-bound witnesses. We classify all rainbow-free (2,2), (3,3,3) and (4,4,4,5) families, and check in Lean that each of 43 listed multigraph (5,5,5,5,6) representatives is an obstruction (the list itself comes from a computer enumeration outside Lean). The case n = 6 is closed by common 7 × 7 board decision trees and a reflective bitmask cover-tree verifier (24,080 simple nodes; 238,710 unrestricted multigraph nodes across 35 off-board profiles); the certificates come from an untrusted C++ search and are replayed in the Lean kernel. The development also formalizes known results: Drisko's theorem with sharpness, the Barát–Gyárfás–Sárközy rectangular bound, and a deterministic fourth-moment re-derivation of f(n) ≤ n + ⌊n/q⌋ for every fixed q ≥ 1 and n ≥ N(q). No earlier proof of the exact values for n = 4, 5, 6 was located; priority is not established. Credits: Conjecture: R. Aharoni and E. Berger (2009). Drisko's theorem: A. A. Drisko (1998), bipartite form by Aharoni–Berger (2009). Rectangular bound: Barát, Gyárfás and Sárközy (2017). Reserve-sampling principle: Munhá Correia, Pokrovskiy and Sudakov (2023). The n = 3 case can be deduced from Aharoni–Haxell (2000) and Stein's rectangle theorem. The Lean proofs of these known results are formalizations. No third-party Lean code was adapted. The Lean development, certificate generators and searches were produced with AI coding agents operated by the author; the agent and model were not recorded.

Zenodo (CERN European Organization for Nuclear Research)
Limits and Structures in Graph Theory
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon