Manuscript Offprint
arXiv:2610.16764A note on Finiteness and Boundedness in Cartesian Products of Discrete and Well-Ordered Sets, Application to Transition Systems
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
In this short note, we prove that any closed interval in a well-ordered and discrete space is finite. The coincidence between finiteness and boundedness can then be established for transition systems where the state space is well-ordered and discrete. Finally, this result is also proven when the state space is a Cartesian product of d discrete and well-ordered sets.
Keywords: Finiteness, Boundedness, Transition System, well-ordered set, discrete space, compact.
Contents
1 Introduction 2
2 Background 3
2.1 Definitions and properties of various ordered sets 3
2.2 Basic elements of topology 5
2.3 Transition Systems (TS) and Well-Structured Transition Systems (WSTS) 6
2.3.1 Transition Systems (TS) 6
2.3.2 Well Structured Transition Systems (WSTS) 7
3 Main Results 7
3.1 Fundamental results 7
3.2 On Finiteness and Boundedness in Transition Systems ..... 8
3.3 Finiteness and Boundedness in State variable Transition Systems (SVTS) ..... 10
4 Conclusion ..... 12
These results were motivated by the boundedness problem for well-structured transition systems (WSTS) as specified in [FS01, BFS24]. To decide whether a transition system M and an initial state are such that the set of reachable states from (denoted by ) is finite, is defined as the boundedness problem. The problem statement and its terminology is inspired by Petri [Bra82] nets or Vector addition Systems (VAS) [KM69] theory; it suggests a kind of equivalence between finiteness and boundedness, which is true in the context of Petri nets, but generally false. This problem first resolved by R. Karp and R. Miller (see [KM69]) for VAS, has then been resolved for a large number of classes of WSTS (see [FS01]), itself a class of transition systems described section 2.3.2. The constraints of discreteness and well-ordering especially with respect to the factors of a finite Cartesian product, are not unreasonable in the context of transition systems or discrete event systems (DES) [CL10] where a large number of sub-models (or classes) including Petri nets verifies them.
In section 2, we recall the definition of various order relations and elements of topology that we will need to prove our main results. We also recall section 2.3 the definitions of transition systems and well-structured transition systems, then introduce section 3.3, transition with state variables (SVTS) as a generalization of fair transition systems. In section 3, we start with theoretical results leading to the conditions under which a closed interval collapses to a finite set, establishing that the combination of compactness and discreteness grants finiteness. Then, section 3.2, we apply our result to transition systems [Kel76], introducing a new transition system directly derived from Fair Transition Systems [MP93] and conclude with potential future works section 4
2. Background
Basic notions of orderings and topology can be found in [Mun02, Wil04]. More definitions and properties on ordered sets can be found in [Kru72]. We consider a set Q equipped with two binary relations denoted by and . We limit ourself to recall definitions of ordered sets using the notation that will be used for transition systems later in this note. We conclude this section with the notion of transition systems using the notation .
2.1. Definitions and properties of various ordered sets
Definition 2.1 (Quasi-Ordered Sets and Partially Ordered Sets). A quasi-ordered set (qoset) is a set Q equipped with a reflexive and transitive relation denoted by .
A partially-ordered set (poset) is a qoset such that is antisymmetric.
Definition 2.2 (Totally Ordered Sets). is a totally ordered set is a poset such that every pair of elements of Q is comparable with .
A closed interval in is a set . An open interval in is then a set .
A totally ordered set is sometimes called linearly ordered or simply ordered as in [Bha19, Mun02]. A totally ordered set may have the least upper bound property (LUB) (i.e. a supremum):
Definition 2.3 (Least Upper Bound property (LUB)). A totally ordered set has the LUB property if any non-empty subset of Q that is bounded above, has a least upper bound: if , such that , , , then , such that , , , we have .
Definition 2.4 (Well-Ordered Set). is a well-ordered set if is a totally ordered set and every non-empty subset of Q contains a unique least element.
Definition 2.5 (Well-Quasi-Ordered Set). is a well-quasi-ordered set if is a qoset and for any infinite sequence there exist two indices such that and .
Equivalently, a well-quasi-ordered set is such that every strictly descending sequence is finite and every antichain is finite. Other equivalent definitions can be found in [Mil85].
Lemma 2.1 (well-quasi-order is preserved under finite Cartesian product). The finite Cartesian product of well-quasi ordered sets is well-quasi ordered, consequently, since well-ordered sets are well-quasi ordered, the finite Cartesian product of well-ordered sets is well-founded.
This result is mentioned in [Kru72] and does not hold if the Cartesian product is infinite, since the set would have obvious infinite antichains.
Definition 2.6 (Well-founded Set). is a well-founded set if every non-empty subset of Q has at least one minimal element.
Equivalently, is well-founded if it does not admit an infinite strictly descending sequence. Note that this definition of a well-founded set does not specify any property (such as reflexivity,..), for the relation and if , is a minimal element of means .
If a set is well-ordered then it is well-quasi ordered and if it is well-quasi ordered then it is well-founded. The reverse does not hold.
Just as in lemma 2.1, the finite Cartesian product of well-quasi ordered sets is well-founded, consequently, since well-ordered sets are well-quasi ordered, the finite Cartesian product of well-ordered sets is well-founded under the componentwise order. This does not hold if the Cartesian product is infinite. Counterexamples exist although the argument on the infinite antichain does not work for well-founded sets.
2.2. Basic elements of topology
Definition 2.7 (Order Topology). The order topology on a totally ordered set is the topology generated by the subbasis consisting of open rays of the form and .
Definition 2.8 (Compactness). A subset A of Q is a compact set if any open cover of A has a finite subcover of A.
We can find the following theorem in [Mun02] p.172 or in [Bha19] with a shorter proof.
Theorem 2.1 (Compactness of Intervals in totally ordered sets). Let be a totally-ordered set having the LUB property, equipped with the order topology. Then any closed interval is compact.
We can find the following theorem in [Mun02] p.234.
Theorem 2.2 (Tychonoff). An arbitrary product of compact spaces is compact in the product topology.
Definition 2.9 (Discrete Space). A topological space Q is discrete if every singleton subset of Q is an open.
Equivalently, the collection of all subsets of Q is a discrete topology [Mun02].
Theorem 2.3 (Discreteness and Cartesian product). A Cartesian product of d discrete spaces is discrete (under the condition that d is finite).
If a non-empty Cartesian product is a discrete space then its factors are also discrete.
The proof is easy and comes from the facts that a tuple can be seen as a Cartesian product of singletons: and that a projection map is an open map (see [Mun02] chapter 2 paragraph 19 on product topology)
2.3. Transition Systems (TS) and Well-Structured Transition Systems (WSTS)
In order to model and analyze programs and concurrent systems, many computer science papers utilize the notion of Transition Systems sometimes more appropriately called State Transition Systems as in [CM88], sometimes without even providing a formal definition. In what follows, we first use the general definition introduced in [Kel72, Kel76]. We then present two classes of Transition Systems sections 2.3.2 and 3.3. The later will serve as the basis for the final section of this note, which is devoted to our contribution to boundedness and finiteness.
2.3.1. Transition Systems (TS)
Definition 2.10 (Transition Systems). A Transition System is a pair where:
Q is a non empty state space, a state is an element of Q,
→ is a binary relation over Q and is called the set of transitions.
A pair of states such that is denoted by . denotes the reflexive and transitive closure of and we say that a state is reachable from the state if and only if .
Note that is a qoset by definition and as well as can be infinite.
If Init is a non-empty subset of , then denotes the set of all reachable states from Init: . Note that since is reflexive, , hence is non-empty.
At this stage, neither states nor transitions are precisely defined. This is a deliberate choice intended to make Transition Systems as general as possible. It is therefore not surprising that a number of behavioral properties problems are not decidable for TS. Authors will then expand TS by adding various pieces of information, either by specifying how the set of transitions works as in [FS01] or by refining the state space, especially through the notion of state variables as in [MP93, SSM03].
2.3.2. Well Structured Transition Systems (WSTS)
The concept of well-structured transition systems as a subclass of TS, was mainly motivated by extending the domain of conceptual machines for which boundedness and other behavioral properties would be decidable, (see [FS01] in particular). In this regard, the authors enriched a TS with an order relation denoted in . Here we give the definition with the TS notation of the former section:
Definition 2.11 (Well Structured Transition Systems (WSTS)). A well-structured transition system (WSTS) is a transition system where:
is a TS,
is a well-quasi ordered set,
such that and then such that and .
The third item of this definition suggests a form of monotonicity for .
Interesting classes of WSTS were recently introduced, namely: trace bounded -effective cd-WSTS [CFS16] and very-WSTS [BFGL18] for which the covering graph can be constructed.
3. Main Results
Our main results can be seen in two parts: first, by following-up section 2.1 and 2.2; second, by applying these results to transition systems described section 2.3.
3.1. Fundamental results
Lemma 3.1. The LUB property holds for any well-ordered set .
For any non-empty set A of Q, we can associate the subset B of its upper bounds. If B is non-empty (i.e. if A is bounded above) then B has a unique least element by definition 2.4
Corollary 3.1. Let be a well-ordered set equipped with the order topology. Then any closed interval is compact.
This result is directly derived from the fact that a well-ordered set has the LUB property by lemma 3.1, then by applying theorem 2.1
Theorem 3.1 (Compactness and Discreteness Implies Finiteness). Let be any topological space. If is both compact and discrete, then is a finite set.
Let be a discrete topological space. By definition 2.9, for every element , the singleton set is an open set. We construct a collection consisting of all such singletons:
Since , the collection forms an open cover of .
[a,b] is compact, by definition 2.8, every open cover must admit a finite subcover. Being finite composed of singletons and covering K proves that K is finite
From corollary 3.1 and theorem 3.1, we can easily deduce the following corollary:
Corollary 3.2 (well-ordered and discreteness implies finiteness). If is a well-ordered and discrete space, then any closed interval is finite.
From corollary 3.1, we have compact and can apply theorem 3.1 to deduce that is finite
3.2. On Finiteness and Boundedness in Transition Systems
We first define finiteness and boundedness within the general framework of transition systems as defined section 2.3.1. We then present two settings for transition systems and SVTSs in which finiteness and boundedness coincide with theorems 3.2 3.3.
The concepts of finiteness and boundedness for transition systems are defined with respect to a set of reachable states from either a subset of states (namely, the initial subset called init) or more rarely, from the entire state state space Q. In this last case, we speak of structural finiteness or structural boundedness. Interestingly, for a number of classes of transition systems including Petri nets, structural boundedness is computable (see [Bra82, Mem24]).
Definition 3.1 (Finiteness in Transition systems). Given a transition system and Init a subset of Q, we say that M is Init-finite (or finite) if and only if , is finite.
M is structurally finite if and only if , M is -finite.
Note that can be infinite and M be Init-finite.
Definition 3.2 (Boundedness in Transition systems). Given a transition system , a relation , and Init a subset of Q, we say that M is Init-bounded (or bounded) if and only if , is bounded above.
M is structurally bounded if and only if , M is -bounded.
Strictly speaking, we should say that M is bounded above. However, this terminology comes from Petri net theory, and we will see that theorem 3.3 justifies this misuse of term.
Theorem 3.2 (Boundedness and Finiteness in TS). In a transition system where Q is equipped with a relation such that is a well-ordered and discrete space, we have:
M is (structurally) bounded if and only if M is (structurally) finite.
The same proof can be used for proving that finiteness and boundedness coincide or that structural finiteness and structural boundedness coincide.
As a well-ordered set, has a unique least element . If is bounded, then when have: and . Since is well-ordered and discrete, we can apply corollary 3.2 to deduce that is finite; and since , is finite.
Reversely, if is finite and being a total order, every pair of elements of are comparable then has a greatest element. This holds for all finite subset including itself
However, we cannot conclude if instead of well-ordered, was well-quasi ordered (as in WSTS) since a pair of states could be incomparable. An additional structure of a kind of lattice (for instance, if , , and ) would then be necessary to prove that finiteness implies boundedness.
3.3. Finiteness and Boundedness in State variable Transition Systems (SVTS)
A state variable can represent any kind of information even outside of the modeled system itself (such as an ambient temperature) that is considered useful in regard to the understanding of the behavior of the modeled system. State variables vary within a domain of values and help redefining the concept of state. This important addition to classic transition systems will allow one to speak of assertions or invariants as logical, temporal, or algebraic expressions over a set of state variables (see, for instance, [MP93, Mem24]).
Here, we define the concept of State Variable Transition System (SVTS) clearly drawn from Fair Transition Systems introduced by Z. Manna and A. Pnueli [MP93]. SVTS are slightly more general than Fair transition systems, by relaxing the notion of transition to stick to the definition of a set of transitions as in definition 2.10) and by denoting the state space by Q and defining Init as a subset of the state space (rather than by an “initial condition”). Our result on finiteness and boundedness presented at the end of this section will apply in this setting.
Definition 3.3 (Transition Systems with State variables (SVTS)). A Transition System with State Variables (SVTS) is a transition system augmented by a set of state variables where:
SV is a set of state variables. An element of SV is a state variable and varies in a set called the domain of , the state space Q of M is defined as the Cartesian product of the domains :
a state q as an element of the state space Q and can also be seen as a mapping from to the set of potential values taken by the elements of :
→ is a binary relation over Q and is called the set of transitions.
The notion of places in Petri nets theory (see [Bra82] for theoretical results with their proofs), can be seen as state variables, and a Petri nets are a specific class of SVTS as well as a specific class of WSTS (as mentioned in [FS01]).
For SVTSs equipped with a set of state variables , the definitions of boundedness and finiteness of section 3.2 indeed hold, and assuming that is finite and state variable domains are discrete and well-ordered, theorem 3.2 can be replace by the following theorem:
Theorem 3.3 (Boundedness and Finiteness in SVTS). In an SVTS where:
is finite,
Q is a Cartesian product of d discrete and well-ordered sets we have:
M is (structurally) bounded if and only if M is (structurally) finite.
If is finite, then each state variable varies in , a finite subset of . is well-ordered and is finite, then is bounded by : we can construct componentwise; since and, we have , .
Reversely, let's consider bounded above (i.e. ). First, we know that is discrete from theorem 2.3 and well-founded by lemma 2.1. are well-ordered from which we can deduce that possesses a least element denoted by so we have . Since are well-ordered, we can deduce that each projection of on is a
In [MP93], q is a type consistent interpretation of closed interval , hence is compact by corollary 3.1. Then, by Tychonoff's theorem 2.2, we deduce that is also compact as a Cartesian product of compacts. Being also discrete as a subset of , we can conclude that is an interval both discrete and compact, therefore, it is finite by theorem 3.1. Since , is also finite
Note that if is infinite, then we cannot conclude that Q is discrete. Actually, counterexamples does exist in the general case.
This theorem does apply to Petri nets (as well as VAS) since Petri nets are SVTSs with (i.e. the set of places) finite and states being elements of , their state space satisfies the constraint of discreteness and well-order.
4. Conclusion
To establish a significant space where finiteness and boundedness coincide, we had to turn to topology theory and prove theoretical results that are new to the best of our knowledge, in particular that if a multi-dimensional interval [a, b] inside a finite product of well-ordered sets is discrete, collapses directly into a finite set. This formally bridges the gap between order-theoretic discrete structures and general topological constraints.
Then, we introduced a new class of transition systems that include state variables and is directly inspired from the works of A. Pnueli and Z. Manna with the aim of defining as broad as possible a class of transition systems where finiteness and boundedness coincide. Indeed, this provide us a two prong approach to solve the boundedness problem. We have seen that this is generally not the case for WSTS and that the monotonicity rule (which is essential to the definition of the WSTS and serves as the cornerstone of many results on decidability) does not apply in the context of this result. Hence, the introduction of VSTS without specific property for .
In regard to VSTS, it remains to better position this new conceptual machine with the rest of the vast literature on DES.
References
[BFGL18] Michael Blondin, Alain Finkel, and Jean Goubault-Larrecq. Forward Analysis for WSTS, Part III: Karp-Miller Trees. In Satya Lokam and R. Ramanujam, editors, 37th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2017), volume 93 of Leibniz International Proceedings in Informatics (LIPIcs), pages 16:1–16:15, Dagstuhl, Germany, 2018. Schloss Dagstuhl – Leibniz-Zentrum für Informatik.
[BFS24] Benedikt Bollig, Alain Finkel, and Amrita Suresh. Branch-well-structured transition systems and extensions. Log. Methods Comput. Sci., 20(2), 2024.
[Bha19] Sachin B. Bhalekar. Simple way to prove compactness of closed intervals in simply ordered set with order topology. arXiv:1903.12390v1, 2019.
[Bra82] G. W. Brams. Réseaux de Petri: Théorie et Pratique. Masson, Paris, France, 1982.
[CFS16] Pierre Chambart, Alain Finkel, and Sylvain Schmitz. Forward analysis and model checking for trace bounded wsts. Theoretical Computer Science, 637:1–29, 2016.
[CL10] C. Cassandras and S. Lafortune. Introduction to Discrete Event Systems. Springer, 2010.
[CM88] K. Chandy and J. Misra. Parallel Program Design, A Foundation. Addison-Wesley, 1988.
[FS01] A. Finkel and P. Schnoebelen. Well-structured transition systems everywhere! TCS, 256(1-2):pp. 63–92, 2001.
[Kel72] R. M. Keller. Vector Replacement Systems: A formalism for Modeling Asynchronous Systems. TR 117, Princeton U., Princeton, NJ, USA, December 1972.
[Kel76] R. M. Keller. Formal verification of parallel programs. Commun. ACM, 19(7):pp. 371–384, July 1976.
[KM69] R. Karp and R. Miller. Parallel program schemata. J. of Computer and System Sciences, vol. 3, issue 2:pp. 147–195, 1969.
[Kru72] Joseph B Kruskal. The theory of well-quasi-ordering: A frequently discovered concept. Journal of Combinatorial Theory, Series A, 13(3):297–305, 1972.
[Mem24] Gerard Memmi. Invariants and home spaces in transition systems and Petri nets. ArXiv 2306.07623, 2024.
[Mil85] E. C. Milner. Basic WQO- and BQO-Theory, pages 487–502. Springer Netherlands, Dordrecht, 1985.
[MP93] Zohar Manna and Amir Pnueli. Models for reactivity. Acta Informatica, 30(7):609–678, 1993.
[Mun02] James Munkres. Topology (2nd Edition). Prentice-Hall, Inc., 2002.
[SSM03] S. Sankaranarayanan, H. Sipma, and Z. Manna. Petri Net Analysis Using Invariant Generation, pages 682–701. N. Dershowitz, Verification: Theory and Practice: Essays Dedicated to Zohar Manna on the Occasion of His 64 Birthday, Springer, Berlin, Heidelberg, 2003.
[Wil04] Stephen Willard. General Topology. Dover, Mineola, NY, USA, 2004.