# A 19-variable gadget that tightens the hardness of MAX-4-CUT

> AlphaEvolve discovered a gadget reduction with 19 variables that proves it is NP-hard to approximate MAX-4-CUT within a factor of 0.987, improving the previous 0.9883, and found extremal Ramanujan graphs on up to 163 nodes.

- AI system: AlphaEvolve
- Institution: Google DeepMind and Google Research
- Field: Mathematics
- Announced / published: 30 September 2025 (2025-09-30)
- Published in: Official announcement and preprint
- Primary source: [Nagda, Thakurta & Raghavan, “AI as a research partner: Advancing theoretical computer science with AlphaEvolve” (30 September 2025)](https://research.google/blog/ai-as-a-research-partner-advancing-theoretical-computer-science-with-alphaevolve/)
- Also: [Nagda, Raghavan & Thakurta, “Reinforced Generation of Combinatorial Structures,” arXiv:2509.18057](https://arxiv.org/abs/2509.18057)
- Added to Buffio: 2026-11-16
- Last updated: 2026-11-16
- Buffio page: https://buffio.com/discoveries/alphaevolve-max-4-cut

In MAX-k-CUT, the goal is to split a network’s nodes into k groups so that as many edges as possible cross between groups. The problem is NP-hard, so researchers ask how closely it can be approximated efficiently. Hardness proofs often rest on “gadgets”: small finite structures, usually found by hand, that a standard framework lifts into a theorem holding for every instance.

Google researchers tasked AlphaEvolve, DeepMind’s evolutionary coding agent, with finding better gadgets. For MAX-4-CUT it discovered an intricate gadget on 19 variables, with some connections weighted up to 1,429 times others, establishing that approximating the problem within a factor of 0.987 is NP-hard. The previous best-known bound was 0.9883.

In a second line of work, on the average-case hardness of certifying cuts and independent sets in sparse random graphs, AlphaEvolve found Ramanujan graphs with unusually large cuts on as many as 163 nodes; prior computer-assisted work had reached 10. Combined with new non-AI algorithmic progress, the team matched upper and lower bounds to within the third decimal place. AlphaEvolve also sped up the verification code about 10,000-fold, but the final gadgets were checked with the original brute-force algorithm.

---
From Buffio (https://buffio.com). Buffio records scientific discoveries made by AI systems, where the AI acted as the researcher. Facts on this page come from the primary source linked above; please cite that source.
