Abstract
Quantitative languages are an extension of boolean languages that assign to each word a real number. Mean-payoff automata are finite automata with numerical weights on transitions that assign to each infinite path the long-run average of the transition weights. When the mode of branching of the automaton is deterministic, nondeterministic, or alternating, the corresponding class of quantitative languages is not robust as it is not closed under the pointwise operations of max, min, sum, and numerical complement. Nondeterministic and alternating mean-payoff automata are not decidable either, as the quantitative generalization of the problems of universality and language inclusion is undecidable. We introduce a new class of quantitative languages, defined by mean-payoff automaton expressions, which is robust and decidable: it is closed under the four pointwise operations, and we show that all decision problems are decidable for this class. Mean-payoff automaton expressions subsume deterministic mean-payoff automata, and we show that they have expressive power incomparable to nondeterministic and alternating mean-payoff automata. We also present for the first time an algorithm to compute distance between two quantitative languages, and in our case the quantitative languages are given as mean-payoff automaton expressions.
Introduction: The Robustness-Decidability Trade-off
In formal methods, quantitative languages generalize classical boolean languages by assigning real numbers to words, allowing for the modeling of resources like energy or memory consumption. The standard model, the Mean-Payoff Automaton (MPA), calculates the long-run average of transition weights. However, researchers have long faced a fundamental trade-off: deterministic MPAs are decidable but lack robustness (closure under operations like max or sum), while nondeterministic and alternating MPAs are more expressive but suffer from undecidability in key problems like language inclusion.
As shown in the table above, the new class of Mean-Payoff Automaton Expressions provides a "Goldilocks" solution: it is the only class that is both robust under all standard operations and fully decidable.
The Proposed Solution: Mean-Payoff Automaton Expressions
The authors introduce a framework where quantitative languages are built using expressions over deterministic MPAs: $$E ::= A \mid \max(E, E) \mid \min(E, E) \mid \text{sum}(E, E)$$ where $A$ is a deterministic mean-payoff automaton. This approach bypasses the undecidability of nondeterminism while regaining the algebraic flexibility needed to combine models.
Technical Approach: Geometry and Vector Sets
To analyze these expressions, the paper translates automata problems into geometric ones. The core idea is to characterize an expression by its Vector Set—the set of all possible value-tuples produced by the underlying deterministic machines across all infinite words.
The verification process involves computing the convex hull of cycle values and applying a novel $F_{\min}$ operator. This operator computes the set of points obtainable by taking the pointwise minimum of coordinates from a given set. By representing these sets as systems of linear constraints, the authors transform language inclusion tests into geometric emptiness tests.
Key Results and Decidability
The primary contribution is the proof that all major decision problems—emptiness, universality, inclusion, and equivalence—are decidable for this new class. While the complexity is high (4EXPTIME), it represents a significant theoretical leap over the undecidable nondeterministic models. Furthermore, the authors provide the first algorithm to compute the distance between two quantitative languages, defined as $\sup_w |L_A(w) - L_B(w)|$, enabling quantitative verification of how much an implementation deviates from its specification.
Conclusion and Future Directions
Mean-payoff automaton expressions offer a robust and decidable framework for quantitative verification. While computational complexity remains a hurdle for practical implementation, this work establishes the mathematical foundation for analyzing resource-constrained systems with a degree of algebraic flexibility previously thought to be incompatible with decidability. Future work may explore similar robust classes for other measures, such as discounted sums.
Summary updated