Source-linked AI summary

The Reachability Problem for Petri Nets is Not Elementary

Wojciech Czerwinski, Slawomir Lasota, Ranko Lazic, Jerome Leroux, Filip Mazowiecki

arXiv:1809.07115v4cs.FLcs.LO

TL;DR

Petri-net reachability has resisted tight complexity classification despite decidability and longstanding exponential-space lower bounds. The paper develops a new zero-test simulation based on auxiliary counters with exact ratios, proving Tower-hardness and showing that reachability is not elementary. This separates it from coverability and propagates non-elementary hardness to numerous reducible problems and Petri-net extensions.

  • Problem

    The complexity of Petri-net reachability remained unsettled, with exponential space as the best lower bound and an ExpSpace-completeness conjecture persisting for decades.

  • Method

    The paper simulates zero tests using auxiliary counters whose exact ratio is checked through a zero test in the final configuration, rather than exact operation repetition.

  • Results

    The reachability problem is Tower-hard and therefore not elementary.

  • Takeaways & Limitations

    Reachability is much harder than ExpSpace-complete coverability, and related problems reducible from reachability are also not elementary.

  • Takeaways & Limitations

    The paper leaves implications for fixed-dimension flat vector addition systems with states for future investigation.

Abstract

from arXiv · show

Petri nets, also known as vector addition systems, are a long established model of concurrency with extensive applications in modelling and analysis of hardware, software and database systems, as well as chemical, biological and business processes. The central algorithmic problem for Petri nets is reachability: whether from the given initial configuration there exists a sequence of valid execution steps that reaches the given final configuration. The complexity of the problem has remained unsettled since the 1960s, and it is one of the most prominent open questions in the theory of verification. Decidability was proved by Mayr in his seminal STOC 1981 work, and the currently best published upper bound is non-primitive recursive Ackermannian of Leroux and Schmitz from LICS 2019. We establish a non-elementary lower bound, i.e. that the reachability problem needs a tower of exponentials of time and space. Until this work, the best lower bound has been exponential space, due to Lipton in 1976. The new lower bound is a major breakthrough for several reasons. Firstly, it shows that the reachability problem is much harder than the coverability (i.e., state reachability) problem, which is also ubiquitous but has been known to be complete for exponential space since the late 1970s. Secondly, it implies that a plethora of problems from formal languages, logic, concurrent systems, process calculi and other areas, that are known to admit reductions from the Petri nets reachability problem, are also not elementary. Thirdly, it makes obsolete the currently best lower bounds for the reachability problems for two key extensions of Petri nets: with branching and with a pushdown stack.

1 Introduction

The paper establishes that Petri-net reachability is Tower-hard and therefore not elementary, overturning the longstanding ExpSpace-completeness conjecture. Its construction overcomes limitations of earlier counter-simulation techniques and yields hardness at every fixed tower height with few counters.

  • Main Result and Its Significance: The reachability problem is Tower-hard, meaning it requires time or space bounded by towers of exponentials of elementary height and is therefore not elementary.This establishes a lower bound beyond the previously known exponential-space hardness.
  • Main Result and Its Significance: The result refutes ExpSpace-completeness, separates reachability from ExpSpace-complete coverability, and transfers non-elementary hardness to many reducible problems and key Petri-net extensions.Affected areas include formal languages, logic, concurrent systems, process calculi, linear algebra, branching vector addition systems, and pushdown vector addition systems.
  • Petri Nets and Exponential Space Hardness: Lipton’s construction maintains complementary counters with xi+ˆxi = 2^2^i and uses nested nondeterministic loops to implement exponentially larger decrement macros.The unique unblocked branch repeats each loop 2^2^i times, so squaring produces 2^2^(i+1) operations.
  • Main Result and Its Significance: The construction simulates zero tests for counters bounded by R using auxiliary counters with an exact ratio R and a final-configuration zero test.This avoids requiring a macro to repeat counter operations exactly R times, which cannot yield lower bounds beyond ExpSpace through the earlier pattern.
  • Main Result and Its Significance: For every positive integer h, reachability is h-ExpSpace-hard already for Petri nets with h + 13 counters.The refinement establishes tower-height-specific hardness with a counter bound linear in h.

2 Counter Programs

Counter programs provide a convenient imperative presentation of Petri nets and bounded-counter Minsky machines, with complete runs defining computed relations. Their bounded tests and zero-termination conditions support the paper’s reduction framework.

  • Counter-program syntax: Counter programs use increments, decrements, nondeterministic jumps, zero tests, max tests, and a terminal halt condition.Tested counters range from 0 to a fixed bound B, while untested counters are unbounded and cannot be tested.
  • Runs and computed relations: A B-run preserves nonnegative counters, keeps tested counters within [0,B], and interprets max tests as equality checks with B.Runs may block because of invalid decrements or increments, unsuccessful tests, or failed terminal zero checks.
  • Runs and computed relations: Complete runs start with every counter at zero and successfully execute the final halt command, defining the tuples computed in selected counters.The same program can be considered under different bounds for its tested counters.
  • Examples: A simple example has a unique complete run that iterates its loop exactly C times and computes the single tuple ⟨C, 2C⟩.There are no infinite runs in this example.
  • Connection to Petri nets: Counter programs without tested counters present vector addition systems with states, so Petri-net reachability asks whether an input program has a complete run.Petri nets, vector addition systems, and vector addition systems with states admit polynomial-time translations preserving reachability.
  • Connection to Petri nets: The paper reduces a canonical Tower-complete problem to Petri-net reachability to establish a non-elementary lower bound.The reduction is stated to run in linear time with respect to the canonical problem.

