Combinatorial Species and Generating Functions

Total Page:16

File Type:pdf, Size:1020Kb

Combinatorial Species and Generating Functions Combinatorial Species Combinatorial species S is any sort of labelled structure built from a finite set A which does not depend on the names or properties of the elements of A. Let’s see some examples. 2 / 49 Example: Trees Let A = f1; 2; 3; 4g. Members of the species Trees built from A: 3 / 49 Example: Linear Orders Let A = fa; b; c; d; eg. Structures of type Linear Orders put on A: 4 / 49 Example: Partitions Let A = f1; 2; 3; 4g. Members of Partitions constructed from A: 5 / 49 Example: Permutations Let A = f1; 2; 3; 4g. Structures of type Permutations built from A: 6 / 49 Combinatorial Species, again Combinatorial species S is any sort of labelled structure built from a finite set A which does not depend on the names or properties of the elements of A. More concretely, S is a function which sends a finite set A to S(A) the set of all structures of S built from A. For the technocrats: a combinatorial species is a functor S : Fin0 ! Fin0 from the groupoid of finite sets with bijections to itself. 7 / 49 Example: Linear Orders L is the species of Linear Orders. 8 / 49 Example: Permutations P is the species of Permutations. 9 / 49 What’s in a name? Members of a species S built from A “can’t interpret” the names of the elements of A. For example, if A = f1; 2; 3; 4; 5g and B = fa; b; c; d; eg, then Trees “knows” how to use i to transform structures built from A into structures built from B. 10 / 49 To Specify a Species Let [n] = f1; 2; 3;:::; ng. We only need to know S[n] the members of S built from [n] for each n ≥ 0. Say species S and T are equivalent and write S ≈ T if there is a “natural” way to get a correspondence between members of S and T. Technocrats: S and T are equivalent if S and T are naturally isomorphic as functors. 11 / 49 Example The species of Red and Blue Colorings of a Set. The species of Functions to [2]. The species of Subsets. 12 / 49 Counting Members of a Species Write jS[n]j for the number S structures on [n]. If S ≈ T, then jS[n]j = jT[n]j for all n ≥ 0. 13 / 49 Counting Members of a Species Write jS[n]j for the number S structures on [n]. If S ≈ T, then jS[n]j = jT[n]j for all n ≥ 0. Caution: jS[n]j = jT[n]j for each n ≥ 0 does not imply S ≈ T! 14 / 49 Non-Example Linear Orders and Permutations have the same number of members jL[n]j = jP[n]j = n!, but they are not equivalent! Question: How would you show two species were inequivalent? Hint: consider the symmetries of members of the two species. 15 / 49 Generating Function of a Species To any species S we associate the generating function X xn S(x) = jS[n]j : n! n≥0 “S(x) is an algebraic manifestation of the entire species S.” I hope to explain this idea through examples. 16 / 49 Example: Permutations Let P be the species of Permutations. Since jP[n]j = n! we have X xn X xn X 1 P(x) = jP[n]j = n! = xn = n! n! 1 − x n≥0 n≥0 n≥0 1 The same calculation shows L(x) = 1−x when L is the species of Linear Orders. 17 / 49 Example: Cyclic Permutations Let C be the species of Cyclic Permutations. Note that jC[n]j = (n − 1)!. X xn X xn X xn 1 C(x) = jC[n]j = (n − 1)! = = log : n! n! n 1 − x n≥0 n≥0 n≥0 18 / 49 Example: Finite Sets Let Exp be the species of Finite Sets. Then jExp[n]j = 1 for every n. X xn X xn Exp(x) = jExp[n]j = = ex: n! n! n≥0 n≥0 You could view this as a “reason” why ex shows up so often. It is also related to why some people say things like jFinite Setsj = e: 19 / 49 Examples: m Element Sets Let Em be the species of m Element Sets. Then ( 1 m = n jEm[n]j = 0 m 6= n: Hence X xn xm E (x) = jE [n]j = : m m n! m! n≥0 We write X for the species E1 of singletons. 20 / 49 Operations on Species: Sum Let S and T be species. Sum: Structures of S + T on A are either structures of S or of T. (S + T)(A) = S(A) t T(A): 21 / 49 Operations on Species: Product Let S and T be species. Product: S · T is trickier to define. A structure of (S · T)(A) is formed by partitioning A = B t C, then putting an S structure on B and a T structure on C. G (S · T)(A) = S(B) × T(C): A=BtC 22 / 49 Example: Cyclic Permutations · Linear Orders 23 / 49 Ops on Species = Ops on Generating Functions There’s some justice in this world: (S + T)(x) = S(x) + T(x) (S · T)(x) = S(x)T(x): 24 / 49 Example Consider the identity 1 1 − x + x 1 = = 1 + x · : 1 − x 1 − x 1 − x Its fun to try “lifting” algebraic identities to the level of species. ? L ≈ 1 + X · L: 25 / 49 Example Consider the identity 1 1 − x + x 1 = = 1 + x · : 1 − x 1 − x 1 − x Its fun to try “lifting” algebraic identities to the level of species. L ≈ 1 + X · L: “A linear order is either empty or it may be written as a first element followed by a linear order.” 26 / 49 Composition Let S and T be species and suppose T has no structures on the empty set (jT[0]j = 0.) Composition: S ◦ T takes some explaining. To construct a member of (S ◦ T)(A): 1. Partition A = B1 t B2 t ::: t Bk into non-empty sets. 2. Put a T structure on each Bi. 3. Put an S structure on fB1; B2;:::; Bkg . G Y (S ◦ T)(A) = S[k] × T(Bi): A=ti≤kBi i≤k 27 / 49 Example: Cyclic Perms ◦ Trees C and T are the species of Cyclic Permutations and Trees. Let’s build a member of (C ◦ T)[10]: 28 / 49 Example: Cyclic Perms ◦ Trees 29 / 49 Exponentiation Useful to compose with Exp the species of Finite Sets. Members of (Exp ◦ S)(A) have a simpler description: 1. Partition A = B1 t B2 t ::: t Bk into non-empty sets. 2. Put an S structure on each Bi. 30 / 49 Comp of Species = Comp of Generating Functions (S ◦ T)(x) = S(T(x)) (Exp ◦ S)(x) = eS(x): 31 / 49 Example: Exp ◦ C C is the species of Cyclic Permutations. Here is a member of the species (Exp ◦ C)[10]. ) P ≈ Exp ◦ C, Permutations = Exp(Cyclic Permutations) 1 1 = exp log 1 − x 1 − x 32 / 49 Simple graphs A simple graph is a graph with no edges from a point to itself and at most one edge between a pair of points. Question: Can you express Simple Graphs as the composition of two species? Hint: Try counting the number of simple graphs built from [n] and then work backwards. 33 / 49 Bernoulli Polynomials Bernoulli polynomials Bn(q) arise in the study of the Riemann Zeta function, p-adic integration, classic summation formulas, etc. Their coefficients are the mysterious Bernoulli numbers. 1 1 1 1 1 5 691 7 3617 43867 1; − 2 ; 6 ; 0; − 30 ; 0; 42 ; 0; − 30 ; 0; 66 ; 0; − 2730 ; 0; 6 ; 0; − 510 ; 0; 798 ;::: Bn(q) is defined by the following identity: X xn xeqx = (ex − 1) B (q) : n n! n≥0 Question: Can you lift this to a species identity? 34 / 49 Derangements A permutation with no fixed points is called a derangement. Counting derangements of [n] is a classic problem. Let’s count with species! 35 / 49 Derangements Permutations = Exp(Cyclic Permutations) Derangements = Exp(Cyclic Permutations of Size ≥ 2) 1 C (x) = C(x) − x = log − x: ≥2 1 − x log( 1 )−x 1 −x D(x) = e 1−x = e : 1 − x 36 / 49 1 How to multiply a power series by 1−x: P n Say f(x) = n≥0 anx is a power series. 37 / 49 Derangements 1 1 X (−1)n D(x) = e−x = xn 1 − x 1 − x n! n≥0 0 1 0 1 m m n X X (−1) n X X (−1) x = @ A x = @n! A m! m! n! n≥0 m≤n n≥0 m≤n 38 / 49 Derangements 1 1 X (−1)n D(x) = e−x = xn 1 − x 1 − x n! n≥0 0 1 0 1 m m n X X (−1) n X X (−1) x = @ A x = @n! A m! m! n! n≥0 m≤n n≥0 m≤n Therefore, 39 / 49 Differentiation The derivative of S is the species: DS(A) = S(A t {∗}) S structures on A together with a distinguished point ∗. Here are members of DT[4] where T is the species of Trees. 40 / 49 Example: Derivative of Linear Orders Let L be the species of Linear Orders. Example member of DL[5]: 1 < 5 < 2 < ∗ < 4 < 3 Notice there’s a natural correspondence between members of DL and members of L2 = L · L: 1 < 5 < 2 < ∗ < 4 < 3 ! (1 < 5 < 2; 4 < 3) Thus DL ≈ L2.
Recommended publications
  • New Combinatorial Computational Methods Arising from Pseudo-Singletons Gilbert Labelle
    New combinatorial computational methods arising from pseudo-singletons Gilbert Labelle To cite this version: Gilbert Labelle. New combinatorial computational methods arising from pseudo-singletons. 20th Annual International Conference on Formal Power Series and Algebraic Combinatorics (FPSAC 2008), 2008, Viña del Mar, Chile. pp.247-258. hal-01185187 HAL Id: hal-01185187 https://hal.inria.fr/hal-01185187 Submitted on 19 Aug 2015 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. FPSAC 2008, Valparaiso-Vi~nadel Mar, Chile DMTCS proc. AJ, 2008, 247{258 New combinatorial computational methods arising from pseudo-singletons Gilbert Labelley Laboratoire de Combinatoire et d'Informatique Math´ematique,Universit´edu Qu´ebec `aMontr´eal,CP 8888, Succ. Centre-ville, Montr´eal(QC) Canada H3C3P8 Abstract. Since singletons are the connected sets, the species X of singletons can be considered as the combinatorial logarithm of the species E(X) of finite sets. In a previous work, we introduced the (rational) species Xb of pseudo-singletons as the analytical logarithm of the species of finite sets. It follows that E(X) = exp(Xb) in the context of rational species, where exp(T ) denotes the classical analytical power series for the exponential function in the variable T .
    [Show full text]
  • An Introduction to Combinatorial Species
    An Introduction to Combinatorial Species Ira M. Gessel Department of Mathematics Brandeis University Summer School on Algebraic Combinatorics Korea Institute for Advanced Study Seoul, Korea June 14, 2016 The main reference for the theory of combinatorial species is the book Combinatorial Species and Tree-Like Structures by François Bergeron, Gilbert Labelle, and Pierre Leroux. What are combinatorial species? The theory of combinatorial species, introduced by André Joyal in 1980, is a method for counting labeled structures, such as graphs. What are combinatorial species? The theory of combinatorial species, introduced by André Joyal in 1980, is a method for counting labeled structures, such as graphs. The main reference for the theory of combinatorial species is the book Combinatorial Species and Tree-Like Structures by François Bergeron, Gilbert Labelle, and Pierre Leroux. If a structure has label set A and we have a bijection f : A B then we can replace each label a A with its image f (b) in!B. 2 1 c 1 c 7! 2 2 a a 7! 3 b 3 7! b More interestingly, it allows us to count unlabeled versions of labeled structures (unlabeled structures). If we have a bijection A A then we also get a bijection from the set of structures with! label set A to itself, so we have an action of the symmetric group on A acting on these structures. The orbits of these structures are the unlabeled structures. What are species good for? The theory of species allows us to count labeled structures, using exponential generating functions. What are species good for? The theory of species allows us to count labeled structures, using exponential generating functions.
    [Show full text]
  • Combinatorial Species and Labelled Structures Brent Yorgey University of Pennsylvania, [email protected]
    University of Pennsylvania ScholarlyCommons Publicly Accessible Penn Dissertations 1-1-2014 Combinatorial Species and Labelled Structures Brent Yorgey University of Pennsylvania, [email protected] Follow this and additional works at: http://repository.upenn.edu/edissertations Part of the Computer Sciences Commons, and the Mathematics Commons Recommended Citation Yorgey, Brent, "Combinatorial Species and Labelled Structures" (2014). Publicly Accessible Penn Dissertations. 1512. http://repository.upenn.edu/edissertations/1512 This paper is posted at ScholarlyCommons. http://repository.upenn.edu/edissertations/1512 For more information, please contact [email protected]. Combinatorial Species and Labelled Structures Abstract The theory of combinatorial species was developed in the 1980s as part of the mathematical subfield of enumerative combinatorics, unifying and putting on a firmer theoretical basis a collection of techniques centered around generating functions. The theory of algebraic data types was developed, around the same time, in functional programming languages such as Hope and Miranda, and is still used today in languages such as Haskell, the ML family, and Scala. Despite their disparate origins, the two theories have striking similarities. In particular, both constitute algebraic frameworks in which to construct structures of interest. Though the similarity has not gone unnoticed, a link between combinatorial species and algebraic data types has never been systematically explored. This dissertation lays the theoretical groundwork for a precise—and, hopefully, useful—bridge bewteen the two theories. One of the key contributions is to port the theory of species from a classical, untyped set theory to a constructive type theory. This porting process is nontrivial, and involves fundamental issues related to equality and finiteness; the recently developed homotopy type theory is put to good use formalizing these issues in a satisfactory way.
    [Show full text]
  • A COMBINATORIAL THEORY of FORMAL SERIES Preface in His
    A COMBINATORIAL THEORY OF FORMAL SERIES ANDRÉ JOYAL Translation and commentary by BRENT A. YORGEY This is an unofficial translation of an article that appeared in an Elsevier publication. Elsevier has not endorsed this translation. See https://www.elsevier.com/about/our-business/policies/ open-access-licenses/elsevier-user-license. André Joyal. Une théorie combinatoire des séries formelles. Advances in mathematics, 42 (1):1–82, 1981 Preface In his classic 1981 paper Une théorie combinatoire des séries formelles (A com- binatorial theory of formal series), Joyal introduces the notion of (combinatorial) species, which has had a wide-ranging influence on combinatorics. During the course of researching my PhD thesis on the intersection of combinatorial species and pro- gramming languages, I read a lot of secondary literature on species, but not Joyal’s original paper—it is written in French, which I do not read. I didn’t think this would be a great loss, since I supposed the material in his paper would be well- covered elsewhere, for example in the textbook by Bergeron et al. [1998] (which thankfully has been translated into English). However, I eventually came across some questions to which I could not find answers, only to be told that the answers were already in Joyal’s paper [Trimble, 2014]. Somewhat reluctantly, I found a copy and began trying to read it, whereupon I discovered two surprising things. First, armed with a dictionary and Google Translate, reading mathematical French is not too difficult (even for someone who does not know any French!)— though it certainly helps if one already understands the mathematics.
    [Show full text]
  • Analytic Combinatorics for Computing Seeding Probabilities
    algorithms Article Analytic Combinatorics for Computing Seeding Probabilities Guillaume J. Filion 1,2 ID 1 Center for Genomic Regulation (CRG), The Barcelona Institute of Science and Technology, Dr. Aiguader 88, Barcelona 08003, Spain; guillaume.fi[email protected] or guillaume.fi[email protected]; Tel.: +34-933-160-142 2 University Pompeu Fabra, Dr. Aiguader 80, Barcelona 08003, Spain Received: 12 November 2017; Accepted: 8 January 2018; Published: 10 January 2018 Abstract: Seeding heuristics are the most widely used strategies to speed up sequence alignment in bioinformatics. Such strategies are most successful if they are calibrated, so that the speed-versus-accuracy trade-off can be properly tuned. In the widely used case of read mapping, it has been so far impossible to predict the success rate of competing seeding strategies for lack of a theoretical framework. Here, we present an approach to estimate such quantities based on the theory of analytic combinatorics. The strategy is to specify a combinatorial construction of reads where the seeding heuristic fails, translate this specification into a generating function using formal rules, and finally extract the probabilities of interest from the singularities of the generating function. The generating function can also be used to set up a simple recurrence to compute the probabilities with greater precision. We use this approach to construct simple estimators of the success rate of the seeding heuristic under different types of sequencing errors, and we show that the estimates are accurate in practical situations. More generally, this work shows novel strategies based on analytic combinatorics to compute probabilities of interest in bioinformatics.
    [Show full text]
  • Species and Functors and Types, Oh My!
    University of Pennsylvania ScholarlyCommons Departmental Papers (CIS) Department of Computer & Information Science 9-2010 Species and Functors and Types, Oh My! Brent A. Yorgey University of Pennsylvania, [email protected] Follow this and additional works at: https://repository.upenn.edu/cis_papers Part of the Discrete Mathematics and Combinatorics Commons, and the Programming Languages and Compilers Commons Recommended Citation Brent A. Yorgey, "Species and Functors and Types, Oh My!", . September 2010. This paper is posted at ScholarlyCommons. https://repository.upenn.edu/cis_papers/761 For more information, please contact [email protected]. Species and Functors and Types, Oh My! Abstract The theory of combinatorial species, although invented as a purely mathematical formalism to unify much of combinatorics, can also serve as a powerful and expressive language for talking about data types. With potential applications to automatic test generation, generic programming, and language design, the theory deserves to be much better known in the functional programming community. This paper aims to teach the basic theory of combinatorial species using motivation and examples from the world of functional pro- gramming. It also introduces the species library, available on Hack- age, which is used to illustrate the concepts introduced and can serve as a platform for continued study and research. Keywords combinatorial species, algebraic data types Disciplines Discrete Mathematics and Combinatorics | Programming Languages and Compilers This conference paper is available at ScholarlyCommons: https://repository.upenn.edu/cis_papers/761 Species and Functors and Types, Oh My! Brent A. Yorgey University of Pennsylvania [email protected] Abstract a certain size, or randomly generate family structures.
    [Show full text]
  • A Species Approach to the Twelvefold
    A species approach to Rota’s twelvefold way Anders Claesson 7 September 2019 Abstract An introduction to Joyal’s theory of combinatorial species is given and through it an alternative view of Rota’s twelvefold way emerges. 1. Introduction In how many ways can n balls be distributed into k urns? If there are no restrictions given, then each of the n balls can be freely placed into any of the k urns and so the answer is clearly kn. But what if we think of the balls, or the urns, as being identical rather than distinct? What if we have to place at least one ball, or can place at most one ball, into each urn? The twelve cases resulting from exhaustively considering these options are collectively referred to as the twelvefold way, an account of which can be found in Section 1.4 of Richard Stanley’s [8] excellent Enumerative Combinatorics, Volume 1. He attributes the idea of the twelvefold way to Gian-Carlo Rota and its name to Joel Spencer. Stanley presents the twelvefold way in terms of counting functions, f : U V, between two finite sets. If we think of U as a set of balls and V as a set of urns, then requiring that each urn contains at least one ball is the same as requiring that f!is surjective, and requiring that each urn contain at most one ball is the same as requiring that f is injective. To say that the balls are identical, or that the urns are identical, is to consider the equality of such functions up to a permutation of the elements of U, or up to a permutation of the elements of V.
    [Show full text]
  • The Relation Between Burnside Rings and Combinatorial Species*
    JOURNAL OF COMBINATORIAL THEORY, Series A 50, 269-284 (1989) The Relation between Burnside Rings and Combinatorial Species* J. LABELLE+ AND Y. N. YEH Universitt! du Quebec ci Montkal, Monkal, QuPbec, Canada H3C3P8 Communicated by Gian-Carlo Rota Received July 28, 1987 We describe the close relationship between permutation groups and com- binatorial species (introduced by A. Joyal, Adv. in Math. 42, 1981, l-82). There is a bijection @ between the set of transitive actions (up to isomorphism) of S, on finite sets and the set of “molecular” species of degree n (up to isomorphism). This bijec- tion extends to a ring isomorphism between B(S,) (the Burnside ring of the sym- metric group) and the ring Vy” (of virtual species of degree n). Since permutation groups are well known (and often studied using computers) this helps in finding examples and counterexamples in species. The cycle index series of a molecular species, which is hard to compute directly, is proved to be simply the (P6lya) cycle polynomial of the corresponding permutation group. Conversely, several operations which are hard to define in n,, B(S,) have a natural description in terms of species. Both situations are extended to coefficients in I-rings and binomial rings in the last section. 0 1989 Academic Press, Inc. INTRODUCTION In this paper, we want to highlight the close relationship between per- mutation groups and combinatorial species introduced by A. Joyal in [4]. In Sections 1 and 2, the main properties of species (operations, cycle index series, molecular and atomic species, ring of virtual species) and of the Burnside ring (of the symmetric group S,) are reviewed.
    [Show full text]
  • P\'Olya Theory for Species with an Equivariant Group Action
    SPECIES WITH AN EQUIVARIANT GROUP ACTION ANDREW GAINER-DEWAR Abstract. Joyal’s theory of combinatorial species provides a rich and elegant framework for enumerating combinatorial structures by translating structural information into algebraic functional equations. We also extend the theory to incorporate information about “structural” group actions (i.e. those which commute with the label permutation action) on combinatorial species, using the Γ-species of Henderson, and present P´olya-theoretic interpretations of the associated formal power series for both ordinary and Γ-species. We define the appropriate operations +, ·, ◦, and on Γ-species, give formulas for the associated operations on Γ- cycle indices, and illustrate the use of this theory to study several important examples of combinatorial structures. Finally, we demonstrate the use of the Sage computer algebra system to enumerate Γ-species and their quotients. 1. Preliminaries 1.1. Classical P´olya theory. We recall here some classical results of P´olya theory for conve- nience. Let Λ denote the ring of abstract symmetric functions and pi the elements of the power-sum basis of Λ. Further, let P denote the ring of formal power series in the family of indeterminates x1, x2,... , and let η : Λ → P denote the map which expands each symmetric function in the underlying x-variables. Let G be a finite group which acts on a finite set S of cardinality n. The classical cycle index polynomial of the action of G on S is the power series 1 (1) Z (p ,p ,...,p )= p G 1 2 n |G| σ σX∈G σ1 σ2 where pσ = p1 p2 ..
    [Show full text]
  • Combinatorial Species and the Virial Expansion
    Combinatorial Species and the Virial Expansion By Stephen Tate University of Warwick Supervisor: Dr Daniel Ueltschi Funded by: EPSRC Combinatorial Species Definition 1 A Species of Structure is a rule F which i) Produces for each finite set U, a finite set F[U] ii) Produces for each bijection ς: UV, a function F[ς]: F[u]F[V] The functions F[ς] should satisfy the following Functorial Properties: a) For all bijections ς:UV and τ:VW F[τ ∙ ς]=F[τ+ ∙ F*ς] b) For the identity map IdU : U U F[IdU]=IdF[U] An element s ε F[U] is called an F-structure on U The function F[ς] is called the transport of F- structures along ς F[ς] is necessarily a bijection Examples - Set Species S where: S [U]= {U} for all sets U - Species of Simple Graphs G Where s ε G[U] iff s is a graph on the points in U Associated Power Series Exponential Generating Series The formal power series for species of structure F is where is the cardinality of the set F[n]=F[{1 ... n}] Operations on Species of Structure Sum of species of structure Let F and G be two species of structure. An (F+G)-structure on U is an F-structure on U or (exclusive) a G-structure on U. (F+G)*U+ = F*U+x,†- U G*U+x,‡- i.e. a DISJOINT union (F+G)[ς](s)= F[ς](s) if s ε F[U] { G[ς](s) if s ε G[U] Product of a species of structure Let F and G be two species of structures.
    [Show full text]
  • Introduction to the Theory of Species of Structures
    Introduction to the Theory of Species of Structures Fran¸coisBergeron, Gilbert Labelle, and Pierre Leroux November 25, 2013 Université du Québec à Montréal Département de mathématiques Case postale 8888, Succursale Centre-Ville Montréal (Québec) H3C 3P8 2 Contents 0.1 Introduction.........................................1 1 Species 5 1.1 Species of Structures....................................5 1.1.1 General definition of species of structures....................9 1.1.2 Species described through set theoretic axioms................. 10 1.1.3 Explicit constructions of species......................... 11 1.1.4 Algorithmic descriptions.............................. 11 1.1.5 Using combinatorial operations on species.................... 12 1.1.6 Functional equation solutions........................... 12 1.1.7 Geometric descriptions............................... 13 1.2 Associated Series...................................... 13 1.2.1 Generating series of a species of structures.................... 14 1.2.2 Type generating series............................... 15 1.2.3 Cycle index series................................. 16 1.2.4 Combinatorial equality............................... 20 1.2.5 Contact of order n ................................. 22 1.3 Exercises.......................................... 23 2 Operations on Species 27 2.1 Addition and multiplication................................ 27 2.1.1 Sum of species of structures............................ 29 2.1.2 Product of species of structures.......................... 32 2.2 Substitution
    [Show full text]
  • Combinatorial Species and Labelled Structures
    University of Pennsylvania ScholarlyCommons Publicly Accessible Penn Dissertations 2014 Combinatorial Species and Labelled Structures Brent Yorgey University of Pennsylvania, [email protected] Follow this and additional works at: https://repository.upenn.edu/edissertations Part of the Computer Sciences Commons, and the Mathematics Commons Recommended Citation Yorgey, Brent, "Combinatorial Species and Labelled Structures" (2014). Publicly Accessible Penn Dissertations. 1512. https://repository.upenn.edu/edissertations/1512 This paper is posted at ScholarlyCommons. https://repository.upenn.edu/edissertations/1512 For more information, please contact [email protected]. Combinatorial Species and Labelled Structures Abstract The theory of combinatorial species was developed in the 1980s as part of the mathematical subfield of enumerative combinatorics, unifying and putting on a firmer theoretical basis a collection of techniques centered around generating functions. The theory of algebraic data types was developed, around the same time, in functional programming languages such as Hope and Miranda, and is still used today in languages such as Haskell, the ML family, and Scala. Despite their disparate origins, the two theories have striking similarities. In particular, both constitute algebraic frameworks in which to construct structures of interest. Though the similarity has not gone unnoticed, a link between combinatorial species and algebraic data types has never been systematically explored. This dissertation lays the theoretical groundwork for a precise—and, hopefully, useful—bridge bewteen the two theories. One of the key contributions is to port the theory of species from a classical, untyped set theory to a constructive type theory. This porting process is nontrivial, and involves fundamental issues related to equality and finiteness; the ecentlyr developed homotopy type theory is put to good use formalizing these issues in a satisfactory way.
    [Show full text]