arXiv:2610.23523cs.CCOct 2026

Manuscript Offprint

arXiv:2610.23523

Complexity of liveness in ring Petri nets and of halting in chip-firing on simple digraphs

Eike Best, Raymond Devillers, Petr Jančar, Matěj Ošťádal

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A ring Petri net (weighted circuit, cyclic weighted T-system) consists of a single directed circuit s0t0s1t1⋯sn−1tn−1s0s_0 t_0 s_1 t_1 \cdots s_{n-1} t_{n-1} s_0 with arbitrary positive arc weights. We show that deciding liveness of ring Petri nets is coNP-complete, and that coNP-hardness holds in the strong sense already for token-conserving rings, in which every transition consumes and produces the same number of tokens. The proof is a short reduction from the covering problem for systems of residue classes (the complement of SIMULTANEOUS INCONGRUENCES). Together with a known reduction to circuits, it follows that liveness of weighted T-systems (weighted marked graphs, synchronous dataflow graphs) is coNP-complete, and coNP-hard in the strong sense. As a further consequence, the halting problem for chip-firing on simple directed graphs is NP-complete, which answers a question of Farrell and Levine. On 7 October 2026, the problem of liveness was posed to the AI model Claude Opus 5.5 (Anthropic), which found the reduction, also suggesting the application to the chip-firing problem, and wrote a first version of this paper; the human authors checked it and, together with the model, revised it iteratively into the present form.

1 Introduction

Weighted T-systems (also known as weighted marked graphs, weighted event graphs, or synchronous dataflow graphs) are Petri nets in which every place has exactly one input and one output transition, while arcs may carry arbitrary weights. For ordinary (plain) T-systems, liveness is decidable in polynomial time: such a system is live iff every circuit carries a token, or equivalently, iff some firing sequence fires every transition exactly once [7], [1, Thm. 5.31]. A counterpart of the second criterion is known for weighted T-systems [26], but there the vector of ones is replaced by a T-invariant that may be exponentially large [1, Sect. 5.10]. The Petri Net Primer [1, Sect. 5.10] states:

“At the date of publishing this book, no polynomial algorithm appears to be known to check the liveness of weighted T-systems.”

It includes two weighted T-nets (Figure 5.23 there) for readers wishing to try a “finger exercise in weighted T-systems”, even just in weighted cycles, also called ring nets, for which it refers to [28]. One of the two nets is taken from [9], and recent advances in [10] are mentioned. Liveness of weighted circuits was related to the Diophantine problem of Frobenius by Chrząstowski-Wachtel and Raczunas [8]. The complexity of liveness has also been described as open in the literature on weighted event graphs and synchronous dataflow graphs. Marchetti and Munier-Kordon [21] write, about liveness and the maximal throughput of timed weighted event graphs, that “the complexity of these two previous problem[s] is still open and is also a challenging theoretical question”, and a survey talk on synchronous dataflow [23] still lists the complexity of schedulability (i.e. liveness) and of the maximal throughput as unknown; see also [22], where a polynomially computable sufficient condition for liveness is given.

On the upper-bound side, Hujsa, Berthomieu, Dal Zilio and Le Botlan showed that a weighted circuit is non-live iff the state equation has a solution leading to a dead marking [18,

Thm. 6.6], and even iff it has a solution leading to an integer vector, possibly with negative entries, at which no transition is enabled [18, Thm. 6.8]; with standard bounds on integer programs this puts liveness of ring nets in coNP for binary-encoded numbers. The same authors established a characterisation of this kind for a class that contains all strongly connected weighted T-systems [19, Cor. 6.7], and derived a coNP upper bound for the structurally bounded systems of that class [19, Sect. 6.2]. This paper supplies a matching lower bound, already for single circuits.