A Kernel-Verified Lean 4 Reduction and Balanced 3-Color Cut Framework for Erdős Problem #23
Abstract
We present a Lean 4 formalization of reductions for Erdős Problem #23, which asks whether every triangle-free graph on 5n vertices can be made bipartite by deleting at most n^2 edges. The formalization reduces the problem to four cases. For graphs in the third case (Leaf 3) admitting a proper coloring with three equal-sized color classes, we prove that any counterexample must satisfy 13 explicit residual conditions. All eight Lean modules compile under lake build –wfail with zero sorrys, zero warnings, and only standard Lean axioms (propext, Classical.choice, Quot.sound), providing reusable cut constructions, double-counting identities, and template exclusions. Companion Python and C tools support computational experiments. Whether such a balanced three-color counterexample exists remains open.
In plain language
Editorial summary. The paper uses Lean to reduce Erdős Problem 23 to four cases. For one of those cases, it proves thirteen conditions that any counterexample with three equally sized color classes would have to satisfy. Whether such a counterexample exists remains open.
certxiv:2612.00021 [TCB-2]. https://certxiv.org/abs/certxiv:2612.00021
Verification tier
8ac33388b13186bd9b6de524…