License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.ITP.2023.20
URN: urn:nbn:de:0030-drops-183954
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2023/18395/
Go to the corresponding LIPIcs Volume Portal


Joram, Philipp ; Veltri, Niccolò

Constructive Final Semantics of Finite Bags

pdf-format:
LIPIcs-ITP-2023-20.pdf (0.8 MB)


Abstract

Finitely-branching and unlabelled dynamical systems are typically modelled as coalgebras for the finite powerset functor. If states are reachable in multiple ways, coalgebras for the finite bag functor provide a more faithful representation. The final coalgebra of this functor is employed as a denotational domain for the evaluation of such systems. Elements of the final coalgebra are non-wellfounded trees with finite unordered branching, representing the evolution of systems starting from a given initial state.
This paper is dedicated to the construction of the final coalgebra of the finite bag functor in homotopy type theory (HoTT). We first compare various equivalent definitions of finite bags employing higher inductive types, both as sets and as groupoids (in the sense of HoTT). We then analyze a few well-known, classical set-theoretic constructions of final coalgebras in our constructive setting. We show that, in the case of set-based definitions of finite bags, some constructions are intrinsically classical, in the sense that they are equivalent to some weak form of excluded middle. Nevertheless, a type satisfying the universal property of the final coalgebra can be constructed in HoTT employing the groupoid-based definition of finite bags. We conclude by discussing generalizations of our constructions to the wider class of analytic functors.

BibTeX - Entry

@InProceedings{joram_et_al:LIPIcs.ITP.2023.20,
  author =	{Joram, Philipp and Veltri, Niccol\`{o}},
  title =	{{Constructive Final Semantics of Finite Bags}},
  booktitle =	{14th International Conference on Interactive Theorem Proving (ITP 2023)},
  pages =	{20:1--20:19},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-95977-284-6},
  ISSN =	{1868-8969},
  year =	{2023},
  volume =	{268},
  editor =	{Naumowicz, Adam and Thiemann, Ren\'{e}},
  publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2023/18395},
  URN =		{urn:nbn:de:0030-drops-183954},
  doi =		{10.4230/LIPIcs.ITP.2023.20},
  annote =	{Keywords: finite bags, final coalgebra, homotopy type theory, Cubical Agda}
}

Keywords: finite bags, final coalgebra, homotopy type theory, Cubical Agda
Collection: 14th International Conference on Interactive Theorem Proving (ITP 2023)
Issue Date: 2023
Date of publication: 26.07.2023
Supplementary Material: Software (Agda Code): https://github.com/phijor/agda-cubical-multiset archived at: https://archive.softwareheritage.org/swh:1:snp:3c33a341583333a888a148d4a91c08b94e404482


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI