Lune

LICS2024Top-tier venue

Initial Algebras Unchained - A Novel Initial Algebra Construction Formalized in Agda

Thorsten Wißmann, Stefan Milius

2024Year

Abstract

The initial algebra for an endofunctor 𝐹 provides a recursion and induction scheme for data structures whose constructors are described by 𝐹 . The initial-algebra construction by Adámek (1974) starts with the initial object (e.g. the empty set) and successively applies the functor until a fixed point is reached, an idea inspired by Kleene's fixed point theorem. Depending on the functor of interest, this may require transfinitely many steps indexed by ordinal numbers until termination.

We provide a new initial algebra construction which is not based on an ordinal-indexed chain. Instead, our construction is loosely inspired by Pataraia's fixed point theorem and forms the colimit of all finite recursive coalgebras. This is reminiscent of the construction of the rational fixed point of an endofunctor that forms the colimit of all finite coalgebras. For our main correctness theorem, we assume the given endofunctor is accessible on a (weak form of) locally presentable category. Our proofs are constructive and fully formalized in Agda.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext bf275494-2427-4c60-867d-d6ed51ac0c97

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines