betaFeedback

WorksComputer Science

Decreasing Diagrams are Complete for Confluence

Abstract

Confluence is a fundamental property of nondeterministic computations, arising from parallelism, concurrency, or freedom in the evaluation order. It guarantees that such a computation always yields the same result, regardless of the order in which steps are taken. The decreasing diagrams technique of van Oostrom is one of the most versatile methods for establishing confluence of transition systems (abstract rewriting systems). It reduces global confluence to local confluence: a system is confluent whenever its transitions admit a locally decreasing labeling. Essentially all classical confluence criteria arise as corollaries. A central question, posed by van Oostrom in 1993, asks whether the decreasing diagrams technique is complete: Does every confluent transition system admit a locally decreasing labeling? This is Problem 56 of the RTA List of Open Problems. A positive answer was known only for countable systems, and recently up to the first uncountable cardinal ℵ1\aleph_1. The general case remained open. We settle this thirty-three-year-old problem in full. We prove that every confluent transition system admits a locally decreasing labeling using only three labels. This bound is optimal, as two labels do not suffice even at the first uncountable cardinality. It follows that this single criterion can, in principle, certify the confluence of every confluent system, and hence of every confluent program. The entire development is machine-checked in the Isabelle/HOL and Lean proof assistants and relies only on classical logic and the axiom of choice.

CCS Concepts: • Theory of computation → Equational logic and rewriting.

Additional Key Words and Phrases: confluence, decreasing diagrams, Church–Rosser, abstract rewriting

Dedicated to the memory of Jan Willem Klop (1945–2025), dear friend and colleague, and a founder of the theory of term rewriting, for whom the completeness of decreasing diagrams was a favourite open problem.

Introduction

Confluence, also known as the Church–Rosser property, is of central importance to the theory of computation. A transition system ⟨S,→⟩\langle S, \to\rangle, where →\to is a binary relation on a set of states SS, is confluent if two finite computations from a common state can always be brought back together:

←∗⋅→∗⊆→∗⋅←∗\leftarrow^{*} \mathbin{\cdot} \to^{*} \subseteq\to^{*} \mathbin{\cdot} \leftarrow^{*}

or equivalently

Figure 6.

A confluent nondeterministic system is deterministic in its results: despite any possible parallelism, concurrency, freedom in the evaluation order, or nondeterministic choices in such a system, all terminating computations that begin in the same state yield the same outcome.

Confluence is load-bearing in the meta-theory behind programming languages and verification. The Church–Rosser theorem for the λ\lambda-calculus underpins the determinacy of the evaluation of functional programs, and the consistency of equational reasoning about them [5, 9], justifies lazy

Authors’ Contact Information: Jörg Endrullis, Vrije Universiteit Amsterdam, Amsterdam, The Netherlands, [email protected]; Ievgen Ivanov, Taras Shevchenko National University of Kyiv, Kyiv, Ukraine, [email protected]; Femke van Raamsdonk, Vrije Universiteit Amsterdam, Amsterdam, The Netherlands, [email protected]. and optimal evaluation strategies [3, 37], and makes type checking decidable in dependently typed languages [49]. Beyond the λ\lambda-calculus, confluence separates genuine nondeterminism from mere interleaving [38, 46], governs the convergence of replicated data [7, 47] and state-space reduction in model checking [6], and is a correctness criterion for constraint solvers [1] and Knuth–Bendix completion [34].

Concurrent and distributed programs are a prime source of confluence questions, since a program induces a transition system on its states whose confluence can be subtle. As a small example, take two processes computing greatest common divisors over shared variables:

GCD⁡(A,B)∥GCD⁡(B,C),\operatorname{GCD}(A,B) \mathbin{\|} \operatorname{GCD}(B,C),

each process repeatedly comparing its two operands and replacing the larger by their difference. Here ∥\| denotes parallel composition under an interleaving semantics: a computation is any interleaving of the steps of the two processes, which interfere through the shared variable BB. Whether this system is confluent is subtle, and depends on the granularity of its steps. If each comparison-and-update is one atomic step — for instance, guarded by a lock on the two operands — then the system is confluent with the unique result A=B=C=gcd⁡(A,B,C)A = B = C = \operatorname{gcd}(A,B,C). If instead the comparison and the assignment are two separate steps, the system is not confluent as a consequence of lost updates through stale reads. The outcome then depends on the schedule. Confluence is thus a subtle property, and reasoning about it soundly calls for rigorous, formal methods.

Confluence is most elegantly studied at the abstract level of transition systems, also called abstract rewriting systems [31, 50]; criteria proved there apply uniformly to every concrete system that instantiates them. Henrio et al. [21] have recently demonstrated that abstract confluence methods — in particular van Oostrom’s decreasing diagrams and de Bruijn’s weak diamond property [10] — can be employed fruitfully to prove confluence of actual programs: they mechanize de Bruijn’s weak diamond method in the Rocq proof assistant and use it to establish confluence of programs in an actor language. Decreasing diagrams are equally central to the automated confluence analysis of rewriting systems, where they underlie the rule-labeling criteria of provers such as CSI [57]; confluence is, indeed, a highly active research area, with an annual International Workshop on Confluence and Confluence Competition [39]. These are precisely the methods studied in the present paper, and completeness of the method means that, in principle, this single technique can certify the confluence of every confluent program.

Because confluence is undecidable for many classes of systems, a rich arsenal of sufficient criteria for confluence has been developed: Newman’s lemma [41], the Hindley–Rosen lemma [22, 45], Huet’s strong confluence [26], and many others [31, 50]. The most versatile of these are de Bruijn’s weak diamond property [10] and van Oostrom’s decreasing diagrams technique [54, 55]. Both infer global confluence from local peaks alone, by labeling the rewrite steps with elements of a well-founded order and constraining, through these labels, how each peak may be joined. The two criteria are in fact equal in strength [15], yet decreasing diagrams are often more convenient to apply: they replace de Bruijn’s total order and asymmetric peak condition with a partial order and a single symmetric diagram (Figure 1 (PDF p. 6)).1 A system whose confluence can, in principle, be established in this way is called decreasing Church–Rosser [54, 55]. The power of the method is striking: essentially all of the classical criteria above arise as instances by a suitable choice of labels. This makes the defining question of the method unavoidable: is it complete?

Figure 1 (PDF p. 6). Decreasing elementary diagram. The inner dotted arrows are just a visual aid: the dotted green lines stand for weak decrease (≥\geq), the dotted red arrows for strict decrease (>>). Furthermore, multiple incoming arrows represent choice, thus weakening the requirements.

Does the Church–Rosser property imply the decreasing Church–Rosser property?

This is Problem 56 of the RTA List of Open Problems, posed by van Oostrom in 1993 [12, 53]: can confluence always be localized — witnessed by a decreasing labeling of the one-step relation? In other words: is every confluent system provably confluent by this single technique?

The problem was known to have a positive answer for all countable systems [54]; Endrullis, Klop, and Overbeek later sharpened the countable case, showing that just two labels suffice there [17]. The countable barrier was first crossed by Ivanov [28], who proved that every confluent system of cardinality at most ℵ1\aleph_1 is decreasing Church–Rosser — in fact, with three labels. He also showed that two labels do not suffice for all confluent systems of cardinality ℵ1\aleph_1, so three labels are optimal at this cardinality. Conditional completeness of decreasing diagrams under additional assumptions (e.g., weak normalization) was studied in [16, 55]. The general question of unconditional completeness of decreasing diagrams remained open.

Uncountable systems are not a curiosity. Although the programs of interest are typically countable, confluence questions arise just as naturally for genuinely uncountable systems — rewriting over the reals, hybrid and cyber-physical systems, and infinitary or probabilistic semantics. These are not hypothetical: a hybrid system has an uncountable continuous state space and yields a confluent, uncountable ARS of the kind studied in verification (Remark 2.3). Their cardinalities readily exceed ℵ1\aleph_1: the reals have cardinality 2ℵ02^{\aleph_0}, and collections of functions over them are larger still. Here set theory sets the terms of the problem. Ivanov’s bound [28] reaches the continuum only under the Continuum Hypothesis [48]; without it, 2ℵ02^{\aleph_0} may lie arbitrarily far up the hierarchy of alephs (Easton’s theorem [13]). An unconditional treatment therefore requires completeness at every cardinality. Such systems arise readily: a sensor logger that records real-valued readings (see Example 4.3) yields a confluent ARS of cardinality 2ℵ02^{\aleph_0} without a cofinal rewrite sequence, for which completeness was previously known only under the Continuum Hypothesis; if the readings are sets of reals, its cardinality 22ℵ02^{2^{\aleph_0}} exceeds ℵ1\aleph_1 outright.

Contributions. We resolve Problem 56 [12, 53] in full by proving that every confluent abstract rewrite system is decreasing Church–Rosser, with no cardinality restriction. Moreover, we show that three labels always suffice (Theorem 6.2), and this is optimal, since two labels do not suffice [28]. We thereby also establish the completeness of the weak diamond property for confluence, since de Bruijn’s weak diamond property and decreasing diagrams are equivalent.

To the best of our knowledge, these are the first unconditional completeness results for methods of proving confluence. This outcome was not foregone: van Oostrom conjectured that decreasing diagrams are incomplete [55], Conjecture 2.3.1, and related questions about uncountable directed sets are independent of ZFC [51]. Moreover, the proof reveals hidden structure in every connected confluent system: a cofinal, locally almost deterministic subsystem, generalizing Klop’s cofinal reductions [33] beyond the countable case.

Outline. Section 2 fixes notation and recalls the decreasing diagrams method. Section 3 introduces the key tools employed throughout the paper. Section 4 develops the fan construction, which settles the question for every system whose confluence cardinal cfc⁡(→)\operatorname{cfc}(\to) is regular (more generally, for all almost regular systems). Section 5 develops the double fan construction for the remaining case where cfc⁡(→)\operatorname{cfc}(\to) is singular. Together with the two-label countable case (Lemma 3.3), this assembles the full completeness result in Section 6; Section 7 concludes with directions for future work.

Formalization. To eliminate any doubt about a delicate transfinite argument, the entire development is independently machine-checked in two proof assistants, Isabelle/HOL and Lean [11]; both formalizations are archived on Zenodo [14]. Both proofs use only the standard axioms of classical mathematics.2 The mathematical content — the definitions, constructions, and proofs — is the authors’ own; the formalizations were developed with the assistance of Anthropic’s Claude, under the authors’ direction and review. The authors take full responsibility for the correctness and presentation of this work.

By the proof-theoretic conservativity of Isabelle/HOL [35], the theorem dcr_three_of_confluent of Singular.thy, with its definitions unfolded, is already provable in Pitts’ standard HOL [43], and hence our completeness result holds in ZFC. A Lean proof alone would not give this, as Lean’s type theory needs inaccessible cardinals to be interpreted in ZFC [8].

Preliminaries

We recall some central definitions from abstract rewriting and the decreasing diagrams technique. In the paper we work in ZFC [18]; in particular, we freely use the Axiom of Choice and standard facts about well-orderings, ordinals, and cardinals.

We use standard notation for cardinals. For a cardinal κ\kappa, we write κ+\kappa^{+} for its successor cardinal, the least cardinal greater than κ\kappa. For an infinite cardinal κ\kappa, its cofinality cf⁡(κ)\operatorname{cf}(\kappa) is the least cardinal λ\lambda such that κ\kappa is the union of λ\lambda sets, each of cardinality <κ<\kappa. This set-theoretic cofinality cf⁡(κ)\operatorname{cf}(\kappa) of a cardinal should not be confused with the cofinality cfc⁡(→)\operatorname{cfc}(\to) of an ARS ⟨A,→⟩\langle A,\to\rangle, introduced in Definition 2.9. An infinite cardinal κ\kappa is regular if cf⁡(κ)=κ\operatorname{cf}(\kappa)=\kappa, and singular otherwise. Every infinite successor cardinal is regular. Hence every singular cardinal κ\kappa is an uncountable limit cardinal, that is, β<κ\beta<\kappa implies β+<κ\beta^{+}<\kappa.

Let AA be a set. For a relation →⊆A×A\to\subseteq A\times A we write

  • →∗\to^{*} or → ⁣→\to\!\to for its reflexive transitive closure, and →+\to^{+} for its transitive closure;

  • ←\leftarrow for the inverse of →\to;

  • ↔\leftrightarrow for the symmetric closure of →\to;

  • ≡\equiv to denote the identity relation, that is, ≡={(a,a)∣a∈A}\equiv=\{(a,a)\mid a\in A\};

  • →≡\to^{\equiv} for the reflexive closure →∪≡\to\cup\equiv of →\to;

For a set B⊆AB\subseteq A, we moreover define →(B)={c∣b∈B, b→c}\to(B)=\{c\mid b\in B,\ b\to c\}, and we write #(B)\#(B) for the cardinality of BB. If a→ ⁣→ba\to\!\to b, then bb is a reduct of aa, and we say that aa reaches bb.

Definition 2.1 (Abstract Rewriting System). An abstract rewriting system (ARS) ⟨A,→⟩\langle A,\to\rangle consists of a non-empty set AA and a binary relation →⊆A×A\to\subseteq A\times A. An ARS ⟨B,⇝⟩\langle B,\rightsquigarrow\rangle is called a sub-ARS (or subsystem) of ⟨A,→⟩\langle A,\to\rangle, denoted ⟨B,⇝⟩⊆⟨A,→⟩\langle B,\rightsquigarrow\rangle\subseteq\langle A,\to\rangle, if B⊆AB\subseteq A and ⇝⊆→\rightsquigarrow\subseteq\to.

Abstract rewriting systems are sometimes defined more generally, as a set AA of objects together with a set of steps and two functions assigning to each step a source and a target in AA. In contrast to a relation, this permits several distinct parallel steps with the same source and target. All results of this paper carry over to this more general setting: it suffices to assign the same label to all parallel steps (steps sharing source and target), which reduces the general case to the relational one. In the remainder of the paper, we therefore work with ARSs whose steps form a relation →⊆A×A\to\subseteq A\times A.

Definition 2.2 (Rewrite sequence). A rewrite sequence in ⟨A,→⟩\langle A,\to\rangle is a finite or infinite sequence a0→a1→a2→⋯a_{0}\to a_{1}\to a_{2}\to\cdots of elements of AA with ai→ai+1a_i\to a_{i+1} for every consecutive pair. It is called simple if it visits no element twice (i≠ji\ne j implies ai≠aja_i\ne a_j).

An element a∈Aa\in A is a normal form if there is no b∈Ab\in A with a→ba\to b.

Remark 2.3. Uncountable ARS arise naturally from hybrid (discrete–continuous) systems [20]. With any such system HH we associate an ARS ⟨S,→⟩\langle S,\to\rangle whose states SS are the continuous states of

HH, and where s1→s2s_1 \to s_2 holds whenever HH reaches s2s_2 from s1s_1 by continuous evolution within one discrete mode, or by a single (possibly jump-inducing) mode change. Since the continuous state space is real-valued, SS is typically uncountable.

