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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wißmann, Thorsten, Milius, Stefan
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911883077877760
author Wißmann, Thorsten
Milius, Stefan
author_facet Wißmann, Thorsten
Milius, Stefan
contents The initial algebra for an endofunctor F provides a recursion and induction scheme for data structures whose constructors are described by F. 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_09504
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Initial Algebras Unchained -- A Novel Initial Algebra Construction Formalized in Agda
Wißmann, Thorsten
Milius, Stefan
Logic in Computer Science
The initial algebra for an endofunctor F provides a recursion and induction scheme for data structures whose constructors are described by F. 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.
title Initial Algebras Unchained -- A Novel Initial Algebra Construction Formalized in Agda
topic Logic in Computer Science
url https://arxiv.org/abs/2405.09504