156
Restricted Lattice Walks and Creative Telescoping Manuel Kauers RISC joint work with A. Bostan, F. Chyzak, L. Pech, M. van Hoeij (part 1) and S. Chen (part 2)

Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Restricted Lattice Walks andCreative Telescoping

Manuel KauersRISC

joint work with

A. Bostan, F. Chyzak, L. Pech, M. van Hoeij (part 1)and S. Chen (part 2)

Page 2: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 3: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 4: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

=

Symbolic

Computation

∪∩+ Enumerative

Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 5: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

=

Symbolic

Computation

∪∩+

Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 6: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

=

Symbolic Computation

∪∩+

Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 7: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∩+

Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 8: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

+

Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 9: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 10: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 11: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting

∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 12: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 13: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping

∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 14: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping ∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 15: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping ∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 16: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping ∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 17: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Symbolic Combinatorics

= Symbolic Computation

∪∩

+ Enumerative Combinatorics

In this talk:

I Lattice Walk Counting ∈ Enumerative Combinatorics

I Creative Telescoping ∈ Symbolic Computation

I And what one has to do with the other

In this session:

I Hopefully many other stories on how symbolic computationand enumerative combinatorics fertilize each other.

Page 18: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

1. The Combinatorics Part.

Enumeration of Restricted Lattice Walks

Page 19: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 20: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 21: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 22: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 23: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 24: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 25: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 26: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 27: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 28: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 29: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 30: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 31: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 32: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 33: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 34: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 35: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 36: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 37: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 38: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 39: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 40: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 41: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 42: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 43: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 44: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 45: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 46: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 47: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Let an,i,j be the number of walks

I starting at (0, 0)

I ending at (i, j)

I consisting of n steps

I never stepping out of the quarter plane.

Example: a5,3,2 = 200.

Let

a(t, x, y) :=

∞∑n=0

∞∑i,j=0

an,i,jxiyjtn

be the generating function of an,i,j .

Question: What is a(t, x, y)?

Page 48: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 49: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 50: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 51: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 52: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 53: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 54: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 55: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 56: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 57: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 58: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 59: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 60: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 61: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 62: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 63: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 64: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 65: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 66: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 67: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 68: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 69: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 70: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

Page 71: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Starting point: The combinatorial definition.

It immediately implies the recurrence equation

an+1,i,j = an,i−1,j+1 + an,i,j+1 + an,i+1,j+1 + an,i−1,j

+ an,i+1,j + an,i−1,j−1 + an,i,j−1 + an,i+1,j−1

which, together with the boundary conditions

an,i,−1 = 0 an,−1,j = 0

and the initial valuea0,0,0 = 1

determines all the numbers an,i,j .

Page 72: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories
Page 73: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

Page 74: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]∞∑n=0

︸ ︷︷ ︸∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0

︸ ︷︷ ︸∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 75: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]

∞∑n=0

︸ ︷︷ ︸∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0

︸ ︷︷ ︸∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 76: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]

∞∑n=0

︸ ︷︷ ︸∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0

︸ ︷︷ ︸∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 77: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]

∞∑n=0 ︸ ︷︷ ︸

∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0

︸ ︷︷ ︸∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 78: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]

∞∑n=0 ︸ ︷︷ ︸

∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0 ︸ ︷︷ ︸

∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 79: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

where [x>][y>]c(t, x, y) refers to the positive part of c(t, x, y):

[x>][y>]

∞∑n=0 ︸ ︷︷ ︸

∈Q(x,y)

( n∑i,j=−n

ci,j,nxiyj)tn :=

∞∑n=0 ︸ ︷︷ ︸

∈Q[x,y]

( n∑i,j=0

ci,j,nxiyj)tn

(This miracle was performed by the combinatorial wizardsM. Bousquet-Melou and M. Mishna.)

Page 80: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v),

where

resu,v