For instance, a bouncing ball [27 Figure 4] has state (y,v)∈R2(y,v) \in\mathbb{R}^2 (yy the height above ground, vv the velocity) and two modes: “in motion”, governed by ddt(y,v)=(v,−g)\frac{\mathrm{d}}{\mathrm{d}t}(y,v)=(v,-g) while y>0y>0 with gravity gg, and “stopped” at y=v=0y=v=0; each floor impact (y→0y\to0) resets the velocity to −cv-cv for a fixed restitution coefficient cc. This standard model exhibits Zeno behavior [20] — infinitely many bounces in finite time — and never reaches the “stopped” mode, so it fails to capture a ball that comes to rest. Following [36], one repairs this with nondeterminism: the “in motion” ball may switch to “stopped” once ∣y∣|y| and ∣v∣|v| are small enough, making that mode reachable. The resulting ARS ⟨S,→⟩\langle S,\to\rangle is confluent (the “stopped” mode is always reachable), nondeterministic, non-terminating, and uncountable. Here confluence means that the outcome does not depend on the nondeterministic timing of the mode switch: whichever switch is taken, the ball comes to rest in the same state. As this resting state is reachable from every state, the system is a trivial instance of our results (see Convention 3.1); the non-trivial cases are illustrated by the running Example 2.10 and by Examples 3.15 and 4.3. Further examples, combining the nondeterminism of physical models with that of control software in cyber-physical systems, follow from [20, 36, 44].

Definition 2.4 (Confluence). An ARS (A,→)(A,\to) is confluent (CR) if ← ⁣←⋅→ ⁣→⊆→ ⁣→⋅← ⁣←\leftarrow\!\leftarrow\mathbin{\cdot} \to\!\to\subseteq\to\!\to\mathbin{\cdot} \leftarrow\!\leftarrow, that is, every pair of finite, coinitial rewrite sequences can be joined to a common reduct.

Definition 2.5 (Deterministic). Let ⟨A,→⟩\langle A,\to\rangle be an ARS. An element a∈Aa\in A is called deterministic if, for all b,cb,c with a→ba\to b and a→ca\to c, we have b=cb=c. We say that a step a→ba\to b is deterministic if its source aa is deterministic, and we call a rewrite sequence deterministic if all steps in the sequence are deterministic. The ARS ⟨A,→⟩\langle A,\to\rangle is called deterministic if all its elements are deterministic.

Definition 2.6 (Almost deterministic). Let ⟨A,→⟩\langle A,\to\rangle be an ARS. A rewrite sequence is almost deterministic if it contains at most one non-deterministic step. The ARS ⟨A,→⟩\langle A,\to\rangle is

  1. locally almost deterministic if whenever a←⋅→ba\leftarrow\mathbin{\cdot}\to b there exist almost deterministic reductions a→ ⁣→ca\to\!\to c and b→ ⁣→cb\to\!\to c to some c∈Ac\in A, and

  2. globally almost deterministic if whenever a←∗ ⁣→∗ba\mathrel{\leftarrow^*\!\to^*}b there exist almost deterministic reductions a→ ⁣→ca\to\!\to c and b→ ⁣→cb\to\!\to c to some c∈Ac\in A.

Intuitively, an almost deterministic reduction makes at most one genuine choice; this is exactly what a two-label decreasing diagram can absorb (see Lemma 4.6).

Remark 2.7. The concepts of globally/locally almost deterministic ARS are analogous to, but somewhat less restrictive than the concept of a 1-branching one-step nondeterministic (or, alternatively, almost deterministic) Church-Rosser strategy considered in [29], where it was shown that every confluent ARS with reduction relation of the cardinality ℵ1\aleph_1 has a 1-branching 1-nCR strategy.

Definition 2.8 (Connected component). Two elements a,b∈Aa,b\in A are connected if a↔∗ba\mathrel{\leftrightarrow^*}b. A set C⊆AC\subseteq A is connected if, for every a,b∈Ca,b\in C, we have a↔∗ba\mathrel{\leftrightarrow^*}b. Moreover, CC is called a connected component of ⟨A,→⟩\langle A,\to\rangle if it is a maximal connected subset of AA.

Definition 2.9 (Cofinal subset). A set C⊆AC\subseteq A is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle if, for every a∈Aa\in A, there exists c∈Cc\in C such that a→∗ca\to^*c. We define

cfc⁡(→)=min⁡{ #(C)∣C is a cofinal subset of ⟨A,→⟩ },(1)\operatorname{cfc}(\to)=\min\{\,\#(C)\mid C\text{ is a cofinal subset of }\langle A,\to\rangle\,\}, \tag*{(1)}

that is, the minimal cardinality of any cofinal subset of ⟨A,→⟩\langle A,\to\rangle. A subsystem ⟨B,⇝⟩\langle B,\rightsquigarrow\rangle of ⟨A,→⟩\langle A,\to\rangle is cofinal if its carrier BB is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle.

Example 2.10 (Successor relation). Consider ⟨N,→⟩\langle\mathbb{N}, \to\rangle with n→n+1n \to n+1 for all n∈Nn \in\mathbb{N}; this ARS is connected and confluent (even deterministic). A set C⊆NC \subseteq\mathbb{N} is cofinal if and only if it is infinite, so cfc⁡(→)=ℵ0\operatorname{cfc}(\to)=\aleph_0.

Remark 2.11. If ⟨A,→⟩\langle A,\to\rangle is confluent and connected, and cfc⁡(→)\operatorname{cfc}(\to) is finite, then cfc⁡(→)=1\operatorname{cfc}(\to)=1. Indeed, let C={c1,…,cn}C=\{c_1,\ldots,c_n\} be a finite cofinal subset. Any two elements of CC are connected and hence, by confluence, have a common reduct; by induction on nn, all elements of CC have a common reduct dd. Then {d}\{d\} is cofinal, and hence cfc⁡(→)=1\operatorname{cfc}(\to)=1. Without confluence this fails: the ARS with steps a→ba\to b, a→ca\to c, c→dc\to d, c→ec\to e is connected, but its three normal forms b,d,eb,d,e must belong to every cofinal subset, so cfc⁡(→)=3\operatorname{cfc}(\to)=3.

Notation 2.12. For a family {→α}α∈I\{\to_\alpha\}_{\alpha\in I} of relations →α⊆A×A\to_\alpha\subseteq A\times A indexed by a well-founded partial order ⟨I,<⟩\langle I,<\rangle, we define

→=⋃α∈I→α→<β=⋃α<β→α→≤β=⋃α≤β→α\begin{aligned} \to&= \bigcup_{\alpha\in I}\to_\alpha\\ \to_{<\beta} &= \bigcup_{\alpha<\beta}\to_\alpha\\ \to_{\leq\beta} &= \bigcup_{\alpha\leq\beta}\to_\alpha \end{aligned}

Moreover, we use →<α∪<β\to_{<\alpha\cup<\beta} as shorthand for (→<α∪→<β)(\to_{<\alpha}\cup\to_{<\beta}).

The decreasing diagrams method of van Oostrom [54] derives confluence from a well-founded labeling of the rewrite steps, by requiring that every peak can be completed into a decreasing elementary diagram as shown in Figure 1 (PDF p. 6): the peak c←βa→αbc\mathrel{\leftarrow_\beta}a\mathrel{\to_\alpha}b is joined at a common reduct dd by b→<α∗→≡β→<α∪<β∗db\mathrel{\to_{<\alpha}^{*}}\mathrel{\to_{\equiv_\beta}}\mathrel{\to_{<\alpha\cup<\beta}^{*}}d and c→<β∗→≡α→<α∪<β∗dc\mathrel{\to_{<\beta}^{*}}\mathrel{\to_{\equiv_\alpha}}\mathrel{\to_{<\alpha\cup<\beta}^{*}}d, where →<α\to_{<\alpha} collects the steps whose label is strictly below α\alpha (in the partial order), and →≡γ\to_{\equiv_\gamma} denotes at most one step of label γ\gamma.

Definition 2.13 (Decreasing Church–Rosser). An ARS ⟨A,→⟩\langle A,\to\rangle is decreasing Church–Rosser (DCR) over a well-founded partial order ⟨I,<⟩\langle I,<\rangle if →=⋃α∈I→α\to=\bigcup_{\alpha\in I}\to_\alpha for some family {→α}α∈I\{\to_\alpha\}_{\alpha\in I} of relations →α⊆A×A\to_\alpha\subseteq A\times A (see Notation 2.12) such that every (local) peak c←βa→αbc\mathrel{\leftarrow_\beta}a\mathrel{\to_\alpha}b can be joined by rewrite sequences of the form shown in Figure 1 (PDF p. 6).3 Such a family {→α}α∈I\{\to_\alpha\}_{\alpha\in I} is called a locally decreasing labeling of →\to. For an ordinal γ\gamma, we write DCR⁡γ\operatorname{DCR}_\gamma for decreasing Church–Rosser over ⟨{β∣β<γ},<⟩\langle\{\beta\mid\beta<\gamma\},<\rangle; in particular, DCR⁡n\operatorname{DCR}_n for n∈Nn\in\mathbb{N} means that the nn labels 0,…,n−10,\ldots,n-1 suffice.

The following is the main theorem of decreasing diagrams [54].

Theorem 2.14 (Soundness of Decreasing Diagrams). If an ARS is decreasing Church–Rosser, then it is confluent.

In other words DCR ⇒\Rightarrow CR.

Key concepts and tools

We begin by sketching the overall strategy. Since a locally decreasing labeling can be assembled component by component, we may restrict attention to a single connected, confluent ARS. Within a component, our goal is to carve out a cofinal subsystem ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle that is locally almost deterministic (Definition 2.6): every local peak is joined by two reductions, each making at most one nondeterministic choice. Such a subsystem is decreasing with only two labels (Lemma 4.6), and a decreasing labeling of a cofinal subsystem extends to the whole system at the cost of a single extra label (Lemma 3.2) — yielding the three labels of our main theorem, which is optimal. The entire difficulty thus lies in constructing such a cofinal, locally almost deterministic subsystem, and this is what the tools of this section serve. The notions of trap, escape, and trap degree measure how large a subsystem a point can always escape. In Section 4, we employ fans that are distinguished points of maximal escape ability; they act as waypoints for joining the subsystem together as it grows.

We now introduce these tools in detail.

Convention 3.1 (Connected components). For finding a locally decreasing labeling, it suffices to consider each connected component separately: every local peak lies within a single component, so locally decreasing labelings of the components together form a locally decreasing labeling of the whole system. Moreover, an ARS is confluent if and only if all its connected components are. Therefore, in Sections 3–5, we mainly consider ARSs ⟨A,→⟩\langle A, \to\rangle that are connected and confluent, and satisfy cfc⁡(→)>1\operatorname{cfc}(\to) > 1 (see Definition 2.9). The excluded case cfc⁡(→)=1\operatorname{cfc}(\to) = 1 is trivial: then some element mm is reachable from every element, and two labels suffice (Lemma 3.3). Under these assumptions, there are no normal forms: a normal form would be reachable from every element, and thus form a cofinal singleton.

Cofinal subsystems

The concept of cofinal subsets plays a prominent role in our constructions. In Sections 4 and 5, we will construct a connected, confluent subsystem ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle whose carrier SS is a cofinal subset of ⟨A,→⟩\langle A, \to\rangle. A locally decreasing labeling of such a subsystem extends to the whole system at the cost of a single additional label (Lemma 3.2). For two labels, this is the construction underlying the countable-completeness result of Endrullis, Klop and Overbeek [16, 17]; the general formulation, as a step from DCRn\mathrm{DCR}_n to DCRn+1\mathrm{DCR}_{n+1} is due to Ivanov [28].

Lemma 3.2 (Labeling extension). Let ⟨B,⇝⟩\langle B, \rightsquigarrow\rangle be a connected, confluent sub-ARS of ⟨A,→⟩\langle A, \to\rangle such that BB is a cofinal subset of ⟨A,→⟩\langle A, \to\rangle. If ⟨B,⇝⟩\langle B, \rightsquigarrow\rangle is decreasing Church–Rosser over ⟨{β∣β<α},<⟩\langle\{ \beta\mid\beta< \alpha\}, < \rangle for some ordinal α≥1\alpha\ge1, then ⟨A,→⟩\langle A, \to\rangle is decreasing Church–Rosser over ⟨{β∣β≤α},<⟩\langle\{ \beta\mid\beta\le\alpha\}, < \rangle.

Proof. We extend the labeling from ⟨B,⇝⟩\langle B, \rightsquigarrow\rangle to ⟨A,→⟩\langle A, \to\rangle as follows. For each node a∈A∖Ba \in A \setminus B, we choose one step a→a′a \to a' that starts a shortest path from aa to BB (so a′a' is one step closer to BB), and label this step with label 00. For all steps of ⟨A,→⟩\langle A, \to\rangle that remain unlabeled, we assign label α\alpha. Now consider a peak c←γa→δbc \xleftarrow{\gamma} a \xrightarrow{\delta} b with x∈Ax \in A. If this peak is inside the subsystem ⟨B,⇝⟩\langle B, \rightsquigarrow\rangle, then there is a decreasing elementary diagram inside the subsystem. Otherwise, the peak is not (fully) inside the subsystem. If b=cb = c, we can join with empty steps. If b≠cb \ne c, then one of the steps is labeled by α\alpha, that is, γ=α\gamma= \alpha or δ=α\delta= \alpha. Consequently the joining reductions can employ arbitrary steps with labels <α< \alpha: we can first use steps with label 00 to reach the subsystem ⟨B,⇝⟩\langle B, \rightsquigarrow\rangle, and then use steps with labels <α< \alpha to join inside the confluent subsystem.

:::

In [16] it has been established that countable systems can be labeled with 2 labels. A related lemma on the existence of a spanning forest in a countable confluent ARS was also given in [25 Lemma 1]. In [28], Ivanov has extended this result to all systems with a countable cofinality cfc⁡(→)\operatorname{cfc}(\to). We call a rewrite sequence cofinal in ⟨A,→⟩\langle A,\to\rangle if the set of its elements is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle.

Lemma 3.3 (Countable cofinality). Every connected confluent ARS ⟨A,→⟩\langle A,\to\rangle with countable cofinality cfc⁡(→)\operatorname{cfc}(\to) has a cofinal rewrite sequence and is decreasing Church–Rosser over ⟨{0,1},<⟩\langle\{0,1\},<\rangle.

Proof. Assume that ⟨A,→⟩\langle A,\to\rangle is connected, confluent, and has countable cofinality. Let us show the existence of a cofinal rewrite sequence. Consider two cases.

Case 1: cfc⁡(→)\operatorname{cfc}(\to) is finite. Then cfc⁡(→)=1\operatorname{cfc}(\to)=1 by Remark 2.11, so ⟨A,→⟩\langle A,\to\rangle has some element m∈Am\in A that is reachable from every other element of AA. Then the one-element sequence (m)(m) is a (finite) cofinal rewrite sequence.

Case 2: cfc⁡(→)\operatorname{cfc}(\to) is infinite. Let BB be an infinite countable cofinal subset of ⟨A,→⟩\langle A,\to\rangle and ff be a choice function such that for each a∈Ba\in B, f(a)∈{b∣a↔b}f(a)\in\{b\mid a\leftrightarrow b\}. Let C=B∪f(B)C=B\cup f(B), where f(B)f(B) is the image of a set under ff. Then CC is a countable subfield [28] of →\to, i.e., the field of some countable subrelation of →\to. Then by [28 Lemma 24] (a lemma about connected Church–Rosser subfield extension) applied to the relation →\to and the set CC (and arbitrary sets BB, B′B', PsP_s and element xx in the notation of [28]), CC has an extension to a countable subset C′C' with C⊆C′⊆AC\subseteq C'\subseteq A such that ⟨C′,→∣C′⟩\langle C',\to|_{C'}\rangle is connected and confluent. Note that any countable confluent ARS has Klop’s cofinality property [16 Definition 7 and Theorem 9]. Then since ⟨C′,→∣C′⟩\langle C',\to|_{C'}\rangle is connected, from [16 Lemma 8] it follows that ⟨C′,→∣C′⟩\langle C',\to|_{C'}\rangle has a cofinal rewrite sequence that is also cofinal in ⟨A,→⟩\langle A,\to\rangle.

Thus, in any case, ⟨A,→⟩\langle A,\to\rangle has some nonempty finite or infinite cofinal rewrite sequence a1→a2→a3→…a_1\to a_2\to a_3\to\ldots. We may assume that this sequence is simple: if some element occurs infinitely often, then it is reachable from every element, so cfc⁡(→)=1\operatorname{cfc}(\to)=1 and Case 1 applies; otherwise, erasing loops (repeatedly continuing from the last occurrence of the current element) yields a simple cofinal rewrite sequence. If this sequence is considered as a sub-ARS of ⟨A,→⟩\langle A,\to\rangle, it is connected, confluent, and, moreover, decreasing Church–Rosser over ⟨{0},<⟩\langle\{0\},<\rangle (all rewrite steps in it can be labeled with 0 for the purpose of decreasing diagrams). Thus ⟨A,→⟩\langle A,\to\rangle is decreasing Church–Rosser over ⟨{0,1},<⟩\langle\{0,1\},<\rangle by Lemma 3.2.

:::

Example 3.4 (Example 2.10 continued). The system ⟨N,→⟩\langle\mathbb{N},\to\rangle is itself the cofinal rewrite sequence 0→1→2→⋯0\to1\to2\to\cdots of Lemma 3.3.

Traps and escapes

The following concepts of escape, trap, and trap degree have been pioneered in [28]. They are also key tools for our constructions. Informally, a high trap degree means “room to maneuver”: the greater a point’s trap degree, the larger the subsystems it can always escape.

Definition 3.5 (Escape). An escape of an element a∈Aa\in A from T⊆AT\subseteq A is a finite rewrite sequence a→a1→⋯→ana\to a_1\to\cdots\to a_n (n≥1n\ge1) such that a1,…,an∉Ta_1,\ldots,a_n\notin T and, for every t∈Tt\in T, it holds that an↛∗ta_n\nrightarrow^{*}t. This concept is illustrated in Figure 2. Without loss of generality, we will tacitly assume that escape paths are simple (this can always be achieved by cutting out cycles).

Figure 2. An escape of aa from TT: the rewrite sequence avoids TT and ends outside of the predecessors of TT. (The element aa itself is allowed to be part of TT). If aa cannot escape TT, then TT is called a trap for aa.

Observe that the first element aa of the escape is allowed to be in TT. In particular, aa can escape {a}\{a\} iff a→+ba\to^{+}b for some bb with b↛∗ab\nrightarrow^{*}a.

Example 3.6 (Example 2.10 continued). An element n∈Nn\in\mathbb{N} has an escape from T⊆NT\subseteq\mathbb{N} if and only if TT contains no element n′n': an escape n→n+1→⋯→mn\to n+1\to\cdots\to m must avoid TT and end in some mm with m>tm>t for all t∈Tt\in T. For instance, the single step n→n+1n\to n+1 is an escape of nn from {0,…,n}\{0,\ldots,n\}.

Lemma 3.7 (Escape or reach). Let ⟨A,→⟩\langle A,\to\rangle be connected and confluent such that cfc⁡(→)>1\operatorname{cfc}(\to)>1, and let S⊆AS\subseteq A and a∈Aa\in A. If aa does not reach SS (that is, a̸→∗sa\not\to^{*} s for all s∈Ss\in S), then aa has an escape from S∪{a}S\cup\{a\}, and hence also from SS.

Proof. Since cfc⁡(→)>1\operatorname{cfc}(\to)>1, the set {a}\{a\} is not cofinal, so there is some c∈Ac\in A with c̸→∗ac\not\to^{*}a. By connectedness and confluence, aa and cc have a common reduct dd. Then d̸→∗ad\not\to^{*}a, since otherwise c→∗d→∗ac\to^{*}d\to^{*}a; in particular d≠ad\ne a. Let a=a0→a1→⋯→an=da=a_0\to a_1\to\cdots\to a_n=d be a simple rewrite sequence; then n≥1n\geq1. For 1≤i≤n1\leq i\leq n we have ai≠aa_i\ne a (by simplicity) and ai∉Sa_i\notin S (since aa does not reach SS). Moreover, dd reaches neither aa nor any element of SS. Thus the sequence is an escape of aa from S∪{a}S\cup\{a\}, and every escape from a set is also an escape from each of its subsets. □

Definition 3.8 (Trap). A set T⊆AT\subseteq A traps A′⊆AA'\subseteq A if no a∈A′a\in A' has an escape from TT. Then we also say that TT is a trap for A′A'.

Example 3.9 (Example 2.10 continued). By the characterization of escapes above, a set T⊆NT\subseteq\mathbb{N} is a trap for nn if and only if TT contains an element >n>n. For instance, {n+1}\{n+1\} is a trap for nn, while ∅\varnothing and {0,…,n}\{0,\ldots,n\} are not. Consequently, TT traps all of N\mathbb{N} if and only if it contains elements above every nn, that is, if and only if TT is infinite.

Definition 3.10 (Trap degree). The trap degree of a set of elements A′⊆AA'\subseteq A is

trap⁡(A′)=min⁡{#(B)∣B is a trap for A′},(2)\operatorname{trap}(A')=\min\{\#(B)\mid B\text{ is a trap for }A'\}, \tag*{(2)}

that is, the minimal cardinality of any trap BB for A′A'. For a∈Aa\in A, we also write trap⁡(a)\operatorname{trap}(a) as shorthand for trap⁡({a})\operatorname{trap}(\{a\}).

Example 3.11 (Example 2.10 continued). We have trap⁡(n)=1\operatorname{trap}(n)=1 for every n∈Nn\in\mathbb{N}, whereas trap⁡(N)=ℵ0=cfc⁡(→)\operatorname{trap}(\mathbb{N})=\aleph_0=\operatorname{cfc}(\to).

The crucial property employed throughout our constructions is that an element with trap degree α\alpha can escape any subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle for which #(S)<α\#(S)<\alpha.

The trap degree trap⁡(A)\operatorname{trap}(A) of the entire system is closely related to the minimal cardinality of a cofinal subset. The difference between a trap for AA and a cofinal subset of ⟨A,→⟩\langle A,\to\rangle only concerns the normal forms. The normal forms must be included in any cofinal subset, but they don’t need to be part of a trap (they are already trapped by themselves). In the setting of our construction (considering a single connected and confluent component) the two coincide:

Lemma 3.12. If ⟨A,→⟩\langle A,\to\rangle is connected and confluent, and cfc⁡(→)\operatorname{cfc}(\to) is infinite, then trap⁡(A)=cfc⁡(→)\operatorname{trap}(A)=\operatorname{cfc}(\to).

Proof. There are no normal forms at all (a normal form nn would be reachable from every element by confluence and connectedness, giving cfc⁡(→)=1\operatorname{cfc}(\to)=1), and without normal forms every cofinal subset is a trap and vice versa, so trap⁡(A)=cfc⁡(→)\operatorname{trap}(A)=\operatorname{cfc}(\to).

Every trap for AA is also a trap for each single element a∈Aa \in A. Hence trap⁡(a)≤trap⁡(A)\operatorname{trap}(a) \le\operatorname{trap}(A) for every a∈Aa \in A, and in the setting of Lemma 3.12 the cardinal cfc⁡(→)\operatorname{cfc}(\to) is an upper bound for the trap degree of all elements. This justifies the following terminology.

Definition 3.13 (Maximal trap degree). Let ⟨A,→⟩\langle A,\to\rangle be connected and confluent such that cfc⁡(→)\operatorname{cfc}(\to) is infinite. An element a∈Aa \in A has maximal trap degree if trap⁡(a)=cfc⁡(→)=(trap⁡(A))\operatorname{trap}(a)=\operatorname{cfc}(\to)=(\operatorname{trap}(A)).

Example 3.14 (Example 2.10 continued). No element of N\mathbb{N} has maximal trap degree, since trap⁡(n)=1<ℵ0=cfc⁡(→)\operatorname{trap}(n)=1<\aleph_0=\operatorname{cfc}(\to). The next example shows the other extreme.

Example 3.15 (Finite sets of reals). Let AA be the set of finite subsets of R\mathbb{R}, with steps X→X∪{r}X\to X\cup\{r\} for every r∈R∖Xr\in\mathbb{R}\setminus X. This ARS is connected and confluent: any X,Y∈AX,Y\in A have the common reduct X∪YX\cup Y. Let C⊆AC\subseteq A with #(C)<2ℵ0\#(C)<2^{\aleph_0}. Then #(⋃C)<2ℵ0\#(\bigcup C)<2^{\aleph_0}, so there is some r∈R∖⋃Cr\in\mathbb{R}\setminus\bigcup C; the element {r}\{r\} only reaches sets containing rr, none of which is in CC. Hence no such CC is cofinal, and cfc⁡(→)=#(A)=2ℵ0\operatorname{cfc}(\to)=\#(A)=2^{\aleph_0}. The same argument shows that every X∈AX\in A has maximal trap degree: for every T⊆AT\subseteq A with #(T)<2ℵ0\#(T)<2^{\aleph_0}, choose r∉X∪⋃Tr\notin X\cup\bigcup T; then the single step X→X∪{r}X\to X\cup\{r\} is an escape of XX from TT, since X∪{r}∉TX\cup\{r\}\notin T and all reducts of X∪{r}X\cup\{r\} contain rr. So trap⁡(X)=2ℵ0\operatorname{trap}(X)=2^{\aleph_0} for every X∈AX\in A. In particular, this system is almost regular (Definition 4.2), regardless of whether 2ℵ02^{\aleph_0} is a regular cardinal, and it is covered by the construction of § 4. The system has no cofinal rewrite sequence (the elements of a rewrite sequence have a countable union), and since #(A)=2ℵ0\#(A)=2^{\aleph_0}, the earlier completeness result for cardinality ℵ1\aleph_1 [28] covers it only under the Continuum Hypothesis.

For a∈Aa\in A, the reduction graph of aa is the sub-ARS of ⟨A,→⟩\langle A,\to\rangle consisting of the reducts {b∣a→→b}\{b\mid a\to\to b\} of $a together with the restriction of →\to to this set; the reduction graph of a set C⊆AC\subseteq A is the union of the reduction graphs of its elements.

Lemma 3.16 (Iterated traps). Let ⟨A,→⟩\langle A,\to\rangle be connected and confluent such that cfc⁡(→)\operatorname{cfc}(\to) is infinite. Let a∈Aa\in A. Let T0T_0 be a trap of minimal cardinality for aa, and, for every n∈Nn\in\mathbb{N}, let Tn+1T_{n+1} be a trap of minimal cardinality for TnT_n. This construction is illustrated in Figure 3. Then T=⋃n∈NTnT=\bigcup_{n\in\mathbb{N}}T_n is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle.

Figure 3. The reduction graph of aa with iterated traps along the way. T0T_0 is a minimal trap for aa and, for n≥0n \ge0, Tn+1T_{n+1} is a minimal trap for TnT_n.

Proof. No reduct bb of aa can escape TT; otherwise, consider a reduction from aa via bb along the escape. If it contains no point of TT, it is an escape of aa from T0T_0; otherwise its part after the last point of p∈Tnp \in T_n of TT is an escape of pp from Tn+1T_{n+1}. Both contradict the choice of the traps. As there are no normal forms (by the proof of Lemma 3.12), a point that cannot escape TT reaches TT (its first step would otherwise be an escape). Hence every reduct of aa reaches TT, and since every element has a common reduct with aa by connectedness and confluence, TT is cofinal. □

Example 3.17 (Example 2.10 continued). For a=na = n, the iterated traps can be chosen as Tk={n+k+1}T_k = \{n + k + 1\}; their union {m∣m>n}\{m \mid m > n\} is indeed cofinal.

Completeness for regular cardinals

We prove that every connected and confluent ARS ⟨A,→⟩\langle A, \to\rangle with regular cofinality cardinal cfc⁡(→)\operatorname{cfc}(\to) is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\}, <\rangle; the singular case is treated in § 5. The regularity of cfc⁡(→)\operatorname{cfc}(\to) ensures, for uncountable cfc⁡(→)\operatorname{cfc}(\to), a cofinal supply of points of maximal trap degree (Lemma 4.1).

Lemma 4.1 (Trap degree). Let ⟨A,→⟩\langle A, \to\rangle be confluent and connected such that cfc⁡(→)\operatorname{cfc}(\to) is uncountable. For every element a∈Aa \in A and cardinal α<cfc⁡(→)\alpha< \operatorname{cfc}(\to), there exists b∈Ab \in A such that a↠ba \twoheadrightarrow b and trap⁡(b)≥α\operatorname{trap}(b) \ge\alpha. If cfc⁡(→)\operatorname{cfc}(\to) is regular, the same holds for α=cfc⁡(→)\alpha= \operatorname{cfc}(\to); then trap⁡(b)=cfc⁡(→)\operatorname{trap}(b) = \operatorname{cfc}(\to), that is, bb has maximal trap degree.

Proof. Let a∈Aa \in A and α<cfc⁡(→)\alpha< \operatorname{cfc}(\to) be arbitrary. For n∈Nn \in\mathbb{N}, let TnT_n be defined as in Lemma 3.16; see also Figure 3. We may choose all TnT_n inside the reduction graph of aa: if TT traps XX, then so does the subset of TT consisting of the reducts of elements of XX, since an escape from this subset only visits and reaches such reducts, and is therefore also an escape from TT. For a contradiction, assume that trap⁡(b)<α\operatorname{trap}(b) < \alpha for all b∈Ab \in A with a↠ba \twoheadrightarrow b. Without loss of generality, we may assume that α≥ω\alpha\ge\omega. Then it follows that #(Tn)≤α\#(T_n) \le\alpha for every n∈Nn \in\mathbb{N}; we prove this by induction on nn. By assumption #(T0)=trap⁡(a)≤α\#(T_0) = \operatorname{trap}(a) \le\alpha, and for n≥0n \ge0 we have:

#(Tn+1)=trap⁡(Tn)≤∑c∈Tntrap⁡(c)≤α⋅α=α(3)\#(T_{n+1}) = \operatorname{trap}(T_n) \le\sum_{c \in T_n} \operatorname{trap}(c) \le\alpha\cdot\alpha= \alpha \tag*{(3)}

since #(Tn)≤α\#(T_n) \le\alpha by the induction hypothesis (IH). Then also #(T)=#(⋃n∈NTn)≤ω⋅α≤α\#(T) = \#\left(\bigcup_{n \in\mathbb{N}} T_n\right) \le\omega\cdot\alpha\le\alpha for infinite α\alpha. But TT is itself a cofinal subset of ⟨A,→⟩\langle A, \to\rangle by Lemma 3.16. Hence cfc⁡(→)≤#(T)≤α\operatorname{cfc}(\to) \le\#(T) \le\alpha, which contradicts α<cfc⁡(→)\alpha< \operatorname{cfc}(\to).

Now consider the case that cfc⁡(→)\operatorname{cfc}(\to) is regular and α=cfc⁡(→)\alpha= \operatorname{cfc}(\to). For a contradiction, assume that trap⁡(b)<α\operatorname{trap}(b) < \alpha for all b∈Ab \in A with a↠ba \twoheadrightarrow b. For n∈Nn \in\mathbb{N}, we construct TnT_n as above. By induction on n∈Nn \in\mathbb{N} we prove that #(Tn)<cfc⁡(→)\#(T_n) < \operatorname{cfc}(\to). We have #(T0)=trap⁡(a)<α\#(T_0) = \operatorname{trap}(a) < \alpha by assumption, and for every n∈Nn \in\mathbb{N}:

#(Tn+1)=trap⁡(Tn)≤∑c∈Tntrap⁡(c)<α(4)\#(T_{n+1}) = \operatorname{trap}(T_n) \le\sum_{c \in T_n} \operatorname{trap}(c) < \alpha \tag*{(4)}

since #(Tn)<α\#(T_n) < \alpha by the induction hypothesis and α\alpha is regular by assumption. Here we use that the sum of fewer than α\alpha many cardinals, each below α\alpha, is again below α\alpha (since α\alpha is regular and uncountable). Then also #(T)=#(⋃n∈NTn)<α\#(T) = \#\left(\bigcup_{n \in\mathbb{N}} T_n\right) < \alpha, leading to a contradiction as above. Hence there is a reduct bb of aa with trap⁡(b)≥cfc⁡(→)\operatorname{trap}(b) \ge\operatorname{cfc}(\to), and trap⁡(b)≤trap⁡(A)=cfc⁡(→)\operatorname{trap}(b) \le\operatorname{trap}(A) = \operatorname{cfc}(\to) holds for every b∈Ab \in A (see the paragraph before Definition 3.13), so trap⁡(b)=cfc⁡(→)\operatorname{trap}(b) = \operatorname{cfc}(\to). □

In fact, the construction presented in this section applies more broadly than systems with regular cfc⁡(→)\operatorname{cfc}(\to); it applies to all almost regular systems:

Definition 4.2 (Almost regular). A connected and confluent ARS ⟨A,→⟩\langle A, \to\rangle is called almost regular if cfc⁡(→)\operatorname{cfc}(\to) is regular, or every element a∈Aa \in A reduces to some bb with trap⁡(b)=cfc⁡(→)\operatorname{trap}(b) = \operatorname{cfc}(\to).

Note that the latter property in the definition is fulfilled by all systems with uncountable regular cofinality cardinal cfc⁡(→)\operatorname{cfc}(\to) by Lemma 4.1.

Example 4.3 (Sensor logger). The following system is beyond previous completeness results. Consider a sensor logger with states (i,X)(i,X), where i∈{0,1,2}i \in\{0,1,2\} is the mode of operation and XX is the finite set of real numbers logged so far. After an initial two-point calibration (mode 0), the device records one reading at a time (mode 2), each followed by a deterministic processing step (mode 1). Its steps are given by the following rules, with yy, y1y_1, y2y_2 ranging over R\mathbb{R}:

(0,X)→(1,X∪{y1,y2})if y1≠y2(calibration)(1,X)→(2,X)(processing)(2,X)→(1,X∪{y})(reading)\begin{aligned} (0,X) &\to(1,X \cup\{y_1,y_2\}) && \text{if } y_1 \ne y_2 && \text{(calibration)}\\ (1,X) &\to(2,X) &&&& \text{(processing)}\\ (2,X) &\to(1,X \cup\{y\}) &&&& \text{(reading)} \end{aligned}

Every state (i,X)(i,X) reduces to (1,Z)(1,Z) for every finite Z⊇XZ \supseteq X with #(Z)≥2\#(Z) \ge2. Hence any two states have a common reduct, and the system is connected and confluent. As in Example 3.15, a fresh real rr shows that no set of fewer than 2ℵ02^{\aleph_0} states is cofinal, so cfc⁡(→)=2ℵ0\operatorname{cfc}(\to)=2^{\aleph_0}. Every state (2,X)(2,X) has maximal trap degree 2ℵ02^{\aleph_0}: for #(T)<2ℵ0\#(T)<2^{\aleph_0}, a reading of a fresh real y∉X∪{Y∣(j,Y)∈T}y \notin X \cup\{Y \mid(j,Y)\in T\} escapes TT. In contrast, trap⁡((1,X))=1\operatorname{trap}((1,X))=1, since the only successor (2,X)(2,X) forms a trap. As every state reaches mode 2, the system is almost regular, and Theorem 4.7 shows that it is decreasing Church–Rosser with three labels, without assuming the Continuum Hypothesis. The system has no cofinal rewrite sequence, and the earlier result for cardinality ℵ1\aleph_1 [28] covers it only under the Continuum Hypothesis. If the readings are sets of reals instead (for instance, regions computed by a reachability analysis), the same analysis applies with 22ℵ02^{2^{\aleph_0}} in place of 2ℵ02^{\aleph_0}; then #(A)=22ℵ0>ℵ1\#(A)=2^{2^{\aleph_0}}>\aleph_1, and [28] does not apply at all.

For the remainder of this section, we assume that ⟨A,→⟩\langle A,\to\rangle is almost regular, thus also connected and confluent. The case of countable cfc⁡(→)\operatorname{cfc}(\to) has already been settled by Ivanov in [28] (see Lemma 3.3, which uses only two labels), so we may assume that cfc⁡(→)\operatorname{cfc}(\to) is an uncountable cardinal.

Outline of the construction: We enumerate a cofinal set CC of points of maximal trap degree cfc⁡(→)\operatorname{cfc}(\to) (Definition 3.13) and process it by transfinite induction. At each stage we add the next point as a fan (a point of maximal trap degree at which the subsystem may branch, see § 4.1) and join it pairwise to the fans already present. Because a fan has trap degree cfc⁡(→)\operatorname{cfc}(\to) while the subsystem stays of size <cfc⁡(→)<\operatorname{cfc}(\to), it can always escape the current subsystem (see the remark after Definition 3.10); confluence then lets the two escape paths meet at a common reduct, which becomes the join. All branching thereby sits at fans, so the resulting cofinal subsystem is globally almost deterministic (Lemma 4.4). In Sections 4.1–4.5 we construct this cofinal subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle of ⟨A,→⟩\langle A,\to\rangle. In § 4.6 we show that it admits a decreasing labelling over ⟨{0,1},<⟩\langle\{0,1\},<\rangle, which then extends to the entire system by employing one additional label.

Constructing the cofinal subsystem

The construction revolves around fans: points of maximal trap degree cfc⁡(→)=trap⁡(A)\operatorname{cfc}(\to)=\operatorname{trap}(A) (Figure 4), which we use as way pointers.

Figure 4. The fans of aa, bb and cc in the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle. The grey lines are deterministic (non-branching). The blue points are the fans, each of trap degree cfc⁡(→)\operatorname{cfc}(\to), and the grey lines between them are the connecting (escape) paths. Each pair of fans has a join which is again a fan.

We start by creating a minimal cofinal subset that only contains elements of trap degree cfc⁡(→)\operatorname{cfc}(\to). Let DD be a cofinal subset of ⟨A,→⟩\langle A,\to\rangle such that #(D)=cfc⁡(→)\#(D)=\operatorname{cfc}(\to). Let CC be obtained from DD by replacing each a∈Da\in D by some reduct bb of aa with the property trap⁡(b)=cfc⁡(→)\operatorname{trap}(b)=\operatorname{cfc}(\to); these reducts exist since ⟨A,→⟩\langle A,\to\rangle is almost regular. Then CC is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle with #(C)=#(D)=cfc⁡(→)\#(C)=\#(D)=\operatorname{cfc}(\to), and

∀c∈C. trap⁡(c)=#(C)=cfc⁡(→)(5)\forall c\in C.\ \operatorname{trap}(c)=\#(C)=\operatorname{cfc}(\to) \tag*{(5)}

By the axiom of choice, we may assume the existence of a well-ordering of CC:

o:{α∣α<#(C)}→C(6)o : \{\alpha\mid\alpha< \#(C)\} \to C \tag*{(6)}

So oo is a bijection (an enumeration of CC).

The construction proceeds by a double induction: the outer induction ensures that every c∈Cc \in C reaches the subsystem, and the inner induction is used to construct joins for each pair of fans.

Outer induction

The construction proceeds by induction on ordinals α<#(C)=cfc⁡(→)\alpha< \#(C) = \operatorname{cfc}(\to). We construct

  • a set F⊆CF \subseteq C, whose elements we call fans; and

  • a sub-ARS ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle that contains FF together with paths that connect these points.

The subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is built up monotonically: at each stage we only add to SS, and at limit stages SS is the union of what came before. We write FαF_\alpha and SαS_\alpha for the set FF and the subsystem (its carrier together with its steps) at the beginning of stage α\alpha, and Fα+1F_{\alpha+1} and Sα+1S_{\alpha+1} for them at the end of stage α\alpha; so F0=S0=∅F_0 = S_0 = \varnothing, and Fλ=⋃α<λFαF_\lambda= \bigcup_{\alpha<\lambda} F_\alpha and Sλ=⋃α<λSαS_\lambda= \bigcup_{\alpha<\lambda} S_\alpha for limit ordinals λ\lambda. Within stage α\alpha, FF and ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle denote the current state; thus Fα⊆F⊆Fα+1F_\alpha\subseteq F \subseteq F_{\alpha+1} and Sα⊆S⊆Sα+1S_\alpha\subseteq S \subseteq S_{\alpha+1}.

At any stage of the construction, we say that nodes a,b∈Fa,b \in F join in j∈Fj \in F if there exist rewrite sequences a⇝∗ja \rightsquigarrow^* j and b⇝∗jb \rightsquigarrow^* j in the then-current subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle such that only the start and end points of these rewrite sequences lie in FF. The concept of joins is illustrated in Figure 4.

Throughout, we uphold the following invariants for the state Fα+1,Sα+1F_{\alpha+1}, S_{\alpha+1} at the end of every stage α\alpha:

(I1) size: #(Sα+1)≤max⁡(#(α),ℵ0)<cfc⁡(→)\#(S_{\alpha+1}) \le\max(\#(\alpha),\aleph_0) < \operatorname{cfc}(\to);

(I2) determinism: every node of Sα+1∖Fα+1S_{\alpha+1} \setminus F_{\alpha+1} has at most one ⇝\rightsquigarrow-successor in Sα+1S_{\alpha+1};

(I3) reachability: every node of Sα+1S_{\alpha+1} ⇝\rightsquigarrow-reduces within Sα+1S_{\alpha+1} to some a∈Fα+1a \in F_{\alpha+1};

(I4) cofinality: for every β≤α\beta\le\alpha, o(β)→o(\beta) \to-reduces to some a∈Fα+1a \in F_{\alpha+1};

(I5) join: for all β<β′≤α\beta< \beta' \le\alpha with o(β),o(β′)∈Fα+1o(\beta), o(\beta') \in F_{\alpha+1}, o(β)o(\beta) and o(β′)o(\beta') join in some j∈Fα+1j \in F_{\alpha+1} (in Sα+1S_{\alpha+1}).

We first justify the size invariant. This invariant is crucial to ensure that the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle can be escaped. Each stage α\alpha creates at most one fan plus one join for each β<α\beta< \alpha, and each join consists of two finite rewrite sequences. Hence each stage α\alpha adds at most max⁡(#(α),ℵ0)\max(\#(\alpha),\aleph_0) nodes.

Taking the union over the #(α+1)\#(\alpha+1) stages up to α\alpha gives

#(Sα+1)≤#(α+1)⋅max⁡(#(α),ℵ0)=max⁡(#(α),ℵ0)<cfc⁡(→)(7)\#(S_{\alpha+1}) \leq\#(\alpha+1)\cdot\max(\#(\alpha),\aleph_0)=\max(\#(\alpha),\aleph_0)<\operatorname{cfc}(\to) \tag*{(7)}

Outer induction step

We are now at stage α\alpha of the induction, and we consider the element a=o(α)a=o(\alpha):

  • If a∉Fa\notin F and aa reaches SS, then the cofinality invariant already holds for β=α\beta=\alpha, and since a∉Fa\notin F no new joins are required. We continue with α+1\alpha+1.

  • Otherwise, we add aa to FF and continue with the construction of joins as described below. (If aa was already in FF, then aa has been constructed as the result of a prior join. We then still need to construct joins for aa.)

Inner induction: constructing joins

We will now proceed with a sub-induction on β<α\beta<\alpha in order to construct pairwise joins for aa with elements o(β)o(\beta). This concept of joins is illustrated in Figure 4. Let b=o(β)b=o(\beta). If b∈Fb\in F, then we construct a join of aa and bb as follows. (If b∉Fb\notin F, then we continue with β+1\beta+1.)

Because trap⁡(a)=trap⁡(b)=cfc⁡(→)\operatorname{trap}(a)=\operatorname{trap}(b)=\operatorname{cfc}(\to) and #(S)<cfc⁡(→)\#(S)<\operatorname{cfc}(\to) by property (5) and the size invariant, both aa and bb admit escapes ζa:a⇉a′\zeta_a:a\rightrightarrows a' and ζb:b⇉b′\zeta_b:b\rightrightarrows b', respectively, from the current SS. Then the end points a′a' and b′b' cannot reach SS. By confluence, there exists a common reduct c∈Ac\in A such that a′⇉ca'\rightrightarrows c and b′⇉cb'\rightrightarrows c. By cofinality of CC, there exists d∈Cd\in C such that c⇉dc\rightrightarrows d. Without loss of generality, we may assume that the escapes all end in dd, that is, ζa:a⇉d\zeta_a:a\rightrightarrows d and ζb:b⇉d\zeta_b:b\rightrightarrows d (these extensions stay outside of SS, as the escape endpoints a′a' and b′b' can no longer reach it). We may assume that (★) these paths are simple (by cutting loops) and that their union is deterministic (drop one branch in case of branching).

Since d∈Cd\in C, there exists some δ<#(C)\delta<\#(C) such that d=o(δ)d=o(\delta). We have δ>α\delta>\alpha since, by the cofinality invariant, every o(β)o(\beta) with β≤α\beta\leq\alpha can reach SS. Thus δ\delta will still be visited in the outer induction (leading to the creation of joins for dd).

We now add dd to FF and extend the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle with the rewrite sequences ζa:a⇉d\zeta_a:a\rightrightarrows d and ζb:b⇉d\zeta_b:b\rightrightarrows d. This establishes the join invariant for aa and bb with witness dd. The connecting paths ζa\zeta_a and ζb\zeta_b end in d∈Fd\in F, maintaining reachability. The assumption (★) guarantees that the determinism invariant is preserved. This completes the induction step and, with it, the construction of the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle.

Properties of the subsystem

We collect some important properties of the completed subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle, where S=⋃αSαS=\bigcup_{\alpha}S_\alpha and F=⋃αFαF=\bigcup_{\alpha}F_\alpha, the unions over all stages α<cfc⁡(→)\alpha<\operatorname{cfc}(\to). Apart from the size invariant, which is only needed during the construction, the invariants carry over to the completed subsystem, since each of them concerns only finitely many points, all of which are present from some stage on. For the join invariant we additionally use that no interior point of a join path ever becomes a fan: every point added to FF is new, as it is either some o(α)o(\alpha) that does not reach SS, or a common reduct dd of escape end points, which cannot reach SS.

Lemma 4.4. Let ⟨A,→⟩\langle A,\to\rangle be an almost regular ARS (hence connected and confluent) such that cfc⁡(→)\operatorname{cfc}(\to) is uncountable, and let ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle be the subsystem constructed in § 4.1–§ 4.4. Then the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is globally almost deterministic.

Proof. Let a,b∈Sa,b\in S; we join them by two ⇝\rightsquigarrow-sequences, each with at most one non-deterministic step. By the determinism invariant, the non-deterministic nodes of ⇝\rightsquigarrow are contained in FF. By the reachability invariant, aa and bb admit reductions within SS to fans in FF. Let σa:a⇝∗a′\sigma_a:a\rightsquigarrow^*a' and σb:b⇝∗b′\sigma_b : b \rightsquigarrow^* b' be reductions of minimal length such that a′,b′∈Fa', b' \in F. By minimality, these reductions do not pass through a fan from FF and thus are deterministic. By the join invariant the fans aa and b′b' join in a common fan c∈Fc \in F, that is, a′⇝∗ca' \rightsquigarrow^* c and b′⇝∗cb' \rightsquigarrow^* c such that only the start and endpoints of each path lie in FF. Hence each of these two paths starts with a single non-deterministic step and then continues deterministically until reaching cc. Concatenating, a⇝∗a′⇝∗ca \rightsquigarrow^* a' \rightsquigarrow^* c and b⇝∗b′⇝∗cb \rightsquigarrow^* b' \rightsquigarrow^* c join aa and bb at the common reduct cc, each with at most one non-deterministic step.

Lemma 4.5. Let ⟨A,→⟩\langle A, \to\rangle be an almost regular ARS (hence connected and confluent) such that cfc⁡(→)\operatorname{cfc}(\to) is uncountable, and let ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle be the subsystem constructed in § 4.1–§ 4.4. Then the subsystem ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle is connected, confluent, and cofinal in ⟨A,→⟩\langle A, \to\rangle, and SS is deterministic away from FF.

Proof. We address each of the properties:

  • Cofinality: Every a∈Aa \in A reduces to some o(β)∈Co(\beta) \in C (as CC is cofinal), and by the cofinality invariant o(β)o(\beta) reaches some fan f∈F⊆Sf \in F \subseteq S.

  • Determinism: this is precisely the determinism invariant.

  • Connectedness and confluence follow from Lemma 4.4.

Labeling the subsystem

We now prove that ⟨A,→⟩\langle A, \to\rangle is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\}, <\rangle; three labels suffice. First, we show that the subsystem ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle can be labeled with ⟨{0,1},<⟩\langle\{0,1\}, <\rangle as a consequence of the fact that the subsystem is globally (and thus also locally) almost deterministic.

Lemma 4.6. Every locally almost deterministic ARS ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle is decreasing Church–Rosser over ⟨{0,1},<⟩\langle\{0,1\}, <\rangle.

Proof. We label all deterministic steps with 00 and all non-deterministic steps with 11. Consider a peak b↭αa⇝βcb \mathrel{\stackrel{\alpha}{\leftrightsquigarrow}} a \mathrel{\stackrel{\beta}{\rightsquigarrow}} c. We show that this peak can be closed by a decreasing elementary diagram as shown in Figure 1 (PDF p. 6). If b=cb = c, we join with empty reductions. If b≠cb \ne c, then both steps are non-deterministic and hence α=β=1\alpha= \beta= 1. Since the system is locally almost deterministic, we can join bb and cc with reductions that each contain at most one non-deterministic step. Thus each of the joining reductions contains at most one step with label 11 and the other steps have label 00; this gives rise to a decreasing elementary diagram.

By Lemma 3.2, the labeling of the cofinal subsystem can be extended to the system as a whole at the cost of one additional label. This justifies our first main result:

Theorem 4.7. Every almost regular ARS ⟨A,→⟩\langle A, \to\rangle (in particular, ⟨A,→⟩\langle A, \to\rangle is connected and confluent) has a cofinal, connected and confluent, globally almost deterministic subsystem ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle, and is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\}, <\rangle. In particular, this holds for every connected and confluent ARS ⟨A,→⟩\langle A, \to\rangle whose cofinality cardinal cfc⁡(→)\operatorname{cfc}(\to) is regular.

Proof. If cfc⁡(→)\operatorname{cfc}(\to) is countable, the claim follows from Lemma 3.3 (the simple cofinal rewrite sequence constructed in its proof is a deterministic subsystem with the required properties). Thus assume that cfc⁡(→)\operatorname{cfc}(\to) is uncountable. Let ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle be the subsystem of ⟨A,→⟩\langle A, \to\rangle constructed in § 4.1–§ 4.4. By Lemma 4.4, ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle is almost deterministic, and consequently decreasing Church–Rosser over ⟨{0,1},<⟩\langle\{0,1\}, <\rangle by Lemma 4.6. Moreover, ⟨S,⇝⟩\langle S, \rightsquigarrow\rangle is connected, confluent and cofinal in ⟨A,→⟩\langle A, \to\rangle by Lemma 4.5. Hence ⟨A,→⟩\langle A, \to\rangle is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\}, <\rangle by Lemma 3.2.

The singular case is treated in § 5.

Completeness for singular cardinals

The construction of § 4 requires the system to be almost regular: it relies on a cofinal supply of points of maximal trap degree cfc⁡(→)\operatorname{cfc}(\to), which is guaranteed to exist when cfc⁡(→)\operatorname{cfc}(\to) is regular (Lemma 4.1). We now treat the remaining case, in which cfc⁡(→)\operatorname{cfc}(\to) is singular. For singular cfc⁡(→)\operatorname{cfc}(\to) no point needs to have trap degree cfc⁡(→)\operatorname{cfc}(\to) at all (Example 5.1). We therefore introduce a two-level branching object, shown in Figure 5, that we call a double fan. The first-level fan (on the left) is a hub from which pairwise disjoint, deterministic escape paths emanate leading to cf⁡(cfc⁡(→))\operatorname{cf}(\operatorname{cfc}(\to)) second-level fans (on the right) whose trap degree is unboundedly high below cfc⁡(→)\operatorname{cfc}(\to).

Figure 5. Double fan construction. For the second-level fans, displayed on the right, only the source points are part of the double fan, their outgoing steps are not.

Example 5.1 (Cofinality ℵω\aleph_\omega). Fix sets W0⊆W1⊆W2⊆⋯W_0 \subseteq W_1 \subseteq W_2 \subseteq\cdots with #(Wi)=ℵi\#(W_i) = \aleph_i for every i∈Ni \in\mathbb{N}. Let A={(n,X)∣n∈N, X⊆Wn finite}A = \{(n,X) \mid n \in\mathbb{N},\ X \subseteq W_n\text{ finite}\}, with steps

(n,X)→(n,X∪{ξ})for ξ∈Wn∖X(n,X)→(n+1,X).\begin{aligned} (n,X) &\to(n,X \cup\{\xi\}) &&\text{for }\xi\in W_n \setminus X \\ (n,X) &\to(n+1,X). \end{aligned}

The reducts of (n,X)(n,X) are exactly the elements (m,Y)(m,Y) with m≥nm \ge n and X⊆YX \subseteq Y, so the system is connected and confluent: (m,Y)(m,Y) and (m′,Y′)(m',Y') have the common reduct (max⁡(m,m′),Y∪Y′)(\max(m,m'),Y \cup Y').

We have cfc⁡(→)=ℵω\operatorname{cfc}(\to) = \aleph_\omega: if #(C)<ℵω\#(C) < \aleph_\omega, then #(C)<ℵn\#(C) < \aleph_n for some nn, so some ξ∈Wn\xi\in W_n occurs in no second component of an element of CC, and (n,{ξ})(n,\{\xi\}) reaches no element of CC.

Every (n,X)(n,X) has trap degree exactly ℵn\aleph_n: its ℵn\aleph_n immediate successors form a trap (an escape must start with a step leaving the trap), and for #(T)<ℵn\#(T) < \aleph_n a step (n,X)→(n,X∪{ξ})(n,X) \to(n,X \cup\{\xi\}) with a fresh ξ∈Wn\xi\in W_n escapes TT. Thus the trap degrees are cofinal in ℵω\aleph_\omega but no element has maximal trap degree. The system is not almost regular, and the fans of § 4 do not exist. A double fan instead sends its branches to points of ever higher level nn, whose trap degrees ℵn\aleph_n are cofinal in ℵω\aleph_\omega.

The crucial property of the double fan is survival. In the singular case, points of maximal trap degree need not exist (Example 5.1), and any point of smaller trap degree eventually gets trapped as SS grows toward cfc⁡(→)\operatorname{cfc}(\to). By spraying out cf⁡(cfc⁡(→))\operatorname{cf}(\operatorname{cfc}(\to)) branches whose trap degrees are cofinal in cfc⁡(→)\operatorname{cfc}(\to), a double fan guarantees that at every stage some branch is still escapable, keeping the subsystem connectable.

Outline of the construction: The construction proceeds by transfinite induction over an enumeration of a cofinal set CC, alternating between two procedures. For each point of CC not yet reached by the subsystem, we build a double fan (§ 5.4), which establishes reachability, and then invoke the join closure procedure (§ 5.5). The join closure joins the branch end points which new double fan, both internally (two branch end points of the same double fan) and externally (with branch end points of earlier double fans). It is moreover recursive, joining all pairs of joins as well. Every join is formed with a single-fan escape junction of strictly higher trap degree than its two inputs, so that a parent outlives its children. Because the branches of a double fan have trap degrees cofinal in cfc⁡(→)\operatorname{cfc}(\to), some branch always remains escapable; together these properties keep the growing subsystem SS cofinal, connected, and almost deterministic.

The join closure procedure makes use of commutative binary trees to keep track of what points have already been joined. The leaves of these trees are the branch end points of the double fans.

Definition 5.2. We define (commutative, binary) trees trees⁡(L)\operatorname{trees}(L) over a set LL inductively as follows:

  1. leaf⁡(l)∈trees⁡(L)\operatorname{leaf}(l) \in\operatorname{trees}(L) for every l∈Ll \in L, and

  2. node⁡({l,r})∈trees⁡(L)\operatorname{node}(\{l,r\}) \in\operatorname{trees}(L) for every l,r∈trees⁡(L)l,r \in\operatorname{trees}(L).

Throughout this section, ⟨A,→⟩\langle A,\to\rangle is a connected and confluent ARS (Convention 3.1). Then trap⁡(A)=cfc⁡(→)\operatorname{trap}(A)=\operatorname{cfc}(\to). We write κ=cfc⁡(→)\kappa=\operatorname{cfc}(\to). Assume that κ\kappa is singular and hence an uncountable limit cardinal. Let λ=cf⁡(κ)\lambda=\operatorname{cf}(\kappa) together with a function

γ:{α an ordinal∣α<λ}→{β a cardinal∣β<κ}(8)\gamma:\{\alpha\text{ an ordinal}\mid\alpha<\lambda\}\to\{\beta\text{ a cardinal}\mid\beta<\kappa\} \tag*{(8)}

whose values are cofinal in κ\kappa. The function γ\gamma is a fundamental sequence for κ\kappa: γ(α)<κ\gamma(\alpha)<\kappa for all α\alpha, and for every β<κ\beta<\kappa there exists some α\alpha with β<γ(α)\beta<\gamma(\alpha). Thus the supremum of this sequence is κ\kappa.

Without loss of generality, let ⟨A,→⟩\langle A,\to\rangle be not almost regular; the case of almost regular systems was already covered in § 4.4 Then there exists an element a∈Aa\in A such that all reducts bb of aa have trap degree trap⁡(b)<κ\operatorname{trap}(b)<\kappa. Let DD be a cofinal subset of ⟨A,→⟩\langle A,\to\rangle such that #(D)=κ\#(D)=\kappa, and define

C=D∩{b∣a→→b}(9)C=D\cap\{b\mid a\mathrel{\to\to}b\} \tag*{(9)}

Then CC is again a cofinal subset: every c∈Ac\in A must have a common reduct with aa by confluence and connectedness, and this common reduct rewrites to some d∈Dd\in D; then dd is also a reduct of aa and thus in CC. Thus CC is a cofinal subset and #(C)≤#(D)=cfc⁡(→)\#(C)\leq\#(D)=\operatorname{cfc}(\to), hence #(C)=cfc⁡(→)=κ\#(C)=\operatorname{cfc}(\to)=\kappa.

Moreover

∀c∈C. ∀d∈A. c→→d⟹trap⁡(d)<κ,(10)\forall c\in C.\ \forall d\in A.\ c\mathrel{\to\to}d\Longrightarrow\operatorname{trap}(d)<\kappa, \tag*{(10)}

by construction of CC, that is, no element of CC has a reduct with the maximal trap degree κ\kappa.

Escape junctions

Throughout this construction, we repeatedly need to escape a set S⊆AS\subseteq A of size <κ<\kappa from finitely many points EE, and join the escape paths in a common reduct with a trap degree strictly above some cardinal β<κ\beta<\kappa. We summarize this construction in the following lemma.

Lemma 5.3 (Escape junctions). Let the following be given:

(1) ⟨A,→⟩\langle A,\to\rangle a confluent, connected ARS such that cfc⁡(→)\operatorname{cfc}(\to) is uncountable and singular;

(2) S⊆AS\subseteq A a set with #(S)<cfc⁡(→)\#(S)<\operatorname{cfc}(\to);

(3) E⊆AE\subseteq A a non-empty finite set of points such that each e∈Ee\in E has an escape from SS;

(4) β<cfc⁡(→)\beta<\operatorname{cfc}(\to) a cardinal;

There exists a point ξS(E,β)∈A\xi_S(E,\beta)\in A and, for each e∈Ee\in E, a rewrite sequence πe:e→→ξS(E,β)\pi_e:e\mathrel{\to\to}\xi_S(E,\beta), such that:

(1) trap⁡(ξS(E,β))>β\operatorname{trap}(\xi_S(E,\beta))>\beta;

(2) ξS(E,β)\xi_S(E,\beta) cannot reach SS, that is, ξS(E,β)̸→∗s\xi_S(E,\beta)\not\to^*s for every s∈Ss\in S;

(3) each πe\pi_e is simple and meets SS only in its starting point; and

(4) the union ⋃e∈Eπe\bigcup_{e\in E}\pi_e is deterministic (every node has at most one successor).

Proof. By assumption, each e∈Ee\in E admits an escape ζe:e⇉e′\zeta_e:e\rightrightarrows e' from SS; in particular, e′e' cannot reach SS. By connectedness and confluence, there exists a common reduct f∈Af\in A such that e′⇉fe'\rightrightarrows f for every e∈Ee\in E. By Lemma 4.1, there exists g∈Ag\in A such that f⇉gf\rightrightarrows g and trap⁡(g)≥β+\operatorname{trap}(g)\ge\beta^+. Here we use that cfc⁡(→)\operatorname{cfc}(\to) is singular and hence a limit cardinal; thus β<cfc⁡(→)\beta<\operatorname{cfc}(\to) implies β+<cfc⁡(→)\beta^+<\operatorname{cfc}(\to). Without loss of generality, we may assume that the escapes all end in gg, that is, ζe:e⇉g\zeta_e:e\rightrightarrows g for every e∈Ee\in E (these extensions stay outside of SS, as the escape endpoints can no longer reach it). Moreover, we may assume that these paths are simple (by cutting loops) and that their union is deterministic (drop one branch in case of branching). Then gg has all the required properties. □

Induction

Recall that CC is a cofinal subset of ⟨A,→⟩\langle A,\to\rangle with property (10). Let

o:{α∣α<#(C)}→C(11)o:\{\alpha\mid\alpha<\#(C)\}\to C \tag*{(11)}

be a bijection (an enumeration of CC).

The construction proceeds by induction on ordinals α<#(C)\alpha<\#(C). We construct

  • a set H⊆AH\subseteq A (consisting of hubs of double fans constructed so far);

  • a set F⊆AF\subseteq A (consisting of branch end points of double fans constructed so far);

  • a partial function joins⁡:trees⁡(A)⇀A\operatorname{joins}:\operatorname{trees}(A)\rightharpoonup A; and

  • a sub-ARS ⟨S,⇉⟩\langle S,\rightrightarrows\rangle that contains FF together with paths that connect these points.

These ingredients are built up monotonically: at each stage we only extend HH, FF, joins⁡\operatorname{joins} and ⟨S,⇉⟩\langle S,\rightrightarrows\rangle, and at limit stages we take the union. Initially H=∅H=\varnothing, F=∅F=\varnothing, dom⁡(joins⁡)=∅\operatorname{dom}(\operatorname{joins})=\varnothing, and S=∅S=\varnothing. We write HαH_\alpha, FαF_\alpha, joins⁡α\operatorname{joins}_\alpha and SαS_\alpha for these ingredients at the beginning of stage α\alpha (where SαS_\alpha comprises the carrier and the steps of the subsystem), and Hα+1H_{\alpha+1}, Fα+1F_{\alpha+1}, joins⁡α+1\operatorname{joins}_{\alpha+1} and Sα+1S_{\alpha+1} for them at the end of stage α\alpha; at limit stages we take unions. Within stage α\alpha, HH, FF, joins⁡\operatorname{joins} and ⟨S,⇉⟩\langle S,\rightrightarrows\rangle denote the current state, which lies between the states at the beginning and at the end of the stage; for instance, Sα⊆S⊆Sα+1S_\alpha\subseteq S\subseteq S_{\alpha+1}. As joins⁡\operatorname{joins} is only ever extended, we write joins⁡(t)\operatorname{joins}(t) regardless of the stage.

Notation 5.4. We write a⇝ba\leadsto b if there exists an almost deterministic rewrite sequence from aa to bb in the subsystem ⟨S,⇉⟩\langle S,\rightrightarrows\rangle.

For stage α\alpha, we define a size threshold

μα=max⁡(#(α),λ,ω)<κ(12)\mu_\alpha=\max(\#(\alpha),\lambda,\omega)<\kappa \tag*{(12)}

We say that a point a∈Aa\in A is alive (at stage α\alpha) if trap⁡(a)>μα\operatorname{trap}(a)>\mu_\alpha. Since #(S)≤μα\#(S)\le\mu_\alpha throughout stage α\alpha, an alive point can still escape the current subsystem, and hence is still usable to form new joins; the bookkeeping below serves precisely to keep the relevant points alive long enough. The bound μα\mu_\alpha is chosen in such a way that a point that is alive at the beginning of the stage will still be alive at the end of the stage. This is necessary for the join closure construction (§ 5.5) as we must prevent a point that participates in the closure construction (was alive at the start) from getting trapped during the construction (and thus is no longer able to escape the growing subsystem).

The invariants refer to the hubs (the set HH), from which the branches of a double fan emanate, the branch end points of double fans (the set FF), and the join points joins⁡(t)\operatorname{joins}(t) for t∈dom⁡(joins⁡)t\in\operatorname{dom}(\operatorname{joins}); these are constructed in § 5.4 and § 5.5. Throughout, we uphold the following invariants for the state Hα+1H_{\alpha+1}, Fα+1F_{\alpha+1}, joins⁡α+1\operatorname{joins}_{\alpha+1}, Sα+1S_{\alpha+1} at the end of every stage α\alpha, which fall into four groups by purpose. The size, sub-maximal degree, and survival invariants keep the subsystem small enough, and its points high enough in trap degree, to remain escapable. The cofinality invariant ensures that every point is eventually reached. The join structure, join closure, and degree monotonicity invariants track which points have been joined, and keep every join alive at least as long as its inputs. Finally, the determinism invariant confines all branching to hubs and join points. In detail:

(J1) size: #(Fα+1)≤μα\#(F_{\alpha+1}) \le\mu_\alpha and #(Sα+1)≤μα\#(S_{\alpha+1}) \le\mu_\alpha;

(J2) sub-maximal degree: trap⁡(a)<κ\operatorname{trap}(a) < \kappa for every a∈Sα+1a \in S_{\alpha+1};

(J3) survival: every hub, branch end point and join point created at stage α\alpha is alive at α\alpha (the interior nodes of the added escape paths need not be alive; they only need to be fresh, that is, not yet in SS);

(J4) cofinality: every o(β)o(\beta), β≤α\beta\le\alpha, →\to-reduces to some point in Sα+1S_{\alpha+1};

(J5) join structure (where ⇝\leadsto and ↪\hookrightarrow refer to Sα+1S_{\alpha+1}):

  • dom⁡(joins⁡α+1)⊆trees⁡(Fα+1)\operatorname{dom}(\operatorname{joins}_{\alpha+1}) \subseteq\operatorname{trees}(F_{\alpha+1}),

  • joins⁡(leaf⁡(a))=a\operatorname{joins}(\operatorname{leaf}(a)) = a for all a∈Fα+1a \in F_{\alpha+1},

  • if joins⁡(t1)⇝x1⇝⋯⇝xn=joins⁡(t)\operatorname{joins}(t_1) \leadsto x_1 \leadsto\cdots\leadsto x_n = \operatorname{joins}(t) with n≥1n \ge1 and none of x1,…,xn−1x_1,\ldots,x_{n-1} is of the form joins⁡(s)\operatorname{joins}(s), then t=node⁡({t1,t2})t = \operatorname{node}(\{t_1,t_2\}) for some t2t_2, and

  • for all t=node⁡({t1,t2})∈dom⁡(joins⁡α+1)t = \operatorname{node}(\{t_1,t_2\}) \in\operatorname{dom}(\operatorname{joins}_{\alpha+1}), we have joins⁡(t1)↪joins⁡(t)↩joins⁡(t2)\operatorname{joins}(t_1) \hookrightarrow\operatorname{joins}(t) \hookleftarrow\operatorname{joins}(t_2);

(J6) join closure: whenever node⁡({t1,t2})∈trees⁡(Fα+1)\operatorname{node}(\{t_1,t_2\}) \in\operatorname{trees}(F_{\alpha+1}) has both joins⁡(t1),joins⁡(t2)\operatorname{joins}(t_1),\operatorname{joins}(t_2) alive at stage α\alpha, node⁡({t1,t2})∈dom⁡(joins⁡α+1)\operatorname{node}(\{t_1,t_2\}) \in\operatorname{dom}(\operatorname{joins}_{\alpha+1});

(J7) degree monotonicity: if t∈dom⁡(joins⁡α+1)t \in\operatorname{dom}(\operatorname{joins}_{\alpha+1}), then

trap⁡(joins⁡(t))>trap⁡(joins⁡(s))for every strict subtree s of t(13)\operatorname{trap}(\operatorname{joins}(t)) > \operatorname{trap}(\operatorname{joins}(s)) \quad\text{for every strict subtree }s\text{ of }t \tag*{(13)}

So a join of alive points is alive;

(J8) determinism: with Bα+1′={joins⁡(t)∣t∈dom⁡(joins⁡α+1)}B'_{\alpha+1} = \{\operatorname{joins}(t) \mid t \in\operatorname{dom}(\operatorname{joins}_{\alpha+1})\} and Bα+1=Hα+1∪Bα+1′B_{\alpha+1} = H_{\alpha+1} \cup B'_{\alpha+1}, every node of Sα+1∖Bα+1S_{\alpha+1} \setminus B_{\alpha+1} is ⇝\leadsto-deterministic in Sα+1S_{\alpha+1}, and ⇝\leadsto-reduces within Sα+1S_{\alpha+1} to a point in Bα+1′B'_{\alpha+1} (via deterministic steps).

We immediately state the justifications for the invariants:

  • Invariant (J1) holds since in every stage α\alpha:

    • We add at most one double fan (consisting of λ\lambda finite rewrite sequences), and extend FF by at most λ\lambda points (the branch endings of the double fan).

    • We construct at most #(trees⁡(F))≤μα5\#(\operatorname{trees}(F)) \le\mu_\alpha^{5} joins (each consisting of two finite rewrite sequences).

    Thus the ≤#(α)≤μα\le\#(\alpha) \le\mu_\alpha earlier stages, each contribute ≤μα\le\mu_\alpha, and μα⋅μα=μα\mu_\alpha\cdot\mu_\alpha= \mu_\alpha.

  • Invariant (J2) follows from Equation (10) since every a∈Sa \in S is a reduct of some c∈Cc \in C.

  • Invariant (J3) follows since the hub and branch degrees of a new double fan are taken >μα> \mu_\alpha, and a join carries trap⁡(ja,b)>max⁡(trap⁡(a),trap⁡(b))\operatorname{trap}(j_{a,b}) > \max(\operatorname{trap}(a),\operatorname{trap}(b)), strictly above both of its inputs; the interior nodes of the added paths are fresh by Lemma 5.3, since each path meets SS only in its starting point.

  • Invariant (J4) follows since, at each stage α\alpha, we check whether o(α)o(\alpha) reaches SS; if it does not, we construct a double fan for o(α)o(\alpha) to establish reachability.

  • Invariant (J5) is established in the construction in § 5.5.

  • Invariant (J6): suppose joins⁡(t1)\operatorname{joins}(t_1) and joins⁡(t2)\operatorname{joins}(t_2) are alive at stage α\alpha. Since FF grows only at double fan creation stages and aliveness only decreases, both were already alive at the last fan creation stage β≤α\beta\le\alpha with node⁡({t1,t2})∈trees⁡(F)\operatorname{node}(\{t_1,t_2\}) \in\operatorname{trees}(F). Its closure reaches node⁡({t1,t2})\operatorname{node}(\{t_1,t_2\}) after t1t_1 and t2t_2; by the size invariant #(S)≤μβ<trap⁡(joins⁡(ti))\#(S) \le\mu_\beta< \operatorname{trap}(\operatorname{joins}(t_i)) throughout, so both still escape SS and the join is formed, unless node⁡({t1,t2})\operatorname{node}(\{t_1,t_2\}) was already joined at an earlier stage. Either way node⁡({t1,t2})∈dom⁡(joins⁡)\operatorname{node}(\{t_1,t_2\}) \in\operatorname{dom}(\operatorname{joins}).

  • Invariant (J7): for the children ss of tt the invariant follows immediately since joins⁡(t)\operatorname{joins}(t) is chosen with this property, and for other subtrees it follows by induction on the tree structure.

  • Invariant (J8) follows since, by construction, the only branching points of SS are the hubs HH of double fans, and points participating in the join closure; the latter are precisely the points in the image of joins⁡\operatorname{joins} and they contain the branch endings of double fans. Moreover, by construction all paths added to ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle are escape paths ending in a node in B′B'.

Induction step

We are now at stage α\alpha of the induction, and we consider the element a=o(α)a=o(\alpha):

  • If aa reaches SS, then the cofinality invariant already holds for β=α\beta=\alpha, and no new joins are required. We continue with α+1\alpha+1.

  • Otherwise, aa does not reach SS and hence can escape SS by Lemma 3.7; we construct a double fan for aa (see below). Afterwards, we extend

    • HH with hub⁡(a)\operatorname{hub}(a),

    • FF with all branch end points {branch⁡(a,β)∣β<λ}\{\operatorname{branch}(a,\beta)\mid\beta<\lambda\},

    and then we execute the join closure procedure (described below).

Double fan

We now describe the construction of the double fan. By the design of the induction step (§ 5.3), this procedure is invoked only for points a∈Aa\in A that can escape the current subsystem SS (namely, points that do not reach SS; see Lemma 3.7).

The double fan for aa (where aa can escape SS) is constructed as follows:

  1. The hub hub⁡(a)=ξS({a},μα)\operatorname{hub}(a)=\xi_S(\{a\},\mu_\alpha). So a⇝hub⁡(a)a\rightsquigarrow\operatorname{hub}(a), trap⁡(hub⁡(a))>μα\operatorname{trap}(\operatorname{hub}(a))>\mu_\alpha, and hub⁡(a)\operatorname{hub}(a) cannot reach SS. The hub is well-defined since aa can escape SS by assumption.

  2. We first add hub⁡(a)\operatorname{hub}(a) to SS as an isolated point (it is new, since it cannot reach SS). The branches of the double fan are then constructed by induction on β<λ\beta<\lambda:

branch⁡(a,β)=ξS({hub⁡(a)},max⁡(γ(β),μα)),\operatorname{branch}(a,\beta)=\xi_S(\{\operatorname{hub}(a)\},\max(\gamma(\beta),\mu_\alpha)),

and, in each step, we extend ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle with the path πhub⁡(a)\pi_{\operatorname{hub}(a)} from the escape junction construction. We argue that the construction never gets stuck. At each step β\beta, we only add finitely many points to SS. Hence throughout the branch construction we have

#(S)≤μα+λ⋅ℵ0=μα<trap⁡(hub⁡(a))(14)\#(S)\leq\mu_\alpha+\lambda\cdot\aleph_0=\mu_\alpha<\operatorname{trap}(\operatorname{hub}(a)) \tag*{(14)}

Thus, hub⁡(a)\operatorname{hub}(a) can escape SS at every step.

After the completion of the double fan we have #(S)≤μα\#(S)\leq\mu_\alpha by (14), and

trap⁡(branch⁡(a,β))>max⁡(γ(β),μα)≥#(S)(15)\operatorname{trap}(\operatorname{branch}(a,\beta))>\max(\gamma(\beta),\mu_\alpha)\geq\#(S) \tag*{(15)}

So there are no stillborn branches.

The double fan contains peaks at its hub and these peaks must be joined (in a decreasing way). For this purpose, the induction step (§ 5.3) will invoke the join closure procedure (§ 5.5) to construct almost deterministic rewrite sequences joining these peaks. We need to construct these joins eagerly, directly after the construction of the double fan. At a later point in the construction, some of the branches might no longer be able to escape the growing subsystem. The meeting points themselves must be joined as well, and so on. For this purpose, in the induction step (§ 5.3), after the construction of the double fan, the set FF is extended with all the branch end points and then the join closure is invoked to recursively join all points in FF.

Join closure

We are now describing the join closure procedure. This procedure is invoked whenever the subsystem is extended with a double fan. The set FF contains all points that need to be joined, and, in particular, it contains the branch end points of all double fans that have been constructed.

The join closure is recursive, we also need to join all pairs of joins, and so on. To keep track of what we have already joined we use the partial function

joins⁡:trees⁡(A)⇀A(16)\operatorname{joins} : \operatorname{trees}(A) \rightharpoonup A \tag*{(16)}

At each stage of the induction, the domain of this function is a subset of trees⁡(F)\operatorname{trees}(F). The leaves of these trees are branch end points of double fans that we have constructed, and the inner nodes represent joins of their children.

Throughout the construction, we will uphold the following invariants:

node⁡({t1,t2})∈dom⁡(joins⁡)⟹joins⁡(t1)↪joins⁡(node⁡({t1,t2}))↩joins⁡(t2)(17)\operatorname{node}(\{t_1,t_2\}) \in\operatorname{dom}(\operatorname{joins}) \Longrightarrow\operatorname{joins}(t_1) \hookrightarrow\operatorname{joins}(\operatorname{node}(\{t_1,t_2\})) \hookleftarrow\operatorname{joins}(t_2) \tag*{(17)}

Put in words: the points represented by t1t_1 and t2t_2 admit almost deterministic rewrite sequences to the point represented by node⁡({t1,t2})\operatorname{node}(\{t_1,t_2\}).

The join closure procedure is executed as follows. We process the set trees⁡(F)\operatorname{trees}(F) in a well-founded order that respects the size of the trees (trees with fewer nodes come first). For each t∈trees⁡(F)t \in\operatorname{trees}(F):

  1. If t=leaf⁡(a)t = \operatorname{leaf}(a) for a∈Fa \in F and t∉dom⁡(joins⁡)t \notin\operatorname{dom}(\operatorname{joins}), then extend joins with t↦at \mapsto a.

  2. If t=node⁡({t1,t2})t = \operatorname{node}(\{t_1,t_2\}), t1,t2∈dom⁡(joins⁡)t_1,t_2 \in\operatorname{dom}(\operatorname{joins}), and t∉dom⁡(joins⁡)t \notin\operatorname{dom}(\operatorname{joins}), then let

a=joins⁡(t1)b=joins⁡(t2)a = \operatorname{joins}(t_1) \qquad b = \operatorname{joins}(t_2)

If aa and bb are alive, then construct

ja,b=ξS({a,b},max⁡(trap⁡(a),trap⁡(b)))(18)j_{a,b} = \xi_S(\{a,b\}, \max(\operatorname{trap}(a),\operatorname{trap}(b))) \tag*{(18)}

Here Lemma 5.3 is applicable since

  • aa and bb are alive and hence trap⁡(a),trap⁡(b)>μα≥#(S)\operatorname{trap}(a),\operatorname{trap}(b) > \mu_\alpha\ge\#(S), and

  • max⁡(trap⁡(a),trap⁡(b))<κ\max(\operatorname{trap}(a),\operatorname{trap}(b)) < \kappa by invariant (J2).

We extend ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle with the paths πa\pi_a and πb\pi_b from the escape junction construction (Lemma 5.3), and extend joins with t↦ja,bt \mapsto j_{a,b}. Observe that, by construction, we have trap⁡(ja,b)>max⁡(trap⁡(a),trap⁡(b))\operatorname{trap}(j_{a,b}) > \max(\operatorname{trap}(a),\operatorname{trap}(b)), justifying invariant (J7).

It is important to note that the joins are constructed in such a way that trap degree of the parent joins⁡(node⁡({t1,t2}))\operatorname{joins}(\operatorname{node}(\{t_1,t_2\})) is strictly greater than the trap degrees of its children joins⁡(t1)\operatorname{joins}(t_1) and joins⁡(t2)\operatorname{joins}(t_2). This ensures that the parent is alive at least as long as its children. As a consequence, whenever a child participates in another join, creating a new peak at the child, the parent is still alive and the peak can immediately be closed at the parent.

The joins themselves are constructed as single fans, not double fans. The double fans serve as the basis of the construction, and their branch endings are then joined using single fans. The purpose of the double fans is the following. Throughout the construction, every single point will eventually die (will no longer be alive). This is because the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle grows towards size cfc⁡(→)\operatorname{cfc}(\rightarrow) while every point dd in the reduction graph of CC has trap degree trap⁡(d)<cfc⁡(→)\operatorname{trap}(d) < \operatorname{cfc}(\rightarrow). Thus every single fan, every hub, and every branch of a double fan will eventually cease to participate in the join closure. However, as the trap degrees of the branches of a double fan form a cofinal sequence with supremum cfc⁡(→)\operatorname{cfc}(\rightarrow), at every stage of the construction some of the branches survive. These branches have trap degrees arbitrarily high <cfc⁡(→)< \operatorname{cfc}(\rightarrow); their participation in joins ensures that every point (participating in joins) has parents with trap degree arbitrarily high <cfc⁡(→)< \operatorname{cfc}(\rightarrow). This is important such that some of these parents keep participating in joins, to keep the entire subsystem connected.

Properties of the subsystem

From now on, HH, FF, joins and ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle denote the completed construction, that is, the unions over all stages α<κ\alpha<\kappa. By invariant (J8), branching in ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle occurs only at the points

B=H∪B′B′={joins⁡(t)∣t∈dom⁡(joins⁡)}.\mathcal{B}=H\cup\mathcal{B}' \qquad \mathcal{B}'=\{\operatorname{joins}(t)\mid t\in\operatorname{dom}(\operatorname{joins})\}.

Apart from the size, survival and join closure invariants, which are only used for specific stages, the invariants carry over to the completed construction, since each of them concerns only finitely many points, all of which are present from some stage on. For the determinism invariant and the almost deterministic sequences in the join structure invariant, we additionally use that only points of B\mathcal{B} ever receive new steps: every path added to SS is a path πe\pi_e of Lemma 5.3, which meets SS only in its starting point, and this starting point is a hub or a point joins⁡(t)\operatorname{joins}(t). Moreover, every hub, branch end point and join point is new when it is created (it cannot reach the then-current SS), so a point of Sα+1∖Bα+1S_{\alpha+1}\setminus\mathcal{B}_{\alpha+1} never enters B\mathcal{B} later.

Lemma 5.5. Let ⟨A,→⟩\langle A,\to\rangle be a connected and confluent ARS that is not almost regular and such that cfc⁡(→)\operatorname{cfc}(\to) is singular, and let ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle be the subsystem constructed in § 5.2–§ 5.5. Then the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is cofinal in ⟨A,→⟩\langle A,\to\rangle and deterministic away from B\mathcal{B}, and every point in S∖BS\setminus\mathcal{B} ⇝\rightsquigarrow-reduces to a point in B′\mathcal{B}'. Moreover, any two points of SS have a common ⇝\rightsquigarrow-reduct in SS; in particular, ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is connected and confluent.

Proof. The cofinality follows since every a∈Aa\in A reduces to some o(α)∈Co(\alpha)\in C, and o(α)o(\alpha) reaches SS by invariant (J4). The determinism and reachability are precisely invariant (J8). For the last claim, it suffices to join two points joins⁡(tx)\operatorname{joins}(t_x) and joins⁡(ty)\operatorname{joins}(t_y), since every point of SS reduces to such a point (a hub to its branch end points). Let α\alpha be a stage by which tx,ty∈dom⁡(joins⁡)t_x,t_y\in\operatorname{dom}(\operatorname{joins}). As γ\gamma is cofinal in κ\kappa, the double fan of stage 00 has a branch end point ff with trap⁡(f)>μα\operatorname{trap}(f)>\mu_\alpha, so ff is alive at all stages ≤α\leq\alpha. By the survival, join closure and degree monotonicity invariants, joins⁡(tx)\operatorname{joins}(t_x) is joined with ff (at the stage where txt_x is added) into a point of trap degree >μα>\mu_\alpha, and likewise joins⁡(ty)\operatorname{joins}(t_y). These two points are alive at stage α\alpha, and are hence joined as well. □

Lemma 5.6. Let ⟨A,→⟩\langle A,\to\rangle be a connected and confluent ARS that is not almost regular and such that cfc⁡(→)\operatorname{cfc}(\to) is singular, and let ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle be the subsystem constructed in § 5.2–§ 5.5. Then the subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is locally almost deterministic.

Proof. Let a,b,c∈Sa,b,c\in S such that b⇝a⇝cb\rightsquigarrow a\rightsquigarrow c and b≠cb\ne c. By Lemma 5.5, there exist deterministic reductions b⇝∗b′b\rightsquigarrow^{*}b' and c⇝∗c′c\rightsquigarrow^{*}c' to some b′,c′∈B′b',c'\in\mathcal{B}' (zero steps if b∈B′b\in\mathcal{B}', respectively c∈B′c\in\mathcal{B}'). Here b,c∉Hb,c\notin H, since no step of SS ends in a hub: a hub is added to SS as an isolated point, and every path added afterwards is simple and meets the then-current SS only in its starting point. We choose these reductions of minimal length, so that b′b' and c′c' are the first points of B′\mathcal{B}' on a⇝b⇝∗b′a\rightsquigarrow b\rightsquigarrow^{*}b' and a⇝c⇝∗c′a\rightsquigarrow c\rightsquigarrow^{*}c' after aa. By definition of B′\mathcal{B}', we have b′=joins⁡(tb)b'=\operatorname{joins}(t_b) and c′=joins⁡(tc)c'=\operatorname{joins}(t_c) for some tb,tc∈dom⁡(joins⁡)t_b,t_c\in\operatorname{dom}(\operatorname{joins}). We show that b′b' and c′c' were alive at a common stage. Since aa is not deterministic, a∈Ba\in\mathcal{B} by invariant (J8). Then aa is either a hub HH or a join point B′\mathcal{B}':

  • If a∈Ha\in H, then bb and cc start two distinct branches of a double fan, and b′,c′b',c' must be the branch end points of that fan: b′,c′∈Fb',c'\in F. Both are created at the stage of this fan creation, and hence alive throughout this stage by invariant (J3).

  • If a=joins⁡(ta)a=\operatorname{joins}(t_a) for some ta∈dom⁡(joins⁡)t_a\in\operatorname{dom}(\operatorname{joins}), then

b′=joins⁡(node⁡({ta,s1})),c′=joins⁡(node⁡({ta,s2}))b'=\operatorname{joins}(\operatorname{node}(\{t_a,s_1\})), \qquad c'=\operatorname{joins}(\operatorname{node}(\{t_a,s_2\}))

for some s1,s2s_1,s_2 by the third item of invariant (J5), applied to the reductions a⇝b⇝∗b′a\rightsquigarrow b\rightsquigarrow^{*}b' and a⇝c⇝∗c′a\rightsquigarrow c\rightsquigarrow^{*}c'. Each of these joins was formed while aa was alive (the closure joins only allow points). At the later of the two stages, say stage α\alpha, aa is alive, and by degree monotonicity (J7) trap⁡(b′)>trap⁡(c′)>trap⁡(a)>μα\operatorname{trap}(b') > \operatorname{trap}(c') > \operatorname{trap}(a) > \mu_\alpha. Hence b′b' and c′c' are alive at stage α\alpha.

In either case b′=joins⁡(tb)b' = \operatorname{joins}(t_b) and c′=joins⁡(tc)c' = \operatorname{joins}(t_c) are alive at a common stage. So by the join closure invariant (J6) node⁡({tb,tc})∈dom⁡(joins⁡)\operatorname{node}(\{t_b,t_c\}) \in\operatorname{dom}(\operatorname{joins}), and by the join structure invariant (J5)

b′=joins⁡(tb)↪d↩joins⁡(tc)=c′whered=joins⁡(node⁡({tb,tc}))b' = \operatorname{joins}(t_b) \hookrightarrow d \hookleftarrow\operatorname{joins}(t_c) = c' \qquad\text{where} \qquad d = \operatorname{joins}(\operatorname{node}(\{t_b,t_c\}))

Composing the deterministic sequences b⇝∗b′b \rightsquigarrow^{*} b' and c⇝∗c′c \rightsquigarrow^{*} c' with the almost deterministic b′↪db' \hookrightarrow d and c′↪dc' \hookrightarrow d yields almost deterministic rewrite sequences b⇝∗db \rightsquigarrow^{*} d and c⇝∗dc \rightsquigarrow^{*} d. Hence the peak b↭a⇝cb \leftrightsquigarrow a \rightsquigarrow c is joined by almost deterministic rewrite sequences. □

Results

In this section we assemble our completeness results from the constructions of the previous sections. Since a labeling can be built independently on each connected component, it suffices to treat a single connected, confluent ARS. The regular case was settled in § 4 (Theorem 4.7); the next theorem disposes of the remaining singular case, via the double-fan construction of § 5.

Theorem 6.1. Every connected, confluent ARS ⟨A,→⟩\langle A,\to\rangle whose cofinality cardinal cfc⁡(→)\operatorname{cfc}(\to) is singular has a cofinal, connected and confluent, locally almost deterministic subsystem ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle, and is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\},<\rangle.

Proof. The case of almost regular ⟨A,→⟩\langle A,\to\rangle is covered by Theorem 4.7. Let ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle be the subsystem of ⟨A,→⟩\langle A,\to\rangle constructed in § 5.2–§ 5.5. By Lemma 5.6, ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is locally almost deterministic, and thus decreasing Church–Rosser over ⟨{0,1},<⟩\langle\{0,1\},<\rangle by Lemma 4.6. Moreover, ⟨S,⇝⟩\langle S,\rightsquigarrow\rangle is cofinal in ⟨A,→⟩\langle A,\to\rangle by Lemma 5.5, and connected and confluent by the same lemma. Hence ⟨A,→⟩\langle A,\to\rangle is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\},<\rangle by Lemma 3.2. □

With both cases settled, we obtain our main result: the decreasing diagrams technique is complete, with the optimal three labels and no cardinality restriction. This resolves Problem 56 of the RTA List of Open Problems [53].

Theorem 6.2 (Main theorem). Every confluent ARS ⟨A,→⟩\langle A,\to\rangle is decreasing Church–Rosser over ⟨{0,1,2},<⟩\langle\{0,1,2\},<\rangle.

Proof. It suffices to consider each connected component separately. For components with countable cfc⁡(→)\operatorname{cfc}(\to), this is Lemma 3.3. For uncountable almost regular components, the claim follows from Theorem 4.7. The remaining singular cases are covered by Theorem 6.1. □

Corollary 6.3. CR=DCR\mathrm{CR}=\mathrm{DCR}: the Church–Rosser and decreasing Church–Rosser properties are equivalent.

Proof. Immediate from Theorem 6.2 and van Oostrom’s Theorem 2.14. □

This is arguably the most compact form of our result: decreasing diagrams forfeit no power as a confluence criterion, since every confluent system is provably confluent by this single method. At the cardinality of greatest practical interest — and without any set-theoretic assumption — we obtain:

Corollary 6.4. The decreasing diagrams method is complete for proving confluence of ARS on real numbers (regardless of whether the Continuum Hypothesis is assumed).

As a consequence of our main theorem, van Oostrom’s decreasing diagrams [54, 55] as well as de Bruijn’s weak diamond property [10] are complete for confluence (the equivalence is due to Endrullis and Klop [15]). The constructions and proofs of this paper have been formalized in Isabelle/HOL as well as in Lean (both formalizations are archived on Zenodo [14]).

Conclusion and future work

We have proved that van Oostrom’s decreasing diagrams method with three labels is complete for proving confluence, without any cardinality restriction, and we have obtained two independent machine-checked formalizations (in Lean and Isabelle/HOL) that confirm this.

Termination and confluence are the two central correctness properties of programs and rewrite systems: the former guarantees that every computation eventually halts, the latter that its outcome is unique. For termination, criteria that are complete in principle have long been available: a term rewriting system terminates if and only if it is compatible with a well-founded monotone algebra [58], and the dependency-pair framework [4, 19] provides a complete characterization as well. For confluence, by contrast, no comparably complete method was known. Our result closes this gap: confluence is now on the same footing as termination, certified in principle by a single, local criterion.

At its core, the proof establishes the existence of a (globally or locally) almost deterministic, connected, cofinal sub-ARS – equivalently, a rewrite strategy – in every confluent ARS of arbitrarily high cardinality, and uses this sub-ARS to construct a locally decreasing labeling of the rewrite steps. That such a proof can be carried out in ZFC without additional axioms is perhaps surprising, for two reasons:

  • in 1994 van Oostrom formulated a conjecture [55 Conjecture 2.3.31] on the incompleteness of decreasing diagrams; our result shows that this conjecture cannot hold in ZFC;

  • confluent ARS are closely related to directed sets, yet it is known [51] that (barring inconsistency) ZFC does not fix the number of cofinal types of directed sets already at the smallest uncountable cardinality – so one might have expected the cofinal behavior of confluent ARS to be undetermined in ZFC as well.

The generality of our treatment pays off concretely for the case of greatest practical interest: because completeness of decreasing diagrams holds at every cardinality, it holds in particular for systems involving the real numbers, and it does so unconditionally – independent of the Continuum Hypothesis (Corollary 6.4).

We propose the following directions for future work:

  1. investigate the dependency of the completeness proof on the Axiom of Choice;

  2. investigate under what conditions a decreasing labeling is computable, or exists in a constructive sense (our proof is non-constructive and relies on the Axiom of Choice; we claim no effective content for the labelings it yields); for restricted classes such as left-linear term rewriting systems, decreasing labelings can already be constructed automatically via rule labeling and relative termination [2, 23, 40];

  3. complementing the previous point, develop fruitful heuristics for applying decreasing diagrams (and the weak diamond property) to real-world programs, extending both the confluence analysis of actor programs [21] and the rule-labeling techniques and tools for term rewriting systems [2, 23, 40, 57]; since our result guarantees that a locally decreasing labeling always exists, the central practical challenge becomes finding a good one;

  4. identify classes of (hybrid) models for which confluence guarantees stability, as it does for the bouncing ball of Remark 2.3; confluence is related to, but coarser than, stability, since it ignores the topology on the states;

  5. develop modular techniques for constructing decreasing labelings – building a locally decreasing labeling of a system compositionally from labelings of its parts, the decreasing-diagrams proof of the modularity of confluence [32] is one such instance, and a general compositional theory would be valuable;

  1. generalize results in rewriting theory that rely on Klop’s cofinality property (e.g., modularity of confluence [52], proved via cofinal derivations in [30]) to the setting of almost deterministic strategies; see [29] for related concepts;

  1. explore the practical implications of completeness for ARS on the real numbers, in particular for formal methods for hybrid systems and cyber-physical systems [44];

  1. unlike for confluence, van Oostrom’s extension of decreasing diagrams to commutation [55] is not complete for proving commutation (see [15, 17]); it would be interesting to find a generalization that is complete for proving commutation.

References

References

  1. [1]S. Abdennadher, T. Frühwirth, and H. Meuss. 1999. Confluence and Semantics of Constraint Simplification Rules. Constraints 4, 2 (1999), 133–165. doi:10.1023/A:1009842826135DOI
  2. [2]T. Aoto. 2010. Automated Confluence Proof by Decreasing Diagrams based on Rule-Labelling. In Proc. Conf. on Rewriting Techniques and Applications (RTA 2010) (Leibniz International Proceedings in Informatics, Vol. 6). Schloss Dagstuhl – Leibniz-Zentrum fuer Informatik, 7–16. doi:10.4230/LIPIcs.RTA.2010.7DOI
  3. [3]Z.M. Ariola, M. Felleisen, J. Mairson, M. Odersky, and P. Wadler. 1995. A Call-by-need Lambda Calculus. In Proc. 22nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 1995). ACM, New York, NY, USA, 233–246. doi:10.1145/199448.199507DOI
  4. [4]T. Arts and J. Giesl. 2000. Termination of Term Rewriting Using Dependency Pairs. Theoretical Computer Science 236, 1–2 (2000), 133–178. doi:10.1016/S0304-3975(99)00207-8DOI
  5. [5]H.P. Barendregt. 1984. The Lambda Calculus: Its Syntax and Semantics. Studies in Logic and the Foundations of Mathematics, Vol. 103. North-Holland, Amsterdam.
  6. [6]S. Blom and J. van de Pol. 2002. State Space Reduction by Proving Confluence. In Proc. 14th Int. Conf. on Computer Aided Verification (CAV 2002) (Lecture Notes in Computer Science, Vol. 2404). Springer, Berlin, Heidelberg, 596–609. doi:10.1007/3-540-45657-0_50DOI
  7. [7]S. Burckhardt, A. Gotsman, H. Yang, and M. Zawirski. 2014. Replicated Data Types: Specification, Verification, Optimality. In Proc. 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2014). ACM, New York, NY, USA, 271–284. doi:10.1145/2535838.2535848DOI
  8. [8]M. Carneiro. 2024. Lean4Lean: Towards a Formalized Metatheory for the Lean Theorem Prover. arXiv:2403.14064.
  9. [9]A. Church and J.B. Rosser. 1936. Some Properties of Conversion. Trans. Amer. Math. Soc. 39, 3 (1936), 472–482. doi:10.2307/1989762DOI
  10. [10]N.G. de Bruijn. 1978. A Note on Weak Diamond Properties. (1978). Memorandum 78-08, Eindhoven University of Technology.
  11. [11]L. de Moura and S. Ullrich. 2021. The Lean 4 Theorem Prover and Programming Language. In Proc. 28th Int. Conf. on Automated Deduction (CADE 2021) (Lecture Notes in Computer Science, Vol. 12699). Springer, Cham, 625–635. doi:10.1007/978-3-030-79876-5_37DOI
  12. [12]N. Dershowitz, J.-P. Jouannaud, and J.W. Klop. 1991. Open Problems in Rewriting. In Proc. 4th Int. Conf. on Rewriting Techniques and Applications (RTA 1991) (Lecture Notes in Computer Science, Vol. 488). Springer, Berlin, Heidelberg, 445–456. doi:10.1007/3-540-53904-2_120DOI
  13. [13]W. B. Easton. 1970. Powers of Regular Cardinals. Annals of Mathematical Logic 1, 2 (1970), 139–178. doi:10.1016/0003-4843(70)90012-4.DOI
  14. [14]J. Endrullis, I. Ivanov, and F. van Raamsdonk. 2026. Decreasing Diagrams are Complete for Confluence: Isabelle/HOL and Lean Formalizations. Zenodo. doi:10.5281/zenodo.23160921DOI
  15. [15]J. Endrullis and J.W. Klop. 2013. De Bruijn’s weak diamond property revisited. Indagationes Mathematicae 24, 4 (2013), 1050 – 1072. In memory of N.G. (Dick) de Bruijn (1918–2012).DOI
  16. [16]J. Endrullis, J.W. Klop, and R. Overbeek. 2018. Decreasing Diagrams with Two Labels Are Complete for Confluence of Countable Systems. In Proc. 3rd Int. Conf. on Formal Structures for Computation and Deduction (FSCD 2018) (Leibniz International Proceedings in Informatics, Vol. 108). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 14:1–14:15. doi:10.4230/LIPIcs.FSCD.2018.14DOI
  17. [17]J. Endrullis, J.W. Klop, and R. Overbeek. 2020. Decreasing Diagrams for Confluence and Commutation. Logical Methods in Computer Science 16, 1 (2020), 23:1–23:25. doi:10.23638/LMCS-16(1:23)2020DOI
  18. [18]A.A. Fraenkel, Y. Bar-Hillel, and A. Levy. 1973. Foundations of Set Theory. Elsevier.
  19. [19]J. Giesl, R. Thiemann, P. Schneider-Kamp, and S. Falke. 2006. Mechanizing and improving Dependency Pairs. Journal of Automated Reasoning 37, 3 (2006), 155–203. doi:10.1007/s10817-006-9057-7
  20. [20]Rafal Goebel, Ricardo G. Sanfelice, and Andrew R. Teel. 2009. Hybrid dynamical systems. IEEE Control Systems Magazine 29, 2 (2009), 28–93.
  21. [21]Ludovic Henrio, Einar Broch Johnsen, Åsmund Aqissiaq Arild Kløvstad, Violet Ka I Pun, and Yannick Zakowski. 2026. Lawyers of Confluence for Actors. In Proceedings of the 15th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP ’26). ACM, New York, NY, USA, 309–324. doi:10.1145/3779031.3779104DOI
  22. [22]J.R. Hindley. 1964. The Church–Rosser Property and a Result in Combinatory Logic. Ph. D. Dissertation. University of Newcastle-upon-Tyne.
  23. [23]N. Hirokawa and A. Middeldorp. 2011. Decreasing Diagrams and Relative Termination. Journal of Automated Reasoning 47, 4 (2011), 481–501. doi:10.1007/s10817-011-9238-xDOI
  24. [24]N. Hirokawa, A. Middeldorp, C. Sternagel, and S. Winkler. 2019. Abstract Completion, Formalized. Logical Methods in Computer Science 15, 3 (2019). doi:10.23638/LMCS-15(3:19)2019DOI
  25. [25]N. Hirokawa, J. Nagele, V. van Oostrom, and M. Oymaguchi. 2019. Confluence by Critical Pair Analysis Revisited. In Automated Deduction – CADE 27. CADE 2019 (LNCS, Vol. 11716). Springer, Cham, 319–336. doi:10.1007/978-3-030-29436-6_19DOI
  26. [26]G.P. Huet. 1980. Confluent Reductions: Abstract Properties and Applications to Term Rewriting Systems. J. ACM 27, 4 (1980), 797–821. doi:10.1145/322217.322230DOI
  27. [27]Ievgen Ivanov. 2023. Generalized Newman’s lemma for discrete and continuous systems. Leibniz international proceedings in informatics 260 (2023), 9:1–9:17.DOI
  28. [28]I. Ivanov. 2025. Completeness of the Decreasing Diagrams Method for Proving Confluence of Rewriting Systems of the Least Uncountable Cardinality. In Proc. 10th Int. Conf. on Formal Structures for Computation and Deduction (FSCD 2025) (Leibniz International Proceedings in Informatics, Vol. 337), M. Fernández (Ed.). Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl, Germany, 25:1–25:20. doi:10.4230/LIPIcs.FSCD.2025.25DOI
  29. [29]I. Ivanov. 2026. Generalization of Church-Rosser Strategies for Confluent Abstract Rewriting Systems of the Smallest Uncountable Cardinality. In 16th International Workshop on Rewriting Logic and its Applications (WRLA 2026). Springer, Cham.
  30. [30]J.-P. Jouannaud and J. Liu. 2012. From Diagrammatic Confluence to Modularity. Theoretical Computer Science 464 (2012), 20–34. doi:10.1016/j.tcs.2012.08.030DOI
  31. [31]J.W. Klop. 1992. Term Rewriting Systems. In Handbook of Logic in Computer Science, S. Abramsky, D. Gabbay, and T. Maibaum (Eds.). Vol. II. Oxford University Press, Oxford, UK, 1–116.
  32. [32]J.W. Klop, V. van Oostrom, and R. de Vrijer. 2000. A Geometric Proof of Confluence by Decreasing Diagrams. Journal of Logic and Computation 10, 3 (2000), 437–460. doi:10.1093/logcom/10.3.437DOI
  33. [33]Jan Willem Klop. 1980. Combinatory Reduction Systems. Ph. D. Dissertation. Rijks-universiteit Utrecht.
  34. [34]D.E. Knuth and P.B. Bendix. 1970. Simple Word Problems in Universal Algebras. In Computational Problems in Abstract Algebra, J. Leech (Ed.). Pergamon Press, Oxford, UK, 263–297.
  35. [35]O. Kunčar and A. Popescu. 2018. Safety and conservativity of definitions in HOL and Isabelle/HOL. Proceedings of the ACM on Programming Languages 2, POPL (Jan. 2018), 1–26. doi:10.1145/3158112DOI
  36. [36]Edward A. Lee. 2016. Fundamental limits of cyber-physical systems modeling. ACM Transactions on Cyber-Physical Systems 1, 1 (2016).DOI
  37. [37]L. Maranget. 1991. Optimal Derivations in Weak Lambda-calculi and in Orthogonal Term Rewriting Systems. In Proc. 18th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 1991). ACM, New York, NY, USA, 255–269. doi:10.1145/995831.995818DOI
  38. [38]J. Meseguer. 1992. Conditional Rewriting Logic as a Unified Model of Concurrency. Theoretical Computer Science 96, 1 (1992), 73–155. doi:10.1016/0304-3975(92)90182-FDOI
  39. [39]A. Middeldorp, J. Nagele, and K. Shintani. 2019. Confluence Completion 2019. In Proc. Conf. on Tools and Algorithms for the Construction and Analysis of Systems (TACAS 2019) (LNCS, Vol. 11429). Springer, Cham, 25–40. doi:10.1007/978-3-030-17502-3_2
  40. [40]J. Nagele, B. Felgenhauer, and H. Zankl. 2017. Certifying Confluence Proofs via Relative Termination and Rule Labeling. Logical Methods in Computer Science 13, 2 (2017). doi:10.23638/LMCS-13(2:4)2017DOI
  41. [41]M.H.A. Newman. 1942. On Theories with a Combinatorial Definition of “Equivalence”. Annals of Mathematics 43, 2 (1942), 223–243. doi:10.2307/1968867DOI
  42. [42]Tobias Nipkow, Markus Wenzel, and Lawrence C Paulson. 2002. Isabelle/HOL: a proof assistant for higher-order logic. Springer.
  43. [43]A. Pitts. 1993. The HOL logic. In Introduction to HOL: A Theorem Proving Environment for Higher Order Logic, Michael J. C. Gordon and Thomas F. Melham (Eds.). Cambridge University Press, Cambridge, UK, 191–232.DOI
  44. [44]André Platzer. 2010. Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics. Springer.DOI
  45. [45]B.K. Rosen. 1973. Tree-manipulating Systems and Church-Rosser Theorems. J. ACM 20, 1 (1973), 160–187. doi:10.1145/321738.321750DOI
  46. [46]G. Roșu and T.F. Şerbănuţă. 2010. An Overview of the K Semantic Framework. Journal of Logic and Algebraic Programming 79, 6 (2010), 397–434. doi:10.1016/j.jlap.2010.03.012DOI
  47. [47]M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. 2011. Conflict-free Replicated Data Types. In Proc. 13th Int. Symp. on Stabilization, Safety, and Security of Distributed Systems (SSS 2011) (Lecture Notes in Computer Science, Vol. 6976). Springer, Berlin, Heidelberg, 386–400. doi:10.1007/978-3-642-24550-3_29DOI
  48. [48]Raymond Smullyan. 1996. Set theory and the continuum problem. Clarendon Press.
  49. [49]M. Sozeau, S. Boulier, Y. Forster, N. Tabareau, and T. Winterhalter. 2020. Coq Coq Correct! Verification of Type Checking and Erasure for Coq, in Coq. Proc. ACM Program. Lang. 4, POPL (2020), 81:1–81:28. doi:10.1145/3371076DOI
  50. [50]Terese. 2003. Term Rewriting Systems. Cambridge Tracts in Theoretical Computer Science, Vol. 55. Cambridge University Press, Cambridge.
  51. [51]Stevo Todorcevic. 1985. Directed sets and cofinal types. Trans. Amer. Math. Soc. 290 (1985), 711–723.
  52. [52]Y. Toyama. 1987. On the Church-Rosser Property for the Direct Sum of Term Rewriting Systems. J. ACM 34, 1 (1987), 128–143. doi:10.1145/7531.7534DOI
  53. [53]V. van Oostrom. 1993. Problem #56: Does the Church–Rosser property imply decreasing Church–Rosser? RTA List of Open Problems, http://www.cs.tau.ac.il/~nachum/rtaloop/problems/56.html. Originated June 1993.
  54. [54]V. van Oostrom. 1994. Confluence by Decreasing Diagrams. Theoretical Computer Science 126, 2 (1994), 259–280. doi:10.1016/0304-3975(92)00023-KDOI
  55. [55]V. van Oostrom. 1994. Confluence for Abstract and Higher-Order Rewriting. Ph. D. Dissertation. Vrije Universiteit Amsterdam.
  56. [56]V. van Oostrom. 2008. Confluence by Decreasing Diagrams, Converted. In Proc. Conf. on Rewriting Techniques and Applications (RTA 2008) (LNCS, Vol. 5117). Springer, Berlin, Heidelberg, 306–320. doi:10.1007/978-3-540-70590-1_21DOI
  57. [57]H. Zankl, B. Felgenhauer, and A. Middeldorp. 2011. CSI - A Confluence Tool. In Proc. Conf. on Automated Deduction (CADE 2011) (LNCS, Vol. 6803). Springer, Berlin, Heidelberg, 499–505.DOI
  58. [58]H. Zantema. 1994. Termination of Term Rewriting: Interpretation and Type Elimination. Journal of Symbolic Computation 17, 1 (1994), 23–50. doi:10.1006/jsco.1994.1003DOI

Paper details

vlnc:W_ffxtuz96
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents