2-Coloring Cycles in One Round

This paper presents a one-round randomized distributed algorithm that 2-colors cycles with an expected monochromatic edge fraction below 0.24118 (improving the previous 0.25 bound) and establishes a new lower bound of 0.23879, with both results discovered by large language models and formalized in Lean 4.

Maxime Flin, Alesya Raevskaya, Ronja Stimpert, Jukka Suomela, Qingxin Yang

Published 2026-03-06
📖 5 min read🧠 Deep dive

Imagine you are the mayor of a tiny, circular town where every house is connected to its two neighbors (one on the left, one on the right). The town is a perfect loop. Your job is to paint every house either Red or Blue.

However, there's a catch:

  1. The Houses are Identical: Every house looks exactly the same. No one knows if they are House #1 or House #100. They only know who their immediate neighbors are.
  2. The Time Limit: You have exactly one round of communication. You can look at your neighbors, make a decision based on a coin flip (randomness), and paint your house. You cannot wait for a message to travel all the way around the town.
  3. The Goal: You want to avoid "Monochromatic Edges." This happens when two neighbors paint their houses the same color (Red-Red or Blue-Blue). You want to maximize the number of Red-Blue pairs.

The Problem

If the town has an odd number of houses (like 5 or 7), it is mathematically impossible to paint them perfectly so that no neighbors share a color. Someone will always have to share a color with a neighbor.

So, the question isn't "Can we do it perfectly?" (The answer is no). The question is: "What is the absolute best we can do?" How few "bad" (same-colored) connections can we guarantee, on average?

The Old Guesses

Before this paper, scientists had two rough guesses:

  • The "Easy" Way: Just flip a coin for every house. You'd get about 25% bad connections.
  • The "Smart" Way: Use a slightly smarter rule (like "if my neighbors are different, I'll be Red"). This got the bad connections down to 20%.

But nobody knew the exact limit. Was it 22%? 23%? 24%?

The New Discovery

The authors of this paper (who used a mix of human brains and advanced AI) found the answer. They proved that:

  • You cannot do better than 23.879% bad connections.
  • You can achieve a strategy that results in only 24.118% bad connections.

They narrowed the gap between the "impossible" and the "achievable" from a wide chasm to a tiny sliver.

How Did They Do It? (The Magic Tricks)

1. The "De Bruijn" Map (The City Blueprint)

To solve this, the researchers didn't look at one specific town. They looked at a giant, abstract "map" of all possible situations a house could be in.

  • Imagine a house has three pieces of information: What my left neighbor's random number was, what my own random number is, and what my right neighbor's random number is.
  • They built a 3D grid (a graph) representing every possible combination of these three numbers.
  • The Trick: They realized that finding the best painting strategy for the town is exactly the same as finding the best way to cut this giant 3D grid into two colors.

2. The "Sandwich" Technique

They used a clever mathematical trick called "sandwiching."

  • They created two versions of this map: one that allows houses to have identical neighbors (the "Normal" map) and one that forces neighbors to be different (the "Distinct" map).
  • They proved that the true answer for the town must lie between the answers for these two maps.
  • By making the maps huge (using millions of points), the two answers got closer and closer together, effectively pinning down the exact limit.

3. The AI Co-Pilot

Here is the most futuristic part: The researchers used AI to write the proof.

  • The math involved is incredibly complex, involving high-dimensional geometry and probability.
  • The human researchers asked a Large Language Model (like a super-smart chatbot) to help design the strategy and write the proof.
  • Because AI-generated math can sometimes be hallucinated (made up), they also used a "Proof Assistant" (a computer program that checks math like a strict teacher) to verify every single step. The computer said, "Yes, this proof is 100% correct."

Why Does This Matter?

You might ask, "Who cares about painting houses in a circle?"

  1. Quantum Computers: This problem is a stepping stone to understanding Quantum Computers. Scientists want to know if quantum computers can solve these "neighbor coloring" problems much faster than regular computers. To know if a quantum computer is "better," we first need to know the absolute limit of what a regular computer can do. This paper sets that baseline.
  2. AI in Science: This is a landmark moment for Artificial Intelligence. It shows that AI isn't just good at writing poems or coding simple apps; it can now help humans discover new mathematical truths and prove them rigorously.

The Takeaway

The paper tells us that in a world of identical neighbors and limited time, the best we can hope for is to have about 24% of our neighbors sharing the same color. We can't do better, and we can definitely achieve this. And the best part? We figured it out with the help of our new digital friends.