Combinatorial species and labelled structures
Year: 2014
Type: dissertation
Abstract: The theory of combinatorial species was developed in\nthe 1980s as part of the mathematical subfield of enumerative\ncombinatorics, unifying and putting on a firmer theoretical basis a\ncollection of techniques centered around generating\nfunctions. The theory of algebraic data\ntypes was developed, around the same time, in functional\nprogramming languages such as Hope and Miranda, and is still used\ntoday in languages such as Haskell, the ML family, and Scala. Despite\ntheir disparate origins, the two theories have striking\nsimilarities. In particular, both constitute algebraic frameworks in\nwhich to construct structures of interest. Though the similarity has\nnot gone unnoticed, a link between combinatorial species and algebraic\ndata types has never been systematically explored. This dissertation\nlays the theoretical groundwork for a precise—and, hopefully,\nuseful—bridge bewteen the two theories. One of the key\ncontributions is to port the theory of species from a classical,\nuntyped set theory to a constructive type theory. This porting process\nis nontrivial, and involves fundamental issues related to equality and\nfiniteness; the recently developed homotopy type\ntheory is put to good use formalizing these issues in a\nsatisfactory way. In conjunction with this port, species as general\nfunctor categories are considered, systematically analyzing the\ncategorical properties necessary to define each standard species\noperation. Another key contribution is to clarify the role of species\nas labelled shapes, not containing any data, and to\nuse the theory of analytic functors to model labelled\ndata structures, which have both labelled shapes and data associated\nto the labels. Finally, some novel species variants are considered,\nwhich may prove to be of use in explicitly modelling the memory layout\nused to store labelled data structures.
Author: Brent A. Yorgey
Institution: University of Pennsylvania
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W12827263
