Tropical Fourier-Motzkin elimination, with an application to real-time verification

Xavier Allamigeon, Uli Fahrenberg, Stéphane Gaubert, Ricardo David Katz, Axel Legay

TL;DR

This paper introduces a new framework for tropical polyhedra with mixed constraints, allowing researchers to handle both strict ($<$) and non-strict ($\leq$) inequalities in a tropical (max-plus) setting. The authors develop a tropical version of the Fourier-Motzkin elimination algorithm and demonstrate how it can prevent "state-space explosion" in the formal verification of real-time systems, such as timed automata.

What Problem Does This Paper Address?

In the world of formal verification, "timed automata" are used to model systems where timing is critical (like communication protocols or embedded controllers). Traditionally, these systems are analyzed using zones—sets of clock constraints. However, zones have a major drawback: they are convex. This means when you combine different possible paths of a system, you can't simply take their union; you have to keep them as a list of separate zones. This leads to a "state-space explosion" where the number of zones to track grows uncontrollably.

Tropical polyhedra were proposed as a solution because they are closed under union (the "tropical" version of a convex hull). However, standard tropical polyhedra are topologically closed, meaning they couldn't represent strict inequalities ($x < 5$), which are essential for many real-time protocols. This paper bridges that gap, creating a mathematical framework that handles strict constraints while maintaining the efficiency of tropical geometry.

Methods

The authors employ several sophisticated mathematical and algorithmic tools:

  • Semiring of Affine Germs: To handle strict inequalities, the authors use "germs"—essentially representing a value as $a - \epsilon$, where $\epsilon$ is an infinitesimal perturbation. This allows them to treat strict inequalities as non-strict ones in a specialized algebraic structure ($\mathbb{G}$).
  • Tropical Fourier-Motzkin (FM) Elimination: Variable elimination is a cornerstone of linear algebra. The authors derive a tropical analogue of the FM algorithm, providing a constructive way to project high-dimensional tropical polyhedra onto lower dimensions.
  • Mean Payoff Games (MPGs): FM elimination is notorious for generating a massive number of redundant inequalities. The authors prove that deciding if a tropical inequality is redundant is computationally equivalent to solving a Mean Payoff Game—a well-studied problem in game theory and computer science.
  • Weak Redundancy Criterion: Since solving MPGs can be expensive, they introduce a faster, polynomial-time "weak" elimination procedure that still keeps the total execution time within a single-exponential bound.

Datasets

As a theoretical and algorithmic paper, it does not use large-scale empirical datasets. Instead, the authors use timed automata models as a benchmark for their proof-of-concept. They specifically illustrate their methods using a reachability analysis of a timed automaton fragment to show how their approach avoids the "splitting" of symbolic states that plagues traditional zone-based methods.

Key Insights and Ideas

  • The Geometry of Zones: The paper proves a beautiful structural result: tropical polyhedra with mixed constraints are exactly the tropically convex unions of finitely many (possibly non-closed) zones.
  • Elimination is Possible: Before this paper, it wasn't clear if a Fourier-Motzkin-style elimination could work in the tropical setting, especially for non-closed sets. The authors show that not only does it work, but it also handles the "mixed" nature of the constraints elegantly.
  • Game Theory Link: The connection between tropical geometry and Mean Payoff Games is a powerful "aha moment." It allows researchers to use highly optimized game-solving engines to prune redundant mathematical constraints.

Key Results

  • Algorithmic Framework: The authors successfully defined the operations needed for reachability analysis (delay, reset, union, and intersection) within their new tropical framework.
  • Complexity Bounds: They established that while FM elimination can lead to double-exponential growth in the worst case, using their redundancy elimination techniques brings the complexity down to a single-exponential bound.
  • Verification Accuracy: By correctly handling strict inequalities, their method avoids the "over-approximation" errors that occur when using standard closed tropical polyhedra, which could previously lead to "false positives" in safety checks (e.g., saying a crash is possible when it actually isn't).

Limitations and Future Work

  • Computational Cost of MPGs: While Mean Payoff Games are in NP $\cap$ co-NP and generally fast in practice, there is still no known polynomial-time algorithm for them. This could be a bottleneck for extremely large systems.
  • Implementation Maturity: The authors developed a prototype in OCaml (TPLib), but they acknowledge that more work is needed to compare its performance and precision against industry-standard tools like UPPAAL on large-scale, real-world case studies.
  • Geometric Understanding: The authors note that certain geometric aspects of tropical polyhedra, such as the nature of their "faces," are still not fully understood, which could lead to even more efficient algorithms in the future.

Summary updated

Abstract

We introduce a generalization of tropical polyhedra able to express both strict and non-strict inequalities. Such inequalities are handled by means of a semiring of germs (encoding infinitesimal perturbations). We develop a tropical analogue of Fourier-Motzkin elimination from which we derive geometrical properties of these polyhedra. In particular, we show that they coincide with the tropically convex union of (non-necessarily closed) cells that are convex both classically and tropically. We also prove that the redundant inequalities produced when performing successive elimination steps can be dynamically deleted by reduction to mean payoff game problems. As a complement, we provide a coarser (polynomial time) deletion procedure which is enough to arrive at a simply exponential bound for the total execution time. These algorithms are illustrated by an application to real-time systems (reachability analysis of timed automata).
BibTeX
@article{allamigeon2014tropical,
  author = {Xavier Allamigeon and Uli Fahrenberg and Stéphane Gaubert and Ricardo David Katz and Axel Legay},
  title = {{Tropical Fourier-Motzkin elimination, with an application to real-time verification}},
  journal = {Int. J. Algebra Comput.},
  year = {2014},
  url = {https://openreview.net/forum?id=S537i1Hd8f},
}

Loading related content...

Figure