︸ ︷︷ ︸∈Q[u,v,x,y,

1u ,

1v ,

1x ,

1y ][[t]]

∑a,b,i,j,n

ca,b,i,j,nuavbxiyjtn :=

︸ ︷︷ ︸∈Q[x,y][[t]]

∑i,j,n

c−1,−1,i,j,nxiyjtn

Page 81: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v),

where

resu,v

︸ ︷︷ ︸∈Q[u,v,x,y,

1u ,

1v ,

1x ,

1y ][[t]]

∑a,b,i,j,n

ca,b,i,j,nuavbxiyjtn :=

︸ ︷︷ ︸∈Q[x,y][[t]]

∑i,j,n

c−1,−1,i,j,nxiyjtn

Page 82: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v),

where

resu,v

︸ ︷︷ ︸∈Q[u,v,x,y,

1u ,

1v ,

1x ,

1y ][[t]]

∑a,b,i,j,n

ca,b,i,j,nuavbxiyjtn :=

︸ ︷︷ ︸∈Q[x,y][[t]]

∑i,j,n

c−1,−1,i,j,nxiyjtn

Page 83: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v),

where

resu,v ︸ ︷︷ ︸∈Q[u,v,x,y,

1u ,

1v ,

1x ,

1y ][[t]]

∑a,b,i,j,n

ca,b,i,j,nuavbxiyjtn :=

︸ ︷︷ ︸∈Q[x,y][[t]]

∑i,j,n

c−1,−1,i,j,nxiyjtn

Page 84: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v),

where

resu,v ︸ ︷︷ ︸∈Q[u,v,x,y,

1u ,

1v ,

1x ,

1y ][[t]]

∑a,b,i,j,n

ca,b,i,j,nuavbxiyjtn := ︸ ︷︷ ︸

∈Q[x,y][[t]]

∑i,j,n

c−1,−1,i,j,nxiyjtn

Page 85: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v).

It follows from here that a(t, x, y) is D-finite.

A differential equation can be computed with creative telescoping.

Write

R = 1(1−xu)(1−yv)

(u−u−1)(v−v−1)1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v)

so that a(t, x, y) = resu,v R.

Page 86: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v).

It follows from here that a(t, x, y) is D-finite.

A differential equation can be computed with creative telescoping.

Write

R = 1(1−xu)(1−yv)

(u−u−1)(v−v−1)1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v)

so that a(t, x, y) = resu,v R.

Page 87: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

It follows for the generating function that

a(t, x, y) = 1xy [x

>][y>] (x−x−1)(y−y−1)1−t((x+1+x−1)y−1+(x+x−1)+(x+1+x−1)y)

,

It follows from here that a(t, x, y) is also equal to the formal residue

resu,v1

(1−xu)(1−yv)(u−u−1)(v−v−1)

1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v).

It follows from here that a(t, x, y) is D-finite.

A differential equation can be computed with creative telescoping.

Write

R = 1(1−xu)(1−yv)

(u−u−1)(v−v−1)1−t((u+1+u−1)v−1+(u+u−1)+(u+1+u−1)v)

so that a(t, x, y) = resu,v R.

Page 88: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 89: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y)

with

P R+DuQ1 +DvQ2 = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 90: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 91: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenresu,v(P R+DuQ1 +DvQ2) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 92: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenresu,v(P R) + resu,v(DuQ1) + resu,v(DvQ2) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 93: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenresu,v(P R) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 94: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenP (resu,v R) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 95: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenP a(t, x, y) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 96: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenP a(t, x, y) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 97: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Observe: resuDuc(u) = 0 for every series c(u).

Therefore: if we can find a differential operator

P = p0(t, x, y) + p1(x, y, t)Dt + p2(t, x, y)D2t + · · ·+ pr(t, x, y)D

rt

and two rational functions Q1, Q2 ∈ Q(t, u, v, x, y) with

P R+DuQ1 +DvQ2 = 0

thenP a(t, x, y) = 0

Note: Knowing P , we can compute a closed form for a(t, x, y).

But: Computing P , Q1, Q2 is quite costly.

Page 98: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Simplify the problem by setting x = y = 1.

Note: The coefficients of tn in a(t, 1, 1) count the number of walkswith n steps and arbitrary endpoint.

Integration software (e.g., by C. Koutschan) finds the equation

(t+ 1)(2t− 1)(4t+ 1)(8t− 1)t2D3t a(t, 1, 1)

+ (576t4 + 200t3 − 252t2 − 33t+ 5)D2t a(t, 1, 1)

+ (288t4 + 22t3 − 117t2 − 12t+ 1)Dta(t, 1, 1)

+ 12(32t3 − 6t2 − 12t− 1)a(t, 1, 1) = 0.

From here follows the final result

a(t, 1, 1) = −1

t

∫t

16t2+24t−1(1+4x)5 2F1

(5/4 5/4

2

∣∣∣ −2t(t+1)(t−1/8)(t+1/4)4

).

Page 99: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Simplify the problem by setting x = y = 1.

Note: The coefficients of tn in a(t, 1, 1) count the number of walkswith n steps and arbitrary endpoint.

Integration software (e.g., by C. Koutschan) finds the equation

(t+ 1)(2t− 1)(4t+ 1)(8t− 1)t2D3t a(t, 1, 1)

+ (576t4 + 200t3 − 252t2 − 33t+ 5)D2t a(t, 1, 1)

+ (288t4 + 22t3 − 117t2 − 12t+ 1)Dta(t, 1, 1)

+ 12(32t3 − 6t2 − 12t− 1)a(t, 1, 1) = 0.

From here follows the final result

a(t, 1, 1) = −1

t

∫t

16t2+24t−1(1+4x)5 2F1

(5/4 5/4

2

∣∣∣ −2t(t+1)(t−1/8)(t+1/4)4

).

Page 100: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Simplify the problem by setting x = y = 1.

Note: The coefficients of tn in a(t, 1, 1) count the number of walkswith n steps and arbitrary endpoint.

Integration software (e.g., by C. Koutschan) finds the equation

(t+ 1)(2t− 1)(4t+ 1)(8t− 1)t2D3t a(t, 1, 1)

+ (576t4 + 200t3 − 252t2 − 33t+ 5)D2t a(t, 1, 1)

+ (288t4 + 22t3 − 117t2 − 12t+ 1)Dta(t, 1, 1)

+ 12(32t3 − 6t2 − 12t− 1)a(t, 1, 1) = 0.

From here follows the final result

a(t, 1, 1) = −1

t

∫t

16t2+24t−1(1+4x)5 2F1

(5/4 5/4

2

∣∣∣ −2t(t+1)(t−1/8)(t+1/4)4

).

Page 101: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Simplify the problem by setting x = y = 1.

Note: The coefficients of tn in a(t, 1, 1) count the number of walkswith n steps and arbitrary endpoint.

Integration software (e.g., by C. Koutschan) finds the equation

(t+ 1)(2t− 1)(4t+ 1)(8t− 1)t2D3t a(t, 1, 1)

+ (576t4 + 200t3 − 252t2 − 33t+ 5)D2t a(t, 1, 1)

+ (288t4 + 22t3 − 117t2 − 12t+ 1)Dta(t, 1, 1)

+ 12(32t3 − 6t2 − 12t− 1)a(t, 1, 1) = 0.

From here follows the final result

a(t, 1, 1) = −1

t

∫t

16t2+24t−1(1+4x)5 2F1

(5/4 5/4

2

∣∣∣ −2t(t+1)(t−1/8)(t+1/4)4

).

Page 102: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 103: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 104: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 105: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 106: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 107: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 108: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Kreweras walks: Thegenerating function isalgebraic.

Page 109: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Gessel walks: Thegenerating function isalgebraic.

