Permutations sortable by deques and by two stacks in parallel. - - PowerPoint PPT Presentation

permutations sortable by deques and by two stacks in
SMART_READER_LITE
LIVE PREVIEW

Permutations sortable by deques and by two stacks in parallel. - - PowerPoint PPT Presentation

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price Joint work with Tony Guttmann The University of Melbourne June 29, 2017 Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price S TACK


slide-1
SLIDE 1

Permutations sortable by deques and by two stacks in parallel.

Andrew Elvey Price Joint work with Tony Guttmann

The University of Melbourne

June 29, 2017

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-2
SLIDE 2

STACK SORTING

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-3
SLIDE 3

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-4
SLIDE 4

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-5
SLIDE 5

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-6
SLIDE 6

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-7
SLIDE 7

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-8
SLIDE 8

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-9
SLIDE 9

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-10
SLIDE 10

STACK SORTING

Stack sorting is a method of sorting a permutation where we are only allowed to use two operations: Put the next element from the input

  • nto the stack, and output the top element of the stack.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-11
SLIDE 11

STACK SORTING

Donald Knuth introduced stack sorting in The Art of Computer Programming.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-12
SLIDE 12

STACK SORTING

Donald Knuth introduced stack sorting in The Art of Computer Programming. Knuth also showed that these permutations are counted by the Catalan numbers 1 n + 1 2n n

  • Permutations sortable by deques and by two stacks in parallel.

Andrew Elvey Price

slide-13
SLIDE 13

STACK SORTING

Donald Knuth introduced stack sorting in The Art of Computer Programming. Knuth also showed that these permutations are counted by the Catalan numbers 1 n + 1 2n n

  • This is because each sequence of moves corresponds to sorting a

different permutation.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-14
SLIDE 14

STACK SORTING

Donald Knuth introduced stack sorting in The Art of Computer Programming. Knuth also showed that these permutations are counted by the Catalan numbers 1 n + 1 2n n

  • This is because each sequence of moves corresponds to sorting a

different permutation. He also proved that the set of stack-sortable permutations is Av(312).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-15
SLIDE 15

OTHER SORTING MACHINES

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-16
SLIDE 16

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-17
SLIDE 17

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including: Two stacks in parallel

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-18
SLIDE 18

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including: Two stacks in parallel A double ended queue (deque)

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-19
SLIDE 19

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including: Two stacks in parallel A double ended queue (deque) Two stacks in series

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-20
SLIDE 20

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including: Two stacks in parallel A double ended queue (deque) Two stacks in series He posed the question of how many permutations of each length can be sorted by each of these machines.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-21
SLIDE 21

OTHER SORTING MACHINES

Knuth also considered a few other sorting machines, including: Two stacks in parallel A double ended queue (deque) Two stacks in series He posed the question of how many permutations of each length can be sorted by each of these machines. Until 2015 none of these two questions had been solved.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-22
SLIDE 22

TWO STACKS IN PARALLEL

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-23
SLIDE 23

TWO STACKS IN PARALLEL

With two stacks in parallel, it is permitted to either move an element from the input onto either of the two stacks, or output the top element from either of the stacks.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-24
SLIDE 24

TWO STACKS IN PARALLEL

With two stacks in parallel, it is permitted to either move an element from the input onto either of the two stacks, or output the top element from either of the stacks. We call these operations I1, I2, O1, O2 as shown:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-25
SLIDE 25

TWO STACKS IN PARALLEL

Michael Albert and Mireille Bousquet-Melou solved this problem in 2015, showing that the associated generating function is the solution

  • f a series of functional equations.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-26
SLIDE 26

TWO STACKS IN PARALLEL

Michael Albert and Mireille Bousquet-Melou solved this problem in 2015, showing that the associated generating function is the solution

  • f a series of functional equations.

I will give a summary of their solution.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-27
SLIDE 27

SOLUTION FOR TWO STACKS IN PARALLEL

Call a sequence of the moves which corresponds to sorting a permutation an “operation sequence".

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-28
SLIDE 28

SOLUTION FOR TWO STACKS IN PARALLEL

Call a sequence of the moves which corresponds to sorting a permutation an “operation sequence". By associating the operations I1, I2, O1, O2 with the steps N, E, S, W, each operation sequence corresponds to a unique quarter plane loop.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-29
SLIDE 29

SOLUTION FOR TWO STACKS IN PARALLEL

Call a sequence of the moves which corresponds to sorting a permutation an “operation sequence". By associating the operations I1, I2, O1, O2 with the steps N, E, S, W, each operation sequence corresponds to a unique quarter plane loop. Unfortunately, many different operation sequences correspond to the same permutation.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-30
SLIDE 30