3 Simulating Tests

The paper eliminates bounded counter tests by composing programs with ratio amplifiers that encode the bound through counter ratios and verify simulations at termination. This construction preserves computed relations while lowering the tested-counter bound.

  • Amplifiers: A ratio amplifier transforms a program whose tested counters are bounded by R into an equivalent program with tested counters bounded by B.Composing a B-amplifier by B′ with a B′-amplifier by B′′ yields a B-amplifier by B′′.
  • Simulation construction: The construction replaces each tested counter x with an untested complement ˆx, maintaining x + ˆx = R and simulating zero and max tests through transfer loops.An auxiliary counter b initializes complements, while c and d track the required number of loop iterations through the ratio d = c·R.
  • Simulation construction: Final termination requires d and the relevant auxiliary counters to be zero, cumulatively verifying that the test-simulation loops were executed correctly.The terminal command checks d together with counters required to be zero by the amplifier and original program.
  • Motivation and novelty: Unlike Lipton’s approach, the new method verifies cumulative test simulations through a final zero check rather than requiring operations to repeat exactly R times intrinsically.This distinction is the construction’s stated novelty over the earlier complement-counter technique.
  • Correctness: For every valuation, a complete B-run of A▷P exists exactly when a complete R-run of P exists, preserving the final valuation of P’s counters.The reverse direction derives that simulated zero and max tests begin and end with the required values, and that the initialization loop ran exactly R times.
  • Correctness: The construction’s forward simulation initializes complements and replaces each original test by two R-iteration transfer loops, eventually reducing both verification counters to zero.The forward proof uses c = 2q + 1 and d = c·R when the original run contains q zero and max tests.

4 Factorial Amplifier

The factorial amplifier F constructs arbitrarily large counter pairs with ratio k!, using bounded-counter tests and auxiliary counters to enforce exact multiplications. Its complete runs compute precisely the relation b = k!, c > 0, and d = c · b.

  • 4 Factorial Amplifier: Chains of the factorial amplifier F with the composition operator yield amplifiers whose ratios are towers of exponentials.F is a k-amplifier by k!, and composition supplies the tower growth needed later.
  • 4.1 A simple program: Program E tests exact multiplication by each fraction (i + 1)/i, and any inaccurate multiplication prevents completion because later steps cannot repair the deficit.The argument depends on every fraction (i + 1)/i being greater than 1.
  • 4.3 Correctness: At the end of a complete main-loop execution, d = a·k, c = a/(k−1)!, and b = k!, with a divisible by (k−1)!.The final loop reduces x and y to zero after x reaches a·k.
  • 4.3 Correctness: For every positive integer k, complete runs of F compute exactly the relation {⟨b, c, d⟩: b = k!, c > 0, d = c · b}.The converse proof derives the same equalities for every complete run, not only for a constructed successful run.

5 Main Result

The paper composes factorial amplifiers with counter-program simulations to reduce Tower-complete halting to Petri-net reachability. This establishes Tower-hardness and h-ExpSpace-hardness even for nets with a bounded number of counters.

  • 5 Main Result: The Petri nets reachability problem is Tower-hard via a linear-time reduction from the Tower-complete halting problem for counter programs.The reduction composes a tested-counter-free amplifier by 3!^n with the input program and preserves existence of a complete run.
  • 5 Main Result: For every positive integer h, reachability with h + 13 counters is h-ExpSpace-hard.In the classical Petri-net terminology, three additional places encode counter-program control.
  • 5 Main Result: An amplifier by n!^(h+1) can be constructed in time O(n + h) without tested counters, using h + 13 untested counters.The construction requires h + 1 counters to be zero at the terminal halt command.
  • 5 Main Result: Nine of the twelve counters not appearing in the halt command are nevertheless forced to zero at termination of every complete amplifier run.Six of these nine counters are reused to simulate the three counters of the reduced program while keeping the total at h + 13.

6 Concluding Remarks

The paper concludes by emphasizing the non-elementary reachability result while leaving several related directions for future work. One named direction concerns fixed-dimension flat vector addition systems with states.

  • 6 Concluding Remarks: The authors leave investigation of fixed-dimension flat vector addition systems with states as a direction for future consideration.The concluding remarks focus on presenting the main result clearly rather than resolving these extensions.

A Proof of Lemma 6

The proof constructs and successively optimises a counter-program amplifier that multiplies by n!^(h+1) without tested counters. The final construction satisfies Lemma 6 while reducing the counters and terminal zero requirements.

  • The construction begins by composing an initial program with h + 1 factorial-amplifier fragments, yielding an amplifier by n!^(h+1).
  • Each fragment H_j modifies only its j-indexed counters and the three ratio counters associated with the preceding level.
  • The proof establishes fragment invariants that force auxiliary and non-ratio counters to zero, then uses them to remove y_j checks and collapse repeated counter families.
  • The final program T^(2) is an amplifier by n!^(h+1) without tested counters and satisfies the required conditions of Lemma 6.
  • T^(2) uses 3h + 15 untested counters, requires only h + 1 counters to be zero at termination, and leaves only b_(h+1), c_(h+1), d_(h+1) potentially nonzero.
Loading 1809.07115v4…