A fresh look at commutativity : free algebraic structures via fresh lists
Kupke, Clemens and Nordvall Forsberg, Fredrik and Watters, Sean (2023) A fresh look at commutativity : free algebraic structures via fresh lists. In: The 21st Asian Symposium on Programming Languages and Systems, 2023-11-26 - 2023-11-29.
Preview |
Text.
Filename: Kupke_etal_ASPLS_2023_A_fresh_look_at_commutativity.pdf
Accepted Author Manuscript License: Strathprints license 1.0 Download (799kB)| Preview |
Abstract
We show how types of finite sets and multisets can be constructed in ordinary dependent type theory, without the need for quotient types or working with setoids, and prove that these constructions realise finite sets and multisets as free idempotent commutative monoids and free commutative monoids, respectively. Both constructions arise as generalisations of C. Coquand’s data type of fresh lists, and we show how many other free structures also can be realised by other instantiations. All of our results have been formalised in Agda.
ORCID iDs
Kupke, Clemens, Nordvall Forsberg, Fredrik ORCID: https://orcid.org/0000-0001-6157-9288 and Watters, Sean ORCID: https://orcid.org/0009-0007-1249-254X;-
-
Item type: Conference or Workshop Item(Paper) ID code: 86736 Dates: DateEvent29 November 2023Published29 November 2023Published Online14 August 2023AcceptedSubjects: Science > Mathematics > Electronic computers. Computer science > Other topics, A-Z Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 20 Sep 2023 13:43 Last modified: 12 Dec 2024 16:47 URI: https://strathprints.strath.ac.uk/id/eprint/86736