Matthieu Dien O. Bodini, X. Fontaine, A. Genitrini, H.-K. Hwang - - PowerPoint PPT Presentation

matthieu dien o bodini x fontaine a genitrini h k hwang
SMART_READER_LITE
LIVE PREVIEW

Matthieu Dien O. Bodini, X. Fontaine, A. Genitrini, H.-K. Hwang - - PowerPoint PPT Presentation

Matthieu Dien O. Bodini, X. Fontaine, A. Genitrini, H.-K. Hwang Universit Pierre et Marie Curie Laboratoire LIP6 quipe APR Mardi 8 Mars 2016 1/13 Outline Introduction Asymptotic study of the diamonds Random Generation


slide-1
SLIDE 1

Matthieu Dien

  • O. Bodini, X. Fontaine, A. Genitrini, H.-K. Hwang

Université Pierre et Marie Curie Ą Laboratoire LIP6 Ą Équipe APR Mardi 8 Mars 2016

1/13

slide-2
SLIDE 2

Outline ‚ Introduction ‚ Asymptotic study of the diamonds ‚ Random Generation ‚ Conclusion

2/13

slide-3
SLIDE 3

Introduction

Motivations

‚ Combinatorial study of concurrents programs (seen as discrete structures) ‚ Quantitative study of the combinatorial explosion phenomena: the large number of possible runs (seen as increasing labellings)

Approach: Analytic Combinatorics

‚ symbolic method to modelize (Greene’s “box” operators) ‚ singularity analysis to obtain asymptotics of the number of increasing labellings ‚ based on previous work on increasing trees of [F. Bergeron, P. Flajolet and B. Salvy ’92]

3/13

slide-4
SLIDE 4

Combinatorial specifications

‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚ ‚

Skeleton

S “ Z ` Z ¨ GpSq ¨ Z

4/13

slide-5
SLIDE 5

Combinatorial specifications

1 2 5 4 3 6 8 9 7 11 12 10 13 14

Skeleton

S “ Z ` Z ¨ GpSq ¨ Z

Increasing labellings

I “ Z ` Z˝ ‹ GpIq ‹ Z‚

4/13

slide-6
SLIDE 6

Combinatorial specifications

1 2 5 4 3 6 8 9 7 11 12 10 13 14

Skeleton

S “ Z ` Z ¨ GpSq ¨ Z

Increasing labellings

I “ Z ` Z˝ ‹ GpIq ‹ Z‚

Differential equation

$ & % I 2 “ GpIq Ip0q “ 0 I 1p0q “ 1

4/13

slide-7
SLIDE 7

Easy case: non-plane diamonds

We start with the differential equation: A2pzq “ eApzq We can solve it: A1pzq “ tan z ` sec z The poles are the p2k ` 1

2qπ

Using the residue theorem we get: an “ 2n`1 pn ´ 1q! πn

`8

ÿ

j“´8

1 p1 ` 4jqn .

5/13

slide-8
SLIDE 8

Easy case: non-plane diamonds

We start with the differential equation: A2pzq “ eApzq We can solve it: A1pzq “ tan z ` sec z The poles are the p2k ` 1

2qπ

Using the residue theorem we get: an “ 2n`1 pn ´ 1q! πn

`8

ÿ

j“´8

1 p1 ` 4jqn . panqně1 “ t1, 1, 1, 2, 5, 16, 61, 272, 1385, 7936, 50521, 353792, . . . u Known in OEIS to count the number of number of increasing unary-binary trees on n vertices.

5/13

slide-9
SLIDE 9

Bijection

Non-plane diamonds Increasing unary-binary trees A “ Z ` Z˝ ‹ SetpAq ‹ Z‚ T “ Z ` Z˝ ‹ pT ` Set“2pT qq N3pzq “ N1pzq ¨ N2pzq T 2pzq “ p1 ` Tpzqq ¨ T 1pzq 1 2 n N1 N2 “ eN 1 2 T 1 1 ` T Thanks to A. Bacher, G. Collet and C. Mailler (and ALEA Network)

6/13

slide-10
SLIDE 10

Elliptic cases

Weierstrass’s case

F 2 “ PpFq where P is a polynomial of degree 2, then: Fpzq “ K℘pz ´ ρ; ω1, ω2q with ρ “ ż 8 dt b 1 ` 2 şt

0 Ppvqdv

and K a constant.

Weierstrass’s elliptic function

℘ is defined periodically over a lattice that contains one double pole in a corner of each cell: ℘pz; ω1, ω2q “ 1 z2 ` ÿ

pk,lqPZ2ztp0,0qu

ˆ 1 pz ` kω1 ` lω2q2 ´ 1 pkω1 ` lω2q2 ˙

7/13

slide-11
SLIDE 11

Elliptic cases

Jacobi’s case

F 2 “ PpFq where P is a polynomial of degree 3, then let g2 “ β ´ δ α ´ δ ¨ F ´ ? 2 α F ´ ? 2 β with α, β and δ well chosen then g1pzq “ M a p1 ´ z2qp1 ´ ℓ2z2q and so gpzq “ snpMz; ℓq

Jacobi’s elliptic sinus function

sn is defined periodically over a lattice that contains two simple poles in each cell and a zero in a corner.

8/13

slide-12
SLIDE 12

Elliptic cases: binary and ternary diamonds

Weierstrass case: binary diamonds

B “ Z ` Z˝ ‹ pE ` B ‹ Bq ‹ Z‚ B2 “ 1 ` B2 bn “ 6pn ` 1q! ρn`2 ÿ

pk,lqPZ2

1 ´ 1 ` kω1

ρ ` lω2 ρ

¯n`2 „

nÑ8 6pn ` 1q!

ρn`2

Jacobi’s case: ternary diamonds

T “ Z˝ ‹ pE ` T ‹ T ‹ T q ‹ Z‚ T 2 “ 1 ` T 3 tn “ ? 2 n! ρn`1 ÿ

pk,lqPZ2

1 ` 1 ` Ck,l ˘n`1 ´ 1 ` 2 ` Ck,l ˘n`1 „

nÑ8 6

? 2pn ` 1q! ρn`1 with Ck,l “ 3k

2 ` i ? 3 2 pk ` 2lq

9/13

slide-13
SLIDE 13

More general cases

Asymptotics results

‚ Diamonds of fixed arity (G P ZrXs and degpGq “ m): fn “ n! ˜ a 2pm ` 1q pm ´ 1q?bm ¸

2 m´1 n´ m´3 m´1

Γp

2 m´1q ρ´n´

2 m´1

´ 1 ` O ´ n´

4 m´1

¯¯ ‚ Plane general diamonds (G “ Seq): fn “ n!ρ1´n n2 a 2 log n ˜ ÿ

0ďkăK

Pkplog log nq plog nqk ` O ˆplog log nqK plog nqK ˙¸ Sequence A032035 in OEIS which also enumerates increasing rooted (2,3)-cacti with n ´ 1 nodes

10/13

slide-14
SLIDE 14

Random Generation of the skeletons

Boltzmann method

‚ Straightforward use of standard techniques [P. Duchon, P. Flajolet, G. Louchard & G. Schaeffer ’04] ‚ a bit of tricks to draw an object from F from ΓF2 [O. Bodini, O. Roussel & M. Soria ’12] and [O. Bodini ’10] ñ Boltzmann generator using only uniform random variable to draw

  • bject such that F2 “ φpFq

11/13

slide-15
SLIDE 15

Random Generation of the increasing labellings

B “

  • |

B

  • B
  • 12/13
slide-16
SLIDE 16

Random Generation of the increasing labellings

diamond ñ increasing labelling ‚ ñ return p1q

12/13

slide-17
SLIDE 17

Random Generation of the increasing labellings

diamond ñ increasing labelling B1

  • B2
  • ñ

x :“ draw_inc_lblpB1q y :“ draw_inc_lblpB2q t :“ shufflepx, yq |t| “ |x| ` |y| return p1, t ` 1, |t| ` 1q

12/13

slide-18
SLIDE 18

Random Generation of the increasing labellings

diamond ñ increasing labelling B1

  • B2
  • ñ

x :“ draw_inc_lblpB1q y :“ draw_inc_lblpB2q t :“ shufflepx, yq |t| “ |x| ` |y| return p1, t ` 1, |t| ` 1q

Average complexity

‚ The average complexity of draw_inc_lbl in memory writings is Opn?nq ‚ The average number of random bits needed during the generation is Opn3{2 log nq

12/13

slide-19
SLIDE 19

Current work

‚ study of the average of some parameters (width, depth, root’s degree ...) of the increasingly labelled structures ‚ study of a bit more realistic model, from a concurrency point of view:

FJ “

  • |

FJ

  • |

FJ

  • FJ
  • FJ
  • ‚ more efficient algorithms for the random generation of increasing

labellings

Open question

‚ for the elliptic cases, how to do for showing the periodicity of the solutions directly from the differential equation ? ‚ is this periodic behaviour still present for higher degree of polynomial ?

13/13