Decidability and Complexity Borders of Reachability Problems
Abstract
Reachability problems are arguably one of the most fundamental type of decision problems in the area of infinite-state system: Essentially every non-trivial decision problem involves solving reachability problems of one kind or another.
Because of this, reachability has continuously received attention since the very early days of automata theory. It therefore seems worthwhile to characterize the decidability and complexity borders of reachability problems. By this we mean results that consider a family of decision problems and describe precisely where, within this family, a decidability or complexity border lies.
The talk will focus on two such settings: One is about decidability, where we aim to describe the state spaces for which reachability is decidable. The other is about complexity, where we aim to describe which kinds of target sets permit polynomial-time algorithms.
Keywords and phrases:
infinite-state systems, pushdown, vector addition systems, reachability, decidability, complexityCategory:
Invited Talk2012 ACM Subject Classification:
Theory of computation Formal languages and automata theoryAcknowledgements:
I am grateful to Roland Guttenberg for discussions that supported ˜1.3.Funding:
††margin:
Funded by the European Union (ERC, FINABIS, 101077902). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Decidability of reachability in infinite-state systems
Storage mechanisms and decidability.
In the area of infinite-state systems, there is a wide variety of automata models that feature finitely many control states and have access to some “storage mechanism”. Examples include pushdown systems (which have access to a stack), vector addition systems with states (which feature -valued counters), counter systems (which have a counters that can be zero-tested), and so on. Given the ubiquitous nature of the reachability problem, there has been a significant amount of work that aims to understand for which of these storage mechanisms the reachability problem is decidable.
Similarities with group theory.
A similar situation exists in Computational Group Theory: One considers an infinite structure (infinite groups, resp. a storage mechanism) and investigates whether a particular decision problem permits an algorithm. This is because many decision problem in group theory can be considered for each infinite group. As above, this raises the question for which groups a particular problem is decidable.
In fact, in group theory, there is a long tradition of providing algebraic (or structural) descriptions of those groups for which a particular problem is decidable. A prominent example is the Boone-Higman Theorem [6, Theorem I]. It concerns the word problem of a finitely generated group, which asks whether two given sequences of generators multiply up to the same element. The theorem states that this is decidable for precisely those finitely generated groups that can be embedded in a simple group that in turn embeds into a finitely presented group. Here, informally, finitely presented means “described by finitely many equations”.
Characterizing decidable storage mechanisms.
The line of work outlined here applies the same spirit to infinite-state systems: Can we somehow structurally characterize those storage mechanisms for which a particular decision problem (here: reachability) is decidable? Obtaining such results requires describing storage mechanisms as mathematical structures, so that we can then characterize those structures that permit decidability.
We shall discuss the framework of valence systems over graph monoids (introduced in [33, 31]). Informally, these are automata consisting of finitely many control states that have access to some storage mechanism, and the storage mechanism itself is described by a finite (undirected) graph (with self-loops allowed). Then, for certain graphs, one obtains automata with a pushdown, with others one obtains automata with counters, etc. It should be noted that there are other results in the same spirit in the infinite-state area, such as for asynchronous programs [23] or affine vector addition systems with integer [5] or continuous counters [3]. Moreover, there is of course a rich variety of sufficient conditions on infinite-state systems for certain reachability problems being decidable, most prominently the well-structured transition systems [1, 12].
Graphs.
Formally, a graph is a pair where is a finite set of vertices and is its set of edges. Here, a singleton for means that has a self-loop, in which case is called looped. A clique is a set of pairwise adjacent vertices. In an independent set, all vertices are pairwise non-adjacent. An induced subgraph of is a graph , where and also , i.e. among its vertices, has precisely those edges that appear in . If there is no danger of confusion, we also call a graph induced subgraph of if is isomorphic to an induced subgraph of .
Graph monoids.
To each graph , we associate the alphabet , where contains decorated versions of the letters in . On , the set of words over , we consider the smallest congruence that satisfies:
| for each | (1) | |||
| (2) |
Here, is allowed, meaning if is looped, then . The congruence gives rise to a monoid, which is a set together with an associative operation and a neutral element . Specifically, we have the monoid . For a word , we use to denote the congruence class of .
Valence systems.
A valence system over a graph is a tuple , where is a finite set of states, is a finite set of transitions, and is its initial state, in which is the alphabet associated with .
A configuration is a pair . For two configurations , we write if there is a transition such that . In other words, the edges of a valence system contain elements of the monoid , and taking a transition means we move from state to state and we multiply the effect with the element in the previous configuration. By , we denote the reflexive, transitive closure of .
Reachability in valence systems.
The reachability problem for valence systems over is the following:
- Given
-
A valence system over , together with states .
- Question
-
Does ?
We denote this decision problem by . Note that here, is the neutral element of , which equals , the congruence class of the empty word .





