An Invitation to Analytic Combinatorics

MPI Lecture Series

Lecture 3

Stephen Melczer

Summary of Lecture 2

The behaviour of \(F(z) = \sum_{n\geq0}f_nz^n\) near its singularities transfers to the asymptotic behaviour of \(f_n\).
 

Analytic combinatorics is based on complex analysis and gives a framework for computing asymptotics automatically.

 

 

Summary of Lecture 2

The behaviour of \(F(z) = \sum_{n\geq0}f_nz^n\) near its singularities transfers to the asymptotic behaviour of \(f_n\).
 

Analytic combinatorics is based on complex analysis and gives a framework for computing asymptotics automatically.

 

Asymptotics for algebraic generating functions is automatic* using tools from commutative algebra.


 

Summary of Lecture 2

The behaviour of \(F(z) = \sum_{n\geq0}f_nz^n\) near its singularities transfers to the asymptotic behaviour of \(f_n\).
 

Analytic combinatorics is based on complex analysis and gives a framework for computing asymptotics automatically.

 

Asymptotics for algebraic generating functions is automatic* using tools from commutative algebra.


Asymptotics for D-finite generating functions can run up against the connection problem (even in practice).

 


 

Summary of Lecture 2

The behaviour of \(F(z) = \sum_{n\geq0}f_nz^n\) near its singularities transfers to the asymptotic behaviour of \(f_n\).
 

Analytic combinatorics is based on complex analysis and gives a framework for computing asymptotics automatically.

 

Asymptotics for algebraic generating functions is automatic* using tools from commutative algebra.


Asymptotics for D-finite generating functions can run up against the connection problem (even in practice).

 

D-algebraic asymptotics are undecidable in general.


 

Part 1
Multivariate Generating Functions and Diagonals

A univariate generating function \(F(z)\) tracks one parameter in a combinatorial class (the size of an object).

 

A multivariate generating function


$$ F(\mathbf{z})=F(z_1,\dots,z_d) = \sum_{i_1,\dots,i_d \geq 0}f_{i_1,\dots,i_d}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d}f_\mathbf{i} \mathbf{z}^\mathbf{i}$$
tracks multiple parameters.

 

Multivariate Generating Functions

A univariate generating function \(F(z)\) tracks one parameter in a combinatorial class (the size of an object).

 

A multivariate generating function


$$ F(\mathbf{z})=F(z_1,\dots,z_d) = \sum_{i_1,\dots,i_d \geq 0}f_{i_1,\dots,i_d}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d}f_\mathbf{i} \mathbf{z}^\mathbf{i}$$
tracks multiple parameters.

 

Multivariate GFs can be derived using tracking atoms.

Multivariate Generating Functions

Multivariate Generating Functions

Example (Binary Trees by Size and Leaves)

The class of (non-empty rooted planar) binary trees has the specification

 

$$\mathcal{B} \;\;=\;\; \underbrace{\mathcal{Z}}_\text{no children} +\;\; \underbrace{\mathcal{Z} \times \mathcal{B} \times \mathcal{E}}_\text{only left child} \;\; + \;\; \underbrace{\mathcal{Z} \times \mathcal{E} \times \mathcal{B}}_\text{only right child} \;\; + \;\; \underbrace{\mathcal{Z} \times \mathcal{B}^2}_\text{two children}$$

Example (Binary Trees by Size and Leaves)

The class of (non-empty rooted planar) binary trees has the specification

 

$$\mathcal{B} \;\;=\;\; \underbrace{\mathcal{Z}}_\text{no children} +\;\; \underbrace{\mathcal{Z} \times \mathcal{B} \times \mathcal{E}}_\text{only left child} \;\; + \;\; \underbrace{\mathcal{Z} \times \mathcal{E} \times \mathcal{B}}_\text{only right child} \;\; + \;\; \underbrace{\mathcal{Z} \times \mathcal{B}^2}_\text{two children}$$

Multivariate Generating Functions

If \(\mu\) marks leaves then

$$\mathcal{B} \;\;=\;\; \mu \times \mathcal{Z} \;\;+\;\; \mathcal{Z} \times \mathcal{B} \times \mathcal{E} \;\; + \;\; \mathcal{Z} \times \mathcal{E} \times \mathcal{B} \;\; + \;\; \mathcal{Z} \times \mathcal{B}^2$$
and
$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2.$$

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$

Multivariate Generating Functions

# We can define multivariate series in Sage
# However this enumerates by total degree
sage: S.<u, z> = LazyPowerSeriesRing(QQ)
sage: B        = S.undefined()
sage: B.define(u*z + 2*z*B + z*B^2)
sage: B
> u*z + 2*u*z^2 + 4*u*z^3 + (u^2*z^3+8*u*z^4) 
      + (6*u^2*z^4+16*u*z^5) + O(u,z)^7

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$

Multivariate Generating Functions

# Instead define series in z whose coefficients 
# are polynomials in u
sage: S.<u> = QQ['u']
sage: T.<z> = LazyPowerSeriesRing(S)
sage: B     = T.undefined()
sage: B.define(u*z + 2*z*B + z*B^2)
sage: B
> u*z + 2*u*z^2 + ((u^2+4*u)*z^3) + ((6*u^2+8*u)*z^4) 
      + ((2*u^3+24*u^2+16*u)*z^5) 
      + ((20*u^3+80*u^2+32*u)*z^6) 
      + O(z^7)

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$

Multivariate Generating Functions

# Find [z^3]B(u,z)
sage: B[3]
> u^2 + 4*u

# Print out the trees of size 3 and leaf counts
sage: def count_leaves(t): return str(t).count('[., .]')
sage: print(ascii_art(list(BinaryTrees(3))))
sage: print([count_leaves(k) for k in BinaryTrees(3)])
[ o    , o  ,   o  ,   o,     o ]
[  \      \    / \    /      /  ]
[   o      o  o   o  o      o   ]
[    \    /           \    /    ]
[     o  o             o  o     ]
[ 1,     1,     2,     1,     1 ]

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$

Multivariate Generating Functions

# Number of leaves approaches a normal distribution
point([[k,B[400][k]] for k in range(50,150)])

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$
Note: In this case we can solve the quadratic to get

$$ B(u,z) = \frac{1-2z-\sqrt{1-4z-4(u-1)z^2}}{2z}$$
 

Multivariate Generating Functions

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$
Note: In this case we can solve the quadratic to get

$$ B(u,z) = \frac{1-2z-\sqrt{1-4z-4(u-1)z^2}}{2z}$$

In the multivariate case asymptotic behaviour of \([u^rz^s]B(u,z)\) depends on how \(r\) and \(s\) go to infinity.


 

Multivariate Generating Functions

Example (Binary Trees by Size and Leaves)

$$ B(u,z) = uz + 2zB(u,z) + zB(u,z)^2$$
Note: In this case we can solve the quadratic to get

$$ B(u,z) = \frac{1-2z-\sqrt{1-4z-4(u-1)z^2}}{2z}$$

In the multivariate case asymptotic behaviour of \([u^rz^s]B(u,z)\) depends on how \(r\) and \(s\) go to infinity.


Interesting behaviour usually happens when indices go to infinity at a proportional rate.

Multivariate Generating Functions

We can use a multivariate generating function to track the number of coins and which coins we use to make change for \(n\) euro cents.

Coin Change Problem

sage: S.<a,b,c,d,e,f,g,h> = QQ['a,b,c,d,e,f,g,h']
sage: T.<z> = LazyPowerSeriesRing(S)

sage: H = (1-a*z) * (1-b*z^2) * (1-c*z^5) * (1-d*z^10) 
        * (1-e*z^20) * (1-f*z^50) * (1-g*z^100) 
        * (1-h*z^200)
      
sage: F = 1/H
sage: F[10]
> a^10 + a^8*b + a^6*b^2 + a^4*b^3 + a^2*b^4 + a^5*c 
  + b^5 + a^3*b*c + a*b^2*c + c^2 + d

Consider the \(d\)-variate series
 

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}\mathbf{z}^{\mathbf{i}}$$
 

The \(\color{violet}\mathbf{r}-\)diagonal sequence of \(F\) consists of the coefficients
 

$$(f_{n\mathbf{r}}) = f_{\mathbf{0}}, f_\mathbf{r}, f_{2\mathbf{r}},\dots $$
Note: The coefficient is only defined if \(n\mathbf{r}\in\mathbb{N^d}\).

Multivariate Diagonals

Consider the \(d\)-variate series
 

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}\mathbf{z}^{\mathbf{i}}$$
 

 \((1,1)-\)Diagonal (Main Diagonal)

 

$$\begin{aligned} F(x, y) &= \frac{1}{1 - x - y} \\[+4mm] &= 1 + x + y + 2xy + x^2 + y^2 + 3x^2y + 3xy^2 + y^3 + 6x^2y^2 + \cdots \end{aligned}$$

Multivariate Diagonals

Consider the \(d\)-variate series
 

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}\mathbf{z}^{\mathbf{i}}$$
 

 \((2,1)-\)Diagonal

 

$$\begin{aligned} F(x, y) &= \frac{1}{1 - x - y} \\[+4mm] &= 1 + x + y + 2xy + x^2 + y^2 + 3x^2y  + \cdots + 15x^4y^2 + \cdots \end{aligned}$$

Multivariate Diagonals

Consider the \(d\)-variate series
 

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}z_1^{i_1}\cdots z_d^{i_d} = \sum_{\mathbf{i}\in\mathbb{N}^d} f_{\mathbf{i}}\mathbf{z}^{\mathbf{i}}$$
 

We write

$$ (\Delta_{\mathbf{r}}F)(t) = \sum_{n \geq 0}f_{n\mathbf{r}}t^n $$
and use the shorthand \(\Delta F = \Delta_\mathbf{1} F\) for the main diagonal.

Multivariate Diagonals

Useful encodings for interesting univariate sequences

Uniform asymptotics over most directions

Yield combinatorial limit theorems in applications

 


 

Analytic combinatorics in several variables (ACSV) relates analytic properties of a multivariate generating function to asymptotic properties of its diagonal coefficient sequences

Why Diagonals?

Consider the number \(w_n\) of walks in \(\mathbb{N}^2\) on the steps N-SE-SW.
Its GF is D-finite but runs into the connection problem.

We can show \(\displaystyle w_n = {\color{pink}\lambda_1} \cdot \frac{3^n}{\sqrt{n}}(1+\cdots) + O((2\sqrt{2})^n)\) where \({\color{pink}|\lambda_1|<10^{-1000}}\)

How can we (automatically) prove \({\color{pink}\lambda_1=0}\)?

sage: ini = [1,1,2,3,8,15,39]
sage: deq = (196608*z^16 - 4096*z^15 - 106496*z^14 + 90112*z^13 + 4096*z^12 + 16192*z^11 + 3776*z^10 - 4736*z^9 - 560*z^8 - 124*z^7 - 33*z^6 + 52*z^5 + 7*z^4 - 2*z^3)*Dz^4 + (3145728*z^15 - 462848*z^14 - 1073152*z^13 + 1252352*z^12 + 192512*z^11 + 370112*z^10 + 76800*z^9 - 58176*z^8 - 11152*z^7 - 2468*z^6 - 968*z^5 + 518*z^4 + 90*z^3 - 22*z^2)*Dz^3 + (14155776*z^14 - 3870720*z^13 - 2199552*z^12 + 4733952*z^11 + 1582080*z^10 + 2059392*z^9 + 525696*z^8 - 164256*z^7 - 47904*z^6 - 9648*z^5 - 5508*z^4 + 1236*z^3 + 306*z^2 - 60*z)*Dz^2 + (18874368*z^13 - 7544832*z^12 + 294912*z^11 + 5081088*z^10 + 3201024*z^9 + 3148416*z^8 + 1068864*z^7 - 68832*z^6 - 41136*z^5 - 5520*z^4 - 7584*z^3 + 648*z^2 + 276*z - 36)*Dz + 4718592*z^12 - 2482176*z^11 + 811008*z^10 + 964608*z^9 + 1075200*z^8 + 880128*z^7 + 387648*z^6 + 31296*z^5 + 6864*z^4 + 3024*z^3 - 1320*z^2 + 72*z + 36

sage: bound_coefficients(deq, ini, prec=20)
> 1.00000 * 3^n 
*(([+/- 1.56e-12] + [+/- 1.56e-12]*I)*n^(-1/2) 
+ ([+/- 3.21e-12] + [+/- 3.21e-12]*I)*n^(-3/2) 
+ ([+/- 8.71e-12] + [+/- 8.71e-12]*I)*n^(-5/2) 
+ B([2.18961e+7  +/- 68.1]*n^(-7/2), n >= 10))

EX: N, SE, SW Walks

The GF of \(w_n\) can also be represented as

 

$$W(t) = \Delta \left(\frac{(1 + x)(2zx^2y^2 + 2zy^2 - 1)}{(-1 + y)(zx^2y^2 + zy^2 + zx - 1)(zx^2y^2 + zy^2 - 1)}\right)$$

EX: N, SE, SW Walks

The GF of \(w_n\) can also be represented as

 

$$W(t) = \Delta \left(\frac{(1 + x)(2zx^2y^2 + 2zy^2 - 1)}{(-1 + y)(zx^2y^2 + zy^2 + zx - 1)(zx^2y^2 + zy^2 - 1)}\right)$$

sage: from sage_acsv import diagonal_asymptotics_combinatorial 
                         as diagonal
sage: var('x,y')
sage: G = (1 + x)*(2*z*x^2*y^2 + 2*z*y^2 - 1)
sage: H = (-1 + y)*(z*x^2*y^2 + z*y^2 + z*x - 1)
                  *(z*x^2*y^2 + z*y^2 - 1)

sage: diagonal(F, expansion_precision=2)
> 32.97056274847714?/pi    * 2.828427124746190?^n    * n^(-2) 
  + 0.9705627484771406?/pi * (-2.828427124746190?)^n * n^(-2) 
  + O(2.828427124746190?^n*n^(-3))

EX: N, SE, SW Walks

GF tracking divisions
and polynomial degree
in Euclidean Algorithm
over \(\mathbb{F}_p[x]\) is

 

$$F(u,z) = \frac{1}{1-pz-p(p-1)uz}$$
(Flajolet and Sedgewick Ex. IX.15)

sage: from sage_acsv import central_limit_theorem_combinatorial 
                         as CLT
sage: CLT(1/(1-3*z-6*u*z), z, as_symbolic=True) # p = 3
> 3/2*9^n*e^(1/4*(6*n-9*s0)*(-2/3*n+s0)/n)/(sqrt(pi)*sqrt(n))

Automated Limit Theorems

Ubiquity of Diagonals

analysis of data structures

quantum information theory

DNA synthesis encoding

quantum thermodynamics

analysis of online logistic regression algorithms

analysis of high-dimensional fast FFT

random group theory

bioinformatic sequence alignment

studies of stable and random polynomials

loop models

the Ising model

arctic curves for dimers and Aztec diamonds

sampling perfect matchings in bipartite graphs

boson unitary operators

chemical reaction networks

polymer systems

Click here for Google Scholar page tracking citations to ACSV

Topics in citing papers include:

Part 2
Complex Analysis of
Multivariate Rational Functions

Basic Notation 

Given a point \(\mathbf{a}\in\mathbb{C}^d\) and \(\mathbf{m}\in\mathbb{R}_{>0}^d\) we define the

  • open polydisk centered at \(\mathbf{a}\) with radius \(\mathbf{m}\) 
     

$$D_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|<m_1, \;\dots,\; |z_d-a_d|<m_d\right\}$$

  • torus centered at \(\mathbf{a}\) with radius \(\mathbf{m}\)
     

$$T_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|=m_1, \;\dots,\; |z_d-a_d|=m_d\right\}$$

Basic Notation 

Given a point \(\mathbf{a}\in\mathbb{C}^d\) and \(\mathbf{m}\in\mathbb{R}_{>0}^d\) we define the

  • open polydisk centered at \(\mathbf{a}\) with radius \(\mathbf{m}\) 
     

$$D_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|<m_1, \;\dots,\; |z_d-a_d|<m_d\right\}$$

  • torus centered at \(\mathbf{a}\) with radius \(\mathbf{m}\)
     

$$T_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|=m_1, \;\dots,\; |z_d-a_d|=m_d\right\}$$

Note: When \(d>1\) the torus \(T_\mathbf{a}(\mathbf{m})\) is a subset of \(\partial D_\mathbf{a}(\mathbf{m})\).

Basic Notation 

Given a point \(\mathbf{a}\in\mathbb{C}^d\) and \(\mathbf{m}\in\mathbb{R}_{>0}^d\) we define the

  • open polydisk centered at \(\mathbf{a}\) with radius \(\mathbf{m}\) 
     

$$D_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|<m_1, \;\dots,\; |z_d-a_d|<m_d\right\}$$

  • torus centered at \(\mathbf{a}\) with radius \(\mathbf{m}\)
     

$$T_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|=m_1, \;\dots,\; |z_d-a_d|=m_d\right\}$$

Note: If \(\mathbf{a}=\mathbf{0}\) we just write \(D(\mathbf{m})\) and \(T(\mathbf{m})\).

Basic Notation 

Given a point \(\mathbf{a}\in\mathbb{C}^d\) and \(\mathbf{m}\in\mathbb{R}_{>0}^d\) we define the

  • open polydisk centered at \(\mathbf{a}\) with radius \(\mathbf{m}\) 
     

$$D_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|<m_1, \;\dots,\; |z_d-a_d|<m_d\right\}$$

  • torus centered at \(\mathbf{a}\) with radius \(\mathbf{m}\)
     

$$T_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|=m_1, \;\dots,\; |z_d-a_d|=m_d\right\}$$

Note: For any \(\mathbf{w}\in\mathbb{C}_*^d\) with non-zero coordinates we define

$$ D(\mathbf{w}) = \left\{\mathbf{z}\in \mathbb{C}^d : |z_1|<|w_1|,\; \dots,\; |z_d|<|w_d| \right\}$$

Basic Notation 

Given a point \(\mathbf{a}\in\mathbb{C}^d\) and \(\mathbf{m}\in\mathbb{R}_{>0}^d\) we define the

  • open polydisk centered at \(\mathbf{a}\) with radius \(\mathbf{m}\) 
     

$$D_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|<m_1, \;\dots,\; |z_d-a_d|<m_d\right\}$$

  • torus centered at \(\mathbf{a}\) with radius \(\mathbf{m}\)
     

$$T_{\mathbf{a}}(\mathbf{m}) = \left\{\mathbf{z}\in\mathbb{C}^d : |z_1-a_1|=m_1, \;\dots,\; |z_d-a_d|=m_d\right\}$$

Note: For any \(\mathbf{w}\in\mathbb{C}_*^d\) with non-zero coordinates we define

$$ T(\mathbf{w}) = \left\{\mathbf{z}\in \mathbb{C}^d : |z_1|=|w_1|,\; \dots,\; |z_d|=|w_d| \right\}$$

Analytic Functions

Cauchy (1831) and Jordan (1893): \(F(\mathbf{z})\) is analytic if it is analytic in each variable separately.

 

 

 

 

Analytic Functions

Cauchy (1831) and Jordan (1893): \(F(\mathbf{z})\) is analytic if it is analytic in each variable separately.

 

Weierstrass (1860/70s) and Poincaré (1879): \(F(\mathbf{z})\) is analytic if it has a convergent multivariate series representation.

 

 

Analytic Functions

Cauchy (1831) and Jordan (1893): \(F(\mathbf{z})\) is analytic if it is analytic in each variable separately.

 

Weierstrass (1860/70s) and Poincaré (1879): \(F(\mathbf{z})\) is analytic if it has a convergent multivariate series representation.

 

Osgood (1899) + Hartogs (1905): These are equivalent.

 

Analytic Functions

Cauchy (1831) and Jordan (1893): \(F(\mathbf{z})\) is analytic if it is analytic in each variable separately.

 

Weierstrass (1860/70s) and Poincaré (1879): \(F(\mathbf{z})\) is analytic if it has a convergent multivariate series representation.

 

Osgood (1899) + Hartogs (1905): These are equivalent.

 

Bottazzini and Gray (2013): Nice history of complex analysis

Analytic Functions

We say \(F:\mathbb{C}^d \rightarrow \mathbb{C}\) is analytic at \(\mathbf{a}\in\mathbb{C}^d\) if there exists an absolutely and uniformly convergent series representation

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_\mathbf{i}(\mathbf{z}-\mathbf{a})^\mathbf{i}$$
on some polydisk \(D_\mathbf{a}(\mathbf{m})\) with radius \(\mathbf{m}\in\mathbb{R}_{>0}^d\).

 

Analytic Functions

We say \(F:\mathbb{C}^d \rightarrow \mathbb{C}\) is analytic at \(\mathbf{a}\in\mathbb{C}^d\) if there exists an absolutely and uniformly convergent series representation

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_\mathbf{i}(\mathbf{z}-\mathbf{a})^\mathbf{i}$$
on some polydisk \(D_\mathbf{a}(\mathbf{m})\) with radius \(\mathbf{m}\in\mathbb{R}_{>0}^d\).

Abel's Lemma: If \(\sum f_\mathbf{i}\mathbf{z}^\mathbf{i}\) converges at \(\mathbf{w}\) then it converges absolutely and uniformly on compact subsets of \(D(\mathbf{w})\).
 

Analytic Functions

We say \(F:\mathbb{C}^d \rightarrow \mathbb{C}\) is analytic at \(\mathbf{a}\in\mathbb{C}^d\) if there exists an absolutely and uniformly convergent series representation

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_\mathbf{i}(\mathbf{z}-\mathbf{a})^\mathbf{i}$$
on some polydisk \(D_\mathbf{a}(\mathbf{m})\) with radius \(\mathbf{m}\in\mathbb{R}_{>0}^d\).

Abel's Lemma: If \(\sum f_\mathbf{i}\mathbf{z}^\mathbf{i}\) converges at \(\mathbf{w}\) then it converges absolutely and uniformly on compact subsets of \(D(\mathbf{w})\).

Note: Absolute convergence implies we can sum in any order.

Absolute Convergence

Example
Whenever \(|x+y|<1\) we can write
 

$$ \frac{1}{1-x-y} = \sum_{n \geq 0}(x+y)^n = \sum_{n \geq 0}\sum_{k=0}^n\binom{n}{k}x^ky^{n-k}. $$

Absolute Convergence

Example
Whenever \(|x+y|<1\) we can write
 

$$ \frac{1}{1-x-y} = \sum_{n \geq 0}(x+y)^n = \sum_{n \geq 0}\sum_{k=0}^n\binom{n}{k}x^ky^{n-k}. $$
But we would like to rearrange and write
 

$$ \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i}x^iy^j.$$
This is not possible when (for instance) \(x=10\) and \(y=-9.5\).

Absolute Convergence

We have absolute convergence when \(|x|+|y|<1\) since

$$ \sum_{i,j \geq 0}\binom{i+j}{i}|x|^i|y|^j = \frac{1}{1-|x|-|y|}$$

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

 

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

Proposition: The (absolute) domain of convergence \(\mathcal{D}\) of a multivariate power series around the origin is log-convex.

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

Proposition: The (absolute) domain of convergence \(\mathcal{D}\) of a multivariate power series around the origin is log-convex.

Q: How do we characterize \(\mathcal{D}\)?

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

Proposition: The (absolute) domain of convergence \(\mathcal{D}\) of a multivariate power series around the origin is log-convex.

Q: How do we characterize \(\partial\mathcal{D}\)?

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

Proposition: The (absolute) domain of convergence \(\mathcal{D}\) of a multivariate power series around the origin is log-convex.

Q: How do we characterize \(\partial\log(\mathcal{D})\)?

Domains of Convergence

The real-logarithm (Relog) map from \(\mathbb{C}_*^d\) to \(\mathbb{R}^d\) is

$$ \text{Relog}(\mathbf{z}) = {\Big(}\log |z_1|, \, \log |z_2|, \, \dots, \, \log |z_d|{\Big)} $$

 

A set \(\Omega \subset \mathbb{C}^d\) is called log-convex if \(\text{Relog}(\Omega)\) is convex.

 

Proposition: The (absolute) domain of convergence \(\mathcal{D}\) of a multivariate power series around the origin is log-convex.

Q: How do we characterize \(\partial\log(\mathcal{D})\)?

A: Complex analysis in several variables.

Multivariate CIF

Theorem

Suppose \(F\) is analytic on a domain \(\Omega \subset \mathbb{C}^d\) and \(\overline{D(\mathbf{m})} \subset \Omega\). If

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_\mathbf{i}\mathbf{z}^\mathbf{i} $$
on \(D(\mathbf{m})\) then, for all \(\mathbf{i}\in\mathbb{N}^d\),

$$ f_\mathbf{i} = \frac{1}{(2\pi i)^d} \int_{T(\mathbf{m})} \frac{F(\mathbf{z})}{\mathbf{z}^{\mathbf{i}+\mathbf{1}}}  d\mathbf{z}.$$
 

Multivariate CIF

Theorem

Suppose \(F\) is analytic on a domain \(\Omega \subset \mathbb{C}^d\) and \(\overline{D(\mathbf{m})} \subset \Omega\). If

$$ F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{N}^d} f_\mathbf{i}\mathbf{z}^\mathbf{i} $$
on \(D(\mathbf{m})\) then, for all \(\mathbf{i}\in\mathbb{N}^d\),

$$ f_\mathbf{i} = \frac{1}{(2\pi i)^d} \int_{T(\mathbf{m})} \frac{F(\mathbf{z})}{\mathbf{z}^{\mathbf{i}+\mathbf{1}}}  d\mathbf{z}.$$
Note: We integrate over product of circles. This is nice, but not a boundary like when \(d=1\).

Multivariate Poles

Suppose \(G\) and \(H\) analytic in a domain \(\Omega \subset\mathbb{C}^d\) with \(H \not\equiv 0\).


We say that \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) has a (pole) singularity 
at \(\mathbf{z}=\mathbf{a}\) if \(|F(\mathbf{z})|\) is unbounded in any neighbourhood of \(\mathbf{a}\).

Multivariate Poles

Suppose \(G\) and \(H\) analytic in a domain \(\Omega \subset\mathbb{C}^d\) with \(H \not\equiv 0\).


We say that \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) has a (pole) singularity 
at \(\mathbf{z}=\mathbf{a}\) if \(|F(\mathbf{z})|\) is unbounded in any neighbourhood of \(\mathbf{a}\).


Example
\(F(x,y)=(x+y)/(x-y)\) has a pole whenever \(x=y\).

Multivariate Poles

Suppose \(G\) and \(H\) analytic in a domain \(\Omega \subset\mathbb{C}^d\) with \(H \not\equiv 0\).


We say that \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) has a (pole) singularity 
at \(\mathbf{z}=\mathbf{a}\) if \(|F(\mathbf{z})|\) is unbounded in any neighbourhood of \(\mathbf{a}\).


Example
\(F(x,y)=(x+y)/(x-y)\) has a pole whenever \(x=y\).

Note that \(x+y\) and \(x-y\) vanish at \((0,0)\) but

$$ F\left(\frac{1}{n}+\frac{1}{n^2},\frac{1}{n}\right) = 2n+1 \rightarrow \infty \qquad (n\rightarrow\infty)$$

Rational Poles

Proposition

If \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) is the ratio of coprime polynomials then the singular set of \(F\) is the singular variety

$$\mathcal{V} = \{\mathbf{z}\in\mathbb{C}^d : H(\mathbf{z})=0\}.$$

 

Rational Poles

Proposition

If \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) is the ratio of coprime polynomials then the singular set of \(F\) is the singular variety

$$\mathcal{V} = \{\mathbf{z}\in\mathbb{C}^d : H(\mathbf{z})=0\}.$$

Note: A similar result holds for analytic functions using local rings to define coprimality.

Rational Poles

Proposition

If \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) is the ratio of coprime polynomials then the singular set of \(F\) is the singular variety

$$\mathcal{V} = \{\mathbf{z}\in\mathbb{C}^d : H(\mathbf{z})=0\}.$$

Note: A similar result holds for analytic functions using local rings to define coprimality.

Proposition
When \(d\geq2\), meromorphic functions have no isolated singularities.

Minimal Points

Corollary of Multivariate CIF

Let \(F=\sum f_\mathbf{i}\mathbf{z}^\mathbf{i}\) have domain of convergence \(\mathcal{D}\). If \(\mathbf{w}\in\partial\mathcal{D}\) then there exists a singularity \(\mathbf{v}\) of \(F\) with \(|v_j|=|w_j|\) for all \(j\).

 

A minimal point of \(F\) is an element of \(\partial \mathcal{D} \cap \mathcal{V}\).


 

Minimal Points

Corollary of Multivariate CIF

Let \(F=\sum f_\mathbf{i}\mathbf{z}^\mathbf{i}\) have domain of convergence \(\mathcal{D}\). If \(\mathbf{w}\in\partial\mathcal{D}\) then there exists a singularity \(\mathbf{v}\) of \(F\) with \(|v_j|=|w_j|\) for all \(j\).

 

A minimal point of \(F\) is an element of \(\partial \mathcal{D} \cap \mathcal{V}\).


Note:  The point \(\mathbf{w}\in\mathcal{V}\) is minimal if and only if there does not exist \(\mathbf{v}\in\mathcal{V}\) with \(|v_j|<|w_j|\) for all \(j\).

Minimal Points

Example

Recall the domain of convergence

$$\mathcal{D} = \{(x,y) \in \mathbb{C}^d : |x|+|y|<1\}$$
for the series

 

$$ F(x,y) = \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i}x^i y^j.$$
 

Minimal Points

Example

Recall the domain of convergence

$$\mathcal{D} = \{(x,y) \in \mathbb{C}^d : |x|+|y|<1\}$$
for the series

 

$$ F(x,y) = \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i}x^i y^j.$$
 

Minimal Points

Example

Recall the domain of convergence

$$\mathcal{D} = \{(x,y) \in \mathbb{C}^d : |x|+|y|<1\}$$
for the series

 

$$ F(x,y) = \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i}x^i y^j.$$
If \(|x|+|y| = 1\) and \(x+y=1\) then \(x\) and \(y\) must be real and positive, so the minimal points are \(\{(x,1-x) : 0 \leq x \leq 1\}\).

Minimal Points

Example

Recall the domain of convergence

$$\mathcal{D} = \{(x,y) \in \mathbb{C}^d : |x|+|y|<1\}$$
for the series

 

$$ F(x,y) = \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i}x^i y^j.$$
If \(|x|+|y| = 1\) and \(x+y=1\) then \(x\) and \(y\) must be real and positive, so the minimal points are \(\{(x,1-x) : 0 \leq x \leq 1\}\).

Polynomial Amoebas

How can we visualize \(\mathcal{D}\) in \(\mathbb{C}^d\)?

 

 

 

Polynomial Amoebas

How can we visualize \(\mathcal{D}\) in \(\mathbb{C}^d\)?

 

Step 1) Take coordinate-wise moduli to lie in \(\mathbb{R}^d\)

 

 

 

Polynomial Amoebas

How can we visualize \(\mathcal{D}\) in \(\mathbb{C}^d\)?

 

Step 1) Take coordinate-wise moduli to lie in \(\mathbb{R}^d\)

 

Step 2) Take coordinate-wise logarithms

 

Polynomial Amoebas

How can we visualize \(\mathcal{D}\) in \(\mathbb{C}^d\)?

 

Step 1) Take coordinate-wise moduli to lie in \(\mathbb{R}^d\)

 

Step 2) Take coordinate-wise logarithms

 


The amoeba of a polynomial \(H(\mathbf{z})\) is

$$ \displaystyle \text{amoeba}(H) = \left\{\text{Relog}(\mathbf{z}): \mathbf{z}\in\mathbb{C}_*^d \text{ and } H(\mathbf{z})=0\right\}. $$
Let \(\mathcal{D} = \) domain of convergence of \(1/H\).

Polynomial Amoebas

Figure from Discriminants, Resultants, and Multidimensional Determinants, Gelfand, Kapranov, and Zelevinsky, 1994.

$$\text{amoeba}(1-x-y)$$
 

$$\text{amoeba}(1-x-y)$$
 

\(\text{Relog}(\mathcal{D})\)

$$\text{amoeba}(1-x-y)$$
 

\(\partial\text{Relog}(\mathcal{D})\)

$$\text{amoeba}(1 - x - y - 6xy - x^2y^2)$$

\(\text{Relog}(\mathcal{D})\)

$$\text{amoeba}(1 - x - y - 6xy - x^2y^2)$$

\(\partial\text{Relog}(\mathcal{D})\)

Amoeba Complements

The components of \(\text{amoeba}(H)^c\) are convex subsets of \(\mathbb{R}^d\).

One of them corresponds to \(\text{Relog}(\mathcal{D})\).


 

What do the other components represent?

 

 

Amoeba Complements

The components of \(\text{amoeba}(H)^c\) are convex subsets of \(\mathbb{R}^d\).

One of them corresponds to \(\text{Relog}(\mathcal{D})\).


 

What do the other components represent?

 

Domains of convergence of other Laurent expansions!

Amoeba Complements

The components of \(\text{amoeba}(H)^c\) are convex subsets of \(\mathbb{R}^d\).

One of them corresponds to \(\text{Relog}(\mathcal{D})\).


 

What do the other components represent?

 

Domains of convergence of other Laurent expansions!

 

One rational function naturally encodes several convergent Laurent expansions.

Laurent Expansions

Example
The geometric series formula implies

 

$$ \frac{1}{1-z} = \sum_{n \geq 0}z^n \qquad {\big(}|z|<1{\big)} $$
 

Laurent Expansions

Example
The geometric series formula implies

 

$$ \frac{1}{1-z} = \sum_{n \geq 0}z^n \qquad {\big(}|z|<1{\big)} $$
but it also implies

$$ \frac{1}{1-z} = \frac{-1/z}{1-1/z} = -\sum_{n \geq 0}z^{-n-1} \qquad {\big(}|z|>1{\big)} $$

Laurent Expansions

Example
The geometric series formula implies

 

$$ \frac{1}{1-z} = \sum_{n \geq 0}z^n \qquad {\big(}|z|<1{\big)} $$
but it also implies

$$ \frac{1}{1-z} = \frac{-1/z}{1-1/z} = -\sum_{n \geq 0}z^{-n-1} \qquad {\big(}|z|>1{\big)} $$
Note: Different series have disjoint domains of convergence.

Laurent Expansions

Example
We have seen the expansion

 

$$ \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i} x^iy^j \qquad {\big(}|x|+|y|<1{\big)} $$
but there are also expansions

 

Laurent Expansions

Example
We have seen the expansion

 

$$ \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i} x^iy^j \qquad {\big(}|x|+|y|<1{\big)} $$
but there are also expansions

$$ \begin{aligned} \frac{-1/x}{1-(1-y)/x} &= \sum_{i,j \geq 0}\binom{j}{i}(-1)^{i+1}x^{-j-1}y^i \qquad {\big(}1+|y|<|x|{\big)} \end{aligned}$$

Laurent Expansions

Example
We have seen the expansion

 

$$ \frac{1}{1-x-y} = \sum_{i,j \geq 0}\binom{i+j}{i} x^iy^j \qquad {\big(}|x|+|y|<1{\big)} $$
but there are also expansions

$$ \begin{aligned} \frac{-1/x}{1-(1-y)/x} &= \sum_{i,j \geq 0}\binom{j}{i}(-1)^{i+1}x^{-j-1}y^i \qquad {\big(}1+|y|<|x|{\big)} \\[+6mm] \frac{-1/y}{1-(1-x)/y} &= \sum_{i,j \geq 0}\binom{j}{i}(-1)^{i+1}x^iy^{-j-1} \qquad {\big(}1+|x|<|y|{\big)} \end{aligned}$$

$$\text{amoeba}(1-x-y)$$
 

$$ \sum_{i,j \geq 0}\binom{i+j}{i} x^iy^j $$

$$ \sum_{i,j \geq 0}\binom{j}{i}(-1)^{i+1}x^{-j-1}y^i $$

$$ \sum_{i,j \geq 0}\binom{j}{i}(-1)^{i+1}x^iy^{-j-1} $$

$$\text{amoeba}(1-x-y)$$
 

Laurent Expansions

Theorem (GKZ 1994)

If \(G\) and \(H\) are coprime polynomials then the convergent Laurent expansions of \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) are in bijection with the connected components of \(\text{amoeba}(H)^c\). 

 

 

Laurent Expansions

\(\mathcal{D} = \text{Relog}^{-1}(B)\) then

$$ f_\mathbf{i} = \frac{1}{(2\pi i)^d} \int_{T(\mathbf{z})} \frac{F(\mathbf{z})}{\mathbf{z}^{\mathbf{i} + \mathbf{1}}} \, d\mathbf{z}$$
for any \(\mathbf{z} \in \mathcal{D}\).

Theorem (GKZ 1994)

If \(G\) and \(H\) are coprime polynomials then the convergent Laurent expansions of \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) are in bijection with the connected components of \(\text{amoeba}(H)^c\). 

 

If the domain of convergence of the series \(\displaystyle F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{Z}^d} f_{\mathbf{i}}\mathbf{z}^\mathbf{i}\) is

Laurent Expansions

\(\mathcal{D} = \text{Relog}^{-1}(B)\) then

$$ f_\mathbf{i} = \frac{1}{(2\pi i)^d} \int_{\color{red}T(\mathbf{z})} \frac{F(\mathbf{z})}{\mathbf{z}^{\mathbf{i} + \mathbf{1}}} \, d\mathbf{z}$$
for any \(\mathbf{z} \in \mathcal{D}\).

Theorem (GKZ 1994)

If \(G\) and \(H\) are coprime polynomials then the convergent Laurent expansions of \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) are in bijection with the connected components of \(\text{amoeba}(H)^c\). 

 

If the domain of convergence of the series \(\displaystyle F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{Z}^d} f_{\mathbf{i}}\mathbf{z}^\mathbf{i}\) is

Laurent Expansions

Theorem (GKZ 1994)

If \(G\) and \(H\) are coprime polynomials then the convergent Laurent expansions of \(F(\mathbf{z})=G(\mathbf{z})/H(\mathbf{z})\) are in bijection with the connected components of \(\text{amoeba}(H)^c\). 

 

If the domain of convergence of the series \(\displaystyle F(\mathbf{z}) = \sum_{\mathbf{i}\in\mathbb{Z}^d} f_{\mathbf{i}}\mathbf{z}^\mathbf{i}\) is

\(\mathcal{D} = \text{Relog}^{-1}(B)\) then

$$ f_\mathbf{i} = \frac{1}{(2\pi i)^d} \int_{\color{red}\text{Relog}^{-1}(\mathbf{x})} \frac{F(\mathbf{z})}{\mathbf{z}^{\mathbf{i} + \mathbf{1}}} \, d\mathbf{z}$$
for any \(\mathbf{x} \in B\).

\((1 - x - y - 6xy - x^2y^2)^{-1}\) has 5 convergent Laurent expansions

Plotting Amoebas

We can approximate \(\text{amoeba}(H)\) by taking many roots \(H(a,b)=0\) and plotting \((\log|a|,\log|b|)\).

 

Can we do better?

 

 

Plotting Amoebas

We can approximate \(\text{amoeba}(H)\) by taking many roots \(H(a,b)=0\) and plotting \((\log|a|,\log|b|)\).

 

Can we do better?

 

Corollary of Multivariate CIF

If \(\mathbf{x} \in \partial \text{amoeba}(H)\) then \(\mathbf{x} = \text{Relog}(\mathbf{w})\) for some \(\mathbf{w}\in\mathcal{V}\).

Plotting Amoebas

We can approximate \(\text{amoeba}(H)\) by taking many roots \(H(a,b)=0\) and plotting \((\log|a|,\log|b|)\).

 

Can we do better?

 

Corollary of Multivariate CIF

If \(\mathbf{x} \in \partial \text{amoeba}(H)\) then \(\mathbf{x} = \text{Relog}(\mathbf{w})\) for some \(\mathbf{w}\in\mathcal{V}\).
 

Minimal points are defined by \(\mathcal{V} \cap \partial \mathcal{D}\) for each expansion.

 

Plotting Amoebas

We can approximate \(\text{amoeba}(H)\) by taking many roots \(H(a,b)=0\) and plotting \((\log|a|,\log|b|)\).

 

Can we do better?

 

Corollary of Multivariate CIF

If \(\mathbf{x} \in \partial \text{amoeba}(H)\) then \(\mathbf{x} = \text{Relog}(\mathbf{w})\) for some \(\mathbf{w}\in\mathcal{V}\).
 

Minimal points are defined by \(\mathcal{V} \cap \partial \mathcal{D}\) for each expansion.


How can we characterize minimal points?

Amoeba Contours

Given \(f: \mathbb{C}^d \rightarrow \mathbb{C}\) we define the logarithmic gradient
 

$$ (\nabla_{\text{log}}f)(\mathbf{z}) = {\big(}z_1f_{z_1},\dots,z_df_{z_d}{\big)}$$
Theorem (Mikhalkin 2000)
If \(\mathbf{w} \in \mathcal{V} \cap \partial \mathcal{D}\) then \((\nabla_{\text{log}}H)(\mathbf{w})\) is a multiple of a real vector.

 

Amoeba Contours

Given \(f: \mathbb{C}^d \rightarrow \mathbb{C}\) we define the logarithmic gradient
 

$$ (\nabla_{\text{log}}f)(\mathbf{z}) = {\big(}z_1f_{z_1},\dots,z_df_{z_d}{\big)}$$
Theorem (Mikhalkin 2000)
If \(\mathbf{w} \in \mathcal{V} \cap \partial \mathcal{D}\) then \((\nabla_{\text{log}}H)(\mathbf{w})\) is a multiple of a real vector.

Corollary: The contour

$$\mathcal{C}(H) = \left\{\text{Relog}(\mathbf{z}) : H(\mathbf{z})=0 \text{ and } (\nabla_{\text{log}}H)(\mathbf{z})=\lambda \mathbf{v} \text{ for some } \mathbf{v} \in \mathbb{R}^d\right\}$$
is a superset of the amoeba boundary.

Amoeba Contours

Given \(f: \mathbb{C}^d \rightarrow \mathbb{C}\) we define the logarithmic gradient
 

$$ (\nabla_{\text{log}}f)(\mathbf{z}) = {\big(}z_1f_{z_1},\dots,z_df_{z_d}{\big)}$$
Theorem (Mikhalkin 2000)
If \(\mathbf{w} \in \mathcal{V} \cap \partial \mathcal{D}\) then \((\nabla_{\text{log}}H)(\mathbf{w})\) is a multiple of a real vector.

Theobold (2002): Use homotopy tracking to solve the system

$$ H(x,y) = 0 \qquad xH_x(x,y) = t \, yH_y(x,y) $$
and plot curves \((\log|x(t)|,\log|y(t)|)\) for \(t\in\mathbb{R}\).

\(\mathcal{C}(H)\)

$$1-x-y$$
 

\(\mathcal{C}(H)\)

$$1-x-y$$
 

\(\mathcal{C}(H)\)

$$1 - x - y - 6xy - x^2y^2$$

\(\mathcal{C}(H)\)

$$1 - x - y - 6xy - x^2y^2$$

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

\(\mathcal{C}(H)\)

\(\mathcal{C}(H)\)

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

$$(x^2y + xy^2 + x + y + 41xy/10)(1+x+y)$$

\(\mathcal{C}(H)\)

\(\mathcal{C}(H)\)

$$(x^2y + xy^2 + x + y + 41xy/10)(1+x+y)$$

Polytope - Amoeba Correspondence

Let \(\Omega\) be the set of connected components of \(\text{amoeba}(H)^c\).

The Newton polytope \(\mathcal{N}(H)\) is the convex hull of \(\text{support(H)}\).

 

 

 

 

$$\mathcal{N}(1-x-y)$$
 

$$\mathcal{N}(1 - x - y - 6xy - x^2y^2)$$

Let \(\Omega\) be the set of connected components of \(\text{amoeba}(H)^c\).

The Newton polytope \(\mathcal{N}(H)\) is the convex hull of \(\text{support(H)}\).

 

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
There is an injective map \(\nu\) from \(\Omega\) to the integer points of \(\mathcal{N}(H)\). Every vertex of \(\mathcal{N}(H)\) is in the image of \(\nu\).

 

 

Polytope - Amoeba Correspondence

Let \(\Omega\) be the set of connected components of \(\text{amoeba}(H)^c\).

The Newton polytope \(\mathcal{N}(H)\) is the convex hull of \(\text{support(H)}\).

 

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
There is an injective map \(\nu\) from \(\Omega\) to the integer points of \(\mathcal{N}(H)\). Every vertex of \(\mathcal{N}(H)\) is in the image of \(\nu\).

 

If \(\mathbf{x} \in B\) then \(\nu(B) \in \mathbb{Z}^d\) is the vector with entries

$$ \nu(B)_k = \frac{1}{(2\pi i)^d} \int_{\text{Relog}^{-1}(\mathbf{x})} \frac{z_kH_{z_k}(\mathbf{z})}{H(\mathbf{z})} \, \frac{d\mathbf{z}}{z_1\cdots z_d}.$$

Polytope - Amoeba Correspondence

$$1-x-y$$
 

Polytope - Amoeba Correspondence

$$1 - x - y - 6xy - x^2y^2$$

Polytope - Amoeba Correspondence

Polytope - Amoeba Correspondence

$$(x^2y + xy^2 + x + y + 41xy/10)(1+x+y)$$

Dual and Recession Cones

The dual cone to convex \(S \subset \mathbb{R}^d\) at \(\mathbf{v} \in S\) is the set of vectors \(\mathbf{x}\in\mathbb{R}^d\) such that \(\mathbf{x} \cdot \mathbf{v} \geq \mathbf{x} \cdot \mathbf{s}\) for all \(\mathbf{s}\in S\).

 

 

\(\mathbf{v}_1\)

\(\mathbf{v}_2\)

\(\mathbf{v}_3\)

The recession cone of convex \(B \subset \mathbb{R}^d\) is the set of vectors \(\mathbf{x}\in\mathbb{R}^d\) such that \(\mathbf{x} + \mathbf{b} \in B\) for all \(\mathbf{b}\in B\).

Dual and Recession Cones

\(B_1\)

\(B_2\)

\(B_3\)

Dual and Recession Cones

\(B_1\)

\(B_2\)

\(B_3\)

\(\mathbf{v}_1\)

\(\mathbf{v}_2\)

\(\mathbf{v}_3\)

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
If \(\nu(B) = \mathbf{v}\) then the recession cone of \(B\) equals the dual cone to \(\mathcal{N}(H)\) at \(\mathbf{v}\).

 

 

Dual and Recession Cones

\(B_1\)

\(B_2\)

\(B_3\)

\(\mathbf{v}_1\)

\(\mathbf{v}_2\)

\(\mathbf{v}_3\)

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
If \(\nu(B) = \mathbf{v}\) then the recession cone of \(B\) equals the dual cone to \(\mathcal{N}(H)\) at \(\mathbf{v}\).

 

This helps visualize the amoeba complement.


 

 

 

Dual and Recession Cones

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
If \(\nu(B) = \mathbf{v}\) then the recession cone of \(B\) equals the dual cone to \(\mathcal{N}(H)\) at \(\mathbf{v}\).

 

This helps visualize the amoeba complement.


Note: Interior points of \(\mathbb{Z}^d \cap \mathcal{N}\) correspond to the bounded components of \(\text{amoeba}(H)^c\).

 

 

Dual and Recession Cones

Theorem (GKZ 1994 / Forsberg, Passare, Tsikh 2000)
If \(\nu(B) = \mathbf{v}\) then the recession cone of \(B\) equals the dual cone to \(\mathcal{N}(H)\) at \(\mathbf{v}\).

 

This helps visualize the amoeba complement.


Note: Interior points of \(\mathbb{Z}^d \cap \mathcal{N}\) correspond to the bounded components of \(\text{amoeba}(H)^c\).

 

Note: Vertices of \(\mathbb{Z}^d \cap \mathcal{N}\) correspond to components of \(\text{amoeba}(H)^c\) whose recession cones have non-empty interior.

Dual and Recession Cones

Dual and Recession Cones

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

Dual and Recession Cones

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

Amoeba Tentacles

The amoeba "thins out" as it goes off to infinity.

 

How can we describe the limit directions (tentacles) in

 

$$ \lim_{M\rightarrow\infty} {\Big(} \frac{\text{amoeba}(H)}{M} \;\;\cap\;\; \text{unit sphere} {\Big)} $$

 

 

Amoeba Tentacles

The amoeba "thins out" as it goes off to infinity.

 

How can we describe the limit directions (tentacles) in

 

$$ \lim_{M\rightarrow\infty} {\Big(} \frac{\text{amoeba}(H)}{M} \;\;\cap\;\; \text{unit sphere} {\Big)} $$

 


They can be deduced from the normal fan of \(\mathcal{N}(H)\).

Amoeba Tentacles

The amoeba "thins out" as it goes off to infinity.

 

How can we describe the limit directions (tentacles) in

 

$$ \lim_{M\rightarrow\infty} {\Big(} \frac{\text{amoeba}(H)}{M} \;\;\cap\;\; \text{unit sphere} {\Big)} $$

 


They can be deduced from the normal fan of \(\mathcal{N}(H)\).

 

Theorem: The cone over the limit directions is the non-Archimedian tropical hypersurface \(\mathcal{T}(H)\) defined by \(H\).

Amoeba Tentacles

The amoeba "thins out" as it goes off to infinity.

 

How can we describe the limit directions (tentacles) in

 

$$ \lim_{M\rightarrow\infty} {\Big(} \frac{\text{amoeba}(H)}{M} \;\;\cap\;\; \text{unit sphere} {\Big)} $$

 


They can be deduced from the normal fan of \(\mathcal{N}(H)\).

 

“Tropical geometry is a combinatorial shadow of algebraic geometry.” -- Maclagan and Sturmfels (2015)

Amoeba Tentacles

The amoeba "thins out" as it goes off to infinity.

 

How can we describe the limit directions (tentacles) in

 

$$ \lim_{M\rightarrow\infty} {\Big(} \frac{\text{amoeba}(H)}{M} \;\;\cap\;\; \text{unit sphere} {\Big)} $$

 


They can be deduced from the normal fan of \(\mathcal{N}(H)\).

 

“Amoebas are shadows of algebraic varieties and tropical varieties are their combinatorial spirit.” -- Timo de Wolff (2017)

Amoeba Tentacles

$$\mathcal{T}(H)$$

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

$$\text{amoeba}(H)$$

Amoeba Tentacles

$$\mathcal{T}(H)$$

$$1 + 10(x^2y + xy^2 + x + y + 5xy)(1+x+y)$$

$$\text{amoeba}(H)$$

Amoeba Tentacles

$$1-x-y-z+xyz$$

Amoeba Software

Lopsided Approximation (de Wolff, 2016): Approximation based on lopsided amoebas and cyclic resultants.


 

PolynomialAmoebas.jl (Timme, 2018): Amoeba sketching using the Passare-Rullgård spine and polygon refinements.


 

amoebas.ru (Sadykov and Zhukov, 2023): Approximations based on growing parallelpipes in amoeba complements by numerically approximating jumps in the order map \(\nu(\mathbf{x})\).

Part 3
Properties of
Rational Diagonals 

Rational Diagonals

Now we focus on diagonals of rational functions.

 

Because we can increase dimension, the class of rational diagonals is more expressive than it may seem.

 

Recall decidability of asymptotics is known for algebraic functions and open for D-finite functions.

 

Diagonals fit into the interesting part of the hierarchy.

Generating Function Classes

Generating Function Classes

Bivariate Diagonals

Theorem

If \(F(x,y) = G(x,y)/H(x,y)\) is a bivariate rational function then \(\Delta F\) is algebraic.

 

Proof Idea

$$ \sum_{n \geq 0} f_{n,n}t^n = \left[x^{-1}\right] x^{-1} \sum_{i,n \geq 0} f_{i,n} x^{i-n}t^n = \frac{1}{2\pi i} \int_\mathcal{C_{|t|}} \frac{G(x,t/x)}{x H(x,t/x)} dx$$

 

 

Bivariate Diagonals

Theorem

If \(F(x,y) = G(x,y)/H(x,y)\) is a bivariate rational function then \(\Delta F\) is algebraic.

 

Proof Idea

$$ \sum_{n \geq 0} f_{n,n}t^n = \left[x^{-1}\right] x^{-1} \sum_{i,n \geq 0} f_{i,n} x^{i-n}t^n = \frac{1}{2\pi i} \int_\mathcal{C_{|t|}} \frac{G(x,t/x)}{x H(x,t/x)} dx$$

 

 

Bivariate Diagonals

Theorem

If \(F(x,y) = G(x,y)/H(x,y)\) is a bivariate rational function then \(\Delta F\) is algebraic.

 

Proof Idea

$$ \sum_{n \geq 0} f_{n,n}t^n = \left[x^{-1}\right] x^{-1} \sum_{i,n \geq 0} f_{i,n} x^{i-n}t^n = \frac{1}{2\pi i} \int_\mathcal{C_{|t|}} \frac{G(x,t/x)}{x H(x,t/x)} dx$$

 

For fixed \(t\) this is a sum of residues at algebraic roots \(x_k(t)\) of \(H(x,t/x)=0\).

Bivariate Diagonals

Theorem

If \(F(x,y) = G(x,y)/H(x,y)\) is a bivariate rational function then \(\Delta F\) is algebraic.

 

Note: Only the poles with \(x_k(t)\rightarrow0\) as \(t\rightarrow0\) will be inside the curve \(\mathcal{C}_{|t|}\) for \(t\) near the origin.
 

Bostan, Dumont, Salvy (2017): Fast algorithm to compute minimal polynomial of \(\Delta F\) using resultants.

Bivariate Diagonals

Fast algorithm implemented in Sage by P. Tao (2025).

 

Example (Central Binomial Coefficients)


$$\Delta\left(\frac{1}{1-x-y}\right) = (1-4t)^{-1}$$

sage: from sage_acsv.algebraic import algebraic_diagonal
sage: var('x y')
sage: algebraic_diagonal(1 / (1 - x - y))
> (t - 1/4)*y^2 + 1/4

Bivariate Diagonals

Fast algorithm implemented in Sage by P. Tao (2025).

 

Example (Balanced multiset problem)

 

 

 

 



By comparing computing initial terms we can prove the diagonal is \((1+t^2)/((1-t)(1-t^2)(1-t^3))\).

sage: P = algebraic_diagonal(1/(1-x)/(1-y)/(1-x^2*y)/(1-x*y^2))
sage: P.factor()
>   ((t^5 - 2*t^4 + t^3 - t^2 + 2*t - 1)*y - t - 1) 
  * ((t^5 - 2*t^4 + t^3 - t^2 + 2*t - 1)*y + t + 1) 
  * ((t^6 - t^5 - t^4 + t^2 + t - 1)*y - t^2 - 1) 
  * ((t^6 - t^5 - t^4 + t^2 + t - 1)*y + t^2 + 1)

Algebraic Functions as Diagonals

Conversely, every algebraic diagonal is a rational diagonal (in one additional variable).

 

Theorem

If \(f(\mathbf{x})\) is an algebraic function in \(d\) variables then there exists a rational function \(R(\mathbf{x},y)\) in \(d+1\) variables such that
 

$$\left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^\mathbf{r}y^{|\mathbf{r}|}\right]R(\mathbf{x},y)$$

where \(|\mathbf{r}| = r_1 + \cdots + r_d\).

Step 1: Simple Root

Theorem (Furstenberg 1967)

If \(f(\mathbf{x})\) with \(f(\mathbf{0})=0\) has minimal polynomial \(P(\mathbf{x},y)\) with \(P_y(\mathbf{0},0)\neq0\) then

$$\left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^\mathbf{r}y^{|\mathbf{r}|}\right] \left(\frac{y^2P_y(y\mathbf{x},y)}{P(y\mathbf{x},y)}\right).$$

 

 

Theorem (Furstenberg 1967)

If \(f(\mathbf{x})\) with \(f(\mathbf{0})=0\) has minimal polynomial \(P(\mathbf{x},y)\) with \(P_y(\mathbf{0},0)\neq0\) then

$$\left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^\mathbf{r}y^{|\mathbf{r}|}\right] \left(\frac{y^2P_y(y\mathbf{x},y)}{P(y\mathbf{x},y)}\right).$$

 

Proof

Expand the series and do elementary algebra.

Step 1: Simple Root

Example (Catalan Numbers)

The function
 

$$f(x) = \frac{1-\sqrt{1-4x}}{2x} - 1$$
has minimal polynomial \(P(x,y) = x(y+1)^2-y\) and


$$f(x) = 1 + \Delta\left(\frac{y(1-2xy^2-2xy)}{1-x(1+y)^2}\right).$$

Step 1: Simple Root

Example (Catalan Numbers 2)

The function
 

$$f(x) = x \cdot \frac{1-\sqrt{1-4x}}{2x} $$
has minimal polynomial \(P(x,y) = y^2-y+x\) and


$$xf(x) = \Delta\left(\frac{y(1-2y)}{1-x-y}\right).$$

Step 1: Simple Root

Example (Binary Trees by Vertices and Leaves)

Recall \(B(u,z) = uz + 2zB(u,z) + zB(u,z)^2\) so


$$ \left[u^iz^n\right]B(u,z) = \left[u^iz^ny^{i+n}\right]\frac{y(2y^2z + 2yz - 1)}{uyz + y^2z + 2yz - 1}$$

Step 1: Simple Root

sage: var('u z y')
sage: P = u*z + 2*z*y + z*y^2 - y
sage: R = y^2*(P.derivative(y)/P).subs(u=u*y, z=z*y)
sage: R
> (2*y^2*z + 2*y*z - 1)*y/(u*y*z + y^2*z + 2*y*z - 1)
  

Example (Binary Trees by Vertices and Leaves)

Recall \(B(u,z) = uz + 2zB(u,z) + zB(u,z)^2\) so


$$ \left[u^iz^n\right]B(u,z) = \left[u^iz^ny^{i+n}\right]\frac{y(2y^2z + 2yz - 1)}{uyz + y^2z + 2yz - 1}$$

Step 1: Simple Root

sage: var('u z y')
sage: P = u*z + 2*z*y + z*y^2 - y
sage: R = y^2*(P.derivative(y)/P).subs(u=u*y, z=z*y)
sage: R
> (2*y^2*z + 2*y*z - 1)*y/(u*y*z + y^2*z + 2*y*z - 1)
  
sage: R_pol = QQ[u,z,y](R.taylor([u,z,y],0,10))
sage: QQ[u,z]({e[0:2]: coeff for e, coeff 
              in R_pol.dict().items() if e[2]==e[0]+e[1]})
> u^2*z^3 + 8*u*z^4 + 4*u*z^3 + 2*u*z^2 + u*z

Theorem (Denef and Lipshitz, 1987) 

Let \(f(\mathbf{x})\) be any algebraic function. There exists algebraic \(\phi(\mathbf{x})\) and rational \(W(\mathbf{x},y)\) such that

  • \(f(\mathbf{x}) = W(\mathbf{x},\phi(\mathbf{x}))\)
  • \(\phi\) satisfies the conditions of Furstenberg's Theorem.

 

Step 2: Reduction

Theorem (Denef and Lipshitz, 1987) 

Let \(f(\mathbf{x})\) be any algebraic function. There exists algebraic \(\phi(\mathbf{x})\) and rational \(W(\mathbf{x},y)\) such that

  • \(f(\mathbf{x}) = W(\mathbf{x},\phi(\mathbf{x}))\)
  • \(\phi\) satisfies the conditions of Furstenberg's Theorem.


In this case
 

$$\left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^\mathbf{r}y^{|\mathbf{r}|}\right] \left(\frac{yW(y\mathbf{x},y)Q_y(y\mathbf{x},y)}{Q(y\mathbf{x},y)}\right)$$
where \(Q\) is the minimal polynomial of \(\phi\).

Step 2: Reduction

Unfortunately, their argument was non-constructive.

 

 

 

 

 

Step 2b: Resolution of Singularities

Unfortunately, their argument was non-constructive.

 

The condition \(P_y(\mathbf{0},0)=0\) means that multiple branches go through the origin. 

 

When \(d=1\) we can compute enough terms to separate the branch of interest and then perform a change of variables.

 

Step 2b: Resolution of Singularities

Unfortunately, their argument was non-constructive.

 

The condition \(P_y(\mathbf{0},0)=0\) means that multiple branches go through the origin. 

 

When \(d=1\) we can compute enough terms to separate the branch of interest and then perform a change of variables.

 

Let \(\text{ord}_x \left(g(x)\right)\) = lowest power of \(x\) in \(g\).

We need to compute at least \(\text{ord}_x\left( P_y(\mathbf{x},f(\mathbf{x}))\right)\) terms.

 

Step 2b: Resolution of Singularities

Unfortunately, their argument was non-constructive.

 

The condition \(P_y(\mathbf{0},0)=0\) means that multiple branches go through the origin. 

 

When \(d=1\) we can compute enough terms to separate the branch of interest and then perform a change of variables.

 

Let \(\text{ord}_x \left(g(x)\right)\) = lowest power of \(x\) in \(g\).

We need to compute at least \(\text{ord}_x\left( P_y(\mathbf{x},f(\mathbf{x}))\right)\) terms.

It is sufficient to take \(\text{ord}_x \left(\text{resultant}_y(P,P_y)\right)\) terms.

Step 2b: Resolution of Singularities

Example

The function \(f(x)=x\sqrt{1-x}\) has minimal polynomial
 

$$P(x,y)=y^2-x^2(1-x).$$
 

Step 2b: Resolution of Singularities

Example

The function \(f(x)=x\sqrt{1-x}\) has minimal polynomial
 

$$P(x,y)=y^2-x^2(1-x).$$
Since \(\text{resultant}_y(P,P_y) = 4x^{\color{red}2}(x-1)\) and \(f(x) = x - x^2/2 + \cdots\) we write

$$P(x,x-x^2/2+x^2y) = \frac{x^3}{4}\underbrace{\left[4xy^2 + 4(2-x)y + x\right]}_{Q(x,y)}.$$
 

Step 2b: Resolution of Singularities

Example

The function \(f(x)=x\sqrt{1-x}\) has minimal polynomial
 

$$P(x,y)=y^2-x^2(1-x).$$
Since \(\text{resultant}_y(P,P_y) = 4x^{\color{red}2}(x-1)\) and \(f(x) = x - x^2/2 + \cdots\) we write

$$P(x,x-x^2/2+x^2y) = \frac{x^3}{4}\underbrace{\left[4xy^2 + 4(2-x)y + x\right]}_{Q(x,y)}.$$
Thus \(\displaystyle f(x) = x - x^2/2 + x^2 \Delta\left(\frac{y^2Q_y(xy,y)}{Q(xy,y)}\right)\).

Step 2b: Resolution of Singularities

Example

The function \(f(x)=x\sqrt{1-x}\) has minimal polynomial
 

$$P(x,y)=y^2-x^2(1-x).$$
Since \(\text{resultant}_y(P,P_y) = 4x^{\color{red}2}(x-1)\) and \(f(x) = x - x^2/2 + \cdots\) we write

$$P(x,x-x^2/2+x^2y) = \frac{x^3}{4}\underbrace{\left[4xy^2 + 4(2-x)y + x\right]}_{Q(x,y)}.$$
Thus \(\displaystyle f(x) = \Delta\left(xy - (xy)^2/2 + (xy)^2 \frac{4y(2xy^2-xy+2)}{8+x-4xy+4xy^2}\right)\).

Step 2b: Resolution of Singularities

Theorem (Safonov 2000)

If \(f(\mathbf{0})=0\) then there is a computable rational function \(R(\mathbf{x},y)\) and a unimodular matrix \(M\) such that

$$ \left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^{M\mathbf{r}}y^{|M\mathbf{r}|}\right]R(\mathbf{x},y)$$

Step 2b: Resolution of Singularities

Theorem (Safonov 2000)

If \(f(\mathbf{0})=0\) then there is a computable rational function \(R(\mathbf{x},y)\) and a unimodular matrix \(M\) such that

$$ \left[\mathbf{x}^\mathbf{r}\right]f(\mathbf{x}) = \left[\mathbf{x}^{M\mathbf{r}}y^{|M\mathbf{r}|}\right]R(\mathbf{x},y)$$
Proof Idea
Effective resolution of singularities by setting

$$y = f_{\leq q}(\mathbf{x}) + w$$

and then repeated monomial transformations of the form

$$\begin{aligned} w&=wz_i^\mu \\ z_i &= z_i \\ z_j &= z_iz_j \quad (i \neq j) \end{aligned}$$

Step 2b: Resolution of Singularities

Greenwood, M., Ruza, Wilson (2026+)

Implementation in Sage with study of 50+ multivariate algebraic generating functions from the literature.
 

Example (Planar Maps)

The generating function \(F(x,t)\) tracking planar rooted maps by edges in the outer face \((x)\) and total edges \((t)\) is a root of

$$\begin{aligned}P(x,t,y) &= 27y^4x^2t^3 - 54xt^2(x^2t - x + 1)y^3 \\ &+ t(27x^4t^2 - 90x^3t - x^3 + 108x^2t + 27x^2 - 54x + 27)y^2 \\&+ x(36xt + x - 54t)(x^2t - x + 1)y \\&+ 16x^4t^2 + 8x^4t + x^4 - 36x^3t - x^3 + 27x^2t. \end{aligned}$$ Goulden and Jackson: "no convenient expression" for sequence

Step 2b: Resolution of Singularities

Step 2b: Resolution of Singularities

sage: P = 27*y^4*x^2*t^3 - 54*y^3*x^3*t^3 + 27*y^2*x^4*t^3 
          + 54*y^3*x^2*t^2 - 90*y^2*x^3*t^2 + 36*y*x^4*t^2 
          - y^2*x^3*t + y*x^4*t - 54*y^3*x*t^2 + 108*y^2*x^2*t^2 
          - 54*y*x^3*t^2 + 16*x^4*t^2 + 27*y^2*x^2*t - 36*y*x^3*t 
          + 8*x^4*t - y*x^3 + x^4 - 54*y^2*x*t + 90*y*x^2*t - 36*x^3*t 
          + y*x^2 - x^3 + 27*y^2*t - 54*y*x*t + 27*x^2*t
 
sage: R, M = embed_algebraic_Safonov(P, y, terms)
sage: M
> [1 1]
  [0 1]
sage: R.denominator()
> 27*y^19*x^13*t^7 + 54*y^16*x^11*(2*x*y^2 + 1)*t^6 
  + 27*y^12*x^8*(6*x^3*y^5 + 6*x^2*y^3 + 3*x*y - 2)*t^5 
  + 18*y^9*x^6*(6*x^4*y^7 + 9*x^3*y^5 + 12*x^2*y^3 - 9*x*y^2 
  + 4*x*y - 3)*t^4 + y^5*x^3*(27*x^6*y^10 + 54*x^5*y^8 
  + 189*x^4*y^6 - 162*x^3*y^5 + 144*x^3*y^4 - x^3*y^3 
  - 108*x^2*y^3 + 45*x^2*y^2 - 54*x*y + 27)*t^3 
  + x^2*y^3*(54*x^4*y^7 - 54*x^3*y^6 + 72*x^3*y^5 - 2*x^3*y^4 
  - 54*x^2*y^4 + 72*x^2*y^3 - x^2*y^2 - 108*x*y^2 + 18*x*y 
  + 54*y - 2)*t^2 - x*y^2*(x^3*y^4 - 27*x^2*y^3 + x^2*y^2 
  + 54*x*y^2 - 18*x*y + x - 27*y + 18)*t - y*x + 1

Transcendental Diagonals

When \(d \geq 2\) rational diagonals can be transcendental.

 

Example

$$[t^n]\Delta\left(\frac{1}{1-x-y-z}\right) = \frac{(3n)!}{(n!)^3} \sim \frac{\sqrt{3}}{2} \, 27^n \, n^{-1}$$

 

 

 

 

 

Transcendental Diagonals

When \(d \geq 2\) rational diagonals can be transcendental.

 

Example

$$[t^n]\Delta\left(\frac{1}{1-x-y-z}\right) = \frac{(3n)!}{(n!)^3} \sim \frac{\sqrt{3}}{2} \, 27^n \, n^{-1}$$

 

Christol (1984): Every rational diagonal is D-finite.

 

 

 

Transcendental Diagonals

When \(d \geq 2\) rational diagonals can be transcendental.

 

Example

$$[t^n]\Delta\left(\frac{1}{1-x-y-z}\right) = \frac{(3n)!}{(n!)^3} \sim \frac{\sqrt{3}}{2} \, 27^n \, n^{-1}$$

 

Christol (1984): Every rational diagonal is D-finite.

Lipshitz (1988): Every D-finite diagonal is D-finite.

 

 

Transcendental Diagonals

When \(d \geq 2\) rational diagonals can be transcendental.

 

Example

$$[t^n]\Delta\left(\frac{1}{1-x-y-z}\right) = \frac{(3n)!}{(n!)^3} \sim \frac{\sqrt{3}}{2} \, 27^n \, n^{-1}$$

 

Christol (1984): Every rational diagonal is D-finite.

Lipshitz (1988): Every D-finite diagonal is D-finite.

 

How fast can we compute a D-finite equation?
This is the domain of creative telescoping.

Creative Telescoping

Very powerful algorithmic framework for sequences and functions. See talk of Hadrien Brochet at 15:30 today.

 

For \(F(t,\mathbf{z})\) we have

 

$$ \begin{aligned} (\Delta F)(t) &= \left[z_1^{-1} \cdots z_d^{-1}\right] (z_1^{-1} \cdots z_d^{-1}) F\left(\frac{t}{z_1\cdots z_d},z_1,\dots,z_d\right) \\[5mm]  \end{aligned}$$

 

 

Creative Telescoping

Very powerful algorithmic framework for sequences and functions. See talk of Hadrien Brochet at 15:30 today.

 

For \(F(t,\mathbf{z})\) we have

 

$$ \begin{aligned} (\Delta F)(t) &= \left[z_1^{-1} \cdots z_d^{-1}\right] (z_1^{-1} \cdots z_d^{-1}) F\left(\frac{t}{z_1\cdots z_d},z_1,\dots,z_d\right) \\[5mm] &= \int_{\text{Relog}^{-1}(\mathbf{x})}\frac{F\left(\frac{t}{z_1\cdots z_d},z_1,\dots,z_d\right)}{z_1\cdots z_d}\, d\mathbf{z} \\ \end{aligned}$$

 

We thus aim to compute annihilators of period integrals.

Creative Telescoping

Very powerful algorithmic framework for sequences and functions. See talk of Hadrien Brochet at 15:30 today.

 

Problem: Given rational \(R(t,\mathbf{z})\) find

  • a D-finite operator \(\mathcal{L}\) in \(t\) and \(\partial_t\)
     
  • rational functions \(C_1,\dots,C_d\) with \(\text{poles}(C_k) \subset \text{poles}(R)\)


such that

$$\mathcal{L}(R) = \sum_{k=1}^d(\partial_k C_k)(t,\mathbf{z}).$$

Creative Telescoping

$$\mathcal{L}\left(\int_\Gamma R(t,\mathbf{z})d\mathbf{z}\right) = \sum_{k=1}^d \int_\Gamma (\partial_k C_k)(t,\mathbf{z}) d\mathbf{z} = 0$$

 

 

Creative Telescoping

$$\mathcal{L}\left(\int_\Gamma R(t,\mathbf{z})d\mathbf{z}\right) = \sum_{k=1}^d \int_\Gamma (\partial_k C_k)(t,\mathbf{z}) d\mathbf{z} = 0$$

 

Note: \(\mathcal{L}\) annihilates diagonals of all Laurent expansions.

 

We call \(\mathcal{L}\) a telescoper and the \(C_k\) (regular) certificates.

 

 

Creative Telescoping

$$\mathcal{L}\left(\int_\Gamma R(t,\mathbf{z})d\mathbf{z}\right) = \sum_{k=1}^d \int_\Gamma (\partial_k C_k)(t,\mathbf{z}) d\mathbf{z} = 0$$

 

Note: \(\mathcal{L}\) annihilates diagonals of all Laurent expansions.

 

We call \(\mathcal{L}\) a telescoper and the \(C_k\) (regular) certificates.

 

Bostan, Lairez, Salvy (2013): Algorithm to compute \(\mathcal{L}\) in bit complexity polynomial in \(\delta^d\) where \(\delta\) is a degree bound.

Creative Telescoping

$$\mathcal{L}\left(\int_\Gamma R(t,\mathbf{z})d\mathbf{z}\right) = \sum_{k=1}^d \int_\Gamma (\partial_k C_k)(t,\mathbf{z}) d\mathbf{z} = 0$$

 

Note: \(\mathcal{L}\) annihilates diagonals of all Laurent expansions.

 

We call \(\mathcal{L}\) a telescoper and the \(C_k\) (regular) certificates.

 

Bostan, Lairez, Salvy (2013): Algorithm to compute \(\mathcal{L}\) in bit complexity polynomial in \(\delta^d\) where \(\delta\) is a degree bound.

 

Note: Generically certificates have size \(\delta^{(1-o(1))d^2}\) (impractical).

Griffiths-Dwork Method

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

 

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

Reducing \(a\) modulo Gröbner basis of \(\text{Jac}(f) = (\partial_{z_0}f,\dots,\partial_{z_d}f)\) gives \(a = r + \sum_{k=0}^d p_k \cdot (\partial_{z_k} f)\) 

Griffiths-Dwork Method

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

Reducing \(a\) modulo Gröbner basis of \(\text{Jac}(f) = (\partial_{z_0}f,\dots,\partial_{z_d}f)\) gives \(a = r + \sum_{k=0}^d p_k \cdot (\partial_{z_k} f)\) and for \(\ell>1\)

 

$$F_\text{hom} = \frac{r}{f^\ell} + \frac{\frac{1}{\ell-1}\sum_{k=0}^d \partial_{z_k}p_k}{f^{\ell-1}} + \sum_{k=0}^d \partial_{z_k}\left(\frac{-p_k}{(\ell-1)f^{\ell-1}}\right)$$

Griffiths-Dwork Method

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

Reducing \(a\) modulo Gröbner basis of \(\text{Jac}(f) = (\partial_{z_0}f,\dots,\partial_{z_d}f)\) gives \(a = r + \sum_{k=0}^d p_k \cdot (\partial_{z_k} f)\) and for \(\ell>1\)

 

$$F_\text{hom} = \frac{r}{f^\ell} + \frac{\frac{1}{\ell-1}\sum_{k=0}^d \partial_{z_k}p_k}{f^{\ell-1}} + {\color{red} \sum_{k=0}^d \partial_{z_k}\left(\frac{-p_k}{(\ell-1)f^{\ell-1}}\right)}$$

Griffiths-Dwork Method

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

Reducing \(a\) modulo Gröbner basis of \(\text{Jac}(f) = (\partial_{z_0}f,\dots,\partial_{z_d}f)\) gives \(a = r + \sum_{k=0}^d p_k \cdot (\partial_{z_k} f)\) and for \(\ell>1\)

 

$$F_\text{hom} \equiv \frac{r}{f^\ell} + \frac{\frac{1}{\ell-1}\sum_{k=0}^d \partial_{z_k}p_k}{f^{\ell-1}} $$

Griffiths-Dwork Method

First homogenize to control the pole at infinity to obtain

 

$$F_\text{hom}(t,z_0,\dots,z_d) = z_0^{-d-1} F(t,z_1/z_0, \dots, z_d/z_0)$$

 

Write \(F_\text{hom} = a/f^\ell\) for positive integer \(\ell\) and \(f\) square-free.

Reducing \(a\) modulo Gröbner basis of \(\text{Jac}(f) = (\partial_{z_0}f,\dots,\partial_{z_d}f)\) gives \(a = r + \sum_{k=0}^d p_k \cdot (\partial_{z_k} f)\) and for \(\ell>1\)

 

$$F_\text{hom} \equiv \frac{r}{f^\ell} + {\color{lightblue} \frac{\frac{1}{\ell-1}\sum_{k=0}^d \partial_{z_k}p_k}{f^{\ell-1}}} $$

Griffiths-Dwork Method

Repeat the process to express \(F_\text{hom}\) as a sum of polynomials reduced modulo \(\text{Jac}(f)\) over powers of \(f\) modulo certificates.

 

BLS 2013 (via Griffiths 1969): If \(\mathcal{V}(\text{Jac}(f))\) is smooth then the reduction \([R]\) lies in a vector space of dimension \(\leq \delta^d\).

 

 

Griffiths-Dwork Method

Repeat the process to express \(F_\text{hom}\) as a sum of polynomials reduced modulo \(\text{Jac}(f)\) over powers of \(f\) modulo certificates.

 

BLS 2013 (via Griffiths 1969): If \(\mathcal{V}(\text{Jac}(f))\) is smooth then the reduction \([R]\) lies in a vector space of dimension \(\leq \delta^d\).

 

Algorithm: Compute reductions \([R], \, [\partial_t R], \, [\partial_t^2 R],\dots\) until a relation is found.

Griffiths-Dwork Method

Repeat the process to express \(F_\text{hom}\) as a sum of polynomials reduced modulo \(\text{Jac}(f)\) over powers of \(f\) modulo certificates.

 

BLS 2013 (via Griffiths 1969): If \(\mathcal{V}(\text{Jac}(f))\) is smooth then the reduction \([R]\) lies in a vector space of dimension \(\leq \delta^d\).

 

Algorithm: Compute reductions \([R], \, [\partial_t R], \, [\partial_t^2 R],\dots\) until a relation is found.

 

Non-smooth case can be handled by deformation, but there is a better way...

Griffiths-Dwork Method

Non-Smooth Case

Key Idea in Smooth Case: When \((\partial_{z_0}f,\dots,\partial_{z_d}f)\) is a regular sequence its syzygies are generated by trivial syzygies.

 

Lairez (2016): Create algebraic machinery to capture and reduce using higher order relations between syzygies.

 

 

Key Idea in Smooth Case: When \((\partial_{z_0}f,\dots,\partial_{z_d}f)\) is a regular sequence its syzygies are generated by trivial syzygies.

 

Lairez (2016): Create algebraic machinery to capture and reduce using higher order relations between syzygies.

 

Lairez gave a MAGMA implementation of his algorithm.

 

Used to compute hundreds of Picard-Fuchs equations for parameterized hypersurfaces.

Non-Smooth Case

sage_periods

M. and Smith (2026): Implementation of Lairez's algorithm in Sage. Designed to interface with other Sage packages.

#  D-finite equation for central binomial coefficients
sage: from sage_periods import 
           compute_diagonal_annihilator as DA
sage: var('x y t')
sage: DA(1/(1 - x - y))
> (t - 1/4)*Dt + 1/2

Implementation takes ~170 seconds total on 50 representative examples from my two books.

sage_periods

sage: from ore_algebra.analytic.singularity_analysis 
	  import bound_coefficients as BC

sage: deq = DA((1+x)*(1+y)/(1-t*x*y*(1/x+x+1/y+y)))
sage: BC(deq, [1, 2], order=1, prec=20)
> 1.00000*4^n
  *(([1.2732 +/- 4.39e-5] + [+/- 2.04e-18]*I)*n^(-1) 
  + B([1678.76 +/- 2.19e-3]*n^(-2)*log(n), n >= 5))

Example (Rigorous NSEW Quadrant Asymptotics) 

The kernel method (see exercises) implies the generating function for quadrant walks on NSEW steps has GF

 

$$ \Delta\left(\frac{(1+x)(1+y)}{1-txy(1/x+x+1/y+y)}\right)$$

Christol's Conjecture

Which D-finite functions are rational diagonals?

 

 

 

 

Christol's Conjecture

Which D-finite functions are rational diagonals?

 

Every rational diagonal is globally bounded: there exist non-zero \(a,b\in\mathbb{Z}\) such that \(aF(bz)\) has integer coefficients.

 

Example
\(F(z)=e^z\) is D-finite but not globally bounded.

 

 

Christol's Conjecture

Which D-finite functions are rational diagonals?

 

Every rational diagonal is globally bounded: there exist non-zero \(a,b\in\mathbb{Z}\) such that \(aF(bz)\) has integer coefficients.

 

Example
\(F(z)=e^z\) is D-finite but not globally bounded.

 

Conjecture (Christol, 1990): Every globally bounded D-finite function is a rational diagonal.

Christol's Conjecture

The \({}_3F_2\) hypergeometric function

 

$$ f(z) = \sum_{n \geq 0} \frac{(1/9)_n(4/9)_n(5/9)_n}{(1/3)_n(1)_n} \frac{z^n}{n!}, \quad (x)_n = x(x+1)\cdots(x+n-1)$$

 

is globally bounded and satisfies

 

$$ \begin{aligned}729z^2(z-1)f'''(z) &+ 81z(37z - 21)f''(z) \\ &+ 9(200z - 27)f'(z) + 20f(z) = 0 \end{aligned}$$

 

Open Problem (Christol 1986): Is \(f\) a rational diagonal?

Asymptotic Template

Every globally bounded D-finite function is a G-function.

 

Corollary

Suppose \(F(\mathbf{z})\in\mathbb{Q}(\mathbf{z})\) is analytic at the origin. Then any diagonal coefficient sequence of \(F\) has an asymptotic expansion given by a sum of terms of the form \(C \, n^{\alpha} \, (\log n)^\ell \, \zeta^n \) where \(C \in \mathbb{C}, \, \alpha \in \mathbb{Q}, \,\ell \in \mathbb{N}, \,\) and \(\zeta\) is algebraic.

 

 

Asymptotic Template

Every globally bounded D-finite function is a G-function.

 

Corollary

Suppose \(F(\mathbf{z})\in\mathbb{Q}(\mathbf{z})\) is analytic at the origin. Then any diagonal coefficient sequence of \(F\) has an asymptotic expansion given by a sum of terms of the form \(C \, n^{\alpha} \, (\log n)^\ell \, \zeta^n \) where \(C \in \mathbb{C}, \, \alpha \in \mathbb{Q}, \,\ell \in \mathbb{N}, \,\) and \(\zeta\) is algebraic.

 

Example (Denisov and Wachtel 2015)

The number \(w_n\) of NSEW-walks starting at \((1,1)\) and staying in \(0<y<2x\) satisfies \(w_n \sim C \, 4^n \, n^{-\pi/2\arctan 2}\). 

Summary of Lecture 3

Diagonals capture behaviour of multivariate generating functions and are data structures for univariate sequences.

 

Rational diagonals capture algebraic behaviour too.
They can be studied using D-finite techniques.

 

Complex analysis in several variables is more complicated than the univariate theory, but many results generalize.

 

It is hard to picture things (even \(\mathbb{C}^2\) has 4 real dimensions) but polynomial amoebas are a useful tool.

Thank You!

https://melczer.ca/MPI26

 

Lecture 4 (later today)
Analytic Combinatorics in Several Variables (Smooth Case)