SOLUTION FOR TWO STACKS IN PARALLEL

Call a sequence of the moves which corresponds to sorting a permutation an “operation sequence". By associating the operations I1, I2, O1, O2 with the steps N, E, S, W, each operation sequence corresponds to a unique quarter plane loop. Unfortunately, many different operation sequences correspond to the same permutation. Call two operation sequences equivalent if they sort the same permutation.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-31
SLIDE 31

SOLUTION FOR TWO STACKS IN PARALLEL

Call a sequence of the moves which corresponds to sorting a permutation an “operation sequence". By associating the operations I1, I2, O1, O2 with the steps N, E, S, W, each operation sequence corresponds to a unique quarter plane loop. Unfortunately, many different operation sequences correspond to the same permutation. Call two operation sequences equivalent if they sort the same permutation. We want to count the number of equivalence classes of operation sequences.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-32
SLIDE 32

SOLUTION FOR TWO STACKS IN PARALLEL

Albert and Bousquet-Melou found a canonical class of operation sequences, which contains exactly one operation sequence in each equivalence class.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-33
SLIDE 33

SOLUTION FOR TWO STACKS IN PARALLEL

Albert and Bousquet-Melou found a canonical class of operation sequences, which contains exactly one operation sequence in each equivalence class. This canonical class contains the operation sequences which satisfy the following two conditions:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-34
SLIDE 34

SOLUTION FOR TWO STACKS IN PARALLEL

Albert and Bousquet-Melou found a canonical class of operation sequences, which contains exactly one operation sequence in each equivalence class. This canonical class contains the operation sequences which satisfy the following two conditions: The subwords I1O2 and I2O1 are forbidden.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-35
SLIDE 35

SOLUTION FOR TWO STACKS IN PARALLEL

Albert and Bousquet-Melou found a canonical class of operation sequences, which contains exactly one operation sequence in each equivalence class. This canonical class contains the operation sequences which satisfy the following two conditions: The subwords I1O2 and I2O1 are forbidden. Any subword of the operation sequence which is also an

  • peration sequence begins with I1.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-36
SLIDE 36

SOLUTION FOR TWO STACKS IN PARALLEL

Albert and Bousquet-Melou found a canonical class of operation sequences, which contains exactly one operation sequence in each equivalence class. This canonical class contains the operation sequences which satisfy the following two conditions: The subwords I1O2 and I2O1 are forbidden. Any subword of the operation sequence which is also an

  • peration sequence begins with I1.

This reduces the problem to counting a certain class of quarter plane loops: Those with no NW or ES corners, in which every sub-(quarter plane loop) begins with N.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-37
SLIDE 37

SOLUTION FOR TWO STACKS IN PARALLEL

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-38
SLIDE 38

SOLUTION FOR TWO STACKS IN PARALLEL

They related P(t), the counting function of tsip-sortable permutation, to the generating function Q(a, u) for weighted quarter plane loops, where a counts the number of NW or ES corners, and u counts the halflength.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-39
SLIDE 39

SOLUTION FOR TWO STACKS IN PARALLEL

They related P(t), the counting function of tsip-sortable permutation, to the generating function Q(a, u) for weighted quarter plane loops, where a counts the number of NW or ES corners, and u counts the halflength. In particular, they showed that P(t) is characterised by the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-40
SLIDE 40

SORTING WITH A DEQUE

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-41
SLIDE 41

SORTING WITH A DEQUE

With a deque, There are also four moves I1, I2, O1, O2, which correspond to input to the top and bottom of the deque and output from the top and bottom of the deque.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-42
SLIDE 42

SORTING WITH A DEQUE

With a deque, There are also four moves I1, I2, O1, O2, which correspond to input to the top and bottom of the deque and output from the top and bottom of the deque. Notice that if we put a wall in the middle of the deque, this becomes equivalent to two stacks in parallel.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-43
SLIDE 43

SORTING WITH A DEQUE

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-44
SLIDE 44

SORTING WITH A DEQUE

Guttmann and I were able to adapt the solution for two stacks in parallel to solve the enumeration problem for deque-sortable permutations:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-45
SLIDE 45

SORTING WITH A DEQUE

Guttmann and I were able to adapt the solution for two stacks in parallel to solve the enumeration problem for deque-sortable permutations: We associate the operations I1, I2, O1, O2 with the steps N, E, S, W, respectively.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-46
SLIDE 46

SORTING WITH A DEQUE

Guttmann and I were able to adapt the solution for two stacks in parallel to solve the enumeration problem for deque-sortable permutations: We associate the operations I1, I2, O1, O2 with the steps N, E, S, W, respectively. The corresponding path of an operation sequence is now restricted to the diagonal half plane {(x, y)|x + y ≥ 0}, and must end on the line x + y = 0.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-47
SLIDE 47

SORTING WITH A DEQUE

We defined the canonical operation sequence of a deque-sortable permutation to be the first in the lexicographic order with O1 < O2 < I1 < I2.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-48
SLIDE 48

SORTING WITH A DEQUE

We defined the canonical operation sequence of a deque-sortable permutation to be the first in the lexicographic order with O1 < O2 < I1 < I2. We then proved that canonical operation sequences are exactly the

  • peration sequences with the following properties:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-49
SLIDE 49

SORTING WITH A DEQUE

We defined the canonical operation sequence of a deque-sortable permutation to be the first in the lexicographic order with O1 < O2 < I1 < I2. We then proved that canonical operation sequences are exactly the

  • peration sequences with the following properties:

The subwords I1O2 and I2O1 are forbidden.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-50
SLIDE 50

SORTING WITH A DEQUE

We defined the canonical operation sequence of a deque-sortable permutation to be the first in the lexicographic order with O1 < O2 < I1 < I2. We then proved that canonical operation sequences are exactly the

  • peration sequences with the following properties:

The subwords I1O2 and I2O1 are forbidden. Any subword of the operation sequence which is an operation sequence for two stacks in parallel begins with I1.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-51
SLIDE 51

SORTING WITH A DEQUE

We defined the canonical operation sequence of a deque-sortable permutation to be the first in the lexicographic order with O1 < O2 < I1 < I2. We then proved that canonical operation sequences are exactly the

  • peration sequences with the following properties:

The subwords I1O2 and I2O1 are forbidden. Any subword of the operation sequence which is an operation sequence for two stacks in parallel begins with I1. When the deque contains at most 1 element only the moves I1 and O1 are allowed, not I2 or O2.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-52
SLIDE 52

SORTING WITH A DEQUE

Rewriting the last slide, D(t) count walks w in the diagonal half plane such that:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-53
SLIDE 53

SORTING WITH A DEQUE

Rewriting the last slide, D(t) count walks w in the diagonal half plane such that: w starts at (0, 0) and ends on the line x + y = 0.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-54
SLIDE 54

SORTING WITH A DEQUE

Rewriting the last slide, D(t) count walks w in the diagonal half plane such that: w starts at (0, 0) and ends on the line x + y = 0. w contains no NW or ES corners.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-55
SLIDE 55

SORTING WITH A DEQUE

Rewriting the last slide, D(t) count walks w in the diagonal half plane such that: w starts at (0, 0) and ends on the line x + y = 0. w contains no NW or ES corners. Any sub path of w which forms a quarter plane loop begins with N.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-56
SLIDE 56

SORTING WITH A DEQUE

Rewriting the last slide, D(t) count walks w in the diagonal half plane such that: w starts at (0, 0) and ends on the line x + y = 0. w contains no NW or ES corners. Any sub path of w which forms a quarter plane loop begins with N. Any step from a point (x, y) with x + y ≤ 1 must be N or S.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-57
SLIDE 57

SORTING WITH A DEQUE

We characterised D(t) by relating it to a series of functional equations including P and Q...

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-58
SLIDE 58

SORTING WITH A DEQUE

We characterised D(t) by relating it to a series of functional equations including P and Q... Then we cancelled some functions from the equations...

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-59
SLIDE 59

SORTING WITH A DEQUE

We characterised D(t) by relating it to a series of functional equations including P and Q... Then we cancelled some functions from the equations... Finally, we deduced the remarkable result that the generating functions D for deques and P for two stacks in Parallel are related by the equation D(t) = t 2+1+tP−t2P− t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-60
SLIDE 60

QUARTER PLANE LOOPS

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-61
SLIDE 61

QUARTER PLANE LOOPS

To complete the solution of the two problems, we need to show that the problem of enumerating weighted quarter plane loops is “solved":

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-62
SLIDE 62

QUARTER PLANE LOOPS

To complete the solution of the two problems, we need to show that the problem of enumerating weighted quarter plane loops is “solved": First, let W(a, u, x, y) be the generating function for weighted quarter plane walks, given by

  • wm,n,α,βamunxαyβ,

where wm,n,α,β is the number of quarter plane walks from (0, 0) to (α, β) of length n which contain m weighted corners.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-63
SLIDE 63

QUARTER PLANE LOOPS

To complete the solution of the two problems, we need to show that the problem of enumerating weighted quarter plane loops is “solved": First, let W(a, u, x, y) be the generating function for weighted quarter plane walks, given by

  • wm,n,α,βamunxαyβ,

where wm,n,α,β is the number of quarter plane walks from (0, 0) to (α, β) of length n which contain m weighted corners. Then W is characterised by the equation W(x, y) = u(x + y)W(x, y)+u y(1 − ux + uax)(W(x, y) − W(x, 0)) +u x(1 − uy + uay)(W(x, y) − W(0, y)).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-64
SLIDE 64

QUARTER PLANE LOOPS

To complete the solution of the two problems, we need to show that the problem of enumerating weighted quarter plane loops is “solved": First, let W(a, u, x, y) be the generating function for weighted quarter plane walks, given by

  • wm,n,α,βamunxαyβ,

where wm,n,α,β is the number of quarter plane walks from (0, 0) to (α, β) of length n which contain m weighted corners. Then W is characterised by the equation W(x, y) = u(x + y)W(x, y)+u y(1 − ux + uax)(W(x, y) − W(x, 0)) +u x(1 − uy + uay)(W(x, y) − W(0, y)). Finally Q(a, u) = W(a, √u, 0, 0).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-65
SLIDE 65

ANALYSIS FOR TWO STACKS IN PARALLEL

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-66
SLIDE 66

ANALYSIS FOR TWO STACKS IN PARALLEL

Using the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1,

we wrote a program which calculated the first 1337 coefficients of the series P(t).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-67
SLIDE 67

ANALYSIS FOR TWO STACKS IN PARALLEL

Using the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1,

we wrote a program which calculated the first 1337 coefficients of the series P(t). We tried to Jay it...

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-68
SLIDE 68

ANALYSIS FOR TWO STACKS IN PARALLEL

Using the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1,

we wrote a program which calculated the first 1337 coefficients of the series P(t). We tried to Jay it... But it was not Jayable.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-69
SLIDE 69

ANALYSIS FOR TWO STACKS IN PARALLEL

Using the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1,

we wrote a program which calculated the first 1337 coefficients of the series P(t). We tried to Jay it... But it was not Jayable. (Jay Pantone did a search using these terms for a differentially algebraic solution but did not find one.)

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-70
SLIDE 70

ANALYSIS FOR TWO STACKS IN PARALLEL

Using the equation Q 1 P − 1, tP2 (2P − 1)2

  • = 2P − 1,

we wrote a program which calculated the first 1337 coefficients of the series P(t). We tried to Jay it... But it was not Jayable. (Jay Pantone did a search using these terms for a differentially algebraic solution but did not find one.) Our analysis of the coefficients pn of P suggests that they behave like pn ∼ const · µnnγ, where µ ≈ 8.281402207 and γ ≈ −2.473.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-71
SLIDE 71

ANALYSIS OF D(t)

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-72
SLIDE 72

ANALYSIS OF D(t)

D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-73
SLIDE 73

ANALYSIS OF D(t)

D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

We found the first 1337 coefficients of the generating function D(t) using those of P(t).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-74
SLIDE 74

ANALYSIS OF D(t)

D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

We found the first 1337 coefficients of the generating function D(t) using those of P(t). Our analysis of these terms suggests that the coefficients behave like dn ∼ const · µnn−3/2, where µ ≈ 8.281402207 is the same as the growth constant for the coefficients of P(t).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-75
SLIDE 75

ANALYSIS OF D(t)

D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

We found the first 1337 coefficients of the generating function D(t) using those of P(t). Our analysis of these terms suggests that the coefficients behave like dn ∼ const · µnn−3/2, where µ ≈ 8.281402207 is the same as the growth constant for the coefficients of P(t). We still can’t prove that the two squences {pn} and {dn} share the same exponential growth rate µ.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-76
SLIDE 76

MORE ANALYSIS

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-77
SLIDE 77

MORE ANALYSIS

Assuming a few conjectures about the generating function Q(a, u) for weighted quarterplane loops, Albert and Bousquet-Melou proved the following about P(t):

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-78
SLIDE 78

MORE ANALYSIS

Assuming a few conjectures about the generating function Q(a, u) for weighted quarterplane loops, Albert and Bousquet-Melou proved the following about P(t):

  • 2P(tc) = 1 +
  • 2tcP(tc),

where tc is the radius of convergence of P.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-79
SLIDE 79

MORE ANALYSIS

Assuming a few conjectures about the generating function Q(a, u) for weighted quarterplane loops, Albert and Bousquet-Melou proved the following about P(t):

  • 2P(tc) = 1 +
  • 2tcP(tc),

where tc is the radius of convergence of P. Then, using our equation D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

