nLab
well-founded coalgebra

Contents

The notion of well-founded coalgebra is due to Paul Taylor (with antecedents in the work of Gerhard Osius). Our account is largely based on (Taylor, section 6.3)), and on his paper The General Recursion Theorem, although in some cases we work with slightly different hypotheses.

Definition

Let C be a finitely complete category, and let T be an endofunctor on C. We will suppose that T preserves pullbacks of monomorphisms (that is, it preserves limits of cospans in which one of the cospan arrows is monic). In particular, this implies that T preserves monos. An example is the covariant power-set functor P:SetSet.

Definition

Let θ:XTX be a T-coalgebra structure on X. A subobject i:UX in C is θ-inductive if in the pullback

H j X θ TU Ti TX\array{ H & \stackrel{j}{\to} & X \\ \downarrow & & \downarrow^\mathrlap{\theta} \\ T U & \underset{T i}{\to} & T X }

the map j factors through i (note that j is monic since T preserves monos).

A coalgebra (X,θ) is well-founded if the only inductive subobject of X is X itself.

Example: Suppose X is an initial algebra for the endofunctor T, with algebra structure map α:TXX. By Lambek’s theorem, α is invertible, so that X carries a coalgebra structure θ=α 1:XTX. It is easy to check that an inductive subobject gives a subalgebra i:UX, but a subalgebra of an initial algebra must be the initial algebra itself. Hence (X,θ) is well-founded.

Our goal in this article is to show that one can perform inductive arguments and recursive constructions in the abstract context of well-founded coalgebras. An interesting challenge is to make precise what is meant by a recursive construction of a map ϕ:XA, where the problem is to show how to build ϕ from the ground up, as it were. Stages in the recursive construction of a morphism will be partial maps, defined as usual as spans

D i f A B\array{ & & D & & \\ & ^\mathllap{i} \swarrow & & \searrow^\mathrlap{f} \\ A & & & & B }

for which the arrow i is monic. Composition of partial maps is effected by span composition, for which we need only finite cocompleteness (we do not need C to be a regular category, as we would if we were composing general relations between A and B). Notice that since T preserves the pulling back of monos, it carries partial maps to partial maps and also preserves partial map composition.

We denote a partial map by a dashed arrow

f:ABf: A \dashrightarrow B

(generally without explicitly mentioning the domain D of f), or sometimes by a harpoon notation.

Examples

Well-founded relations

The prototype of the notion of well-founded coalgebra is a well-founded relation, which is essentially the same thing as a well-founded coalgebra over the covariant power-set functor P:SetSet. In brief, a binary relation on a set X corresponds to a coalgebra θ:XPX, by saying yx if and only if yθ(x). See well-founded relation for more information.

Most of the constructions of this article are well-illustrated by checking them against the background of this prototypical case.

Induction and recursion

“One proves things by induction; one defines things by recursion.” This slogan is not mere pedantry; it is meant to underline a difference between these processes.

A proof by induction, say a proof of a property or predicate R(x) where x varies over a domain X, proceeds by showing that the subobject i:UX defined by R is an inductive subset with respect to a relation on X. It follows that R is universally true on X, if the relation is well-founded. The same idiom applies more generally to well-founded coalgebras.

A recursive construction on the other hand involves a dependency on prior stages of the construction. A typical application is to define a map f:XA by recursion with respect to a well-founded relation, where f(x) is specified in three stages:

  • Consider the collection θ(x)={y:yx} of all elements preceding x;

  • Pass to the values f(y) defined earlier in the construction, giving a subset P(f)(θ(x))={f(y):yx} of A;

  • Apply a given operation ϕ:P(A)A to this subset (P(f)θ)(x), to obtain f(x).

In the last step, the operation may be only partially defined on P(A). In fact, the map f itself may be only partially defined; f(x) is defined only if ϕ((P(f)θ)(x)) is defined “when we call for it”.

An inductive argument is used to show that f, so far as it is defined, is uniquely determined. The recursive equation that uniquely determines f (to the extent that it exists, of course) is

f=ϕP(f)θ.f = \phi \circ P(f) \circ \theta.

Letting x denote the down-closure of an element xX with respect to (and containing x), we may then form the set

{xX: g:xA(g=ϕP(g)θ)}\{x \in X: \exists_{g: \downarrow x \to A} (g = \phi \circ P(g) \circ \theta)\}

whence the existence of a map f:XA satisfying the recursive equation might indeed be proven by appeal to an inductive argument.

However, notice that this set is defined by a construction in dependent type theory. For other categories C, we might not have the luxury of interpreting dependent types, so there it wouldn’t be right to conflate recursion with induction.

It is nevertheless true that one can prove, in rather considerable generality, both an induction principle and recursion theorem for well-founded coalgebras; this will occupy us in the following sections.

References

  • Paul Taylor, Practical Foundations of Mathematics , Cambridge University Press (1999).
  • Paul Taylor, Towards a unified treatment of induction , I: the general recursion theorem (1996). (pdf)

Revised on September 6, 2011 23:55:46 by Mike Shulman (71.136.238.9)