← Latest papers
💻 computer science

Challenging Benchmarks for Diagrammatic Equivalence of Circuits in TPTP and SMT-LIB

This paper introduces a new family of benchmarks for diagrammatic circuit equivalence in TPTP and SMT-LIB formats, providing automated generation scripts and evaluating their performance on state-of-the-art automated theorem provers and SMT solvers across three difficulty variants.

Original authors: Julie Cailler, Noé Delorme, Sophie Tourret

Published 2026-08-28
📖 5 min read🧠 Deep dive

Original authors: Julie Cailler, Noé Delorme, Sophie Tourret

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the quiet, abstract world of theoretical computer science, researchers often grapple with the problem of equivalence: determining whether two different-looking structures actually represent the same underlying reality. Imagine a set of instructions for building a machine. You could write the instructions in a long, winding paragraph, or you could break them down into a bulleted list with diagrams. If both sets of instructions result in the exact same machine functioning in the exact same way, they are equivalent, even if they look nothing alike. This concept is central to a field called diagrammatic reasoning, where processes are drawn as pictures—boxes connected by lines—rather than written as equations. These pictures are used to model complex systems, from the flow of electricity to the behavior of quantum computers. In the realm of quantum computing, where machines manipulate information in ways that defy everyday intuition, verifying that two different circuit diagrams do the same thing is a critical safety check. If a computer cannot prove that two designs are identical, it cannot be trusted to optimize or verify the hardware that will power future technology.

A team of researchers from France and Germany has now introduced a new set of challenges designed to test how well modern automated reasoning tools can handle this specific type of equivalence. Their work focuses on a family of problems they call diagrammatic equivalence, which asks a simple question: given two different circuit diagrams, can they be transformed into one another using a fixed set of rules? The researchers did not just ask the question; they built a factory to generate thousands of unique, difficult examples of this problem. They created three distinct levels of difficulty, ranging from a simplified version involving only the swapping of wires to a complex version that includes various types of electronic components. For each level, they translated the visual diagrams into a language that computers can read, creating a rigorous testing ground for the world's most advanced automated theorem provers and logic solvers.

The researchers began by defining the rules of the game. In their system, circuits are built from basic building blocks, or generators, which are connected by wires. These connections can happen in two ways: one after another, like a chain, or side-by-side, like parallel tracks. The core of the problem lies in the fact that the same circuit can be drawn in many different ways. Just as a sentence can be rearranged without changing its meaning, a circuit diagram can be twisted, stretched, or reorganized according to specific mathematical laws known as coherence equations. The challenge for a computer is to look at two diagrams that appear completely different and determine if they are, in fact, the same object under these rules. To make this testable, the team created three variations of the problem. The first, and most general, allows for any type of component. The second removes all components, leaving only wires that can be swapped around, effectively turning the problem into one of permutation. The third is a simplified version of the second, using only the most basic building blocks to create a more manageable, though still difficult, puzzle.

To generate the data, the team wrote computer programs that act as circuit architects. These programs start with a blank grid and randomly place components and wires. They then apply a series of transformations—like twisting a wire or swapping two adjacent blocks—to create a second version of the circuit that is mathematically identical to the first but looks different. The programs ensure that the two resulting diagrams are equivalent by construction, meaning the answer is always "yes," but the path to proving it is hidden within the complexity of the diagram. The researchers generated thousands of these pairs, varying the number of input wires and the size of the diagrams to create a spectrum of difficulty. They then encoded these visual puzzles into two standard formats used by the scientific community, allowing any automated reasoning tool to attempt a solution.

When the researchers put these benchmarks to the test, they pitted them against the leading automated reasoning tools available today. They selected two specific systems: one that excels at handling arithmetic and logical constraints, and another that is a powerhouse for general logical deduction. The results revealed a clear divide in performance. The system designed to handle arithmetic constraints proved to be significantly more capable, solving a vast majority of the simpler and medium-difficulty puzzles. It managed to verify the equivalence of circuits with up to twenty wires and hundreds of components in many cases. The general deduction system, however, struggled immensely. It failed to solve almost any of the complex problems, getting stuck even on relatively small circuits. The researchers found that the difficulty of the problem was driven by two main factors: the number of wires involved and the total number of connections in the diagram. As these numbers grew, the ability of the tools to find a solution dropped sharply.

The study highlights a significant bottleneck in the field of automated reasoning. While computers are becoming increasingly powerful, the specific combination of arithmetic reasoning and the manipulation of complex structural rules remains a formidable challenge. The researchers observed that the tools that performed best were those that could natively understand the mathematical constraints governing the wires, rather than trying to deduce them purely through logical steps. This suggests that for diagrammatic equivalence to be solved efficiently, future tools may need to integrate arithmetic reasoning more deeply into their core logic. The work does not claim to have solved the problem of verifying quantum circuits, but it has provided a crucial stress test. By offering a standardized, challenging set of problems, the team has given the scientific community a clear way to measure progress. The benchmarks serve as a mirror, reflecting the current limitations of our automated tools and pointing the way toward the specific improvements needed to make the verification of complex, diagram-based systems a reliable reality.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →