Symbolic-Numeric Tools for Multivariate Asymptotics

Similar documents
Diagonals: Combinatorics, Asymptotics and Computer Algebra

Algorithmic Tools for the Asymptotics of Diagonals

Algorithmic Tools for the Asymptotics of Linear Recurrences

Algorithmic Tools for the Asymptotics of Linear Recurrences

Diagonals and Walks. Alin Bostan 1 Louis Dumont 1 Bruno Salvy 2. November 4, Introduction Diagonals Walks. 1 INRIA, SpecFun.

Linear Differential Equations as a Data-Structure

Efficient Experimental Mathematics for Lattice Path Combinatorics

5. Analytic Combinatorics

Algorithms for Combinatorial Systems: Between Analytic Combinatorics and Species Theory.

On (Effective) Analytic Combinatorics

Philippe Flajolet and Symbolic Computation

Commutative Rings and Fields

Bon anniversaire Marc!

On the Sequence A and Its Combinatorial Interpretations

3. Generating Functions

Chapter 6: Rational Expr., Eq., and Functions Lecture notes Math 1010

Lecture 17: D-Stable Polynomials and Lee-Yang Theorems

Algebraic aspects of some Riordan arrays related to binary words avoiding a pattern

Notes by Zvi Rosen. Thanks to Alyssa Palfreyman for supplements.

4. Complex Analysis, Rational and Meromorphic Asymptotics

Overview of Computer Algebra

This class will demonstrate the use of bijections to solve certain combinatorial problems simply and effectively.

Taylor Expansions with Finite Radius of Convergence Work of Robert Jentzsch, 1917

The complexity of factoring univariate polynomials over the rationals

Automatisches Beweisen von Identitäten

Unit 3 Factors & Products

7 Asymptotics for Meromorphic Functions

Singularity analysis via the iterated kernel method

On rational approximation of algebraic functions. Julius Borcea. Rikard Bøgvad & Boris Shapiro

Generating Subfields. Mark van Hoeij. June 15, 2017

Harmonic Algebraic Curves and Noncrossing Partitions

Closed Form Solutions

Combinatorial/probabilistic analysis of a class of search-tree functionals

On Distributed Coordination of Mobile Agents with Changing Nearest Neighbors

COUNTING WITH AB-BA=1

An Algorithm for Approximate Factorization of Bivariate Polynomials 1)

Mathematical Olympiad Training Polynomials

4. Multi-linear algebra (MLA) with Kronecker-product data.

TOWARDS AUTOMATED CHAOS VERIFICATION

k-protected VERTICES IN BINARY SEARCH TREES

Lucas Lehmer primality test - Wikipedia, the free encyclopedia

Diagonal asymptotics for symmetric rational functions via ACSV

Philippe Flajolet & Analytic Combinatorics: Inherent Ambiguity of Context-Free Languages

Finding parking when not commuting. Jon McCammond U.C. Santa Barbara

Finding parking when not commuting. Jon McCammond U.C. Santa Barbara

CS6901: review of Theory of Computation and Algorithms

Closed Form Solutions

Fast Computation of the Nth Term of an Algebraic Series over a Finite Prime Field

arithmetic properties of weighted catalan numbers

Output-sensitive algorithms for sumset and sparse polynomial multiplication

are the q-versions of n, n! and . The falling factorial is (x) k = x(x 1)(x 2)... (x k + 1).

Networks: Lectures 9 & 10 Random graphs

Exact algorithms for linear matrix inequalities

Automata-Based String Analysis

COMPUTER ARITHMETIC. 13/05/2010 cryptography - math background pp. 1 / 162

Decay of the Singlet Conversion Probability in One Dimensional Quantum Networks

Alexander Ostrowski

Representations of Cherednik Algebras

Extremal Statistics on Non-Crossing Configurations

Addition sequences and numerical evaluation of modular forms

Range: y-values - output read y's from bottom to top (smallest to largest)

CS3719 Theory of Computation and Algorithms

Chapter 1: Precalculus Review

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation

Kronecker s and Newton s approaches to solving : A first comparison *

1 Solving Linear Recurrences

Combinatorics of non-associative binary operations

Considering our result for the sum and product of analytic functions, this means that for (a 0, a 1,..., a N ) C N+1, the polynomial.

ACO Comprehensive Exam March 20 and 21, Computability, Complexity and Algorithms

On Arithmetic Properties of Bell Numbers, Delannoy Numbers and Schröder Numbers

Asymptotic Counting Theorems for Primitive. Juggling Patterns

On the Average Complexity of Brzozowski s Algorithm for Deterministic Automata with a Small Number of Final States

1. Introduction

Part IB Complex Analysis

APPROXIMATING CONTINUOUS FUNCTIONS: WEIERSTRASS, BERNSTEIN, AND RUNGE

Convex Domino Towers

Fighting Fish: enumerative properties. Enrica Duchi. Veronica Guerrini & Simone Rinaldi DIISM, Università di Siena.

Quadratic-backtracking Algorithm for String Reconstruction from Substring Compositions

Polynomials over finite fields. Algorithms and Randomness

The Matrix-Tree Theorem

Generalized critical values and testing sign conditions

Random walks in the plane

Computing Rational Points in Convex Semi-algebraic Sets and Sums-of-Squares Decompositions

Asymptotic notation : big-o and small-o

Notes on Complex Analysis

Rational and algebraic series in combinatorial enumeration

Algebraic Codes and Invariance

Counting terms in the binary lambda calculus

Linear Functions (I)

Part 1 - Pre-Algebra Summary Page 1 of 22 1/19/12

15 th Annual Harvard-MIT Mathematics Tournament Saturday 11 February 2012

Introduction to Techniques for Counting

Conventional Matrix Operations

REVIEW Chapter 1 The Real Number System

LECTURE 7. 2 Simple trees and Lagrange Inversion Restricting the out-degree Lagrange Inversion... 4

Rounding and Chaining LLL: Finding Faster Small Roots of Univariate Polynomial Congruences

Classify, graph, and compare real numbers. Find and estimate square roots Identify and apply properties of real numbers.

UNIT 1 DETERMINANTS 1.0 INTRODUCTION 1.1 OBJECTIVES. Structure

THE NUMBER OF PATHS IN BOUNDARY RESTRICTED PASCAL TRIANGLE

ON THE DENSITY OF TRUTH IN GRZEGORCZYK S MODAL LOGIC

Transcription:

Symbolic-Numeric Tools for Multivariate Asymptotics Bruno Salvy Joint work with Stephen Melczer to appear in Proc. ISSAC 2016 FastRelax meeting May 25, 2016

Combinatorics, Randomness and Analysis From simple local rules, a global structure arises. A quest for universality in random discrete structures: probabilistic complexity of structures and algorithms. Quantitative results using complex analysis. 2 / 26

Overview Ex.: binary trees Equations over combinatorial structures Generating functions 1X F (z) = f n z n n=0 Complex analysis f n, n!1 Aim: several vars, automatically. B = Z [ B B B(z) =z + B(z) 2 B n 4n 1 n 3/2 p 3 / 26

I. Families of Generating Functions 4 / 26

Rational Generating Functions (regular languages, linear recurrences with const. coeffs.) Example Generating function of 1,2,4,8, is 1. 1 2z Example 1 1 z z 2 Fibonacci numbers 1,1,2,3,5,8, have gf. Example (Simple lattice walks) F (x, y) = 1 1 x y = X i,j c i,j x i y j = X i,j i + j Here c i,j counts the number of ways to walk from (0,0) to (i,j) using i steps (0,1) and j steps (1,0). i x i y j =1+x +2xy + x 2 + y 2 + x 3 + y 3 +3x 2 y +3xy 2 +6x 2 y 2 + 5 / 26

Rational Generating Functions (regular languages, linear recurrences with const. coeffs.) Example (Restricted factors in words) Here c i,j counts the number of binary words with i zeroes and j ones that do not contain 10101101 or 1110101. 6 / 26

Algebraic Generating Functions Plane trees with n nodes and given arity set; Bracketings of a word of length n; Paths from (0,0) to (n,0) using steps (1,k) and (1,-1); Dissections of a convex n-gon (x(xxx)) ~~~~~ ~~~~~ 7 / 26

Diagonals of Rational Functions Input: Rational function z z z with power series z iz i Goal: Asymptotics of the diagonal sequence i N as Example (Apéry) F (a, b, c, z) = 1 1 z(1 + a)(1 + b)(a + c)(1 + b + c + bc + abc) Here determines Apéry s sequence, related to his celebrated proof of the irrationality of.

Univariate Generating Functions D-FINITE Aim: asymptotics of coefficients of diagonals, automatically. DIAGONAL ALGEBRAIC RATIONAL

II. Analytic Combinatorics 10 / 26

Cauchys formula Thm. If f = X i 1,...,i n 0 neighborhood of 0, then c i1,...,i z i 1 n 1 z i n n is convergent in the c i1,...,i n = 1 2 i n Z T f(z 1,...,z n ) dz 1 dz n z i 1+1 z i n+1 1 n for any small torus T ( z j = re i j ) around 0. Asymptotics: deform the torus to pass where the integral concentrates asymptotically. 11 / 26

Coefficients of Univariate Rational Functions a n = 1 2 i Z f(z) z n+1 dz F 1 =1= 1 2 i I 1 dz 1 z z 2 z 2 = = As n increases, the smallest singularities dominate. F n = n 1 1+2 + n 1 1+2 12 / 26

Conway s sequence 1,11,21,1211,111221, Generating function for lengths: f(z)=p(z)/q(z) with deg Q=72. Smallest singularity: δ(f) 0.7671198507 ρ=1/δ(f) 1.30357727 n 2.04216 ρ n ρ Res(f,δ(f)) remainder exponentially small 13 / 26

Coefficients of Multivariate Rational Functions Def. F(z 1,,z n ) is combinatorial if every coefficient is 0. Assuming F=G/H is combinatorial + generic conditions, asymptotics are determined by the points in such that z z z partial derivatives z z Critical Points z z is coordinate-wise minimal in Aim: find these points, (1) is an algebraic condition. (2) is a semi-algebraic condition (can be expensive). in good complexity.

III. Symbolic-Numeric Computation 15 / 26

Kronecker Representation Algebraic part: ``compute the solutions of the system Suppose z z z Under genericity assumptions, in algorithm to find: bit ops there is a prob. History and Background: see Castro, Pardo, Hägele, and Morais (2001) Giusti, Lecerf, Salvy (2001) Schost (2001) System reduced to a univariate polynomial.

Example (Lattice Path Model) The number of walks from the origin taking steps {NW,NE,SE,SW} and staying in the first quadrant has One can calculate the Kronecker representation Next, find the minimal critical points, that lie on the boundary of the domain of convergence. so that the critical points are given by:

Testing Minimality Semi-algebraic part: In the combinatorial case, it is enough to examine only the positive real points on the variety to determine minimality. Thus, we add the equation for a new variable and select the positive real point(s) z with no from a new Kronecker representation: P (v) =0 P 0 (v)z 1 Q 1 (v) =0 P 0 (v)z n Q n (v) =0 P 0 (v)t Q t (v) =0.. This is done numerically, with enough precision. Fast univariate solving: Sagraloff and Mehlhorn (JSC 2016)

How many digits do we need? Suppose are roots of square-free poly of Then For the Kronecker Representation, we have polynomials of If so we need a precision are the of positive real roots to rigorously of then decide the roots signs, with find modulus exact zeroes, can be and found identify using equal coordinates. precision

First Complexity Results for ACSV Theorem (M. and Salvy, 2016) Under generic conditions, and assuming z is combinatorial, the points contributing to dominant diagonal asymptotics can be determined in bit operations. Each contribution has the form and can be found to precision in bit ops. The genericity assumptions heavily restrict the form of the asymptotic growth. Removing more of these assumptions is ongoing work.

Example 1 Example (Apéry) F (a, b, c, z) = 1 1 z(1 + a)(1 + b)(a + c)(1 + b + c + bc + abc) Here a Kronecker representation is There are two real critical points, and one is positive. After testing minimality, one has proven asymptotics

Example 2 Example (Restricted Words in Factors) Using the Kronecker representation gives where are polynomials with largest coeff around 2500. There are two points with positive coordinates, adding allows one to show which is minimal, and that

Conclusion We Give the first complexity bounds for methods in analytic combinatorics in several variables Combine strong symbolic results on the Kronecker representation with fast algorithms on univariate polynomials Work in progress: extend beyond some of the assumptions.