Positive inductive-recursive definitions
Ghani, Neil and Nordvall Forsberg, Fredrik and Malatesta, Lorenzo (2015) Positive inductive-recursive definitions. Logical Methods in Computer Science, 11 (1). 13. ISSN 1860-5974 (https://doi.org/10.2168/LMCS-11(1:13)2015)
Preview |
Text.
Filename: Ghani_etal_LMCS_2015_Positive_inductive_recursive_definitions.pdf
Final Published Version License: Download (242kB)| Preview |
Abstract
A new theory of data types which allows for the definition of types as initial algebras of certain functors Fam(C) -> Fam(C) is presented. This theory, which we call positive inductive-recursive definitions, is a generalisation of Dybjer and Setzer's theory of inductive-recursive definitions within which C had to be discrete -- our work can therefore be seen as lifting this restriction. This is a substantial endeavour as we need to not only introduce a type of codes for such data types (as in Dybjer and Setzer's work), but also a type of morphisms between such codes (which was not needed in Dybjer and Setzer's development). We show how these codes are interpreted as functors on Fam(C) and how these morphisms of codes are interpreted as natural transformations between such functors. We then give an application of positive inductive-recursive definitions to the theory of nested data types and we give concrete examples of recursive functions defined on universes by using their elimination principle. Finally we justify the existence of positive inductive-recursive definitions by adapting Dybjer and Setzer's set-theoretic model to our setting.
ORCID iDs
Ghani, Neil ORCID: https://orcid.org/0000-0002-3988-2560, Nordvall Forsberg, Fredrik ORCID: https://orcid.org/0000-0001-6157-9288 and Malatesta, Lorenzo;-
-
Item type: Article ID code: 52999 Dates: DateEvent27 March 2015Published19 January 2015AcceptedSubjects: Science > Mathematics > Electronic computers. Computer science Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 13 May 2015 09:58 Last modified: 11 Nov 2024 11:04 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/52999