Page 110: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Different step sets lead todifferent generatingfunctions.

I Different generatingfunctions have differentalgebraic properties.

I Mishna-Rechnitzer walks:The generating function isnot D-finite.

Page 111: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Bousquet-Melou-Mishna classification: We know for everystep set whether the corresponding generating function isalgebraic, D-finite transcendental, or not D-finite

I Our contribution: For the cases where the generating functionis D-finite transcendental, we find an explicit 2F1

representation.

Page 112: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Variation: What happens if we forbid steps into certain directions?

I Bousquet-Melou-Mishna classification: We know for everystep set whether the corresponding generating function isalgebraic, D-finite transcendental, or not D-finite

I Our contribution: For the cases where the generating functionis D-finite transcendental, we find an explicit 2F1

representation.

Page 113: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

2. The Computer Algebra Part.

Fine Tuning Creative Telescoping

Page 114: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 115: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)

Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 116: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 117: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 118: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 119: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 120: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Creative telescoping. (Differential case, one free variable)

Given: a rational function R(x, y)Find: a differential operator P , free of y and Dy, and a rationalfunction Q in x and y such that

P R+DyQ = 0.

I This is called a creative telescoping relation for R.

I The operator P is called its telescoper .

I The rational function Q is called its certificate.

I There are algorithms for computing (P,Q) for given R.

Page 121: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 122: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 123: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 124: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 125: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 126: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 127: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 128: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 129: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: How to make these algorithms faster?

Where are the degrees of freedom?

The solution (P,Q) is not unique.

Are some solutions cheaper than others?

If so, what is the cheapest?

Every telescoper P has a certain order r and degree d.

Example: For

P = (5x4 − 6x2 + 5x+ 8)D2x + (9x4 − 10x3 + 4x2 + 8)Dx

+ (8x4 + 10x3 − 8x+ 9)

we have r = 2 and d = 4.

Page 130: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 131: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 132: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 133: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 134: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 135: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

For a fixed input, what are the points (r, d) ∈ N2 for which a creativetelescoping relation with a telescoper of order r and degree d exists?

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 136: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: What is the shape of the gray area?

Answer: We can construct a univariate hyperbola which passesapproximately along the boundary of the area.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 137: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: What is the shape of the gray area?

Answer: We can construct a univariate hyperbola which passesapproximately along the boundary of the area.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 138: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Question: What is the shape of the gray area?

Answer: We can construct a univariate hyperbola which passesapproximately along the boundary of the area.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 139: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 140: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 141: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 142: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 143: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 144: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 145: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 146: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 147: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 148: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 149: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Using this hyperbola, we can choose what we want to compute.

Question: Which point (r, d) is optimal?

Answer: Depends on what you want to optimize. . .

As for computational complexity:

I For small input, the minimal order operator is the cheapest.

I For “industrial size input”, operators of [slightly] nonminimalorder are cheaper.

I For astronomic input, it is most efficient to compute theoperator of order 1

4(1 +√17)rmin, where rmin is the size of

the minimal operator.

���1

minimalorder

AKminimal degree

��minimaltelescoper size

��+minimal total output size

���minimal computation time

Page 150: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

3. Conclusion.

Symbolic Computation

+ Enumerative Combinatorics

Page 151: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.

Page 152: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.

Page 153: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.

Page 154: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.

Page 155: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.

Page 156: Restricted Lattice Walks and Creative Telescoping · I Creative Telescoping 2Symbolic Computation I And what one has to do with the other In this session: I Hopefully many other stories

Combinatorics pushes computer algebra:

I Complicated expressions arising in combinatorics generate ademand for algorithms for dealing with them.

I If you really want to compute something, these algorithmsshould better terminate before your NFS grant.

Computer algebra pushes combinatorics:

I The existence of powerful computational machinery suggeststo rephrase a combinatorial problem as input for them.

I Unexpected output may lead to combinatorial insight or raisenew questions.