arXiv:2611.03174cs.LONov 2026

Manuscript Offprint

arXiv:2611.03174

Final coalgebras over R-modules

Oisín Flynn-Connolly, Henning Basold, Chase Ford

Oisín Flynn-Connolly, Henning Basold, and Chase Ford

LIACS, Leiden University, Leiden, The Netherlands {o.c.flynn-connolly, h.basold, m.c.ford}@liacs.leidenuniv.nl

Abstract. Final coalgebras and the coinduction principle for coalgebras over RR-modules, where RR is a commutative ring, are essential in determining the denotational behaviour of various types of linear weighted automata. The goal of this paper is to provide lower and upper bounds on the ordinals that are needed to construct final coalgebras over RR-modules as the limit of a transfinite sequence of functor iterations. We give an example of a binary intersection preserving finitary functor on the category of abelian groups, which is the category of modules over integers, that fails to converge in ω⋅2\omega \cdot 2 steps, thus settling an open problem of Adámek, Milius, and Moss. Then we relate this to the failure of the Artinian property of the integers and show that all finitary functors on RR-modules for a Noetherian ring RR with Krull dimension nn, which preserve countable directed intersections and a generalised notion of monomorphism, converge in ω⋅(n+2)\omega \cdot (n+2) steps. We also establish how the connection between Aczel-Mendler bisimulation and behavioural equivalence is mediated by the functor Ext1^1. These results show that homological algebra tools can play an important role in coalgebra.

Keywords: final coalgebra · abelian group · locally presentable category · finitary functor · Krull dimension

1 Introduction

Modules over a commutative ring RR play an important role in reasoning about the behaviour of linear sequential machines [13], weighted automata and their coalgebraic models [6, 9, 10, 21]. Final coalgebras and the coinduction principle for coalgebras over RR-modules are then essential in determining the denotational behaviour of various types of linear weighted automata. For instance, the existence of a final coalgebra leads to very natural equational definition and proof principles [16, 22–24]. A central question is then under what conditions final coalgebras exist. There are various well-known constructions, in particular final coalgebras can be constructed as limit of a well-founded sequence of functor iterations, which provides control over the shape of the final coalgebra. Famously, Worrell [30, 31] has shown that many interesting functors need, however, transfinite iterations in order for this sequence to converge to a final coalgebra. In recent work, the convergence result of Worrell was extended to a broad class of categories and functors, where the iteration bound can be determined [1]. However, it was left open whether the conditions apply to abelian groups, which are the same as modules over the integers Z\mathbb{Z}.

O. Flynn-Connolly, H. Basold, C. Ford

There has been no previous detailed study of final coalgebras or coinduction in abelian groups because the functors of primary interest to algebraists are primarily additive, which in particular preserve zero objects. Recall that a zero object is simultaneously an initial and a terminal object in a category. In the category Mod(R)\mathbf{Mod}(R) of RR-modules and linear maps, the modules with 0 as its only element is a zero object. For commutative groups, this instantiated to the singleton group. Since the construction of a final coalgebra for a functor FF proceeds by iterating FF on the terminal object, the construction trivially converges if FF is additive. Thus the final coalgebra is a zero object and behavioural equivalence trivialises. In this article we investigate further the properties of non-additive functors, which include models for linear weighted automata, in abelian groups and RR-modules. We set out in this paper to provide convergence bounds for the final coalgebra construction for functors on Mod(R)\mathbf{Mod}(R).

The usual procedure for finding final coalgebras for a functor F:C→CF: \mathcal{C} \to \mathcal{C} on a category C\mathcal{C} is by constructing the ωop\omega^{\mathrm{op}}-chain that starts with the terminal object 1 and iterates the functor FF, where m:F1→1m: F1 \to 1 is the terminal map:

⋯→F3mF31→F2mF21→FmF1→m1(1)\cdots\xrightarrow{F^{3}m}F^{3}1\xrightarrow{F^{2}m}F^{2}1\xrightarrow{F m}F1\xrightarrow{m}1 \tag{1}

If the functor FF preserves ωop\omega^{\mathrm{op}}-limits, then this chain converges to a final coalgebra [4]. However, if the functor does not preserve those limits, then the process requires transfinitely many steps and may not work at all if the functor is unbounded. For example, applications of the power set functor always strictly increase the cardinality and cannot have a fixed point. In a remarkable result, Worrell [30,31] showed that all finitary, that is to say, filtered colimit preserving, functors on the category Set\mathbf{Set} of sets and maps are guaranteed to converge in at most ω⋅2\omega \cdot 2 steps. He also showed that for some functors, like the finitary power set functor, this bound on steps is actually obtained.

In recent work, Adámek, Milius, and Moss [1] generalised Worrell's convergence results from the category of sets to locally finitely presentable (lfp) categories, where the finitely presentable objects satisfy a descending chain condition (DCC), and functors preserving binary intersections. For modules over a ring, the DCC property is connected to the Artinian property of the ring, so the category of abelian groups, which is isomorphic to the category of Z\mathbb{Z}-modules, is the simplest example of a non-DCC lfp category. In this paper, we explicitly construct a functor UU that does not converge in ω⋅2\omega \cdot 2 steps. Our construction exploits the fact that the subcategory of torsion groups, while closed under colimits, is not closed under limits in the category of abelian groups. Non-torsion groups can be detected using tensor products with Q\mathbb{Q}, and we devise our functor to be a direct sum of functors Fp⊕TF_p \oplus T, where the TT-component only becomes non-zero beyond ω\omega steps, when non-torsion groups start to appear. This prevents the construction from converging in ω⋅2\omega \cdot 2 steps and thus resolves the problem left open by Adámek, Milius, and Moss [1].

Having thus exhibited the rather unfortunate pathologies of Mod(R)\mathbf{Mod}(R) from a coalgebraic perspective, we turn to finding tractable criteria for determining convergence of final coalgebra sequence in ω⋅n\omega \cdot n many steps. For this, we work with Noetherian rings RR of (finite) KrullKrull dimension nn, which is the length of the longest chain of proper prime ideals contained in RR. We prove that in this case for a finitary functor on Mod(R)\mathbf{Mod}(R) that preserves, both, countable directed intersections of monomorphisms and a refinement of monomorphism, the chain construction converges in ω⋅(n+2)\omega \cdot (n+2) steps to its final coalgebra. In the case of abelian groups, this guarantees convergence in ω⋅3\omega \cdot 3 steps to suitably well behaved functors.

Along the way, we also exhibit novel behaviour here not seen in Set\mathbf{Set} by showing that the equivalence between Aczel-Mendler bisimulation and behavioural equivalence is mediated by the Ext1\text{Ext}^1-functor, not just weak pullback preservation [22,27]. We believe that it shows the potential for laying deeper connections between coalgebra and homological algebra.

Related work. The pp-adic numbers, which were the main inspiration for our counterexample, have been studied from a coalgebraic perspective in [8], and the fractal-like nature of the functor FpF_p is somewhat reminiscent of the self-similarity work appearing in [19,25]. However such connections appear to be merely surface level as the authors there are more interested in metric spaces.

Of much greater relevance to our work is the literature on linear weighted automata [9,10]. This was originally worked out in vector spaces and subsequently generalised to semimodules over semirings [7]. Learning algorithms for linear weighted automata over commutative rings have been developed in [5,17]. Our paper sits in between these two as it has relevance to linear weighted automata valued in commutative rings, though we work with much more general functors than in either paper, and are not interested in learning algorithms.

Aczel-Mendler bisimulation in the category of RR-modules, among other categories, was revisited in [12] where it is shown that linear weighted automata functors there preserve weak pullbacks. We also briefly study bisimulation, and seem to be the first to make the connection to homological algebra observed in Proposition 2.

Descending chain conditions were first introduced in the coalgebra literature in [28, Section 4] and have been used to study learning algorithms for weighted automata in the context of rings and semirings [5,17] and bisimulation directly in [7]. We address a point of potential confusion here, the notion referred to [28, Section 4] as Noetherian is, in the case of modules more closely related to the classical notion of Artinian while Noetherianity is a strictly weaker notion in this context. We have therefore adopted the convention from commutative algebra. We note that this apparently minor terminological confusion has already caused some issues in the literature, for example, the argument given for the main theorem in one paper [5, Theorem 8] appears to rely on a result that requires the Artinian property, in a setting where it fails. The insight that Artinian can be weakened to Krull dimension appears to be new to this paper.

Finally, the Td\mathcal{T}_d discussed in Section 4 form (hereditary) torsion theories [11] which, to the best of our knowledge, have not been explicitly exploited in the study of coalgebras before. This relates to concept of Gabriel-Krull dimension of an abelian category due to Gabriel [15].

O. Flynn-Connolly, H. Basold, C. Ford

References (31)