Four years ago, the mathematician Maria Chudnovsky faced an all-too-common predicament: how to seat 120 wedding guests, some of whom did not get along, at a dozen or so conflict-free tables. Luckily, the problem fell squarely in her realm of expertise. She conceived of the guests as nodes in a network, with links between incompatible nodes. Her task was to color in the nodes using a spectrum of colors representing the different tables. As long as connected nodes never had the same color, there would be no drama at the reception.

Networks of related objects, be they nodes or wedding guests, are known to mathematicians as â€œgraphs,â€ and graph coloring is the much-studied act of partitioning these objects into conflict-free sets. Most graphs, with their tangle of interconnections, are impossible to color with a limited palette. The larger they are, the more colors you need. Moving from node to node, alternating between colors, you inevitably get into traffic jams that force you to pull new hues out of the box. Likewise, in the real world, seating charts, meeting schedules and delivery routes can seldom be made optimal. But since the 1960s, mathematicians have escaped these coloring frustrations by working with so-called perfect graphs, which â€œbehave very nicely with respect to coloring,â€ said Chudnovsky, a 38-year-old math professor at Princeton University.

Perfect graphs are, by definition, colorable with the most limited palette possible. When coloring a graph, every node in a mutually connected cluster, or â€œclique,â€ must receive a distinct color, so any graph needs at least as many colors as the number of nodes in its largest clique. In most graphs, you need many more colors than this. But in perfect graphs, you do not. As the French graph theorist Claude Berge defined them in 1961, perfect graphs require a number of colors exactly equal to the size of their largest clique. The â€œchromatic numberâ€ must also equal the â€œclique numberâ€ for every subset of a perfect graph formed by deleting some of its nodes. This perfection rarely arises in the real world, but the property has made perfect graphs much easier to analyze and prove theorems about than their imperfect counterparts.

Yet, after half a century, an obvious question about perfect graphs remains unanswered: How do you actually color them? â€œPerfect graphs are the graphs that are designed to work well for coloring, so itâ€™s really annoying that we donâ€™t know a good way to color perfect graphs,â€ said Paul Seymour, a graph theorist also at Princeton. â€œFor a mathematician, a problem like that is a magnet. You want to be able to fix the issue.â€

Now, Chudnovsky and collaborators are taking significant steps toward a theorem for coloring all perfect graphs. They have spent the past few years â€œnibbling off different pieces of the pie,â€ said Alan Tucker, a mathematician at Stony Brook University, proving coloring theorems for ever-larger subclasses of perfect graphs. This month, in their most general result yet, Chudnovsky, together with Irene Lo, FrÃ©dÃ©ric Maffray, Nicolas Trotignon and Kristina VuÅ¡koviÄ‡, posted a theorem for coloring all perfect graphs except those containing tricky arrangements of four nodes called â€œsquares.â€ â€œIt gives confidence that the general case might be solved,â€ said GÃ©rard CornuÃ©jols, a mathematician at Carnegie Mellon University.

The hope is that history might repeat itself. Fifteen years ago, researchers raced to prove a theorem establishing the recipe for perfect graphs. After CornuÃ©jols, VuÅ¡koviÄ‡ and Michele Conforti proved the theorem for â€œsquare-freeâ€ perfect graphs in 2001, â€œthe general case came next,â€ Chudnovsky said.

It was in 2002 that Chudnovsky along with Seymour, then her Ph.D. advisor, and two more collaborators proved the â€œstrong perfect graph theoremâ€ establishing what it takes to be a perfect graph. Their proof, which was published in the *Annals of Mathematics* in 2006, filled 150 pages. But the strong perfect graph theorem provides a surprisingly simple recipe for perfection: As Berge correctly guessed 54 years ago, a graph is perfect when it does not contain any arrangements of five or more nodes called â€œodd holesâ€ or â€œodd antiholes.â€

An odd hole is a closed-loop path through part of a graph that passes through an odd number of nodes. (If you drew the graph on paper and cut along this path with scissors, you would cut a hole in the paper.) In an odd antihole, the nodes are connected to all but their nearest neighbors, forming a star-like shape. To see why these oddities render graphs imperfect, consider, for instance, a â€œfive-hole,â€ which looks like a pentagon: Its clique number is two, since only pairs of consecutive nodes are connected. But try to color the five-hole using only two colorsâ€”alternating, for instance, between blue and greenâ€”and you soon get into trouble: The fifth node has a blue neighbor on one side and a green neighbor on the other. A third color is needed. (Three-holes, unlike larger odd holes, are allowed to exist in perfect graphs, because their clique number is three.)

Real-world graphs such as conference schedules, the Manhattan subway system or the human neural network typically contain odd holes, making the study of perfect graphs primarily an intellectual exercise. And yet, â€œthe class of perfect graphs allows you to develop sophisticated techniques that you can use in other classes,â€ said VuÅ¡koviÄ‡, a professor at the University of Leeds in the United Kingdom.

Even perfect graphs can be tremendously complex, demanding detailed consideration of each of their umpteen internal structures and seldom submitting to elegant, concise proofs. â€œThe discrete pieces just donâ€™t yield to overall theories,â€ Tucker said. In their new theorem for coloring all perfect graphs that lack squares (also known as â€œfour-holesâ€), Chudnovsky, Lo, Maffray, Trotignon and VuÅ¡koviÄ‡ took a â€œdivide and conquerâ€ approach, essentially breaking the graphs up into parts, coloring the parts, and then gluing them together again.

To color a given graph, their first step is to scour the graph for a structure called a â€œprism,â€ which consists of a pair of three-holes connected to each other via three paths.

Â

Next, depending on how the prism attaches to the rest of the graph, the researchers partition the graph into two parts, left and right, with a set of nodes serving as a hinge between them. In general, this hinge might contain a square, but because there are too many possible ways to color hinges with squares, the current proof leaves out these tricky cases.

If either the left or right part contains another prism within it, the researchers must break it up again, and so on until no more prisms remain. (Here, graphs with squares again cause trouble, requiring too many partitions for the coloring procedure to work efficiently.)

Once neither left nor right contain a prism, then they can be colored in. The researchers proved that there is an efficient procedure for coloring both the left part and hinge together and the right part and hinge together. Typically, the two different colorings of the hinge wonâ€™t agree; a final step switches the colors of neighboring nodes until they match up.

Now, only cases with squares remain unsolved. Experts disagree about how close the researchers have come to a perfect graph coloring theorem. In VuÅ¡koviÄ‡â€™s opinion, â€œThe square-free case of perfect graphs retains all the structural complexity of the perfect graph. Itâ€™s very close to the general case.â€ CornuÃ©jols, on the other hand, said, â€œI think itâ€™s still a big step.â€

The five collaborators will meet in Grenoble, France, in December to discuss ways to generalize their proof.

â€œWe did a good step, but there are many steps more to be done,â€ said Trotignon, a mathematician and computer scientist at Ã‰cole Normale Superieure in Lyon, France. â€œMy feeling now is that this problem will be solved. Before this step of square-free graphs, I would have said no.â€

If the researchers succeed in proving a theorem for coloring all perfect graphs, some say it would mark the end of an era. â€œTo me, thatâ€™s the last very big open question about them,â€ CornuÃ©jols said.

*Original story reprinted with permission from Quanta Magazine, an editorially independent publication of the Simons Foundation whose mission is to enhance public understanding of science by covering research developments and trends in mathematics and the physical and life sciences.*