it follows pretty easily that the radius of convergence of D(t) is also tc...

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-80
SLIDE 80

MORE ANALYSIS

Assuming a few conjectures about the generating function Q(a, u) for weighted quarterplane loops, Albert and Bousquet-Melou proved the following about P(t):

  • 2P(tc) = 1 +
  • 2tcP(tc),

where tc is the radius of convergence of P. Then, using our equation D(t) = t 2 + 1 + tP − t2P − t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

it follows pretty easily that the radius of convergence of D(t) is also tc...But we still need to prove the conjectures about Q(a, u)!!!!

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-81
SLIDE 81

QUARTER PLANE LOOPS CONJECTURE 1

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-82
SLIDE 82

QUARTER PLANE LOOPS CONJECTURE 1

Conjecture the radius of convergence ρQ(a) of Q(a, ·) is given by ρQ(a) =      1 (2 + √ 2 + 2a)2 , if a ≥ −1/2, −a 2(a − 1)2 , if a ∈ [−1, −1/2].

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-83
SLIDE 83

QUARTER PLANE LOOPS CONJECTURE 1

Conjecture the radius of convergence ρQ(a) of Q(a, ·) is given by ρQ(a) =      1 (2 + √ 2 + 2a)2 , if a ≥ −1/2, −a 2(a − 1)2 , if a ∈ [−1, −1/2]. For a ≥ −1/2, this is the same as the radius of convergence for weighted plane paths (not just quarter-plane loops).

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-84
SLIDE 84

QUARTER PLANE LOOPS CONJECTURE 1

Conjecture the radius of convergence ρQ(a) of Q(a, ·) is given by ρQ(a) =      1 (2 + √ 2 + 2a)2 , if a ≥ −1/2, −a 2(a − 1)2 , if a ∈ [−1, −1/2]. For a ≥ −1/2, this is the same as the radius of convergence for weighted plane paths (not just quarter-plane loops). The really important bit of the conjecture is at a ≈ −0.148.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-85
SLIDE 85

QUARTER PLANE LOOPS CONJECTURES 2 AND 3

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-86
SLIDE 86

QUARTER PLANE LOOPS CONJECTURES 2 AND 3

Conjecture The series Q(a, u) is (a + 1)-positive. That is, Q takes the form Q(a, u) =

  • n≥0

unPn(a + 1), where each polynomial Pn has positive coefficients.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-87
SLIDE 87

QUARTER PLANE LOOPS CONJECTURES 2 AND 3

Conjecture The series Q(a, u) is (a + 1)-positive. That is, Q takes the form Q(a, u) =

  • n≥0

unPn(a + 1), where each polynomial Pn has positive coefficients. Conjecture The series Qu(a, u) = ∂Q

∂u is convergent at u = ρQ(a) for a ≥ −1/3.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-88
SLIDE 88

OPEN PROBLEMS

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-89
SLIDE 89

OPEN PROBLEMS

Prove that Permutations sortable by a deque and permutations sortable by two stacks in parallel have the same growth constant!

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-90
SLIDE 90

OPEN PROBLEMS

Prove that Permutations sortable by a deque and permutations sortable by two stacks in parallel have the same growth constant! Just prove any of the three conjectures about weighted quarter plane loops.

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-91
SLIDE 91

OPEN PROBLEMS

Prove that Permutations sortable by a deque and permutations sortable by two stacks in parallel have the same growth constant! Just prove any of the three conjectures about weighted quarter plane loops. Find a more direct proof of the identity D(t) = t 2+1+tP−t2P− t 2

  • 1 − 4P + 4P2 − 8tP2 + 4t2P2 − 4tP

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-92
SLIDE 92

OPEN PROBLEMS

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-93
SLIDE 93

OPEN PROBLEMS

The following machines are still unsolved:

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-94
SLIDE 94

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-95
SLIDE 95

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-96
SLIDE 96

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel etc

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-97
SLIDE 97

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel etc Two stacks in series

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-98
SLIDE 98

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel etc Two stacks in series Two input-restricted deques in parallel

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-99
SLIDE 99

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel etc Two stacks in series Two input-restricted deques in parallel One input-restricted deque and one stack in parallel

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-100
SLIDE 100

OPEN PROBLEMS

The following machines are still unsolved: Three stacks in parallel Four stacks in parallel etc Two stacks in series Two input-restricted deques in parallel One input-restricted deque and one stack in parallel Any finite system of machines in parallel/series which involves any of the above

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price

slide-101
SLIDE 101

THANK YOU

Thank You!

Permutations sortable by deques and by two stacks in parallel. Andrew Elvey Price