Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf ·...

23
Viviane Pons junior professor, Universit´ e Paris-Sud Orsay [email protected] – @PyViv Experimental Combinatorics using Sage Introduction EAUMP summer school 2015

Transcript of Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf ·...

Page 1: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Viviane Pons

junior professor, Universite Paris-Sud [email protected] – @PyViv

Experimental Combinatorics using Sage

Introduction

EAUMP summer school 2015

Page 2: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Overview

I Introduction to combinatorics

I Recursive generation of combinatorial objects

I Random generation

I Bijections and statistics

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 2 / 10

Page 3: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What does pure mathematics look like?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 3 / 10

Page 4: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What does pure mathematics look like?

(from Theoreme Vivant by Cedric Villani)

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 3 / 10

Page 5: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What does pure mathematics look like?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 3 / 10

Page 6: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What does pure mathematics look like?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 3 / 10

Page 7: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What does pure mathematics look like?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 3 / 10

Page 8: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

What is combinatorics?

The study of finite and enumerated sets of discrete structures.

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 4 / 10

Page 9: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1

12 21

123 132 213 231 312 321

1234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 31243142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321

Size 512345 12354 12435 12453 12534 12543 13245 ...−→ ??

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 5 / 10

Page 10: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1

Size 212 21−→ 2

Size 3123 132 213 231 312 321−→ 6

Size 41234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 31243142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321−→ 24

Size 512345 12354 12435 12453 12534 12543 13245 ...−→ ??

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 5 / 10

Page 11: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1

Size 212 21−→ 2

Size 3123 132 213 231 312 321−→ 6

Size 41234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 31243142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321−→ 24

Size 512345 12354 12435 12453 12534 12543 13245 ...−→ ??

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 5 / 10

Page 12: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1

Size 212 21−→ 2

Size 3123 132 213 231 312 321−→ 6

Size 41234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 31243142 3214 3241 3412 3421 4123 4132 4213 4231 4312 4321−→ 24

Size 512345 12354 12435 12453 12534 12543 13245 ...−→ 120

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 5 / 10

Page 13: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1: Permutations of size n

All possible lists of the numbers 1, . . . , n.

Number of permutations of size n

n! = n(n − 1)(n − 2) . . . 1

.

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 6 / 10

Page 14: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 1: Permutations of size n

All possible lists of the numbers 1, . . . , n.

Number of permutations of size n

n! = n(n − 1)(n − 2) . . . 1

.

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 6 / 10

Page 15: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 2: n chooses k

I want k numbers among 1, 2, . . . n (the order doesn’t count).

Example : 4 chooses 21,2 1,3 1,4 2,3 2,4 3,4

Formula??

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 7 / 10

Page 16: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 2: n chooses k

I want k numbers among 1, 2, . . . n (the order doesn’t count).

Example : 4 chooses 21,2 1,3 1,4 2,3 2,4 3,4

Formula (n

k

):=

n!

k!(n − k)!

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 7 / 10

Page 17: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3

Size 2

Size 3

Size 4

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 8 / 10

Page 18: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3: binary trees

Questions:

I How many binary trees with 11nodes?

58786

I What does a ”random” binarytree look like?

I Are there other combinatorialobjects somehow linked tobinary trees?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 9 / 10

Page 19: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3: binary trees

Questions:

I How many binary trees with 11nodes?

58786

I What does a ”random” binarytree look like?

I Are there other combinatorialobjects somehow linked tobinary trees?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 9 / 10

Page 20: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3: binary trees

Questions:

I How many binary trees with 11nodes? 58786

I What does a ”random” binarytree look like?

I Are there other combinatorialobjects somehow linked tobinary trees?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 9 / 10

Page 21: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3: binary trees

Questions:

I How many binary trees with 11nodes? 58786

I What does a ”random” binarytree look like?

I Are there other combinatorialobjects somehow linked tobinary trees?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 9 / 10

Page 22: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Example 3: binary trees

Questions:

I How many binary trees with 11nodes? 58786

I What does a ”random” binarytree look like?

I Are there other combinatorialobjects somehow linked tobinary trees?

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 9 / 10

Page 23: Experimental Combinatorics using Sage - Introductionpons/docs/EAUMP/introduction.pdf · Experimental Combinatorics using Sage Introduction EAUMP summer school 2015. Overview I Introduction

Motivations?

I ”Real world” motivation: physics models, Bioinformatics

I Algorithmic motivations: random generation, algorithms complexity

I Algebraic: algebraic geometry, representation theory, group theory

Methods?Computer exploration, mathematics experimentation.

Viviane Pons (U-PSud) Experimental Combinatorics using Sage EAUMP summer school 2015 10 / 10