Fighting fish and two-stack sortable permutations Wenjie Fang, TU - - PowerPoint PPT Presentation

fighting fish and two stack sortable permutations
SMART_READER_LITE
LIVE PREVIEW

Fighting fish and two-stack sortable permutations Wenjie Fang, TU - - PowerPoint PPT Presentation

Fighting fish Permutations Bijection Discussion Fighting fish and two-stack sortable permutations Wenjie Fang, TU Graz 8 May 2018, University of Vienna 1 / 25 Fighting fish Permutations Bijection Discussion Fighting fish A fighting fish


slide-1
SLIDE 1

Fighting fish Permutations Bijection Discussion

Fighting fish and two-stack sortable permutations

Wenjie Fang, TU Graz 8 May 2018, University of Vienna

1 / 25

slide-2
SLIDE 2

Fighting fish Permutations Bijection Discussion

Fighting fish

A fighting fish = gluing of unit cells, generalizing directed polyominoes either a single cell (the head);

  • r obtained from gluing a cell to a fighting fish as follows.

(a) (b) (c) free not free

Gluing only to (upper or lower) right free edges! Order of gluing does not matter, and it is not a 2D object!

2 / 25

slide-3
SLIDE 3

Fighting fish Permutations Bijection Discussion

Anatomy of fighting fish

fin=8 tails size=18

Area = # cells Fin = length of path via lower free edges to first tail Size = # lower free edges Fighting fish with one tail = parallelogram polyominoes Size = Semi-perimeter

3 / 25

slide-4
SLIDE 4

Fighting fish Permutations Bijection Discussion

Why fighting fish?

Parallelogram polynomioes of size n ⇒ average area Θ(n3/2) Duchi, Guerrini, Rinaldi and Schaeffer 2016: Fighting fish of size n ⇒ average area Θ(n5/4) A new and interesting model of branching surfaces!

4 / 25

slide-5
SLIDE 5

Fighting fish Permutations Bijection Discussion

Enumeration of fighting fish

Fighting fish with one tail (parallelogram polynominoes) of size n + 1: Catn = 1 2n + 1 2n + 1 n

  • .

Duchi, Guerrini, Rinaldi and Schaeffer 2016: Fighting fish of size n + 1: 2 (n + 1)(2n + 1) 3n n

  • .

The same formula applies to non-separable planar maps; two-stack sortable permutations; left ternary trees; generalized Tamari intervals; etc...

5 / 25

slide-6
SLIDE 6

Fighting fish Permutations Bijection Discussion

Enumeration of fighting fish, refined

Duchi, Guerrini, Rinaldi and Schaeffer 2017: Fighting fish of size n + 1, with i lower-left free edges and j lower-right free edges (i + j = n + 1): 1 (2i + j − 1)(2j + i − 1) 2i + j − 1 i 2j + i − 1 j

  • .

6 / 25

slide-7
SLIDE 7

Fighting fish Permutations Bijection Discussion

Enumeration of fighting fish, refined

Duchi, Guerrini, Rinaldi and Schaeffer 2017: Fighting fish of size n + 1, with i lower-left free edges and j lower-right free edges (i + j = n + 1): 1 (2i + j − 1)(2j + i − 1) 2i + j − 1 i 2j + i − 1 j

  • .

Also the number of non-separable planar maps with n edges, i + 1 vertices and j + 1 faces (cf. Brown and Tutte 1964);

6 / 25

slide-8
SLIDE 8

Fighting fish Permutations Bijection Discussion

Enumeration of fighting fish, refined

Duchi, Guerrini, Rinaldi and Schaeffer 2017: Fighting fish of size n + 1, with i lower-left free edges and j lower-right free edges (i + j = n + 1): 1 (2i + j − 1)(2j + i − 1) 2i + j − 1 i 2j + i − 1 j

  • .

Also the number of non-separable planar maps with n edges, i + 1 vertices and j + 1 faces (cf. Brown and Tutte 1964); Also the number of two-stack sortable permutations of length n, with i ascents and j descents (cf. Goulden and West 1996);

6 / 25

slide-9
SLIDE 9

Fighting fish Permutations Bijection Discussion

Enumeration of fighting fish, refined

Duchi, Guerrini, Rinaldi and Schaeffer 2017: Fighting fish of size n + 1, with i lower-left free edges and j lower-right free edges (i + j = n + 1): 1 (2i + j − 1)(2j + i − 1) 2i + j − 1 i 2j + i − 1 j

  • .

Also the number of non-separable planar maps with n edges, i + 1 vertices and j + 1 faces (cf. Brown and Tutte 1964); Also the number of two-stack sortable permutations of length n, with i ascents and j descents (cf. Goulden and West 1996); Also the number of left ternary trees with i even vertices and j odd vertices (cf. Del Lungo, Del Ristoro and Penaud 1999) ...

6 / 25

slide-10
SLIDE 10

Fighting fish Permutations Bijection Discussion

A conjecture for a bijection

Conjecture (Duchi, Guerrini, Rinaldi and Schaeffer 2016) The number of fighting fish with n as size, k as fin length, ℓ tails, i left-lower free edge, and j right-lower free edge is equal to the number of left ternary trees with n nodes, k as core size, ℓ right branches, i + 1 non-root nodes with even abscissa, and j nodes with odd abscissa. So refined, we may as well ask for a bijection!

7 / 25

slide-11
SLIDE 11

Fighting fish Permutations Bijection Discussion

Our result

Theorem (F. 2018+) There is a bijection between fighting fish with n as size, k as fin length, ℓ tails, i left-lower free edge, and j right-lower free edge and two-stack sortable permutations with n − 1 elements, k − 1 left-to-right maxima in the permutation sorted once, ℓ − 1 left descents in the permutation sorted once, i − 1 ascents, and j − 1 descents. Not exactly the conjecture, but in its spirit.

8 / 25

slide-12
SLIDE 12

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

decreasing

9 / 25

slide-13
SLIDE 13

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-14
SLIDE 14

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-15
SLIDE 15

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-16
SLIDE 16

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-17
SLIDE 17

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-18
SLIDE 18

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-19
SLIDE 19

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-20
SLIDE 20

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-21
SLIDE 21

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-22
SLIDE 22

Fighting fish Permutations Bijection Discussion

Sorting a permutation with a stack

2 1 5 3 4 9 7 8 6

9 / 25

slide-23
SLIDE 23

Fighting fish Permutations Bijection Discussion

Stack-sortable permutations

A permutation is stack-sortable if it is sorted in one pass. 2 1 5 3 4 9 7 8 6 2 1 5 3 4 9 7 8 6 Examples: 21534 is stack-sortable, but 215349786 is not Theorem (Knuth 1968) A permutation is stack-sortable iff it contains no pattern 231. The number of stack-sortable permutations of length n is the n-th Catalan number Catn =

1 2n+1

2n+1

n

  • .

What about two passes?

10 / 25

slide-24
SLIDE 24

Fighting fish Permutations Bijection Discussion

Sorting operator

S: operator of stack sorting (valid for general sequences)

n AL AR n S(AL) AR n S(AL) S(AR) n S(AL) S(AR)

S(ǫ) = ǫ, S(AL · n · AR) = S(AL) · S(AR) · n.

11 / 25

slide-25
SLIDE 25

Fighting fish Permutations Bijection Discussion

Two-stack sortable permutations

A permutation π ∈ Sn is a stack-sortable permutation if S(π) = 12 . . . n a two-stack sortable permutation (or 2SSP) if S(S(π)) = 12 . . . n. Theorem (West 1991, Zeilberger 1992) The number of 2SSPs of length n is 2 (n + 1)(3n + 1) 3n + 1 n

  • .

Also characterization with forbidden pattern. We will now look at a new recursive decomposition.

12 / 25

slide-26
SLIDE 26

Fighting fish Permutations Bijection Discussion

Permutation on a grid

1 2 3 4 5 6 7 8 9

π = 2 1 7 3 4 9 6 8 5

13 / 25

slide-27
SLIDE 27

Fighting fish Permutations Bijection Discussion

Permutation on a grid

ascents descents

1 2 3 4 5 6 7 8 9

π = 2 1 7 3 4 9 6 8 5

13 / 25

slide-28
SLIDE 28

Fighting fish Permutations Bijection Discussion

Permutation on a grid

1 2 3 4 5 6 7 8 9

π = 2 1 7 3 4 9 6 8 5 left-to-right maxima left descents

13 / 25

slide-29
SLIDE 29

Fighting fish Permutations Bijection Discussion

Permutation on a grid

1 2 3 4 5 6 7 8 9

π = 2 1 7 3 4 9 6 8 5 pattern 231

13 / 25

slide-30
SLIDE 30

Fighting fish Permutations Bijection Discussion

A characterization

π = 2 1 7 3 4 9 6 8 5 S(π) = 2 1 7 3 4 9 6 8 5

π is two-stack sortable ⇔ S(π) avoids pattern 231

14 / 25

slide-31
SLIDE 31

Fighting fish Permutations Bijection Discussion

Decomposing...

π S(π) πL πR S(πL) S(πR) We recall that S(πL · n · πR) = S(πL) · S(πR) · n. When compactified, both πL and πR are two-stack sortable.

15 / 25

slide-32
SLIDE 32

Fighting fish Permutations Bijection Discussion

Case 1

π S(π) πL πR S(πL) S(πR) When every element of πL are smaller than the min of πR, it is easy. Just put them side by side. πL and πR can be empty.

16 / 25

slide-33
SLIDE 33

Fighting fish Permutations Bijection Discussion

Case 2

π S(π) πL πR

S(πL)

S(πR)

a a a − 1

When only one element a of πL is larger than the min of πR, then a − 1 is a left-to-right maximal in S(πR). πL and πR cannot be empty.

17 / 25

slide-34
SLIDE 34

Fighting fish Permutations Bijection Discussion

Case 3 ... ?

π S(π) πL πR S(πL) S(πR) It is impossible to have two elements of πL larger than the min of πR, if we want to avoid 231 in S(π).

