NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Symmetric Synthesis

Rüdiger Ehlers, Bernd Finkbeiner

TL;DR

Designing distributed systems with identical (symmetric) components makes them easier to build, maintain, and scale, but figuring out if a symmetric solution even exists for a given problem is notoriously hard. This paper introduces the first algorithm to automatically synthesize symmetric implementations from temporal logic specifications for "rotation-symmetric" architectures. It also proves a hard mathematical boundary: if processes are hidden from certain system inputs, finding a symmetric solution becomes strictly undecidable.

What Problem Does This Paper Address?

In computer science, many classic protocols and distributed systems are symmetric—meaning every process, regardless of its identity, runs the exact same code or state machine. This is highly desirable in hardware (like VLSI design) and scalable networks because identical components are cheaper to manufacture and easier to verify.

However, some distributed problems fundamentally require symmetry breaking. For example, in the "Dining Philosophers" problem, if every philosopher acts identically, they will all starve; someone has to break the symmetry. Currently, engineers must manually determine if a symmetric solution is possible for a given specification.

This paper attempts to automate this reasoning. It tackles a refinement of the classic distributed synthesis problem: Given a specification of how a system should behave (written in Linear Temporal Logic, or LTL), can an algorithm automatically generate a symmetric implementation where all processes share the exact same finite-state machine?

Methods

The authors focus primarily on rotation-symmetric architectures. In these setups, multiple processes have access to all system inputs, but they see different "rotations" of those inputs based on their position (imagine a ring of nodes where everyone sees the global state, but from their own relative perspective).

Standard reactive synthesis uses an "automata-theoretic" approach: you translate the LTL specification into a tree automaton that accepts valid computation trees, and then extract a finite-state machine from it. However, the authors identify a major roadblock: symmetry is not a regular property. You cannot simply write an LTL formula that says "make sure all processes act symmetrically" and feed it to a standard solver, because finite automata cannot track the arbitrary-length branches required to verify perfect symmetry.

To bypass this, the authors develop a novel synthesis algorithm:

  1. Normalization: Instead of synthesizing the whole computation tree, the algorithm only synthesizes behaviors for "normalized" input sequences (a specific, lexicographically minimal representative of all possible rotated inputs).
  2. Symmetric Completion: They introduce a regular LTL constraint ensuring that processes never spontaneously break symmetry in their outputs unless the inputs were already asymmetric.
  3. Extrapolation: Because of that constraint, the algorithm can take the synthesized tree for normalized inputs and safely "copy-paste" (rotate) it to fill in the rest of the computation tree. This guarantees the final extracted state machine is perfectly symmetric.

Datasets

Not discussed in the paper. (This is a theoretical formal methods paper focused on algorithms, automata theory, and complexity proofs, rather than empirical evaluation on datasets.)

Key Insights and Ideas

  • Symmetry can be decomposed: The realization that symmetry itself isn't a "regular" property (and thus breaks standard synthesis tools) is a great catch. The authors' workaround—splitting the problem into a regular constraint (no spontaneous asymmetry) and a post-processing step (symmetric completion)—is a clever hack to force standard automata-theoretic tools to produce symmetric results.
  • The "Information Boundary": The paper reveals a fascinating threshold for decidability. If processes can see all inputs (even if rotated), symmetric synthesis is solvable. But the moment you introduce "incomplete information"—where processes cannot see certain variables—the problem falls off a cliff into undecidability.
  • Symmetry makes decidable problems undecidable: Surprisingly, the authors prove that symmetric synthesis under incomplete information is undecidable even for architectures where standard (non-symmetric) distributed synthesis is known to be decidable. Forcing the components to be identical adds a layer of complexity that breaks existing synthesis guarantees.

Key Results

  • Algorithm Complexity: The authors successfully developed an algorithm for symmetric synthesis in rotation-symmetric architectures. They proved its running time is doubly-exponential (2EXPTIME) in the length of the specification, and singly-exponential (EXPTIME) in the number of processes.
  • Asymptotic Optimality: They proved that this algorithm is optimal by demonstrating that the symmetric synthesis problem is EXPTIME-complete in the number of processes (achieved via a reduction from space-bounded alternating Turing machines).
  • Undecidability Proof: They formally proved that for architectures with incomplete information (specifically, a simple architecture they call S0), the symmetric synthesis problem is undecidable.

Limitations and Future Work

Limitations: The primary limitation is the hard mathematical wall of undecidability. The exact synthesis algorithm only works when all processes have full visibility of the global inputs. It cannot be extended to systems where processes have private or hidden information.

Future Work: * Semi-algorithms: Because exact algorithms are impossible for incomplete information architectures, the authors suggest adapting bounded synthesis (a semi-algorithm that searches for implementations up to a specific, bounded number of states) to handle symmetric constraints. * Parameterized Systems: The authors propose using symmetric synthesis as a tool for designing arbitrarily scalable systems (systems that must work for any number of processes, $n$). If the symmetric synthesis algorithm proves that no solution exists for a small, fixed number of processes, engineers immediately know that a scalable solution is also impossible, saving valuable development time.

Summary updated

BibTeX
@inproceedings{ehlers2017symmetric,
  author = {Rüdiger Ehlers and Bernd Finkbeiner},
  title = {{Symmetric Synthesis}},
  booktitle = {FSTTCS},
  year = {2017},
  doi = {10.4230/lipics.fsttcs.2017.26},
}
Figure