Multigraphs 賴俊儒 Lai Chun Ju 國家理論科學研究中心 cjlaintuedutw Parking Functions Model n drivers try to park in n spots 1 to n one by one i th driver ID: 774720
Download Presentation The PPT/PDF document " Algorithms on Parking Functions and Rel..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Algorithms on Parking Functions and Related Multigraphs
賴俊儒
Lai, Chun-
Ju
國家理論科學研究中心
cjlai@ntu.edu.tw
Parking Functions: Model
n drivers try to park in n spots (1 to n) one by one.ith driver → spot ai. Vacant → park thereOccupied → park at next vacant spot.If no spots left, then he’ll give up parking. (a1, a2,..., an) is called a parking function if all cars are parked.
1
2
3
1
2
2
2
3
3
2
Slide3Parking Functions: Sequence
A sequence (a1,...an) is a parking function if its nondecreasing rearrangement b1 ≤ ... ≤ bn satisfies bi ≤ i for all i[Example](1,3,1), (4,3,1,1), (5,3,1,1,2) are parking functions.(2), (1,3,3), (3,5,1,2,3) are not
3
Slide4Parking Functions
n = 1, there are 1 parking functions: 1n = 2, there are 3 parking functions: 11, 12, 21 n = 3, there are 16 parking functions: 111, 112, 113, 121, 122, 123, 131, 132 211, 212, 213, 221, 231, 311, 312, 321
4
Slide5Parking Functions: Pn
Pn := #{ Parking functions of length n } P1 = 1, P2 = 3, P3 = 16, P4 = 125, ...Theorem [Konheim & Weiss, 1966] Pn = (n+1)n-1
5
Slide6Parking Functions :Pn,k
(a1, ..., an) is called k-leading if a1 = k.Pn,k := #{ k-leading parking function of length n }[Example]P1,1 = 1P2,1 = 2P3,1 = 1
6
Slide7Parking Functions : P3,k
All 16 parking functions of length 3.
111122211231112123212311113131213312121132221321
7
Slide8Parking Functions : P3,1
All 16 parking functions of length 3.
111122211231112123212311113131213312121132221321
P3, 1 = 8
8
Slide9Parking Functions : P3,2
All 16 parking functions of length 3.
111122211231112123212311113131213312121132221321
P3, 1 = 8
P3, 2 = 5
9
Slide10Parking Functions : P3,3
All 16 parking functions of length 3.
111122211231112123212311113131213312121132221321
P3, 1 = 8
P3, 2 = 5
P3, 3 = 3
10
Slide11Parking Functions : Pn,k
Pn,k =? We’ll give an answer by combinatorial argument, then move on to prove more.
11
Slide12Rooted Labeled Tree
Fact: (n+1)n-1 = # { rooted labeled trees on { 0,1, ... , n } }[Example] n = 3, we have 16 trees.Some bijections between trees and parking functions are known, but none seems useful.
12
Slide13πa(3) = 2πa(6) = 3πa(1) = 4πa(5) = 5πa(4) = 6
3
0
2
1
5
6
4
Triple-Label Algorithm: Idea
Given a labeled tree,
Label
π
a
(
x
) to each node
x according to the Breadth First Search (BFS).
0
1
2
3
4
5
6
π
a(0) = 0
πa(2) = 1
13
Slide14πa(3) = 2πa(6) = 3πa(1) = 4πa(5) = 5πa(4) = 6
3
0
2
1
5
6
4
Triple-Label Algorithm: Idea
Given a labeled tree,
Label
π
a
(
x
) to each node
x according to the Breadth First Search (BFS).Assign 3rd label w by the formula w(x) = πa(parent of x) + 1
0
1
2
3
4
5
6
3
3
4
1
1
1
π
a(0) = 0
w(2) = 1w(3) = 1w(6) = 1w(1) = 3w(5) = 3w(4) = 4
πa(2) = 1
14
Slide15πa(3) = 2πa(6) = 3πa(1) = 4πa(5) = 5πa(4) = 6
3
0
2
1
5
6
4
Triple-Label Algorithm: Idea
We proved that:
(
w
(1), ...,
w
(
n
)) is the desired parking function (a1,...an)In this case, it is (3, 1, 1, 4, 3, 1).
0
1
2
3
4
5
6
3
3
4
1
1
1
π
a(0) = 0
w(2) = 1w(3) = 1w(6) = 1w(1) = 3w(5) = 3w(4) = 4
πa(2) = 1
15
Slide16Triple-Label Algorithm: Formal
Given a parking function (a1,...an) ,For i = 1 to n, define:πα(i) := #{ aj : aj < ai } { aj : aj = ai and j < i }Triplet-labeled rooted tree Tα associated with V(Tα) := { (0, 0, 0) } { (i, ai, πα(i)) }rooted at (0, 0, 0)For any 2 vertices u = (i, ai; πα(i)), v = (j, aj; πα(j)), u is a child of v if ai = πα(j) + 1.
16
Slide17Enumeration: Idea
Under the setting of our algorithm, we can enumerate parking functions by the leading term in a neat “autograft” method.
17
Slide18Enumeration: Autograft
Establish a bijectionso that #{ Tn,k \ T’n,k } is easy to compute.
18
Slide19Autograft Method
Remove the subtree S := { node 1 and all its descendants }
0
4
1
3
2
5
n
= 5,
k
= 1
19
Slide20Autograft Method
Remove the subtree S := { node 1 and all its descendants }Renew the labels according to the BFS
0
3
2
5
1
2
3
n
= 5,
k
= 1
20
Slide21Autograft Method
Remove the subtree S := { node 1 and all its descendants }Renew the labels according to the BFSLocate the node y satisfiesπa (y) = k
0
3
2
5
1
2
3
n
= 5,
k
= 1
21
Slide22Autograft Method
Remove the subtree S := { node 1 and all its descendants }Renew the labels according to the BFSLocate the node y satisfiesπa (y) = k Re-attach S making node 1 a child of node y
0
4
1
3
2
5
1
2
3
n
= 5,
k
= 1
22
Slide23Enumeration: Form
The trees in Tn,k \ T’n,k are in the form:
23
Slide24Enumeration: Formula
It is easy to observe that:A: # ways to form S.B: #{ Pk }C: #{ Pn-k+1 }
24
Slide25Enumeration: Results
PropositionCorollaryCorollary
25
Slide26PropositionTheorem [Foata & Riordan, 1974] The original proof combined 3 papers
Enumeration: Results
26
Slide27X-Parking Functions
x := (x1,...,xn) is a sequence of positive integers. A sequence (a1,...,an) is a x-parking function if its nondecreasing rearrangement b1≤ ... ≤ bn satisfies bi ≤ x1 +...+ xi for all iThe ordinary parking function is a special case:x = (1,1,...,1)
27
Slide28An equivalent definition:λ = ( λ1,..., λn ), λ1 ≥ ... ≥ λn. A sequence (a1,...,an) is a λ-parking function its nondecreasing rearrangement b1 ≤ ... ≤ bn satisfies bi ≤ λn-i+1 for all iThe ordinary parking function is a special case that λ= (n, n-1, ...,1) Theorem [Steck 1968, Gessel 1996].
X-Parking Functions
28
Slide29Explicit Formulae
However, nice explicit formulae are very few. back to the x = ( x1,...,xn ) notataion.[Pitman, Stanley, 1986] (a, b,...,b) and two other cases.[Yan, 1999] Two other cases, algebraically.[Yan, 2001] (a, b,..., b), combinatorially.[Kung, Yan, 2001] Goncarov Polynomials.Arguably, (a,b,...,b)-parking functions is the best so far.
29
Slide30Explicit Formulae
However, nice explicit formulae are very few. back to the x = ( x1,...,xn ) notataion.How about the Statistics k-leading?[Foata, Riordan, 1974] (1,1,...,1), algebraically.[Eu, Fu, Lai, 2005] (a, b,..., b), combinatorially.No other results
30
Slide31K-leading (a,1,...1) Parking Functions
Consider a forest with a components:Ex: a = 2, (2, 5, 9, 1, 5, 7, 2, 4, 1)
31
(ρ
0
, , )
(ρ
1
, , )
(1
, , )
(7
, , )
(2, , )
(5
, , )
(3, , )
(9, , )
(8, , )
(6, , )
(4, , )
0
1
2
3
4
5
6
7
8
9
10
Slide32K-leading (a,1,...1) Parking Functions
Consider a forest with a components:Ex: a = 2, (2, 5, 9, 1, 5, 7, 2, 4, 1)
32
(ρ
0
, , )
(ρ
1
, , )
(1
, , )
(7
, , )
(2, , )
(5
, , )
(3, , )
(9, , )
(8, , )
(6, , )
(4, , )
0
1
2
3
4
5
6
7
8
9
10
1
1
4
2
2
7
5
5
9
Slide33K-leading (a,1,...1) Parking Functions
33
Slide34K-leading (a,b,...b) Parking Functions
When it comes to (a, b, ...,b)-parking functions.Consider a forest with a components and edge-coloring.We extract an (a, 1, ...,1)-parking function.Remainder indicates the color used.
34
Slide35K-leading (a,1,...1) Parking Functions
Ex:
a
= 2,
b
=2, (2, 7, 15, 1, 8, 12, 2, 5, 1)
r = (-1, 1, 1, -1, 0, 0, -1, 1, -1)
35
(ρ
0
, , )
(ρ
1
, , )
(1
, , )
(7
, , )
(2, , )
(5
, , )
(3, , )
(9, , )
(8, , )
(6, , )
(4, , )
0
1
2
3
4
5
6
7
8
9
10
1
1
4
2
2
7
5
5
9
5
7
8
12
15
Slide36K-leading (a,1,...1) Parking Functions
Ex:
a
= 2,
b
=2, (2, 7, 15, 1, 8, 12, 2, 5, 1)
r
= (-1, 1, 1, -1, 0, 0, -1, 1, -1)
36
(ρ
0
, , )
(ρ
1
, , )
(1
, , )
(7
, , )
(2, , )
(5
, , )
(3, , )
(9, , )
(8, , )
(6, , )
(4, , )
0
1
2
3
4
5
6
7
8
9
10
1
1
2
2
5
7
8
12
15
( , , )
6
6
( , , )
9
11
( , , )
10
16
Slide37K-leading (a,b,...b) Parking Functions
37
Slide38Inflating Parking Functions
Take x = (1,1,...,1,a,1, ...,1) of length n, a is at the k-th position. We call it an inflating parking function.# { IPF with a at the k-th position } = # { Pn+a-1 with the first a-1 numbers are k’s }
38
Slide39Inflating Parking Functions
Ex: x = (1, 1, 1, 3, 1, 1, 1, 1, 1, 1)From (5, 1, 4, 5, 1, 10, 3, 3, 7) to (4, 4, 6, 1, 4, 6, 1, 11, 3, 3, 5)
39
Slide40Parking Function
The first few Pn, k’s are:
40
nPn, 1Pn, 2Pn, 3Pn, 4Pn, 5Pn, 6123456480235062881240119211296
1
1
2
8
5
3
50
34
25
16
432
307
243
189
432
Slide41More Theorems
41
A
B
1
0
A
B
1
0
A
B
1
0
A
B
1
0
Slide420
More Theorems
The first few Pn, k’s are::
42
nPn, 1Pn, 2Pn, 3Pn, 4Pn, 5Pn, 6123456480235062881240119211296
1
1
2
8
5
3
50
34
25
16
432
307
243
189
432
0
0
0
0
0
1
1
1
3
3
2
16
9
125
125
64
64
54
1296 625 480 480 625 1296
9
16
Slide43More Theorems
The first few Pn, k’s are:The table is symmetric!
43
n
P
n
,
1
P
n
,
2
P
n
,
3
P
n
,
4
P
n
,
5
P
n
,
6
1
1
2
1
1
3
3
2
3
4
16
9
9
16
5
125
64
54
64
125
6
1296
625
480
480
625
1296
Slide44More Theorems
Theorem [Eu, Fu & Lai, 2005] Pn,k – Pn,k+1 = Pn,n-k+1 – Pn,n-k+2
44
Slide45More Theorems
45
P
n,bk – Pn,bk+1
Pn,n-bk+a – Pn,n-bk+a+1
forest
forest
forest
forest
Choose
something
n
Choose
something
n
scale
Slide46Algorithm
46
Tree(forest)
w
(x) = πa(parent of x) + 1
BFS
DFS
Parking function
x
-parking function
Graph
Some ordering
G
-parking function
Slide47Words
Letters set X = { y, x1, x2, …, xj, …}A word is a sequence of lettersA factorization of word f is a pair of words (g,h) such that f = gh, g is not emptyWeight
47
Slide48Words: Example
Letters Set X = { y, x }A word f = xyyxy is of weight – 1has factorizations:
48
Slide49Lukasiewicz Word
A word f is called a Lukasiewicz word if1) δ( f ) < 02) For any nonempty factorization ( g, h ), δ( g ) > δ( f )
49
Slide50Lukasiewicz Word: Example
1. f = xyyxy is not a Lukasiewicz word since g = xyy has δ( g ) = – 1 δ( f ) = – 12. f = xyxyy is a Lukasiewicz word since1) δ( f ) = – 1 < 02) All nonempty factorizations satisfy
50
Slide51Cycle Lemma
Theorem 2.2 [Lothaire, 1997]If δ( f ) = – p < 0,Then f has exactly p factorizations ( g, h )such that ( h, g ) is a Lukasiewicz word.
51
Slide52Cycle Lemma: Example
X = { y, x, x2 } f = x2yyyxy satisfies δ( f ) = –1By cycle lemma, there is only 1 Lukasiewicz word ( h, g ) among all factorizations:yyyxyx2 : –1 → –2 → –3 → –2 → –3 yyxyx2y : –1 → –2 → –1 → –2 → 0 yxyx2yy : –1 → 0 → –1 → 1 → 0 xyx2yyy : 1 → 0 → 2 → 1 → 0yx2yyyx : –1 → 1 → 0 → –1 → –2x2yyyxy : 2 → 1 → 0 → –1 → 0
52
Slide53Conjugates
Πn,m := { 0, 1, …, m−1 }nGiven f є Πn,m , its conjugate is a sequence obtained from f by shifted each word by the same amount (mod m).[Example]( 0,3,7 ) є Π3,10 has 10 conjugates: ( 0,3,7 ), ( 1,4,8 ), ( 2,5,9 ), ( 3,6,0 ), ( 4,7,1 ), ( 5,8,2 ), ( 6,9,3 ), ( 7,0,4 ), ( 8,1,5 ), ( 9,2,6 ).
53
Slide54Conjugates v.s. Parking Functions
Theorem 2.7 [Eu, Fu & Lai, 2010]If m = a + bn, f = (u1,…,un) є Πn,m , g := yu1 xb yu2 xb … xb ym−un,then:g is a Lukasiewicz word iff f є Pn(a,b) #{ g є P(a,b) : g is a conjugate of f } = a
54
Slide55Conjugates v.s. Parking Functions
[Example]a = 4, b = 2, n = 3, m = 10f = ( 0,3,7 ) є Π3,10 g = x2yyyx2yyyyx2yyy, δ( g ) = −4By cycle lemma, there are 4 Lucasiewicz wordsThere are 4 conjugates of f being parking functions.
55
Slide56Corollary
Corollary 2.9#Pn(a,b) = a(a+nb)n-1Corollary 2.10 (Symmetric Restriction)#
56
Slide57Corollary
Corollary 2.11 (Periodic Restriction)If d|n, let m := n/d,then # { f є Pn(a,b) : Cmf = f } = a(a+nb)d-1Corollary 2.12 ( Orbits of Cn )#{ Orbits of size d } =#{ Orbits } =
57
Slide58Laplacian Matrix
Given a graph G = ( V, E ), its Laplacian matrixIt’s an interested object in algebraic graph theory:2nd smallest Laplacian eigenvalue (μ2) is the bound of connectivity.If |V| is even, μ|V| ≤ 2μ2, then G has a perfect matching.
58
Slide59Critical Group
Regard as a linear mapits cokernel K(G) is called the critical group of graph GIn general, it is not easy to compute.
59
Slide60Critical Groups: Results
Theorem 5.1 [Eu, Fu & Lai, 2010]
60
Slide61Root System
Given a finite dimensional real vector space E,A root system Φ is a finite subset of E satisfies:
61
Slide62Root System: Example
Root System of some classical Lie algebras Type A1 x A1 Type A2 Type B2 Type G2
62
Slide63Root System: Example
Root System of some classical Lie algebras Type A3 Type B3
63
Slide64Coxeter Arrangement
Hα,0 := { x є E: ( α, x ) = 0 }Coxeter Arrangement := { Hα,0 : α є Φ }
α
1
α
2
ρ
H
α
1,0
H
α2,0
Hρ,0
64
Slide65Affine Coxeter Arrangement
Affine Coxeter Arrangement := { Hα,k : α є Φ, k = 0,1,…}Shi arrangment := { Hα,k : α є Φ, k = 0, 1 }
65
65
α
1
α
2
ρ
H
α
1,0
H
α2,0
Hρ,0
H
α
1,1
H
α2,1
H
ρ
,1
Slide66Shi Arrangement of Type A2
66
Slide67Bijection
67
111
112
122
113
123
121
132
131
211
213
212
312
311
321
221
231
Slide68Combinatorial Invariants
Shi arr. P. Fcns R. Lbl Trees#regions total # total # #dominant # increasing # unlabeled regions PFs Treesdistant sum # inversionsoperator
68
Slide69Bijeciton: Generalization
Theorem [Shi]# regions in Shi arrangement = ( h + 1 )rh = Coxter number of the root systemr = dimension of EThe total # of Shi Arr. Of type Bn, Dn, …correspond to what types of parking function?Any reasonable bijection?
69
Slide70References
Athanasiadis, Generalized Catalan Numbers, Weyl Groups And Arrangements Of Hyperplanes, Bull. London Math. Soc. 36, 294–302 (2004)Eu, Fu and Lai, On Enumeration of Parking Functions by Leading Numbers, Advances in Applied Mathematics 35, 392-406, (2005) Eu, Fu and Lai, Cycle Lemma, Parking Functions and Related Multigraphs, Graphs and Combinatorics 26, 345-360, (2010)
70
Slide71Thank you
賴俊儒 Lai, Chun-Ju國家理論科學研究中心cjlai@ntu.edu.tw
71