Confluence on directed graphs: from local conditions to a unique attracting region
1. Local and global confluence

Let be a directed graph, where is a set of vertices and is a set of directed edges. We write when . At this stage, the graph need not be finite or connected, and loops are allowed.
We write when there is a finite directed walk from to : there exist an integer and vertices such that , , and for every . Vertices may repeat, and walks of length are allowed. In particular, holds without requiring a loop . Reachability is transitive: if and , then .
Definition (Local confluence). The graph is locally confluent if, for every ,
Thus, whenever two directed edges leave the same vertex, their endpoints can reach a common vertex.
Definition (Global confluence). The graph is globally confluent if, for every ,
The difference is the length of the initial branches: local confluence considers two single edges, whereas global confluence considers two arbitrary finite directed walks. The walks used to join the branches may have any finite length in both definitions.
Global confluence immediately implies local confluence. The question is whether a local condition can also guarantee global confluence.
2. Termination and the absence of directed cycles

Definition (Termination). The graph is terminating if there is no infinite sequence of vertices satisfying
The vertices in this sequence are allowed to repeat. For example, a loop produces the infinite sequence . More generally, any directed cycle can be traversed repeatedly. Therefore, termination excludes all directed cycles, including loops.
Proposition. A finite directed graph is terminating if and only if it has no directed cycle.
Proof. A directed cycle produces an infinite sequence of directed edges by repeated traversal, so a terminating graph cannot contain one. Conversely, an infinite sequence in a finite graph must repeat a vertex. The segment between two occurrences gives a nonempty closed directed walk, which contains a directed cycle. Thus, a finite graph without directed cycles is terminating.
For infinite graphs, the absence of directed cycles does not imply termination. For example, the graph with vertices and edges has no directed cycle but admits the infinite sequence
Definition (Terminal vertex). A vertex is terminal if it has no outgoing edge:
In a terminating graph, every vertex can reach a terminal vertex. Indeed, starting from any vertex, continue along an outgoing edge whenever one is available. Termination forces this process to stop at a terminal vertex.
3. Newman’s lemma
Theorem (Newman’s lemma, [1]). Every terminating, locally confluent directed graph is globally confluent.
Proof. We first show that every vertex can reach exactly one terminal vertex, and then deduce global confluence.
Step 1. Every vertex can reach at least one terminal vertex.
This follows from termination, as explained in Section 2.
Step 2. Every vertex can reach at most one terminal vertex.
Suppose otherwise, and let
Then . Termination guarantees a vertex with no outgoing edge to another vertex of . Indeed, if every vertex in had an outgoing edge to a vertex in , repeatedly choosing such an edge would give an infinite sequence. Hence we can choose satisfying
Choose distinct terminal vertices that are reachable from . Since is not terminal, both walks have positive length. Taking their first edges gives
By the choice of , neither nor belongs to . Together with Step 1, this means that can reach exactly one terminal vertex, namely , and can reach exactly one terminal vertex, namely .
Local confluence applied to and gives a vertex such that
By Step 1, can reach a terminal vertex . Consequently,
Uniqueness of the reachable terminal vertex at gives , and uniqueness at gives . Thus , contradicting their choice. Therefore, .
Step 3. The graph is globally confluent.
Suppose and . By Step 1, there are terminal vertices such that and . Both are reachable from , so Step 2 gives . Choosing yields and .
Corollary (Finite version). A finite directed graph without directed cycles is globally confluent if and only if it is locally confluent.
Proof. Global confluence implies local confluence by definition. Conversely, the absence of directed cycles implies termination in a finite graph, so Newman’s lemma applies.
4. A unique attracting region
A terminal vertex describes a destination at which movement stops. To include graphs with directed cycles, we introduce a destination that may contain several vertices.
Definition (Attracting region). An attracting region is a nonempty set satisfying the following two properties.
(i) The subgraph induced by is strongly connected: for every , there is a finite directed walk from to whose vertices all belong to .
(ii) No directed edge leaves :
Thus, vertices within an attracting region can reach one another, and any directed walk that enters the region remains inside it. Equivalently, an attracting region is a strongly connected component with no outgoing edge to another component. A strongly connected component is a maximal nonempty set of mutually reachable vertices; distinct such components are disjoint.
Definition (Basin of attraction). The basin of an attracting region is
In a terminating graph, every attracting region consists of a single terminal vertex. Indeed, two distinct vertices in a strongly connected region would give a nonempty closed directed walk, and a loop would also violate termination. Conversely, every terminal vertex forms an attracting region by itself.
Global confluence alone does not guarantee a single attracting region for the whole graph. For example, two isolated vertices form a globally confluent graph with two attracting regions. To obtain uniqueness across the graph, we require connectivity.
We say that is weakly connected, or connected after forgetting edge directions, if for every there is a finite sequence
such that, for each , either or .
Theorem (Unique attracting region). Let be a finite, nonempty, weakly connected directed graph. If is globally confluent, then it has exactly one attracting region , and
Directed cycles are allowed in this theorem.
Proof.
Step 1. Every vertex can reach at least one attracting region.
Fix a vertex , and let be its strongly connected component. If an edge leaves , follow it to another component . Strong connectivity allows us to reach the initial vertex of any outgoing edge within the current component. Continue whenever an outgoing edge to another component is available.
This process cannot return to a component already visited. Otherwise, the components along the resulting cycle would be mutually reachable and would belong to a single strongly connected component. Since there are finitely many components, the process eventually reaches a component with no outgoing edge to another component. This is an attracting region reachable from .
Step 2. Every vertex can reach at most one attracting region.
Suppose can reach attracting regions and . Choose and with and . Global confluence gives a vertex such that
No directed walk starting in can leave , so . Similarly, . Thus and are strongly connected components with a common vertex, and therefore .
By Steps 1 and 2, denote by the unique attracting region reachable from .
Step 3. The endpoints of every edge have the same attracting region.
If , then can reach every vertex that can reach. In particular, can reach . Uniqueness from Step 2 gives
Thus, the endpoints of an edge have the same attracting region regardless of the direction of that edge.
Step 4. All vertices have the same attracting region.
For arbitrary , weak connectivity gives a finite sequence with an edge in one direction between each consecutive pair. Applying Step 3 along the sequence yields
Hence all vertices can reach the same attracting region , so . Any attracting region is reachable from each of its own vertices, and therefore must equal . This proves uniqueness.
Corollary. Let be a finite, nonempty, weakly connected directed graph without directed cycles. If is locally confluent, then there is exactly one terminal vertex , and every vertex can reach :
Proof. The absence of directed cycles gives termination. Newman’s lemma gives global confluence, and the unique attracting region theorem gives an attracting region reachable from every vertex. Termination forces this region to consist of one terminal vertex.
References
[1] Newman, M. H. A. On Theories with a Combinatorial Definition of “Equivalence”. Annals of Mathematics, Second Series, 43(2), 223–243, 1942. https://doi.org/10.2307/1968867.