Example I: Stacks.
To illustrate the definition, let us see some examples. First, suppose has no edges at all, such as in Figure 1(a). Then the only relations induced by Equations 1 and 2 are for every . This means, a word has if and only if can be transformed into the empty word by deleting factors , . This means, we have if and only if belongs to the Dyck language; in other words, viewing ’s as opening brackets and as ’s matching closing bracket, we have if and only if is a well-bracketed expression. Put in yet another way, if we interpret as “push an ” and as “pop an ”, then if and only if the sequence is a valid sequence of instructions of a pushdown that leads from the empty stack to the empty stack. Therefore, valence systems over independent graphs are equivalent to pushdown systems.
Example II: -valued counters.
Now suppose is a clique, meaning we have if and only if for , such as in Figure 1(b). We can then argue as above that a word will satisfy if and only if is well-bracketed, but over a single pair of brackets. Equivalently, we have if and only if every prefix of has and we also have . Hence, if , then valence systems over are just systems with a single counter that (i) can be incremented and decremented and (ii) can never go below zero. Moreover, the reachability problem asks whether we can go from counter-value-zero to counter-value-zero. If , then notice that Equation 2 allows us to commute any two letters that stem from distinct vertices. Therefore, for , we have if and only if, projecting to each subalphabet for , leads to a well-bracketed word over . Thus, valence systems over can be viewed as automata over -many -counters as above, i.e. which cannot go below zero. Such systems are also called vector addition systems with states (VASS) [11].
More examples.
If is a clique with self-loops everywhere, such as in Figure 1(c), then one can see that if and only if for every . Hence, valence systems over are automata with -counters, i.e. ones that can go below zero. These are also known as integer VASS [17] or automata with blind counters [14].
With similar arguments, one can observe that if is the graph in Figure 1(d), then valence systems over correspond to automata with access to two separate stacks, for which the reachability problem is well-known to be undecidable.
Finally, with being the graph in Figure 1(e), valence systems over are equivalent (in terms of reachability) to automata with one pushdown and two -counters. Such systems are usually called pushdown vector addition systems with states (PVASS), and the number of -counters is called their dimension.
The case of groups.
Among those where every vertex has a self-loop, it is well-understood which have a decidable . Note that in the presence of self-loops everywhere, the monoid is actually a group. Groups that arise in this way are also called graph groups or right-angled Artin groups. They are a prominent class in group theory, which motivated Lohrey and Steinberg to study , which in this context is called the rational subset membership problem for the group . A graph is a transitive forest if it is obtained from a forest (i.e. a graph without cycles, but where self-loops are allowed) by (i) picking a root node in each tree of the forest and (ii) adding edges between any two nodes that lie on a path from the root to a leaf. Remarkably, Lohrey and Steinberg obtained the following complete characterization in the case of graph groups [22, Theorem 2]:
Theorem 1.1 (Lohrey and Steinberg 2008).
Suppose is a graph where every vertex has a self-loop. Then is decidable if and only if is a transitive forest.
In the decidable cases, the complexity was described in [18].
Pushdown VASS.
However, when we move beyond the case of groups,
the algorithmic methods of [22, 18]
are not applicable anymore. The latter approaches exploit semilinearity of
Parikh images (in the case of looped transitive forests), which already fails
for ![]()
PVASS-free graphs.
However, among those that in some sense “avoid PVASS”, a full characterization is again available. Let us make this precise. It is not difficult to see that for the following three graphs :
| (3) |
the problem is equivalent to reachability in one-dimensional PVASS. We therefore say that a graph is PVASS-free if it has none of the three graphs in Equation 3 as an induced subgraph. Then, for PVASS-free graphs, the equivalence of Lohrey and Steinberg continues to hold [34, Theorem 3.3]:
Theorem 1.2.
Let be PVASS-free. Then is decidable if and only if is a transitive forest.
The general case?
Beyond the PVASS-free graphs, there still remains an infinite hierarchy of graphs that are not covered by Theorem 1.2. Let us describe this hierarchy in terms of the concrete storage mechanisms that correspond to it. At the lowest level, this hierarchy consists of PVASS, for which decidability is now established [4, 16]. The next level is obtained by building stacks: Here, the storage content consists of a stack where instead of individual letters, we can store PVASS configurations, i.e. a stack and values of -counters. After building stacks, the next level is obtained by adding -counters: We introduce new, separate counters that can be used independently of the “stack of PVASS”. Then, the levels of our hierarchy are obtained by alternating building stacks and adding -counters.
Given that the first level of this hierarchy (namely, PVASS) is known to be decidable, we conjecture that decidability holds for all levels. This is equivalent to the following:
Conjecture 1.3.
Let be any graph. Then is decidable if and only if is a transitive forest.
More information on various types of reachability problems in connection with valence systems can be found in the survey [35].
Related work.
Valence systems over graph monoids have been studied from various other angles, such as first-order logic on configuration graphs [10] finite-state abstractions and unboundedness problems [2, 32, 7], expressiveness of silent transitions [31], games [25, 28], and overapproximations [13] and underapproximations [24, 30] of the reachability relation.
2 Reaching target sets in automata with one counter
While the first part of the talk was about understanding the impact of the structure of infinite-state systems on decidability, the second part is about the impact of the shape of the target set in a reachability problem on the complexity.
In a strict sense, the reachability problem asks whether an infinite-state system can reach a single given configuration. However, it is often important to consider reachability of a target set of configurations: This means, we want to know whether the system can reach some configuration in . It is a common phenomenon that for certain sets , the complexity of the problem can drop substantially. For example, reachability of a given configuration in VASS is Ackermann-complete [19, 9, 20], whereas deciding whether one can reach a configuration with is just -complete [21, 26].
The line of work described here aim to understand which target sets permit efficient algorithms for reachability. However this time, the involved infinite-state systems are extremely simple: They just have access to a single integer counter, with updates represented in binary.
Systems with one integer counter.
Formally, we consider systems of the form , where is a finite set of control states and is a finite set of transitions. Importantly, the numbers on the transitions are encoded in binary. A configuration is a pair . For configurations , we write if there is a transition with . Then, is the reflexive, transitive closure of .
In the classical reachability problem, we are given states and a target , and we want to know whether . This is clearly -complete, where hardness directly follows from subset sum.
The formal framework.
To put the settings of (i) “reaching an exact configuration” and (ii) “covering a configuration” in a general framework, we rely on Presburger arithmetic. The idea is that, for (i), we are given and we want to reach with . For (ii), however, we are also given , but we want to reach such that . The idea of the framework is to generalize these two relationships, “” and “”, by a formula in Presburger arithmetic, the first-order theory of the structure .
This means, our setting consists of a Presburger formula with free variables. Moreover, instead of having as input a single number , we have as input a vector . Instead of defining the problem with the Presburger formula, it will be more convenient to talk about the set of vectors satisfying . Sets obtained in this way are called Presburger-definable. For such a set, we define
i.e. the set of admissible target numbers for the parameter vector . Thus, for each Presburger-definable set , we consider the following problem, denoted :
- Given
-
A system with one integer counter, states , and a vector .
- Question
-
Is there a number such that and ?
Then, if and , then is the classical reachability problem. However, if , then is the coverability problem. Another example is the set
| (4) |
For this set , it is not immediately obvious whether can be decided in polynomial time or whether it is -hard.
Coverability and reachability.
It is well-known that the coverability problem is solvable in polynomial time, and even in the circuit complexity class (see, e.g. the remarks after [8, Corollary 4.9]). However, as mentioned above, the classical reachability problem is -complete. Therefore here, we are interested in the question: For which sets is in polynomial time?
Local density.
Perhaps surprisingly, the complexity of is determined by a particular density measure of , which we define now. For a subset and , we define the -density of at point as
Thus, is the infimum of the probabilities of hitting when choosing points in intervals centered at . And is the variant where instead of intervals, we consider arithmetic progressions with period , radiating outward from .
For as a whole, we define its local density as
More generally, for a subset , we define its local density as
Thus intuitively, is a measure for how isolated the points in are, within arithmetic progressions. Moreover, measures how much one can drive up isolation by choosing suitable .
The following result, shown in [29, Theorem III.2] shows that the above measure of density characterizes those sets for which is in polynomial time, resp. -complete.
Theorem 2.1.
Let be Presburger-definable.
-
(1)
If , then is in .
-
(2)
Otherwise, is -complete.
For example, consider the set from (4). Then for any : The lowest density is attained at , where we get . Hence, we have , meaning Theorem 2.1 tells us that is in , and in particular in polynomial time.
References
- [1] Parosh Aziz Abdulla, Kārlis Čerāns, Bengt Jonsson, and Yih-Kuen Tsay. Algorithmic analysis of programs with well quasi-ordered domains. Inf. Comput., 160(1-2):109–127, 2000. doi:10.1006/inco.1999.2843.
- [2] Ashwani Anand, Sylvain Schmitz, Lia Schütze, and Georg Zetzsche. Verifying unboundedness via amalgamation. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 4:1–4:15. ACM, 2024. doi:10.1145/3661814.3662133.
- [3] A. R. Balasubramanian. Decidability and complexity of decision problems for affine continuous VASS. In Pawel Sobocinski, Ugo Dal Lago, and Javier Esparza, editors, Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2024, Tallinn, Estonia, July 8-11, 2024, pages 7:1–7:13. ACM, 2024. doi:10.1145/3661814.3662124.
- [4] Clotilde Bizière and Wojciech Czerwinski. Reachability in one-dimensional pushdown vector addition systems is decidable. In Michal Koucký and Nikhil Bansal, editors, Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, Prague, Czechia, June 23-27, 2025, pages 1851–1862. ACM, 2025. doi:10.1145/3717823.3718149.
- [5] Michael Blondin and Mikhail A. Raskin. The complexity of reachability in affine vector addition systems with states. In Holger Hermanns, Lijun Zhang, Naoki Kobayashi, and Dale Miller, editors, LICS ’20: 35th Annual ACM/IEEE Symposium on Logic in Computer Science, Saarbrücken, Germany, July 8-11, 2020, pages 224–236. ACM, 2020. doi:10.1145/3373718.3394741.
- [6] William W. Boone and Graham Higman. An algebraic characterization of groups with soluble word problem1. Journal of the Australian Mathematical Society, 18(1):41–53, 1974. doi:10.1017/S1446788700019108.
- [7] P. Buckheister and Georg Zetzsche. Semilinearity and context-freeness of languages accepted by valence automata. In Krishnendu Chatterjee and Jirí Sgall, editors, Mathematical Foundations of Computer Science 2013 - 38th International Symposium, MFCS 2013, Klosterneuburg, Austria, August 26-30, 2013. Proceedings, Lecture Notes in Computer Science, pages 231–242. Springer, 2013. doi:10.1007/978-3-642-40313-2_22.
- [8] Stephen A Cook. A Taxonomy of Problems with Fast Parallel Algorithms. Information and control, 64(1-3):2–22, 1985. doi:10.1016/S0019-9958(85)80041-3.
- [9] Wojciech Czerwiński and Łukasz Orlikowski. Reachability in vector addition systems is ackermann-complete. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 1229–1240. IEEE, 2021. doi:10.1109/FOCS52979.2021.00120.
- [10] Emanuele D’Osualdo, Roland Meyer, and Georg Zetzsche. First-order logic with reachability for infinite-state systems. In Martin Grohe, Eric Koskinen, and Natarajan Shankar, editors, Proceedings of the 31st Annual ACM/IEEE Symposium on Logic in Computer Science, LICS ’16, New York, NY, USA, July 5-8, 2016, pages 457–466. ACM, 2016. doi:10.1145/2933575.2934552.
- [11] Javier Esparza and Mogens Nielsen. Decidability issues for petri nets – a survey, 2024. doi:10.48550/arXiv.2411.01592.
- [12] Alain Finkel and Philippe Schnoebelen. Well-structured transition systems everywhere! Theoretical Computer Science, 256(1-2):63–92, 2001. doi:10.1016/S0304-3975(00)00102-X.
- [13] Moses Ganardi, Rupak Majumdar, and Georg Zetzsche. The complexity of bidirected reachability in valence systems. In Christel Baier and Dana Fisman, editors, LICS ’22: 37th Annual ACM/IEEE Symposium on Logic in Computer Science, Haifa, Israel, August 2 - 5, 2022, pages 26:1–26:15. ACM, 2022. doi:10.1145/3531130.3533345.
- [14] Sheila A. Greibach. Remarks on blind and partially blind one-way multicounter machines. Theoretical Computer Science, 7(3):311–324, 1978. doi:10.1016/0304-3975(78)90020-8.
- [15] Roland Guttenberg, Wojciech Czerwinski, and Slawomir Lasota. Reachability and related problems in vector addition systems with nested zero tests. In 40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025, Singapore, June 23-26, 2025, pages 581–593. IEEE, 2025. doi:10.1109/LICS65433.2025.00050.
- [16] Roland Guttenberg, Eren Keskin, and Roland Meyer. PVASS reachability is decidable. CoRR, abs/2504.05015, 2025. doi:10.48550/arXiv.2504.05015.
- [17] Christoph Haase and Simon Halfon. Integer vector addition systems with states. In Joël Ouaknine, Igor Potapov, and James Worrell, editors, Reachability Problems - 8th International Workshop, RP 2014, Oxford, UK, September 22-24, 2014. Proceedings, volume 8762 of Lecture Notes in Computer Science, pages 112–124. Springer, 2014. doi:10.1007/978-3-319-11439-2_9.
- [18] Christoph Haase and Georg Zetzsche. Presburger arithmetic with stars, rational subsets of graph groups, and nested zero tests. In 34th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2019, Vancouver, BC, Canada, June 24-27, 2019, pages 1–14. IEEE, 2019. doi:10.1109/LICS.2019.8785850.
- [19] Jérôme Leroux. The reachability problem for petri nets is not primitive recursive. In 62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 1241–1252. IEEE, 2021. doi:10.1109/FOCS52979.2021.00121.
- [20] Jérôme Leroux and Sylvain Schmitz. Reachability in vector addition systems is primitive-recursive in fixed dimension. In 34th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2019, Vancouver, BC, Canada, June 24-27, 2019, pages 1–13. IEEE, 2019. doi:10.1109/LICS.2019.8785796.
- [21] Richard Lipton. The reachability problem is exponential-space hard. Yale University, Department of Computer Science, Report, 62, 1976.
- [22] Markus Lohrey and Benjamin Steinberg. The submonoid and rational subset membership problems for graph groups. Journal of Algebra, 320(2):728–755, 2008. doi:10.1016/j.jalgebra.2007.08.025.
- [23] Rupak Majumdar, Ramanathan S. Thinniyam, and Georg Zetzsche. General decidability results for asynchronous shared-memory programs: Higher-order and beyond. Log. Methods Comput. Sci., 18(4), 2022. doi:10.46298/LMCS-18(4:2)2022.
- [24] Roland Meyer, Sebastian Muskalla, and Georg Zetzsche. Bounded context switching for valence systems. In Sven Schewe and Lijun Zhang, editors, 29th International Conference on Concurrency Theory, CONCUR 2018, Beijing, China, September 4-7, 2018, volume 118 of LIPIcs, pages 12:1–12:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018. doi:10.4230/LIPIcs.CONCUR.2018.12.
- [25] Sebastian Muskalla. Certificates for automata in a hostile environment. PhD thesis, TU Braunschweig, Germany, 2023. doi:10.24355/dbbs.084-202401201643-0.
- [26] Charles Rackoff. The covering and boundedness problems for vector addition systems. Theoretical Computer Science, 6(2):223–231, 1978. doi:10.1016/0304-3975(78)90036-1.
- [27] Klaus Reinhardt. Reachability in Petri nets with inhibitor arcs. Electronic Notes in Theoretical Computer Science, 223:239–264, 2008. Proceedings of the Second Workshop on Reachability Problems in Computational Models (RP 2008). doi:10.1016/j.entcs.2008.12.042.
- [28] Irmak Sağlam and Georg Zetzsche. Infinite-state games with energy objectives beyond counters, 2026. To appear in Proc. of ICALP 2026. doi:10.48550/arXiv.2605.05935.
- [29] Yousef Shakiba, Henry Sinclair-Banks, and Georg Zetzsche. A complexity dichotomy for semilinear target sets in automata with one counter. In 40th Annual ACM/IEEE Symposium on Logic in Computer Science, LICS 2025, Singapore, June 23-26, 2025, pages 594–608. IEEE, 2025. doi:10.1109/LICS65433.2025.00051.
- [30] Aneesh K. Shetty, S. Krishna, and Georg Zetzsche. Scope-bounded reachability in valence systems. In Serge Haddad and Daniele Varacca, editors, 32nd International Conference on Concurrency Theory, CONCUR 2021, Virtual Conference, August 24-27, 2021, volume 203 of LIPIcs, pages 29:1–29:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPIcs.CONCUR.2021.29.
- [31] Georg Zetzsche. Silent transitions in automata with storage. In Fedor V. Fomin, Rusins Freivalds, Marta Z. Kwiatkowska, and David Peleg, editors, Automata, Languages, and Programming - 40th International Colloquium, ICALP 2013, Riga, Latvia, July 8-12, 2013, Proceedings, Part II, volume 7966 of Lecture Notes in Computer Science, pages 434–445. Springer, 2013. doi:10.1007/978-3-642-39212-2_39.
- [32] Georg Zetzsche. Computing downward closures for stacked counter automata. In Ernst W. Mayr and Nicolas Ollinger, editors, 32nd International Symposium on Theoretical Aspects of Computer Science, STACS 2015, Garching, Germany, March 4-7, 2015, volume 30 of LIPIcs, pages 743–756. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2015. doi:10.4230/LIPIcs.STACS.2015.743.
- [33] Georg Zetzsche. Monoids as Storage Mechanisms. PhD thesis, Technische Universität Kaiserslautern, 2016. URL: https://kluedo.ub.rptu.de/frontdoor/index/index/docId/4400.
- [34] Georg Zetzsche. The emptiness problem for valence automata over graph monoids. Inf. Comput., 277:104583, 2021. doi:10.1016/J.IC.2020.104583.
- [35] Georg Zetzsche. Recent advances on reachability problems for valence systems (invited talk). In Paul C. Bell, Patrick Totzke, and Igor Potapov, editors, Reachability Problems - 15th International Conference, RP 2021, Liverpool, UK, October 25-27, 2021, Proceedings, Lecture Notes in Computer Science, pages 52–65. Springer, 2021. doi:10.1007/978-3-030-89716-1_4.
