Content deleted Content added
mNo edit summary |
No edit summary |
||
Line 4:
Bender and Goldman<ref>{{cite journal|last1=Bender|first1=E.A.|last2=Goldman|first2=J.R.|title=Enumerative uses of generating functions|journal=Indiana Univ. Math. J.|date=1971|volume=20|pages=753-764}}</ref>, Foata and Schuetzenberger<ref name="fs">{{cite journal|last1=Foata|first1=D.|last2=Schuetzenberger|first2=M.|title=Théorie géométrique des polynômes Eulériens|journal=Lectures Notes in Math.|date=1970|volume=138}}</ref>, and Joyal<ref>{{cite journal|last1=Joyal|first1=Andre|title=Une théorie combinatoire des séries formelles|journal=Adv. Math.|date=1981|volume=42|pages=1-82|ref=joy}}</ref>.
The presentation in this article borrows somewhat from Joyal's [[combinatorial species]].
== Classes of combinatorial structures ==
Line 21 ⟶ 20:
:<math> X^2/E_2 \; + \; X^3/E_3 </math>
where the term <math>X^n/G</math> is used to denote the set of orbits under ''G'' and <math>X^n = X \times \
:<math> X/C_1 \; + \; X^2/C_2 \; + \; X^3/C_3 \; + \; X^4/C_4 \; + \cdots.</math>
Line 33 ⟶ 32:
In the following we will simplify our notation a bit and write e.g.
:<math> E_2 + E_3 \
for the classes mentioned above.
Line 156 ⟶ 155:
==Unlabelled structures==
With unlabelled structures, an [[ordinary generating function]] (OGF) is used. The OGF of a sequence <math>
:<math>A(x)=\sum_{n=0}^
===Product===
The [[Cartesian product|product]] of two combinatorial classes <math>\mathcal{A}</math> and <math>\mathcal{B}</math> is specified by defining the size of an ordered pair as the sum of the sizes of the elements in the pair. Thus we have for <math>a \in \mathcal{A}</math> and <math>b \in \mathcal{B}</math>, <math>|(a,b)| = |a| + |b|</math>. This should be a fairly intuitive definition. We now note that the number of elements in <math>\mathcal{A} \times \mathcal{B}</math> of size <var>n</var> is
:<math>\sum_{k=0}^
Using the definition of the OGF and some elementary algebra, we can show that
Line 186 ⟶ 185:
:<math>\begin{align}A(z) &{} = \prod_{\beta \in \mathcal{B}}(1 + z^{|\beta|}) \\
&{} = \prod_{n=1}^
&{} = \exp \left ( \ln \prod_{n=1}^{\infty}(1 + z^
&{} = \exp \left ( \sum_{n = 1}^
&{} = \exp \left ( \sum_{n = 1}^
&{} = \exp \left ( \sum_{k = 1}^
&{} = \exp \left ( \sum_{k = 1}^
\end{align}</math>
where the expansion
:<math>\ln(1 + u) = \sum_{k = 1}^
was used to go from line 4 to line 5.
Line 208 ⟶ 207:
:<math>\begin{align} A(z) &{} = \prod_{\beta \in \mathcal{B}} (1 - z^{|\beta|})^{-1} \\
&{} = \prod_{n = 1}^
&{} = \exp \left ( \ln \prod_{n = 1}^
&{} = \exp \left ( \sum_{n=1}^
&{} = \exp \left ( \sum_{k=1}^
\end{align}
</math>
where, similar to the above set construction, we expand <math>\ln (1 - z^
===Other elementary constructions===
Line 230 ⟶ 229:
|-
|<math>\mathcal{A} = \mathfrak{C}\{\mathcal{B}\}</math>
|<math>A(z) = \sum_{k=1}^
|-
|<math>\mathcal{A} = \Theta\mathcal{B}</math>
Line 248 ⟶ 247:
:<math>G(z) = \frac{z}{1 - G(z)}</math>
we solve for ''G''(''z'') by multiplying <math>1 - G(z)</math> to get
<math>G(z) - G(z)^2 = z</math>
Line 277 ⟶ 276:
An object is ''weakly labelled'' if each of its atoms has a nonnegative integer label, and each of these labels is distinct. An object is (''strongly'' or ''well'') ''labelled'', if furthermore, these labels comprise the consecutive integers <math>[1 \ldots n]</math>. ''Note: some combinatorial classes are best specified as labelled structures or unlabelled structures, but some readily admit both specifications.'' A good example of labelled structures is the class of [[Graph (discrete mathematics)|labelled graph]]s.
With labelled structures, an [[exponential generating function]] (EGF) is used. The EGF of a sequence <math>
:<math>A(x)=\sum_{n=0}^
===Product===
Line 288 ⟶ 287:
To aid this development, let us define a function, <math>\rho</math>, that takes as its argument a (possibly weakly) labelled object <math>\alpha</math> and relabels its atoms in an order-consistent way so that <math>\rho(\alpha)</math> is well labelled. We then define the labelled product for two objects <math>\alpha</math> and <math>\beta</math> as
:<math>\alpha \star \beta = \{(\alpha',\beta'): (\alpha',\beta') \
Finally, the labelled product of two classes <math>\mathcal{A}</math> and <math>\mathcal{B}</math> is
Line 296 ⟶ 295:
The EGF can be derived by noting that for objects of size <math>k</math> and <math>n-k</math>, there are <math>{n \choose k}</math> ways to do the relabelling. Therefore, the total number of objects of size <math>n</math> is
:<math>\sum_{k=0}^
This ''binomial convolution'' relation for the terms is equivalent to multiplying the EGFs,
Line 310 ⟶ 309:
===Set===
In labelled structures, a set of <math>k</math> elements corresponds to exactly <math>k!</math> sequences. This is different from the unlabelled case, where some of the permutations may coincide. Thus for <math>\mathcal{A} = \mathfrak{P}\{\mathcal{B}\}</math>, we have
:<math>A(z) = \sum_{k = 0}^
===Cycle===
Cycles are also easier than in the unlabelled case. A cycle of length <math>k</math> corresponds to <math>k</math> distinct sequences. Thus for <math>\mathcal{A} = \mathfrak{C}\{\mathcal{B}\}</math>, we have
:<math>A(z) = \sum_{k = 0}^
===Boxed product===
In labelled structures, the min-boxed product <math>\mathcal{A}_{\min} = \mathcal{B}^{\square}\star \mathcal{C}</math> is a variation of the original product which requires the element of <math>\mathcal{B}</math> in the product with the minimal label. Similarly, we can also define a max-boxed product, denoted by <math>\mathcal{A}_{\max} = \mathcal{B}^{\blacksquare}\star \mathcal{C}</math>, by the same manner. Then we have,
:<math>A_{\min}(z)=A_{\max}(z)=\int^
or equivalently,
:<math>A_{\min}'(t)=A_{\max}'(t)=B'(t)C(t).</math>
===Example===
Line 334 ⟶ 333:
\mathfrak{C}_{\operatorname{odd}},
\mathfrak{P}_{\operatorname{even}},
\
\mathfrak{P}_{\operatorname{odd}}
</math>
|