18 / 25

slide-35
SLIDE 35

Fighting fish Permutations Bijection Discussion

Recursive construction

slmax(π) = # left-to-right maxima in S(π) For π1, π2 2SSPs, we get C1(π1, π2) C2(π1, π2, i) for 1 ≤ i ≤ slmax(π2) Here, slmax(C1(π1, π2)) = slmax(π1) + slmax(π2) + 1, slmax(C2(π1, π2, i)) = slmax(π1) + slmax(π2) − i + 1.

π′

1

k + ai k + ℓ + 1 S π2 k + ai − 1 S(π′

1)

k + ai k + ℓ + 1 S(π2) k + ai − 1 C2(π1, π2, i) S(C2(π1, π2, i)) π1 k C1(π1, π2) S(C1(π1, π2)) k + ℓ + 1 π2 k + ℓ + 1 S(π1) k S S(π2) ai π2 ai S(π2) ai S π1 k S(π1) k S

19 / 25

slide-36
SLIDE 36

Fighting fish Permutations Bijection Discussion

Various statistics

Proposition Given two 2SSPs π1, π2, for any i with 1 ≤ i ≤ slmax(π2), we have asc(C1(π1, π2)) = asc(C2(π1, π2, i)) = asc(π1) + 1 + asc(π2), des(C1(π1, π2)) = des(C2(π1, π2, i)) = des(π1) + 1 + des(π2), len(C1(π1, π2)) = len(C2(π1, π2, i)) = len(π1) + 1 + len(π2), sldes(C1(π1, π2)) = sldes(π1) + sldes(π2), sldes(C2(π1, π2, i)) = sldes(π1) + sldes(π2) + 1. When one of π1, π2 is empty, the formulas for C1(π1, π2) still hold, except that asc(C1(ǫ, π2)) = asc(π2) and des(C1(π1, ǫ)) = des(π1).

20 / 25

slide-37
SLIDE 37

Fighting fish Permutations Bijection Discussion

Wasp-waist decomposition of fighting fish

Duchi, Guerrini, Rinaldi and Schaeffer 2017: Idea: delete cells on lower left one by one, until it breaks (fin(ǫ•) = 1)

P1 P2 P1 P2 C•

2(P1, P2, i)

C•

1(ǫ•, ǫ•)

C•

1(P1, ǫ•)

P1 C•

1(ǫ•, P2)

P2 P1 P2 C•

1(P1, P2)

fin(C•

1(P1, P2)) = fin(P1) + fin(P2)

fin(C•

2(P1, P2, i)) = fin(P1) + fin(P2) − i

(1 ≤ i ≤ fin(P2) − 1) Isomorphic decompositions with 2SSPs!

21 / 25

slide-38
SLIDE 38

Fighting fish Permutations Bijection Discussion

Statistics also agree!

Convention: lsize(ǫ•) = rsize(ǫ•) = size(ǫ•) = tails(ǫ•) = 1 Proposition (Duchi, Guerrini, Rinaldi and Schaeffer 2017) Given two fighting fish P1, P2, for i with 1 ≤ i ≤ fin(P2) − 1, we have lsize(C•

1(P1, P2)) = lsize(C• 2(P1, P2, i)) = lsize(P1) + lsize(P2)

rsize(C•

1(P1, P2)) = rsize(C• 2(P1, P2, i)) = rsize(P1) + rsize(P2)

size(C•

1(P1, P2)) = size(C• 2(P1, P2, i)) = size(P1) + size(P2)

tails(C•

1(P1, P2)) = tails(P1) − 1 + tails(P2)

tails(C•

2(P1, P2, i)) = tails(P1) + tails(P2)

The formulas for C•

1(P1, P2) hold for P1 or P2 being ǫ•, except that

lsize(C•

1(ǫ•, P2)) = lsize(P2), and rsize(C• 1(P1, ǫ•)) = rsize(P1).

22 / 25

slide-39
SLIDE 39

Fighting fish Permutations Bijection Discussion

Bijection

Isomorphic recursive decompositions of fighting fish and two-stack sortable permutations, with many agreeing statistics ⇒ Recursive bijection preserving the statistics Also possible to write functional equations, and we prove that the generating function with all these statistics is algebraic.

23 / 25

slide-40
SLIDE 40

Fighting fish Permutations Bijection Discussion

Direct bijection?

non-separable planar maps two-stack sortable permutations left ternary tree generalized Tamari intervals

Goulden and West 1996 Fang and Pr´ eville-Ratelle 2017 Jacquad and Schaeffer 1998

This talk

Any direct bijection?

24 / 25

slide-41
SLIDE 41

Fighting fish Permutations Bijection Discussion

Open problems

Symmetries? Some statistic corresponding to area? How about sorting three (four, five, ...) times through a stack?

25 / 25

slide-42
SLIDE 42

Fighting fish Permutations Bijection Discussion

Open problems

Symmetries? Some statistic corresponding to area? How about sorting three (four, five, ...) times through a stack?

Thank you for your attention!

25 / 25