Lune

LICS2024Top-tier venue

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

Thorsten Wißmann, Stefan Milius

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Intrinsically Correct Algorithms and Recursive CoalgebrasCass Alexandru, Henning Urbat, Thorsten WißmannPLDI 2026
  2. The Algebra of Iterative ConstructionsKevin Batz, Benjamin Lucien Kaminski, Lucas Kehrer, Gerwin Klein et al.LICS 2026
  3. Constructing Higher Inductive Types as Groupoid QuotientsNiels van der WeideLICS 2020 · 1 citation
  4. Thin Coalgebraic Behaviours Are InductiveAnton Chernev, Corina Cîrstea, Helle Hvid Hansen, Clemens KupkeLICS 2025
  5. Ordinal Exponentiation in Homotopy Type TheoryTom de Jong, Nicolai Kraus, Fredrik Nordvall Forsberg, Chuangjie XuLICS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines