This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Max Planck Institute for Mathematics in the Sciences, Leipzig, Germany
Department of Computer Science, University of Oxford, United Kingdom
11email: bertrand.teguia@cs.ox.ac.uk

Arithmetic of D-Algebraic Functions

Bertrand Teguia Tabuguia 0000-0001-9199-7077
Abstract

We are concerned with the arithmetic of solutions to ordinary or partial nonlinear differential equations which are algebraic in the indeterminates and their derivatives. We call these solutions D-algebraic functions, and their equations are algebraic (ordinary or partial) differential equations (ADEs). The general purpose is to find ADEs whose solutions contain specified rational expressions of solutions to given ADEs. For univariate D-algebraic functions, we show how to derive an ADE of smallest possible order. In the multivariate case, we introduce a general algorithm for these computations and derive conclusions on the order bound of the resulting algebraic PDE. Using our accompanying Maple software, we discuss applications in physics, statistics, and symbolic integration.

Keywords:
Gröbner bases triangular set differential algebra symbolic computation ranking

1 Introduction

Let 𝕂\mathbb{K} be a field of characteristic zero, and R(𝕂(x),ddx)R\coloneqq\left(\mathbb{K}(x),\frac{d}{dx}\right) a differential field. We denote by SyR[y,y,]R[y()],S_{y}~\coloneqq~R[y,y^{\prime},\ldots]\coloneqq R[y^{(\infty)}], djydx=y(j)\frac{d^{j}\,y}{dx}=y^{(j)}, the differential polynomial ring of the differential indeterminate yy. Elements of that ring are called differential polynomials. Differential ideals are ideals that are closed under taking derivatives.

Definition 1

A function ff(x)f\coloneqq f(x) is called differentially algebraic, or simply D-algebraic, in SyS_{y} if there exists a differential polynomial pSyp\in S_{y} such that p(f)=0p(f)=0, i.e., p(y)y=f(x)=0p(y)\mid_{y=f(x)}=0.

Therefore D-algebraic functions can be seen as zeros of differential polynomials. We will often use this terminology. What we call functions are always elements of some 𝕂(x)\mathbb{K}(x)-algebra which is closed under the derivation used; they could be analytic functions, formal power series, or distributions in the appropriate domains. They are mainly differentiable objects that are suitable for multiplications by the indeterminates.

Example 1 (Univariate D-algebraic)

The Weierstrass (x,g2,g3)\wp\coloneqq\wp(x,g_{2},g_{3}) function is D-algebraic since it is a zero of y34y3+g2y+g3Sy{y^{\prime}}^{3}-4\,y^{3}+g_{2}\,y+g_{3}\in S_{y}, with 𝕂=(g2,g3)\mathbb{K}=\mathbb{Q}(g_{2},g_{3}). \blacksquare

The equation resulting from equating a differential polynomial to zero is called an algebraic differential equation (ADE). For a given differential polynomial, such an equation will be called associated ADE. Similarly, given an ADE, the differential polynomial obtained by removing the equality to zero is called its associated differential polynomial. The order of a differential polynomial is the one of its associated ADE, and its total degree, which we simply call degree, is the total degree of the differential polynomial seen as a multivariate polynomial over 𝕂(x)\mathbb{K}(x).

Definition 1 generalizes to the multivariate case with the partial differential ring R=(𝕂(𝐱),Δn)R=\left(\mathbb{K}(\mathbf{x}),\Delta_{n}\right), 𝐱=x1,,xn\mathbf{x}=x_{1},\ldots,x_{n}, and Δn={xixi,1in}\Delta_{n}=\{\partial_{x_{i}}\coloneqq\frac{\partial}{\partial x_{i}},1\leq i\leq n\}, nn\in\mathbb{N}. In that case, a D-algebraic function is seen as a zero of a partial differential polynomial in R[y(,𝑛,)]R[y^{(\infty,\overset{n}{\ldots},\infty)}], where (,𝑛,)(\infty,\overset{n}{\ldots},\infty) is a tuple with nn components of \infty.

Example 2 (Multivariate D-algebraic)

The so-called harmonic functions are D-algebraic since they are zeros of the partial differential polynomial

y(2,0,0)+y(0,2,0)+y(0,0,2),y^{(2,0,0)}\,+\,y^{(0,2,0)}\,+\,y^{(0,0,2)}, (1)

associated to the Laplace equation 2yx12+2yx22+2yx32=0\frac{\partial^{2}y}{\partial x_{1}^{2}}+\frac{\partial^{2}y}{\partial x_{2}^{2}}+\frac{\partial^{2}y}{\partial x_{3}^{2}}=0. \blacksquare

Note that the notion of D-algebraicity used here was already defined in [25, Chapter IV]; it relaxes the definitions given in [11, 35] as it does not require D-algebraicity in each independent variable. We will manipulate D-algebraic functions as generic zeros [25, Chapter IV.2] of the general component of some differential ideal defined from the ADEs under consideration. An essential ingredient for the correctness of our algorithms is the notion of triangular sets, which is discussed in detail in [18].

The set of D-algebraic functions is perhaps the most general structural class of functions that encompasses most functions encountered in the sciences. One prominent area where they naturally occur is enumerative combinatorics where D-algebraic functions are regarded as generating functions of counting problems. Recently in [35], Bernardi, Bousquet-Mélou, and Raschel classified some D-algebraic quadrant models that are not differentially finite (D-finite), i.e., the generating functions of the corresponding counting problems are D-algebraic but their derivatives do not span a finite dimensional vector space (see [40, 22]). This motivates to explore beyond D-finiteness, a structure that interacts favorably with linear algebra techniques, unlike D-algebraic functions. It is thus important to study the effectiveness of the closure properties of D-algebraic functions. These functions form a field, and are closed under many other operations like composition and differentiation [1] [35, Section 6] [32]. The theory behind D-algebraicity began earlier in the last century, see for instance [32, 30, 36], [25, Chapter II], [10], and [28]. However, these studies primarily focus on theoretical aspects regarding operations that may or may not preserve D-algebraicity, rather than their practical effectiveness. One had to wait until the end of the last century, when algorithms like the Rosendfeld-Gröbner algorithm for representing radical differential ideals appeared [6]. This algorithm is implemented in the DifferentialAlgebra package [5] in Maple. Of a similar flavor is the Thomas decomposition algorithm which views the generators of radical differential ideals as the “simple systems” of a system of algebraic PDEs [2] [37, Chapter II]. It is available in the DifferentialThomas package of Maple.

Both algorithms may serve as alternatives to our computations in certain contexts. We also mention the connection between ADEs and biochemical reaction networks which arise from particular types of dynamical systems [17, 12]. As we will see later, the theory developed in [17] is essential to our algorithmic approach. Other interesting topics related to D-algebraic functions are that of differentially definable functions [19], and solutions to ADEs of fixed degrees [44]. We are confident that our results will enable certain progress around the study of these D-algebraic sub-classes. There is a method for constructing power series that are not D-algebraic, as discussed in [32] and [28]. The idea is based on gaps between non-zeros coefficients of the series. One well-known example of such power series is n=0z2n\sum_{n=0}^{\infty}z^{2^{n}} [30]. While these specific series are not the focus of our paper, it is worth noting that a similar strategy, as outlined in [42], adapted to higher degree ADEs in conjunction with our findings, may assist in deciding the D-algebraicity of series like n=0zn3\sum_{n=0}^{\infty}z^{n^{3}} [28, 29].

To our knowledge, this paper and the work in [1] are the only ones that are entirely dedicated to effective computations of the closure properties of D-algebraic functions. With regards to power series solutions, effective results appeared in [11]. Like in [1], compared to that work of van der Hoeven, which for the zero-equivalence problem requires investigations on the initial conditions, in our case we focus on what he called “global computations”, which essentially rely on the framework of differential algebra and computational commutative algebra. The reason is that instead of dealing with a particular solution of an ADE, we deal with all solutions of that ADE for which the arithmetic operation performed is meaningful. Thus zero-testing and initial conditions are neglected, though our results may apply to them.

This paper begins with the arithmetic of univariate D-algebraic functions. Based on the construction of systems of ordinary differential equations (ODEs), we show how to compute an ADE of order at most the sum of the orders of any given ADEs, satisfied by some rational expression of the solutions of those given ADEs. In Section 3, we develop an algorithm for the arithmetic of multivariate D-algebraic functions and prove that the order of the resulting algebraic PDEs is not always bounded by the sum of the orders of the given algebraic PDEs. Section 4 presents applications using our Maple implementation of Algorithm 1 and Algorithm 2. We mention that all our results also work for differential rational expressions of D-algebraic functions due to the natural action of differentiation for D-algebraic functions.

Some background and terminology

Let us now assume the univariate setting. To define our target ODE system, we use the multivariate differential polynomial ring S𝐲,zS_{\mathbf{y},z}, where 𝐲=(y1,,yn)\mathbf{y}=(y_{1},\ldots,y_{n}) for some nn\in\mathbb{N}. Our main interest is in systems of the form

{𝐲=𝐀(𝐲)z=B(𝐲),()\begin{cases}\mathbf{y}^{\prime}=\mathbf{A}(\mathbf{y})\\ z=B(\mathbf{y})\end{cases},\,\quad\,\left(\mathcal{M}\right)

where 𝐀=(A1,,An)𝕂(x)(y1,,yn)n,\mathbf{A}=\left(A_{1},\ldots,A_{n}\right)\in\mathbb{K}(x)(y_{1},\ldots,y_{n})^{n}, B𝕂(x)(y1,,yn)B\in\mathbb{K}(x)(y_{1},\ldots,y_{n}). In the context of differential algebra, we consider the following n+1n+1 polynomials

Q𝐲𝐚(𝐲),Qzb(𝐲);Q\mathbf{y}^{\prime}-\mathbf{a}(\mathbf{y}),\,Qz-b(\mathbf{y}); (2)

where QQ is the least common multiple of the denominators in ()(\mathcal{M}), and Ai=ai/Q,A_{i}=a_{i}/Q, i=1,,n,B=b/Qi=1,\ldots,n,B=b/Q. With an appropriate monomial ordering over the differential polynomial ring S𝐲,zS_{\mathbf{y},z}, multiplying by QQ in (2) is equivalent to clearing denominators and considering QQ as the least common multiple of the initials of the resulting differential polynomials. We make the above choice for convenience as it allows us to defer the selection of a monomial ordering to a later stage, which also appears more suitable for the algorithmic part (see also [12]). Next, we consider the differential ideal

IQ𝐲𝐚(y),Qzb(𝐲):QR[𝐲(),z()]=:S𝐲,z,I_{\mathcal{M}}\coloneqq\langle Q\mathbf{y}^{\prime}-\mathbf{a}(y),\,Qz-b(\mathbf{y})\rangle\colon Q^{\infty}\subset R[\mathbf{y}^{(\infty)},z^{(\infty)}]=:S_{\mathbf{y},z}, (3)

where :Q:Q^{\infty} denotes the saturation with {Q}\{Q\}. We define IjI_{\mathcal{M}}^{\leq j} as the algebraic ideal containing the polynomials in (2) and their first derivatives of order at most jj saturated with {Q}\{Q\}. The system ()(\mathcal{M}) may be seen as a single-output state-space model without input. General setting and computations of such models are discussed in [17, 34]. There it is also explained how so-called input-output equations of ()(\mathcal{M}), i.e. ADEs that relate the output variable zz and the input variable (usually denoted uu), are deduced from the elimination ideal

In𝕂[x][z()].I_{\mathcal{M}}^{\leq n}\cap\mathbb{K}[x][z^{(\infty)}].

Hence in our setting, the input-output equations correspond to ADEs satisfied by the rational function B(𝐲)B(\mathbf{y}).

Remark 1

Recall that the separant of a differential polynomial is its derivative with respect to its highest order term. Thus for all positive integers jj, the separant of (Qyiai(𝐲))(j)(Q\,y_{i}^{\prime}-a_{i}(\mathbf{y}))^{(j)} is QQ, for i=1,,ni=1,\ldots,n. Therefore saturation by QQ suffices to target the generic solutions of ()\left(\mathcal{M}\right).

A system of the type of ()(\mathcal{M}) is called rational dynamical system of dimension nn (the dimension of 𝐲\mathbf{y}). In their work [33], Pavlov and Pogudin developed an algorithmic approach to derive such systems from first-order ADEs of two dependent variables, which represent the output and the input. The relationship between these systems and the closure properties of D-algebraic functions is discussed in [1]. Specifically, when the dynamical system ()(\mathcal{M}) models ADEs fulfilled by some D-algebraic functions f1,f2,,fNf_{1},f_{2},\ldots,f_{N}, such that BB in ()(\mathcal{M}) represents a rational expression in the dependent and independent variables, the corresponding input-output equations are ADEs satisfied by B(f1,,fN)B(f_{1},\ldots,f_{N}). In particular, thanks to this construction and the non-trivial nature of the elimination ideal that generates the input-output equations of ()(\mathcal{M}), we can reestablish that the set of D-algebraic functions is a field.

Definition 2

A differential polynomial pR[y()]p\in R[y^{(\infty)}] of order nn is called linear in its highest order term (l.h.o.) if, in the expression of pp, y(n)y^{(n)} appears only linearly.

Example 3

The differential polynomials y′′y3+xy+7xy^{\prime\prime}-{y^{\prime}}^{3}+xy+7x and y′′y5y+3y2{y^{\prime\prime}}{y^{\prime}}^{5}y+3y^{2} are l.h.o., whereas q=y(4)3+xy+1q={y^{(4)}}^{3}+xy^{\prime}+1 is not l.h.o. But its derivative q=3y(5)y(4)2+y+xy′′q^{\prime}=3y^{(5)}{y^{(4)}}^{2}+y+xy^{\prime\prime} is l.h.o. In general, the derivative of a differential polynomial is always l.h.o. \blacksquare

We will say that a computed algebraic (partial or ordinary) differential equation is of the least order if its order is the minimal order differential polynomial in the corresponding differential ideal. The arithmetic of two D-algebraic functions in the l.h.o. and non-l.h.o. cases were treated in [1]. In this paper, we improve the computational bound given in that paper for non-l.h.o. algebraic ODEs. We demonstrate that the bound established for l.h.o. ADEs also applies to non-l.h.o. ADEs. In essence, the sum of the orders of some given ADEs serves as an upper bound for the minimal order of an ADE satisfied by rational expressions formed from generic solutions of those ADEs.

2 Modeling the arithmetic of univariate D-algebraic functions

Throughout this section, we consider N+1N+1 D-algebraic functions f1,,fNf_{1},\ldots,f_{N}, and f=r(f1,,fN)f=r(f_{1},\ldots,f_{N}), where r𝕂(x)(v1,,vN)r\in\mathbb{K}(x)(v_{1},\ldots,v_{N}). We assume that fif_{i} is a zero of the differential polynomial piSyip_{i}\in S_{y_{i}}, i=1,,Ni=1,\ldots,N\in\mathbb{N} of order nin_{i}\in\mathbb{N}. The main goal of this section is to complement the work in [1]. As we will see in Example 4, using the implementation of Algorithm 1, one can compute least-order ADEs in all situations.

2.1 The l.h.o. case

We here recall the result from [1] for the arithmetic of D-algebraic functions that are zeros of l.h.o. differential polynomials. Since each pip_{i} is l.h.o, we can write its highest derivative of the dependent variable in terms of the lower ones from the associated ADE. We write

yi(ni)=rpi(yi,yi,,yi(ni1)).y_{i}^{(n_{i})}=r_{p_{i}}(y_{i},y_{i}^{\prime},\ldots,y_{i}^{(n_{i}-1)}). (4)

Let us now construct the ODE system (here a dynamical system) that models the operation r(f1,,fN)=:fr(f_{1},\ldots,f_{N})=:f.

Define the indeterminates

v1=y1,v2=y1,,vn1+1=y1(n1),vn1+2=y2,vn1+3=y2,,vn1+n2+2=y2(n2),vN+i=1Nni=yN(nN).\begin{split}&v_{1}=y_{1},v_{2}=y_{1}^{\prime},\ldots,v_{n_{1}+1}=y_{1}^{(n_{1})},\\ &v_{n_{1}+2}=y_{2},v_{n_{1}+3}=y_{2}^{\prime},\ldots,v_{n_{1}+n_{2}+2}=y_{2}^{(n_{2})},\\ &\vdots\\ &v_{N+\sum_{i=1}^{N}n_{i}}=y_{N}^{(n_{N})}.\end{split} (5)

This implies that

vj=vj+1,j[1,N+i=1Nni]{k+i=1kni,k=1,,N}.v_{j}^{\prime}=v_{j+1},\forall j\in\left[1\,,\,N+\sum_{i=1}^{N}n_{i}\right]\cap\mathbb{N}\setminus\left\{k+\sum_{i=1}^{k}n_{i},k=1,\ldots,N\right\}. (6)

Furthermore, let

wj=vj, for   0<jn1wj=vj+1, for n1<jn1+n2wj=vj+N, for i=1N1ni<ji=1Nni.\begin{split}&w_{j}=v_{j},\,\,\text{ for }\,\,0<j\leq n_{1}\\ &w_{j}=v_{j+1},\,\,\text{ for }\,\,n_{1}<j\leq n_{1}+n_{2}\\ &\vdots\\ &w_{j}=v_{j+N},\,\,\text{ for }\,\,\sum_{i=1}^{N-1}n_{i}<j\leq\sum_{i=1}^{N}n_{i}.\end{split} (7)

Set Mi=1NniM\coloneqq\sum_{i=1}^{N}n_{i}. The following MM dimensional dynamical system models ff:

{w1=w2,,wn1=rp1(w1,,wn1)A1(w1,,wM)wn1+1=wn1+2,,wn1+n2=rp2(wn1+1,,wn1+n2)A2(w1,,wM)wMAN(w1,,wM)z=r(w1,wn1+1,,wi=1N1ni+1).(f)\begin{cases}&w_{1}^{\prime}=w_{2},\,\ldots,w_{n_{1}}^{\prime}=r_{p_{1}}(w_{1},\ldots,w_{n_{1}})\coloneqq A_{1}(w_{1},\ldots,w_{M})\\ &w_{n_{1}+1}^{\prime}=w_{n_{1}+2},\,\ldots,w_{n_{1}+n_{2}}^{\prime}=r_{p_{2}}(w_{n_{1}+1},\ldots,w_{n_{1}+n_{2}})\coloneqq A_{2}(w_{1},\ldots,w_{M})\\ &\vdots\\ &w_{M}^{\prime}\coloneqq A_{N}(w_{1},\ldots,w_{M})\\ &z=r(w_{1},w_{n_{1}+1},\ldots,w_{\sum_{i=1}^{N-1}n_{i}+1})\end{cases}.\,\quad\,\quad\,(\mathcal{M}_{f})

We denote the corresponding differential ideal by IfS𝐰,zI_{\mathcal{M}_{f}}\in S_{\mathbf{w},z}. The above construction sustains the following proposition, which extends [1, Proposition 4.9.] for arbitrarily many differential polynomials.

Proposition 1

We use the above notation. There is an algorithm that computes an ADE of order at most Mn1+n2++nNM\coloneqq n_{1}+n_{2}+\ldots+n_{N}, fulfilled by the D-algebraic function fr(f1,,fN)f\coloneqq r(f_{1},\ldots,f_{N}).

Proof

Considering a lexicographic monomial ordering that rank the differential indeterminate zz higher than the other indeterminates, the proof relies on the fact that the elimination ideal

IfM𝕂[x][z()]𝕂[x,zM]I_{\mathcal{M}_{f}}^{\leq M}\cap\mathbb{K}[x][z^{(\infty)}]\subset\mathbb{K}[x,z^{\leq M}] (8)

is not trivial, and contains the least-order differential polynomial that has f=r(f1,,fN)f=r(f_{1},\ldots,f_{N}) as a zero (see [17, Corollary 3.21] and [34, Prop. 1.27]). Computationally, among the generators (Gröbner basis) of the elimination ideal, we select a differential polynomial of the lowest degree among those of the smallest order. \square

2.2 The non-l.h.o. case

Suppose there are N1{0}N_{1}\in\mathbb{N}\setminus\{0\} differential polynomials that are non-l.h.o. among the pip_{i}’s, N1NN_{1}\leq N. In [1] this situation is overcome by replacing those differential polynomials with their first derivatives. This brings the problem back to the l.h.o. case, but increase the bound for the order of the differential equation sought by N1N_{1}. The main issue is that without taking derivatives, we do not easily relate the arithmetic in this case to a rational dynamical system.

Our main observation is that, provided some algorithmic changes and a little theoretical adaptation, the arguments over which the computations from the dynamical systems rely are still valid. Indeed, suppose that pjp_{j}, 1jN1\leq j\leq N is a non-l.h.o. differential polynomial, and let mjm_{j} be the degree of yj(nj)y_{j}^{(n_{j})} in pjp_{j}. We can rewrite pjp_{j} as

cmjyj(nj)mj+pj,1(x,yj(nj)),c_{m_{j}}\,{y_{j}^{(n_{j})}}^{m_{j}}+p_{j,1}(x,y_{j}^{(\leq n_{j})}), (9)

where cmjL𝕂[x,yj(n1)]c_{m_{j}}\in L\coloneqq\mathbb{K}[x,y_{j}^{(\leq n-1)}], pj,1L[yj(nj)]p_{j,1}\in L[y_{j}^{(n_{j})}] such that degyj(nj)(pj,1)<mj\deg_{y_{j}^{(n_{j})}}(p_{j,1})<m_{j}. The coefficient cmjc_{m_{j}} is often called the initial of pjp_{j}. We make the same change of differential indeterminates as in Section 2.1 and build an ODE system of the form

{w1=w2,,wn1m1=A1(w1,,wM,wn1)wn1+1=wn1+2,,wn1+n2m2=A2(w1,,wM,wn1+n2)wMmN=AN(w1,,wM,wM)z=r(w1,wn1+1,,wi=1N1ni+1),(f)\begin{cases}&w_{1}^{\prime}=w_{2},\,\ldots,{w_{n_{1}}^{\prime}}^{m_{1}}=A_{1}(w_{1},\ldots,w_{M},w_{n_{1}}^{\prime})\\ &w_{n_{1}+1}^{\prime}=w_{n_{1}+2},\,\ldots,{w_{n_{1}+n_{2}}^{\prime}}^{m_{2}}=A_{2}(w_{1},\ldots,w_{M},w_{n_{1}+n_{2}}^{\prime})\\ &\vdots\\ &{w_{M}^{\prime}}^{m_{N}}=A_{N}(w_{1},\ldots,w_{M},w_{M}^{\prime})\\ &z=r(w_{1},w_{n_{1}+1},\ldots,w_{\sum_{i=1}^{N-1}n_{i}+1})\end{cases},\quad\,\,\quad\,\,(\mathcal{M}_{f}^{*})

where mj=degyj(nj)(pj),j=1,,Nm_{j}=\deg_{y_{j}^{(n_{j})}}(p_{j}),j=1,\ldots,N. The rational functions Aj,j=1,,NA_{j},j=1,\ldots,N result from solving pj=0p_{j}=0 for yj(nj)mj{y_{j}^{(n_{j})}}^{m_{j}}, i.e., with the same variable names in the expressions of AjA_{j} and pjp_{j}, we can write

Aj=pj,1cmj.A_{j}=-\frac{p_{j,1}}{c_{m_{j}}}.

Observe that the denominators are free of the indeterminate representing yj(nj)y_{j}^{(n_{j})}. This allows us to define QQ in (f)(\mathcal{M}_{f}*) as in ()(\mathcal{M}) by using all the denominators of the system. To ease the theoretical understanding, let us simplify the notation by rewriting (f)(\mathcal{M}_{f}^{*}) in the following abstract form

{𝐰μ=𝒜(𝐰)+𝒜(𝐰)z=B(𝐰){w1μ1=𝒜1(w1,,wM)+𝒜1(w1)wMμM=𝒜M(w1,,wM)+𝒜M(wM)z=B(w1,,wM),\begin{cases}{\mathbf{w}^{\prime}}^{\mu}=\mathbf{\mathcal{A}}(\mathbf{w})+\mathbf{\mathcal{E}}_{\mathbf{\mathcal{A}}}(\mathbf{w}^{\prime})\\ z=B(\mathbf{w})\end{cases}\coloneqq\begin{cases}&{w_{1}^{\prime}}^{\mu_{1}}=\mathcal{A}_{1}(w_{1},\ldots,w_{M})+\mathcal{E}_{\mathcal{A}_{1}}(w_{1}^{\prime})\\ &\vdots\\ &{w_{M}^{\prime}}^{\mu_{M}}=\mathcal{A}_{M}(w_{1},\ldots,w_{M})+\mathcal{E}_{\mathcal{A}_{M}}(w_{M}^{\prime})\\ &z=B(w_{1},\ldots,w_{M})\end{cases}, (10)

where

  • μi,i=1,,M\mu_{i},i=1,\ldots,M, is either 11 or one of the mj,j=1,,Nm_{j},j=1,\ldots,N in (f)(\mathcal{M}_{f}^{*});

  • 𝒜i\mathcal{A}_{i} (with numerator aia_{i}) is either wi+1w_{i+1} or the part of AjA_{j}, that is free of wjw_{j}^{\prime} in (f)(\mathcal{M}_{f}^{*}), j=1,,Nj=1,\ldots,N;

  • 𝒜i(wi)\mathcal{E}_{\mathcal{A}_{i}}(w_{i}^{\prime}) (with numerator eaie_{a_{i}}) is either 0 or the part of AjA_{j} that contains wjw_{j}^{\prime} (in its numerator) in (f)(\mathcal{M}_{f}^{*}), j=1,,Nj=1,\ldots,N;

  • B(w1,,wM)=r(w1,wn1+1,,wi=1N1ni+1)B(w_{1},\ldots,w_{M})=r(w_{1},w_{n_{1}+1},\ldots,w_{\sum_{i=1}^{N-1}n_{i}+1}) with numerator bb.

We call a system of the form of (10) a radical-rational dynamical system. Note that the shape of (f)(\mathcal{M}_{f}^{*}) imposes certain constraints on the radical-rational dynamical systems we use. In the context of differential algebra, we consider the differential ideal

IfQ𝐰μ𝐚(𝐰)𝐞𝐚(𝐰),Qzb(𝐰):HR[𝐲(),z()]=:S𝐰,z,I_{\mathcal{M}_{f}^{*}}\coloneqq\langle Q{\mathbf{w}^{\prime}}^{\mu}-\mathbf{a}(\mathbf{w})-\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}),\,Q\,z-b(\mathbf{w})\rangle\colon H^{\infty}\subset R[\mathbf{y}^{(\infty)},z^{(\infty)}]=:S_{\mathbf{w},z}, (11)

where HH is the least common multiple of QQ and the separants of Q𝐰μ𝐚(𝐰)𝐞𝐚(𝐰)Q{\mathbf{w}^{\prime}}^{\mu}-\mathbf{a}(\mathbf{w})-\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}). These separants are explicitely given by

μQ𝐰μ1𝐰𝐞𝐚(𝐰),\mu Q{\mathbf{w}^{\prime}}^{\mu-1}-\frac{\partial}{\partial\mathbf{w}^{\prime}}\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}),

where derivations are taken component wise.

Let us now present our algorithmic steps for computing ADEs satisfied by rational expressions of univariate D-algebraic functions.

Algorithm 1 Arithmetic of univariate D-algebraic functions
NN ADEs associated to the differential polynomials pjp_{j} of order njn_{j} and dependent variable yj(x)y_{j}(x), j=1,,Nj=1,\ldots,N; and a rational function r𝕂(x)(v1,,vn)r\in\mathbb{K}(x)(v_{1},\ldots,v_{n}).
An ADE of order at most Mn1++nNM\coloneqq n_{1}+\cdots+n_{N} fulfilled by the D-algebraic function f=f= r(f1,,fN)r(f_{1},\ldots,f_{N}), where each fjf_{j} is a zero of the generic component of pjp_{j}.
  1. 1.

    Construct (f)(\mathcal{M}_{f}^{*}) from the input ADEs as in (10).

  2. 2.

    Denote by EE the set of polynomials

    E\displaystyle E \displaystyle\coloneqq {Q𝐰μ𝐚(𝐰)𝐞𝐚(𝐰),Qzb(𝐰)}\displaystyle\{Q\,{\mathbf{w}^{\prime}}^{\mu}-\mathbf{a}(\mathbf{w})-\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}),Q\,z-b(\mathbf{w})\}
    =\displaystyle= {Qwiμiai(w1,,wM)eai(wi),i=1,,M,Qzb(w1,,wM)}\displaystyle\{Q\,{w_{i}^{\prime}}^{\mu_{i}}-a_{i}(w_{1},\ldots,w_{M})-e_{a_{i}}(w_{i}^{\prime}),i=1,\ldots,M,\,Q\,z-b(w_{1},\ldots,w_{M})\}

    in the polynomial ring 𝕂[x,w1,,wM,w1,,wM,z]\mathbb{K}[x,w_{1},\ldots,w_{M},w_{1}^{\prime},\ldots,w_{M}^{\prime},z].

  3. 3.

    Compute the first M1M-1 derivatives (w.r.t. d/dxd/dx) of all polynomials in EE and add them to EE.

  4. 4.

    Compute the MMth derivative of Qzb(w1,,wM)Q\,z-b(w_{1},\ldots,w_{M}) and add it to EE. We are now in the ring 𝕂[x,w1(M),,wM(M),z(M)]\mathbb{K}[x,w_{1}^{(\leq M)},\ldots,w_{M}^{(\leq M)},z^{(\leq M)}].

  5. 5.

    Let IE𝕂[x,w1(M),,wM(M),z(M)]I\coloneqq\langle E\rangle\subset\mathbb{K}[x,w_{1}^{(\leq M)},\ldots,w_{M}^{(\leq M)},z^{(\leq M)}] be the ideal generated by the elements of EE.

  6. 6.

    If some of the input are not l.h.o., let HH be the least common multiple of QQ and the separants of Q𝐰μ𝐚(𝐰)𝐞𝐚(𝐰)Q{\mathbf{w}^{\prime}}^{\mu}-\mathbf{a}(\mathbf{w})-\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}). Otherwise HQH\coloneqq Q.

  7. 7.

    Update II by its saturation with HH, i.e, II:HI\coloneqq I\colon H^{\infty}.

  8. 8.

    Compute the elimination ideal I𝕂[x][z(M)]I\cap\mathbb{K}[x][z^{(\leq M)}]. From the Gröbner basis, choose a polynomial qq of the lowest degree among those of the lowest order.

  9. 9.

    Return q=0q=0 (or its writing with d/dxd/dx).

To prove the correctness of Algorithm 1, we must show that the elimination ideal IfM𝕂[x][z()]I_{\mathcal{M}_{f}^{*}}^{\leq M}\cap\mathbb{K}[x][z^{(\infty)}] in item 8 is non-trivial. This fact is established by the following theorem.

Theorem 2.1

On the commutative ring 𝕂(x)[𝐰(),z()]\mathbb{K}(x)[\mathbf{w}^{(\infty)},z^{(\infty)}], seen as a polynomial ring in infinitely many variables, consider the lexicographic monomial ordering corresponding to any ordering on the variables such that

  • (i.)

    z(j1)wi(j2){z}^{(j_{1})}\succ{w_{i}}^{(j_{2})} for all i,j1,j2i,j_{1},j_{2}\in\mathbb{N},

  • (ii.)

    z(j+1)z(j)z^{(j+1)}\succ z^{(j)} and wi1(j+1)wi2(j)w_{i_{1}}^{(j+1)}\succ w_{i_{2}}^{(j)} for all i1,i2,ji_{1},i_{2},j\in\mathbb{N}.

Then the set E{Q𝐰μ𝐚(𝐰)𝐞𝐚(𝐰),Qzb(𝐲)}E\coloneqq\left\{Q{\mathbf{w}^{\prime}}^{\mu}-\mathbf{a}(\mathbf{w})-\mathbf{e}_{\mathbf{a}}(\mathbf{w}^{\prime}),\,Qz-b(\mathbf{y})\right\} is a triangular set with respect to this ordering. Moreover,

IfM𝕂[x][z()]0.I_{\mathcal{M}_{f}^{*}}^{\leq M}\cap\mathbb{K}[x][z^{(\infty)}]\neq\langle 0\rangle. (12)
Proof

The leading monomials of (Qwiμiai(𝐰)eai(wi))(j)\left(Q\,{w_{i}^{\prime}}^{\mu_{i}}-a_{i}(\mathbf{w})-e_{a_{i}}(w_{i}^{\prime})\right)^{(j)} and (Qzb(𝐰))(j)\left(Q\,z-b(\mathbf{w})\right)^{(j)} in the ring 𝕂(x)[𝐰(),z()]\mathbb{K}(x)[\mathbf{w}^{(\infty)},z^{(\infty)}] (with derivation seen in S𝐰,zS_{\mathbf{w},z}) have highest variables wi(j+1)w_{i}^{(j+1)} and z(j)z^{(j)}, respectively. Since these variables are all distinct, by definition (see [18, Definition 4.1]), we deduce that EE is a consistent triangular set. We shall see the coefficients in the field 𝕂(x)\mathbb{K}(x). As a triangular set, EE defines the ideal E:H=If\langle E\rangle:H^{\infty}=I_{\mathcal{M}_{f}^{*}}. Therefore by [18, Theorem 4.4]) all associated primes of IMI_{\mathcal{M}^{*}}^{\leq M} share the same transcendence basis given by the non-leading variables {w1,,wM}\{w_{1},\ldots,w_{M}\} in IfMI_{\mathcal{M}_{f}^{*}}^{\leq M}. Thus the transcendence degree of 𝕂(x)[𝐰(M),z(M)]/IfM\mathbb{K}(x)[\mathbf{w}^{(\leq M)},z^{(\leq M)}]/I_{\mathcal{M}_{f}^{*}}^{\leq M} over 𝕂(x)\mathbb{K}(x) is MM. However, the transcendence degree of 𝕂(x)[z(M)]\mathbb{K}(x)[z^{(\leq M)}] is M+1M+1. Hence we must have IfM𝕂[x][z()]0I_{\mathcal{M}_{f}^{*}}^{\leq M}\cap\mathbb{K}[x][z^{(\infty)}]\neq\langle 0\rangle. \square

From the proof of Theorem 2.1, one should observe that MM is the minimal integer for which the used arguments hold. This relates to the minimality of the order of the ADE obtained after the computations. Moreover, the l.h.o and the non-l.h.o cases are unified in (10). We make \mathbf{\mathcal{E}} explicit to illustrate the difference with the construction of (f)(\mathcal{M}_{f}) in Section 2.1.

The main point behind Algorithm 1 is the systematic construction of ADEs for rational expressions of D-algebraic functions using ODE systems (or triangular sets). Note that the saturation with respect to the least common multiple of the denominators and the separants implies that the D-algebraic functions we deal with are the generic solutions of ADEs.

2.3 Implementation

We have implemented Algorithm 1 in the NLDE package (see [43, 41]). It complements the implementation for arithmetic operations from [1]. For full details on the syntax, we refer the reader to the documentation at MathRepo NLDE Doc (see also [41]). We here present examples to illustrate what can be seen as an improvement of the implementation in [1]. The commands for arithmetic operations are NLDE:-arithmeticDalg and NLDE:-unaryDalg. The former is for several input ADEs, and the latter is for a single input ADE. By default, NLDE:-arithmeticDalg follows the second method in [1], which implies that in the non-l.h.o. case, the order of the returned ADE may be higher than expected. When some of the input ADEs are not l.h.o., one specifies lho=false to use Algorithm 1 and obtain an ADE of the smallest order possible. Regarding Gröbner bases elimination, by default,

  • when lho=true, we use the pure lexicographic ordering plex from the Maple package Groebner; this is the same ordering used in Theorem 2.1, which guarantees the desired result.

  • When lho=false, we use the lexdeg elimination order of Bayer and Stillman [4] implemented by the EliminationIdeal command of the Maple package PolynomialIdeals. This is a block order where blocks are ordered with plex. In our case, there are two blocks: the variables of the elimination ideal constitute one block, and the remaining variables constitute the other one. Both blocks are internally ordered with a suitable order like degrevlex for instance. Although this ordering generally returns the desired result, it can also fail to find it sometimes. Nevertheless, lexdeg tends to provide a better efficiency. To use plex when lho=false, one further specifies lhoplex=true.

To use the lexdeg ordering when lho=true, one specifies ordering=lexdeg. For unary operations, NLDE:-unaryDalg was updated to only implement the method of this paper.

Example 4

Consider the ADE

y1(x)2+y1(x)2=1.{y_{1}^{\prime}(x)}^{2}+{y_{1}(x)}^{2}=1. (13)

Its solutions are 1,1,-1,1, and λ1cos(x)+λ2sin(x)\lambda_{1}\,\cos(x)+\lambda_{2}\sin(x) for arbitrary λ1,λ2𝕂\lambda_{1},\lambda_{2}\in\mathbb{K} such that λ12+λ22=1\lambda_{1}^{2}+\lambda_{2}^{2}=1. As a second ADE, we take the ODE of the exponential function

y2(x)=y2(x).y_{2}^{\prime}(x)=y_{2}(x). (14)

We want to compute ADEs for the sum of solutions of these two ADEs. Using Method II from [1], one gets the output:

> ADE1:=diff(y[1](x),x)^2+y[1](x)^2-1=0:
> ADE2:=diff(y[2](x),x)=y[2](x):
> Out1:=NLDE:-arithmeticDalg([ADE1,ADE2],[y[1](x),y[2](x)],z=y[1]+y[2])
Out1d3dx3z(x)d2dx2z(x)+ddxz(x)z(x)=0.\mathit{Out1}\coloneqq\frac{d^{3}}{dx^{3}}z\!\left(x\right)-\frac{d^{2}}{dx^{2}}z\!\left(x\right)+\frac{d}{dx}z\!\left(x\right)-z\!\left(x\right)=0. (15)

Since (13) is not l.h.o., its first derivative is used; which explains why the output ADE is of order 2+1=32+1=3. Let us now use the method of this paper. The corresponding ODE system is

{w12=w121w2=w2z=w1+w2.\begin{cases}{w_{1}^{\prime}}^{2}=-{w_{1}}^{2}-1\\ w_{2}^{\prime}=w_{2}\\ z=w_{1}+w_{2}\end{cases}. (16)

Thus μ=(2,1)T,=(0,0)T\mu=(2,1)^{T},\mathbf{\mathcal{E}}=(0,0)^{T}. We use our package as follows:

> Out2:=NLDE:-arithmeticDalg([ADE1,ADE2],[y[1](x),y[2](x)],z=y[1]+y[2],lho=false):
(d2dx2z(x))22(ddxz(x))(d2dx2z(x))+2(ddxz(x))22z(x)(ddxz(x))+z(x)22=0.\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)^{2}-2\left(\frac{d}{dx}z\!\left(x\right)\right)\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)+2\left(\frac{d}{dx}z\!\left(x\right)\right)^{2}-2z\!\left(x\right)\left(\frac{d}{dx}z\!\left(x\right)\right)+z\!\left(x\right)^{2}-2=0. (17)

We obtain a second-order ADE satisfied by sums of all generic solutions to (13) and (14). Notice that 1+exp(x)1+\exp(x) is not a solution of (15) and (17). As explained in [1], in general, the saturation often neglects polynomial solutions of degrees less than the order of non-l.h.o. ADEs; this applies to (15). Similarly, for (17), saturation at the separants eliminates those same polynomials.

On the other hand, our implementation provides an option for the user to avoid saturation by the separants. The optional argument is separantsZeros=true, which is false by default. The option is exploratory and does not rely on Theorem 2.1 when separantsZeros=true. In this case, we have no guarantee that the corresponding elimination ideal is non-trivial. Nevertheless, we have not yet found an example where this does not happen.

> Out2:=NLDE:-arithmeticDalg([ADE1,ADE2],[y[1](x),y[2](x)],z=y[1]+y[2],
lho=false,separantsZeros=true):
> factor(Out2)
(ddxz(x)z(x)+1)(ddxz(x)z(x)1)((d2dx2z(x))22(ddxz(x))(d2dx2z(x))+2(ddxz(x))22z(x)(ddxz(x))+z(x)22)=0.\left(\frac{d}{dx}z\!\left(x\right)-z\!\left(x\right)+1\right)\left(\frac{d}{dx}z\!\left(x\right)-z\!\left(x\right)-1\right)\left(\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)^{2}-2\left(\frac{d}{dx}z\!\left(x\right)\right)\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)\\ +2\left(\frac{d}{dx}z\!\left(x\right)\right)^{2}-2z\!\left(x\right)\left(\frac{d}{dx}z\!\left(x\right)\right)+z\!\left(x\right)^{2}-2\right)=0. (18)

The particular solutions 1+λexp(x)1+\lambda\exp(x) and 1+λexp(x),-1+\lambda\exp(x), λ𝕂\forall\,\lambda\in\mathbb{K}, are zeros of the factors (ddxz(x)z(x)+1)\left(\frac{d}{dx}z\!\left(x\right)-z\!\left(x\right)+1\right) and (ddxz(x)z(x)1)\left(\frac{d}{dx}z\!\left(x\right)-z\!\left(x\right)-1\right), respectively. \blacksquare

Example 5

Let us take the third ADE:

y3(x)3+y3(x)2+3=0.{y_{3}^{\prime}(x)}^{3}+{y_{3}^{\prime}(x)}^{2}+3=0. (19)

Its solutions are αix+λ\alpha_{i}\,x+\lambda, i=1,2,3i=1,2,3, where λ\lambda is an arbitrary constant, and the αi\alpha_{i}’s are roots of the polynomial X3+X2+3=0X^{3}+X^{2}+3=0. We want to find an ADE for f1f3f2\frac{f_{1}\,f_{3}}{f_{2}}, where f1,f2f_{1},f_{2} and f3f_{3} are solutions of (13), (14), and (19), respectively.

The corresponding ODE system is

{w12=w121w2=w2w33=3w32z=w1w3w2.\begin{cases}{w_{1}^{\prime}}^{2}=-{w_{1}}^{2}-1\\ w_{2}^{\prime}=w_{2}\\ {w_{3}^{\prime}}^{3}=-3-{w_{3}^{\prime}}^{2}\\ z=\frac{w_{1}\,w_{3}}{w_{2}}\end{cases}. (20)

Thus μ=(2,1,3)T,=(0,0,w32)T\mu=(2,1,3)^{T},\mathbf{\mathcal{E}}=(0,0,-{w_{3}^{\prime}}^{2})^{T}. The implementation of Algorithm 1 yields:

> Out4:=NLDE:-arithmeticDalg([ADE1,ADE2,ADE3],
[y[1](x),y[2](x),y[3](x)],z=y[1]*y[3]/y[2],lho=false):
Out312z(x)2+32(ddxz(x))z(x)+20(d2dx2z(x))z(x)+6(d3dx3z(x))z(x)+24(ddxz(x))2+30(d2dx2z(x))(ddxz(x))+10(d3dx3z(x))(ddxz(x))+9(d2dx2z(x))2+6(d3dx3z(x))(d2dx2z(x))+(d3dx3z(x))2=0.\mathit{Out3}\coloneqq 12z\!\left(x\right)^{2}+32\left(\frac{d}{dx}z\!\left(x\right)\right)z\!\left(x\right)+20\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)z\!\left(x\right)+6\left(\frac{d^{3}}{dx^{3}}z\!\left(x\right)\right)z\!\left(x\right)+24\left(\frac{d}{dx}z\!\left(x\right)\right)^{2}+30\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)\left(\frac{d}{dx}z\!\left(x\right)\right)+10\left(\frac{d^{3}}{dx^{3}}z\!\left(x\right)\right)\left(\frac{d}{dx}z\!\left(x\right)\right)+9\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)^{2}+6\left(\frac{d^{3}}{dx^{3}}z\!\left(x\right)\right)\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)\right)+\left(\frac{d^{3}}{dx^{3}}z\!\left(x\right)\right)^{2}=0. (21)

For this example, [1, Method II] gives the same output. The latter is one of the three factors of the ADE obtained with the option separantsZeros=true. The other two factors are the following:

(d2dx2z(x)+2ddxz(x)+z(x))(d2dx2z(x)+2ddxz(x)+2z(x))2.\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)+2\frac{d}{dx}z\!\left(x\right)+z\!\left(x\right)\right)\left(\frac{d^{2}}{dx^{2}}z\!\left(x\right)+2\frac{d}{dx}z\!\left(x\right)+2z\!\left(x\right)\right)^{2}. (22)

These two factors vanish at λαiexp(x)\lambda\,\alpha_{i}\,\exp(-x), i=1,2,3i=1,2,3, λ𝕂\forall\,\lambda\in\mathbb{K}. \blacksquare

Note that either of the implementations of the Rosendfeld-Gröbner algorithm and the Thomas decomposition could not find (21) within a reasonable time. The former runs out of memory, and the latter keeps running even after an hour of computations. They tend to behave this way for ADEs of higher degrees. We also mention that even in the situation where one of these algorithms would return a correct result, the exponent in (22) could not be found since those algorithms output generators of a radical differential ideal, unlike our algorithm which computes in the corresponding differential ideal. It would be interesting to know what these exponents mean.

3 Arithmetic of multivariate D-algebraic functions

We now focus on solutions of algebraic PDEs. We aim to present an algorithm in the spirit of Method I in [1]. For simplicity, we start with bivariate D-algebraic functions. Thus the NN functions f1,,fNf_{1},\ldots,f_{N} are now bivariate in 𝐱=x1,x2\mathbf{x}=x_{1},x_{2}, and each fif_{i} is a zero of the partial differential polynomial piR[yi(,)]p_{i}\in R[y_{i}^{(\infty,\infty)}] of order ni,1n_{i,1} w.r.t. x1x_{1}, and of order ni,2n_{i,2} w.r.t. x2x_{2}.

3.1 Ordering on the semigroup of derivative operators

We are going to introduce a total ordering on the set of derivative operators with the aim of using them in increasing order up to a given limit. Algorithmically, this will entail to defining a map that sends every non-negative integer to a derivative operator. In [25] and many references in differential algebra (see also [15]), the notion of order for partial differential rings is different from the one we use. The prevalent definition does not easily adapt to our computational goal. Indeed, given the set of derivations Δ2={x1,x2}\Delta_{2}=\{\partial_{x_{1}},\partial_{x_{2}}\}, one considers the free multiplicative semigroup Θ2\Theta_{2} generated by the elements of Δ2\Delta_{2}. To any derivative operator

θx1n1x2n2Θ,n1,n2,\theta\coloneqq\partial_{x_{1}}^{n_{1}}\,\partial_{x_{2}}^{n_{2}}\in\Theta,~n_{1},n_{2}\in\mathbb{N},

one defines the order s=n1+n2s=n_{1}+n_{2}. The derivative θu\theta u of uRu\in R, is called the derivative of uu of order ss (supposedly w.r.t. θ\theta). The order of a differential polynomial pR[y(,)]p\in R[y^{(\infty,\infty)}] (also called Δ2\Delta_{2}-polynomial ring) is then the maximum ni+njn_{i}+n_{j} such that y(ni,nj)y^{(n_{i},n_{j})} occurs in pp. What we wish to add in this definition is a total ordering (or ranking) of the derivative operators in Θ2\Theta_{2}. Observe that for Δ1={x}\Delta_{1}=\{\partial_{x}\}, there is a natural ranking of the derivative operators:

{x0,x1,x2,},\{\partial_{x}^{0},\partial_{x}^{1},\partial_{x}^{2},\ldots\},

allowing to uniquely associate a non-negative integer with the order of a particular derivative. With the above definition of order for bivariate partial differential polynomial rings, there are two possible choices for the derivative of yy of order 11, namely, y(0,1)y^{(0,1)} and y(1,0)y^{(1,0)}. We combine total order and classical orderings (lexicographic or reverse-lexicographic).

The total-order is used to ensure the possibility to move from y(n1,0)y^{(n_{1},0)} to y(0,n2)y^{(0,n_{2})} by some applications of the chosen derivation rule. In fact, the bijective map between \mathbb{N} and 2\mathbb{N}^{2} should be “obvious” by construction. Thus what we call order for y(n1,n2)y^{(n_{1},n_{2})} is either the non-negative integer whose image (or preimage) is (n1,n2)(n_{1},n_{2}) through that bijection, or simply (n1,n2)(n_{1},n_{2}), assuming Θ2\Theta_{2} is well-ordered (might be implicit for non-computational purposes). We will use the latter, and define a derivation rule based on a bijective map between 2\mathbb{N}^{2} and \mathbb{N}.

Our idea is to use a “very” classical map in set theory. Consider the following start of a ranking for the application of derivative operators

x1x2x12x1x2x22x13.\partial_{x_{1}}\longrightarrow\partial_{x_{2}}\longrightarrow\partial_{x_{1}}^{2}\longrightarrow\partial_{x_{1}}\partial_{x_{2}}\longrightarrow\partial_{x_{2}}^{2}\longrightarrow\partial_{x_{1}}^{3}\ldots.

This corresponds to the following ranking of derivative orders

(1,0)(0,1)(2,0)(1,1)(0,2)(3,0).(1,0)\longrightarrow(0,1)\longrightarrow(2,0)\longrightarrow(1,1)\longrightarrow(0,2)\longrightarrow(3,0)\ldots.

One can associate each ordered pair of integers with a unique positive integer. Indeed, the underlying map is the so-called Cantor pairing function, which is a bijection from 2\mathbb{N}^{2} to \mathbb{N}. The underlying ordering of the ordered pairs is the graded (or degree) lexicographic ordering; however, to avoid confusion with the lexicographic ordering that we will use for monomials, we use the terminology of Cantor pairing function or Cantor ll-tuple functions for arbitrarily many independent variables. As proven by Rudolf Fueter and George Pólya [16], the Cantor pairing function is the only quadratic polynomial that maps 2\mathbb{N}^{2} to \mathbb{N}. Therefore for two variables, it appears as the most “natural and efficient” choice for processing speed on a regular computer.

We see that such a ranking is inherent to the definition of a total order on Θ2\Theta_{2} to rank the variable in SyS_{y}. Note that this ranking is in line with the terminology introduced by Ritt and should not be confused with monomial orderings. Let σ2\sigma_{2} be the Cantor pairing function, σ21\sigma_{2}^{-1} its functional inverse such that σ21(k)=(σ2,11(k),σ2,21(k))\sigma_{2}^{-1}(k)=(\sigma_{2,1}^{-1}(k),\sigma_{2,2}^{-1}(k)). For kk\in\mathbb{N}, the kkth derivation, denoted θx1,x2k\theta_{x_{1},x_{2}}^{k}, is:

θx1,x2k:SySyy(i,j)x1σ2,11(k)x2σ2,21(k)y(i,j)=y(i+σ2,11(k),j+σ2,21(k)),i,j.\begin{split}&\theta_{x_{1},x_{2}}^{k}\colon S_{y}\longrightarrow S_{y}\\ &y^{(i,j)}\mapsto\partial_{x_{1}}^{\sigma_{2,1}^{-1}(k)}\partial_{x_{2}}^{\sigma_{2,2}^{-1}(k)}y^{(i,j)}=y^{(i+\sigma_{2,1}^{-1}(k),j+\sigma_{2,2}^{-1}(k))},\,i,j\in\mathbb{N}.\end{split} (23)

We view R[y(,)]R[y^{(\infty,\infty)}] as

R[θx1,x2y(0,0)]R[θx1,x21y(0,0),θx1,x22y(0,0),]=R[y(0,0),y(1,0),y(0,1),y(2,0),].R[\theta_{x_{1},x_{2}}^{\infty}y^{(0,0)}]\coloneqq R[\theta_{x_{1},x_{2}}^{1}y^{(0,0)},\theta_{x_{1},x_{2}}^{2}y^{(0,0)},\ldots]=R[y^{(0,0)},y^{(1,0)},y^{(0,1)},y^{(2,0)},\ldots].

This implicitly defines an operator which we denote by θx1,x2\theta_{x_{1},x_{2}}.

Remark 2
  • For all kk\in\mathbb{N}, θx1,x2kΘ2\theta_{x_{1},x_{2}}^{k}\in\Theta_{2}, and therefore satisfies the linearity and the Leibniz rules.

  • On the operator side, θx1,x2k\theta_{x_{1},x_{2}}^{k} may wrongly be seen as the kkth power of the operator θx1,x2\theta_{x_{1},x_{2}}. Although commutativity is induced by the semigroup Θ2\Theta_{2}, exponentiation does not follow. In general, for i,ji,j\in\mathbb{N},

    θx1,x2i+jθx1,x2iθx1,x2j=θx1,x2jθx1,x2i.\theta_{x_{1},x_{2}}^{i+j}\neq\theta_{x_{1},x_{2}}^{i}\theta_{x_{1},x_{2}}^{j}=\theta_{x_{1},x_{2}}^{j}\theta_{x_{1},x_{2}}^{i}. (24)

    The equality is easy to establish since for θx1,x2i=x1i1x2i2\theta_{x_{1},x_{2}}^{i}=\partial_{x_{1}}^{i_{1}}\partial_{x_{2}}^{i_{2}}, and θx1,x2j=x1j1x2j2\theta_{x_{1},x_{2}}^{j}=\partial_{x_{1}}^{j_{1}}\partial_{x_{2}}^{j_{2}}, we have

    θx1,x2iθx1,x2j=x1i1+j1x2i2+j2=θx1,x2jθx1,x2i.\theta_{x_{1},x_{2}}^{i}\theta_{x_{1},x_{2}}^{j}=\partial_{x_{1}}^{i_{1}+j_{1}}\partial_{x_{2}}^{i_{2}+j_{2}}=\theta_{x_{1},x_{2}}^{j}\theta_{x_{1},x_{2}}^{i}.

    Just to give an example, let p:=y(1,2)p:=y^{(1,2)}. Then we have

    θx1,x28(p)=y(2,4)θx1,x25(θx1,x23(p))=θx1,x23(θx1,x25(p))=y(3,4)=θx1,x212(p)\theta_{x_{1},x_{2}}^{8}(p)=y^{(2,4)}\neq\theta_{x_{1},x_{2}}^{5}\left(\theta_{x_{1},x_{2}}^{3}(p)\right)=\theta_{x_{1},x_{2}}^{3}\left(\theta_{x_{1},x_{2}}^{5}(p)\right)=y^{(3,4)}=\theta_{x_{1},x_{2}}^{12}(p) (25)

    We will consider the kkth derivation w.r.t. θx1,x2\theta_{x_{1},x_{2}} as the application of θx1,x2k\theta_{x_{1},x_{2}}^{k}, and not kk successive applications of θx1,x21=x1\theta_{x_{1},x_{2}}^{1}=\partial_{x_{1}}.

We introduced θx1,x2\theta_{x_{1},x_{2}} primarily to avoid continuous referencing to the chosen ordering. This will significantly simplify the arguments in the upcoming sections. Needless to say, one can easily avoid explicit links to this operator.

3.2 Arithmetic of bivariate D-algebraic functions

Observe that, unlike other definitions of multivariate D-algebraic functions that restrict their study to D-algebraic functions in each independent variable (see [11, Section 5.2],[35, Section 6]), we here have a more general notion. Indeed, a multivariate function can be D-algebraic without being D-algebraic in some of its variables. One can derive proofs for the closure properties by providing bounds for the transcendence degree, as shown in [11, Section 5.2]. Note, however, that the bounds may not be as sharp as in the ordinary case.

Example 6

The incomplete Γ\Gamma function ΓI(x1,x2)\Gamma_{I}(x_{1},x_{2}) defined as

ΓI(x1,x2)=Γ(x1)x2x1F11(x1x1+1,x2)x1,\Gamma_{I}(x_{1},x_{2})=\Gamma(x_{1})-\frac{x_{2}^{x_{1}}\,{}_{1}F_{1}\left(\begin{matrix}x_{1}&x_{1}+1\end{matrix},-x_{2}\right)}{x_{1}}, (26)

where F11{}_{1}F_{1} denotes the confluent hypergeometric function, is D-algebraic, and satisfies the linear ADE:

(x1+x2+1)x2y(x1,x2)+x22x22y(x1,x2)=0.\left(-x_{1}+x_{2}+1\right)\frac{\partial}{\partial x_{2}}y\!\left(x_{1},x_{2}\right)+x_{2}\frac{\partial^{2}}{\partial x_{2}^{2}}y\!\left(x_{1},x_{2}\right)=0. (27)

\blacksquare

Getting back to our algorithmic goal, we can now write every differential polynomial in R[y(,)]R[y^{(\infty,\infty)}] in terms of θx1,x2\theta_{x_{1},x_{2}} derivations.

Example 7

Since every y(n1,n2)y^{(n_{1},n_{2})} is the result of θx1,x2ky(0,0)\theta_{x_{1},x_{2}}^{k}y^{(0,0)}, for k=σ2(n1,n2)k=\sigma_{2}(n_{1},n_{2})\in\mathbb{N}, we can write θ2ky\theta_{2}^{k}y, replacing {x1,x2}\{x_{1},x_{2}\} by 22 and omitting the (0,0)(0,0) superscript. One can even remove yy and the subscript 22 if there is no ambiguity for the variables involved (and get ‘polynomials’ in θ\theta).

x1(y(1,2))2y(0,1)+x2(y(0,0))3y(3,0)(y(3,1))2=x1(θ28y)3θ22y+x2(θ20y)3θ26y(θ211y)2\displaystyle x_{1}\,(y^{(1,2)})^{2}\,y^{(0,1)}+x_{2}\,(y^{(0,0)})^{3}\,y^{(3,0)}-(y^{(3,1)})^{2}=x_{1}\,(\theta_{2}^{8}y)^{3}\,\theta_{2}^{2}y+x_{2}\,(\theta_{2}^{0}y)^{3}\,\theta_{2}^{6}y-(\theta_{2}^{11}y)^{2} (28)
x13(y(1,1))4y(4,1)+x13x22y(1,3)=(θ24y)4θ216y+x13x22θ213y\displaystyle x_{1}^{3}\,(y^{(1,1)})^{4}\,y^{(4,1)}+x_{1}^{3}\,x_{2}^{2}\,y^{(1,3)}=(\theta_{2}^{4}y)^{4}\,\theta_{2}^{16}y+x_{1}^{3}\,x_{2}^{2}\,\theta_{2}^{13}y (29)

\blacksquare

Remark 3
  • θ21x1=1,θ2kx1=0,k2\theta_{2}^{1}x_{1}=1,\,\theta_{2}^{k}x_{1}=0,\,\forall k\geq 2.

  • θ22x2=1,θ2kx2=0,k2\theta_{2}^{2}x_{2}=1,\,\theta_{2}^{k}x_{2}=0,\,\forall k\neq 2.

Proposition 2 (Composition property)

For all non-negative integers k,lk,l, and a differential indeterminate yy, we have

θ2k(θ2ly)=θ2σ2(σ21(k)+σ21(l))y,\theta_{2}^{k}\left(\theta_{2}^{l}\,y\right)=\theta_{2}^{\sigma_{2}\left(\sigma_{2}^{-1}(k)+\sigma_{2}^{-1}(l)\right)}y, (30)

where addition for ordered pairs is taken component wise.

Proof

Let y(i,j)=yσ21(l)y^{(i,j)}=y^{\sigma_{2}^{-1}(l)} be the result of θ2ly\theta_{2}^{l}y. Then according to (23),

θ2ky(i,j)=y(i+σ2,11(k),j+σ2,21(k))=yσ21(l)+σ21(k)=θ2σ2(σ21(k)+σ21(l))y.\theta_{2}^{k}y^{(i,j)}=y^{\left(i+\sigma_{2,1}^{-1}(k),j+\sigma_{2,2}^{-1}(k)\right)}=y^{\sigma_{2}^{-1}(l)+\sigma_{2}^{-1}(k)}=\theta_{2}^{\sigma_{2}\left(\sigma_{2}^{-1}(k)+\sigma_{2}^{-1}(l)\right)}y.

\square

To illustrate our use of θ2\theta_{2}, let us take an explanatory example.

Example 8

Consider

p1=y1(0,1)+x2y1(1,1), and p2=x1y2(1,0)y2(2,0).p_{1}=y_{1}^{(0,1)}+x_{2}\,y_{1}^{(1,1)},\,\text{ and }\,p_{2}=x_{1}\,y_{2}^{(1,0)}-y_{2}^{(2,0)}.

With θ2\theta_{2}, we have

p1θ22y1+x2θ24y1,\displaystyle p_{1}\coloneqq\theta_{2}^{2}y_{1}+x_{2}\,\theta_{2}^{4}y_{1}, (31)
p2x1θ21y2θ23y2.\displaystyle p_{2}\coloneqq x_{1}\,\theta_{2}^{1}y_{2}-\theta_{2}^{3}y_{2}. (32)

Thus w.r.t. θ2\theta_{2}, p1p_{1} and p2p_{2} are of order 44 and 33, respectively. Suppose we want to find an algebraic PDE for the sum f1+f2f_{1}+f_{2}, where fif_{i} is a zero of pi,i=1,2p_{i},i=1,2. Our knowledge of the ordinary case suggests that we look for an ADE of order at most 33 in x1x_{1} and 11 in x2x_{2}. This is the same as looking for an ADE of θ2\theta_{2}-order at most 1111. We define z(x1,x2)z(x_{1},x_{2}) (representing (y1(x1,x2)+y2(x1,x2)(y_{1}(x_{1},x_{2})+y_{2}(x_{1},x_{2})) as the dependent variable for the targeted ADE, and consider the differential polynomial

qzy1y2Sy1,y2,z.q\coloneqq z-y_{1}-y_{2}\in S_{y_{1},y_{2},z}.

We take the 1111 first θ2\theta_{2}-derivatives of qq and remove those that involve derivatives of orders greater than 33 w.r.t. x1x_{1} (first component) and greater than 11 w.r.t. x2x_{2} (second component). We get

z(1,0)y1(1,0)y2(1,0),z(0,1)y1(0,1)y2(0,1),z(2,0)y1(2,0)y2(2,0),z(1,1)y1(1,1)y2(1,1),z(3,0)y1(3,0)y2(3,0),z(2,1)y1(2,1)y2(2,1),z(3,1)y1(3,1)y2(3,1).z^{\left(1,0\right)}-y_{1}^{\left(1,0\right)}-y_{2}^{\left(1,0\right)},z^{\left(0,1\right)}-y_{1}^{\left(0,1\right)}-y_{2}^{\left(0,1\right)},z^{\left(2,0\right)}-y_{1}^{\left(2,0\right)}-y_{2}^{\left(2,0\right)},z^{\left(1,1\right)}-y_{1}^{\left(1,1\right)}-y_{2}^{\left(1,1\right)},z^{\left(3,0\right)}-y_{1}^{\left(3,0\right)}-y_{2}^{\left(3,0\right)},z^{\left(2,1\right)}-y_{1}^{\left(2,1\right)}-y_{2}^{\left(2,1\right)},z^{\left(3,1\right)}-y_{1}^{\left(3,1\right)}-y_{2}^{\left(3,1\right)}. (33)

We now need to take some θ2\theta_{2}-derivatives of p1p_{1} and p2p_{2}. The idea is to make the highest θ2\theta_{2}-derivatives of y1y_{1} and y2y_{2} from (33) occur. Here we wish to have θ211yi=yi(3,1),i=1,2,\theta_{2}^{11}y_{i}=y_{i}^{(3,1)},i=1,2, among the derivatives. Our bound for the number of derivations to be taken is 1111. For this example, it turns out that we only need to take the first 44 θ2\theta_{2}-derivatives. For p1p_{1}, we obtain the differential polynomials

x2y1(2,1)+y1(1,1),x2y1(1,2)+y1(0,2)+y1(1,1),x2y1(3,1)+y1(2,1),x2y1(2,2)+y1(1,2)+y1(2,1).x_{2}y_{1}^{\left(2,1\right)}+y_{1}^{\left(1,1\right)},x_{2}y_{1}^{\left(1,2\right)}+y_{1}^{\left(0,2\right)}+y_{1}^{\left(1,1\right)},x_{2}y_{1}^{\left(3,1\right)}+y_{1}^{\left(2,1\right)},x_{2}y_{1}^{\left(2,2\right)}+y_{1}^{\left(1,2\right)}+y_{1}^{\left(2,1\right)}. (34)

And for p2p_{2} we obtain

x1y2(2,0)+y2(1,0)y2(3,0),x1y2(1,1)y2(2,1),x1y2(3,0)+2y2(2,0)y2(4,0),x1y2(2,1)+y2(1,1)y2(3,1).x_{1}y_{2}^{\left(2,0\right)}+y_{2}^{\left(1,0\right)}-y_{2}^{\left(3,0\right)},x_{1}y_{2}^{\left(1,1\right)}-y_{2}^{\left(2,1\right)},x_{1}y_{2}^{\left(3,0\right)}+2y_{2}^{\left(2,0\right)}-y_{2}^{\left(4,0\right)},x_{1}y_{2}^{\left(2,1\right)}+y_{2}^{\left(1,1\right)}-y_{2}^{\left(3,1\right)}. (35)

We write these differential polynomials with their dependent variables and not in terms of θ2\theta_{2}-derivations. This is a preliminary step for the Gröbner basis elimination that will follow. Note that these computations can be performed without any explicit use of x1\partial_{x_{1}} and x2\partial_{x_{2}}, or any derivative operator in Θ2\Theta_{2}. Indeed, we have the natural isomorphism

(𝕂(x1,x2),Δ2)(𝕂(x1,x2),θx1,x2),\left(\mathbb{K}(x_{1},x_{2}),\Delta_{2}\right)\cong\left(\mathbb{K}(x_{1},x_{2}),\theta_{x_{1},x_{2}}\right), (36)

by the correspondence between θ2\theta_{2}-derivations and elements of Θ2\Theta_{2}.

In a similar way as defined in Theorem 2.1, we consider a lexicographic monomial ordering such that

  • (I.)

    θ2k2zθ2k1yi\theta_{2}^{k_{2}}z\succ\theta_{2}^{k_{1}}y_{i} for all i{1,2},k1,k2i\in\{1,2\},k_{1},k_{2}\in\mathbb{N},

  • (II.)

    θ2k+1zθ2kz\theta_{2}^{k+1}z\succ\theta_{2}^{k}z and θ2k+1yi1θ2kyi2\theta_{2}^{k+1}y_{i_{1}}\succ\theta_{2}^{k}y_{i_{2}} for all i1,i2{1,2},ki_{1},i_{2}\in\{1,2\},k\in\mathbb{N}.

We want to eliminate the lower variables θ2ky1,θ2ky2,k\theta_{2}^{k}y_{1},\theta_{2}^{k}y_{2},k\in\mathbb{N}. We compute the elimination ideal

Ip1,p2,q4,4,(3,1)𝕂[x1,x2][z(0,0),z(1,0),z(0,1),,z(2,0),z(1,1),z(3,0),z(2,1),z(3,1)],I_{p_{1},p_{2},q}^{4,4,(3,1)}\cap\mathbb{K}[x_{1},x_{2}][z^{\left(0,0\right)},z^{\left(1,0\right)},z^{\left(0,1\right)},,z^{\left(2,0\right)},z^{\left(1,1\right)},z^{\left(3,0\right)},z^{\left(2,1\right)},z^{\left(3,1\right)}], (37)

where Ip1,p2,q4,4,(3,1)I_{p_{1},p_{2},q}^{4,4,(3,1)} is the ideal containing p1p_{1}, p2p_{2}, qq, and their derivatives from (34), (35), and (33). This may be viewed as a ramification of a truncation of the corresponding differential ideal in Sy1,y2,zS_{y_{1},y_{2},z} with the ranking imposed by θ2\theta_{2}; however, the truncation would be of θ2\theta_{2}-order 1111. We obtain the principal ideal

(x12x2+x1+x2)z(1,1)+(x12x22+x221)z(2,1)+(x1x22x2)z(3,1).\left\langle\left(x_{1}^{2}x_{2}+x_{1}+x_{2}\right)z^{\left(1,1\right)}+\left(x_{1}^{2}x_{2}^{2}+x_{2}^{2}-1\right)z^{\left(2,1\right)}+\left(-x_{1}x_{2}^{2}-x_{2}\right)z^{\left(3,1\right)}\right\rangle. (38)

Therefore the sum of zeros of p1p_{1} and p2p_{2} are solutions of the associated linear algebraic PDE given by

(x12x2+x1+x2)(2x1x2z(x1,x2))+(x12x22+x221)(3x12x2z(x1,x2))+(x1x22x2)(4x13x2z(x1,x2))=0.\left(x_{1}^{2}x_{2}+x_{1}+x_{2}\right)\left(\frac{\partial^{2}}{\partial x_{1}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)+\left(x_{1}^{2}x_{2}^{2}+x_{2}^{2}-1\right)\left(\frac{\partial^{3}}{\partial x_{1}^{2}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)+\left(-x_{1}x_{2}^{2}-x_{2}\right)\left(\frac{\partial^{4}}{\partial x_{1}^{3}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)=0. (39)

\blacksquare

In Example 8, we obtained an ADE whose order is the sum of the orders of p1p_{1} and p2p_{2} w.r.t. each independent variable. A natural question that we might want to answer is to know whether, like in the ordinary case, the sum of orders of given differential polynomials constitutes a bound for the order of ADEs fulfilled by functions defined as arithmetic expressions of zeros of those polynomials. We will show that this does not hold in general. We give another example to that aim, a tiny modification of Example 8.

Example 9 (The orders do not add up)

Let

p1x1y1(0,1)+x2y1(1,1), and p2x12y2(1,0)y2(2,0)x2.p_{1}\coloneqq x_{1}\,y_{1}^{(0,1)}+x_{2}\,y_{1}^{(1,1)},\,\text{ and }\,p_{2}\coloneqq x_{1}^{2}\,y_{2}^{(1,0)}-y_{2}^{(2,0)}\,x_{2}. (40)

As previously, we can expect to find a partial differential polynomial of order at most 33 in x1x_{1} and 11 in x2x_{2} for the sum of zeros of p1p_{1} and p2p_{2}. However, for this example, the elimination ideal is trivial, even when we do the elimination step with the truncation of θ2\theta_{2}-order 1111 of the corresponding differential ideal.

We now look for an algebraic PDE of order 44 in the first component and order 11 in the second. This corresponds to the θ2\theta_{2}-order 2323. For the polynomials p1p_{1} and p2p_{2}, we take their first 77 θ2\theta_{2}-derivatives and proceed as before. Then we compute the elimination ideal

{θ27p1,θ27p2,θ223q}{θ2kq,σ2,1(k)>4,σ2,2(k)>1}𝕂[x1,x2][z(i,j),i4,j1],\left\langle\left\{\theta_{2}^{\leq 7}p_{1},\,\theta_{2}^{\leq 7}p_{2},\theta_{2}^{\leq 23}q\right\}\setminus\left\{\theta_{2}^{k}q,\sigma_{2,1}(k)>4,\sigma_{2,2}(k)>1\right\}\right\rangle\cap\mathbb{K}[x_{1},x_{2}]\left[z^{(i,j)},\,i\leq 4,j\leq 1\right], (41)

and obtain a principal ideal whose defining polynomial is given by

(x112+2x111x110x2+x1102x19x24x17x225x16x2210x14x23)z(1,1)+(x111x23x19x2+4x18x222x18x2+9x17x22+10x15x232x15x22+30x14x23+10x13x23)z(2,1)+(2x19x223x18x223x16x23+x16x2212x15x236x14x23+12x13x24+x12x24+2x25)z(3,1)+(x17x23+2x16x23+x15x232x14x24x13x242x1x25)z(4,1).\left(x_{1}^{12}+2x_{1}^{11}-x_{1}^{10}x_{2}+x_{1}^{10}-2x_{1}^{9}x_{2}-4x_{1}^{7}x_{2}^{2}-5x_{1}^{6}x_{2}^{2}-10x_{1}^{4}x_{2}^{3}\right)z^{\left(1,1\right)}+\left(x_{1}^{11}x_{2}-3x_{1}^{9}x_{2}+4x_{1}^{8}x_{2}^{2}-2x_{1}^{8}x_{2}+9x_{1}^{7}x_{2}^{2}+10x_{1}^{5}x_{2}^{3}-2x_{1}^{5}x_{2}^{2}+30x_{1}^{4}x_{2}^{3}+10x_{1}^{3}x_{2}^{3}\right)z^{\left(2,1\right)}+\left(-2x_{1}^{9}x_{2}^{2}-3x_{1}^{8}x_{2}^{2}-3x_{1}^{6}x_{2}^{3}+x_{1}^{6}x_{2}^{2}-12x_{1}^{5}x_{2}^{3}-6x_{1}^{4}x_{2}^{3}+12x_{1}^{3}x_{2}^{4}+x_{1}^{2}x_{2}^{4}+2x_{2}^{5}\right)z^{\left(3,1\right)}+\left(x_{1}^{7}x_{2}^{3}+2x_{1}^{6}x_{2}^{3}+x_{1}^{5}x_{2}^{3}-2x_{1}^{4}x_{2}^{4}-x_{1}^{3}x_{2}^{4}-2x_{1}x_{2}^{5}\right)z^{\left(4,1\right)}. (42)

The notation θ2np\theta_{2}^{\leq n}p denotes all θ2\theta_{2}-derivatives of pp of (θ2\theta_{2}-)order at most nn.

Hence for this second example, we obtained an ADE whose order (according to any of the definitions mentioned in Section 3.1) is not the sum of the orders of p1p_{1} and p2p_{2} from (40). \blacksquare

To conclude that this is a general fact, we need to prove that the result of this example does not change if we consider higher θ2\theta_{2}-order truncations of the corresponding differential ideal. Prior to that, we state a useful lemma.

Lemma 1 (Increasing property)

Let yy be a differential indeterminate. Consider the θ2\theta_{2}-ranking in R[y(,)]R[y^{(\infty,\infty)}]. For all non-negative integers a1,a2,b1,b2a_{1},a_{2},b_{1},b_{2}, and kk, we have

y(a1,a2)<y(b1,b2)θ2ky(a1,a2)<θ2ky(b1,b2).y^{(a_{1},a_{2})}<y^{(b_{1},b_{2})}\Longrightarrow\theta_{2}^{k}y^{(a_{1},a_{2})}<\theta_{2}^{k}y^{(b_{1},b_{2})}. (43)

In other words, the application of θ2\theta_{2} derivations preserves the ranking.

Proof

Suppose y(a1,a2)<y(b1,b2)y^{(a_{1},a_{2})}<y^{(b_{1},b_{2})}. By construction of the θ2\theta_{2}-ranking, this is equivalent to

{a1+a2<b1+b2ora2<b2.\begin{cases}a_{1}+a_{2}<b_{1}+b_{2}\\ \text{or}\\ a_{2}<b_{2}\end{cases}.

We have θ2ky(a1,a2)=yσ21(k)+(a1,a2)\theta_{2}^{k}y^{(a_{1},a_{2})}=y^{\sigma_{2}^{-1}(k)+(a_{1},a_{2})} and θ2ky(b1,b2)=yσ21(k)+(b1,b2)\theta_{2}^{k}y^{(b_{1},b_{2})}=y^{\sigma_{2}^{-1}(k)+(b_{1},b_{2})}. Therefore

a1+σ2,11(k)+a2+σ2,21(k)<b1+σ2,11(k)+b2+σ2,21(k), and a2+σ2,21(k)<b2+σ2,21(k).a_{1}+\sigma_{2,1}^{-1}(k)+a_{2}+\sigma_{2,2}^{-1}(k)<b_{1}+\sigma_{2,1}^{-1}(k)+b_{2}+\sigma_{2,2}^{-1}(k),\,\text{ and }\,a_{2}+\sigma_{2,2}^{-1}(k)<b_{2}+\sigma_{2,2}^{-1}(k).

Hence θ2ky(a1,a2)<θ2ky(b1,b2).\theta_{2}^{k}y^{(a_{1},a_{2})}<\theta_{2}^{k}y^{(b_{1},b_{2})}. \square

We can now state our theorem.

Theorem 3.1

We use the same notations of this section. For all NN\in\mathbb{N}, r𝕂(x1,x2)(v1,,vN)r\in\mathbb{K}(x_{1},x_{2})(v_{1},\ldots,v_{N}), the order of the least-order algebraic PDE fulfilled by the bivariate D-algebraic function given by r(f1(x1,x2),,fN(x1,x2))r(f_{1}(x_{1},x_{2}),\ldots,f_{N}(x_{1},x_{2})) is not bounded by the sum of the orders of their defining differential polynomials p1,,pNp_{1},\ldots,p_{N}.

Proof

We prove this by providing a counter-example, which is nothing else but the addition of zeros of p1p_{1} and p2p_{2} from (40). By Lemma 1 it holds that the leading terms of the polynomials

θ2p1,θ2p2,θ2q𝕂[x1,x2][y1(,),y2(,),z(,)]\theta_{2}^{\infty}p_{1},\,\theta_{2}^{\infty}p_{2},\theta_{2}^{\infty}q\in\mathbb{K}[x_{1},x_{2}][y_{1}^{(\infty,\infty)},y_{2}^{(\infty,\infty)},z^{(\infty,\infty)}] (44)

are all distinct. Since those leading terms are linear over 𝕂(x1,x2)[y1(,),y2(,),z(,)]\mathbb{K}(x_{1},x_{2})[y_{1}^{(\infty,\infty)},y_{2}^{(\infty,\infty)},z^{(\infty,\infty)}], we deduce that each of their higher θ2\theta_{2}-derivative linearly occurs starting from a specific θ2\theta_{2}-truncation of the differential ideal

Ip1,p2,qp1,p2,q(,)𝕂[x1,x2][y1(,),y2(,),z(,)].I_{p_{1},p_{2},q}\coloneqq\left\langle p_{1},p_{2},q\right\rangle^{(\infty,\infty)}\subset\mathbb{K}[x_{1},x_{2}][y_{1}^{(\infty,\infty)},y_{2}^{(\infty,\infty)},z^{(\infty,\infty)}].

Therefore any (algebraic) elimination ideal computed from higher θ2\theta_{2}-truncations of Ip1,p2,qI_{p_{1},p_{2},q} would either contain (42), a θ2\theta_{2}-derivative of it, or another differential polynomial of higher θ2\theta_{2}-order; thus, supporting the fact that no higher θ2\theta_{2}-order truncation of Ip1,p2,qI_{p_{1},p_{2},q} contains a differential polynomial in R[z(,)]R[z^{(\infty,\infty)}] of lower order than (42). \square

Note that the arguments used in the proof of Theorem 3.1 are valid for any l.h.o. partial differential polynomials with initials in 𝕂[x1,x2]\mathbb{K}[x_{1},x_{2}]. Thus it implies that our algorithm always yields the least-order algebraic PDEs for the arithmetic of zeros of l.h.o. differential polynomials with initials in 𝕂[x1,x2]\mathbb{K}[x_{1},x_{2}], and can therefore be used to define lower bounds for the order in those cases. It would be interesting to study the behavior of the algorithm for arbitrary algebraic PDEs with an analysis of the transcendence basis when the θ2\theta_{2}-derivatives are taken. We think there is a connection between Kolchin polynomials and the growth of the number of partial derivatives involved in the truncated ideals (see [25, Section 12], [27]).

3.3 Generalization and algorithm

We now want to consider arbitrarily many independent variables. Suppose there are l2l\geq 2 independent variables. As we have seen in the previous two subsections, the definition of a total ordering encoded by the operator θl=θx1,,xl\theta_{l}=\theta_{x_{1},\ldots,x_{l}} using a bijective mapping from l\mathbb{N}^{l} to \mathbb{N} is inherent to our algorithmic computations. One must always define how partial derivatives of differential indeterminates are selected because there is no natural way to do that like in the ordinary setting. A naive bijection can be defined in a recursive fashion with the Cantor pairing function in the base case. Indeed, one can show by induction that the ll maps defined by the recursion

γj:j(i1,,ij)σ2(γj1(i1,,ij1),ij),\begin{split}&\gamma_{j}\colon\mathbb{N}^{j}\longrightarrow\mathbb{N}\\ &\left(i_{1},\ldots,i_{j}\right)\mapsto\sigma_{2}\left(\gamma_{j-1}(i_{1},\ldots,i_{j-1}),i_{j}\right),\end{split} (45)

j=1,,lj=1,\ldots,l, γ1=Id\gamma_{1}=\text{Id}_{\mathbb{N}}, are bijective. However, these maps do not satisfy our desired properties. What is important for us in the choice of this bijection is the fulfillment of a property like Lemma 1 that gives theoretical meanings to all outputs of our algorithm for solutions of l.h.o. algebraic PDEs whose initials are polynomials in 𝕂[x1,,xl]\mathbb{K}[x_{1},\ldots,x_{l}]. For the γj\gamma_{j} functions above, one verifies, for instance, that (0,1,0)<(0,0,2)(0,1,0)<(0,0,2) but (1,0,0)+(0,1,0)=(1,1,0)>(1,0,2)=(1,0,0)+(0,0,2)(1,0,0)+(0,1,0)=(1,1,0)>(1,0,2)=(1,0,0)+(0,0,2), which is not desired.

Having said that, there could still be several possible choices. For this paper, the choice is the Cantor ll-tuple function which generalizes our chosen σ2\sigma_{2} in ll dimensions. This corresponds to the inverse lexicographic ordering, often called co-lexicographic ordering. For monomial ordering, this is understood as the degree lexicographic ordering with the variable ranked in the inverse order. Precisely, we consider σl\sigma_{l} as the ll-tuple function that ranks ll-tuples of integers as follows:

(a1,,al)<(b1,,bl){a1++al<b1++blor{a1++al=b1++bl, andi,j, 1jl,1ilj,:aj+i=bj+i,aj<bj.(a_{1},\ldots,a_{l})<(b_{1},\ldots,b_{l})\,\iff\,\begin{cases}a_{1}+\cdots+a_{l}<b_{1}+\cdots+b_{l}\\[0.93893pt] \text{or}\\[0.93893pt] \begin{cases}a_{1}+\cdots+a_{l}=b_{1}+\cdots+b_{l},\,\text{ and}\\ \exists\,i,j,\,1\leq j\leq l\,,1\leq i\leq l-j,\,\colon\,a_{j+i}=b_{j+i},a_{j}<b_{j}\end{cases}\end{cases}. (46)

We then take θl\theta_{l} as the derivation rule that uses σl\sigma_{l} and its reciprocal σl1\sigma_{l}^{-1} similarly as θ2\theta_{2} uses σ2\sigma_{2} and its reciprocal σ21\sigma_{2}^{-1}. Note that an explicit algebraic formula may be derived for this Cantor ll-tuple function. We will not dive into such details; the combinatorial investigation can be found in [38]. We only require fulfillment of properties like Proposition 2 and Lemma 1. The increasing property generalizes to arbitrarily many independent variables as we show in the next proposition.

Proposition 3 (Increasing property continued)

Let yy be a differential indeterminate. Consider the θl\theta_{l}-ranking in R[y(,𝑙,)]R[y^{(\infty,\overset{l}{\ldots},\infty)}]. For all non-negative integer-valued tuples a,bla,b\in\mathbb{N}^{l} and an integer kk, we have

ya<ybθlkya<θlkyb.y^{a}<y^{b}\Longrightarrow\theta_{l}^{k}y^{a}<\theta_{l}^{k}y^{b}. (47)
Proof

Let a,bla,b\in\mathbb{N}^{l} such that ya<yby^{a}<y^{b} w.r.t. the θl\theta_{l}-ranking. By definition θlkya=yσl1(k)+a\theta_{l}^{k}y^{a}=y^{\sigma_{l}^{-1}(k)+a}. Thus the application of θlk\theta_{l}^{k} to yay^{a} and yby^{b} adds σl,i1(k)0\sigma_{l,i}^{-1}(k)\geq 0 to each aia_{i} and bib_{i}, i=1,,ki=1,\ldots,k. This preserves the inequality by the definition of the ranking in (46). \square

One easily verifies that a similar property as Proposition 2 also holds. Hence using θl\theta_{l} we can compute ADEs for arithmetic of multivariate D-algebraic functions. Our algorithm that summarizes all the necessary steps is given by Algorithm 2.

Algorithm 2 Searching ADEs fulfilled by rational expressions of multivariate D-algebraic functions
A rational function r𝕂(𝐱,y1,,yN)r\in\mathbb{K}(\mathbf{x},y_{1},\ldots,y_{N}), and NN ADEs associated to the differential polynomials pi𝕂(x1,,xl)[yi(,𝑙,)]p_{i}\in\mathbb{K}(x_{1},\ldots,x_{l})[y_{i}^{(\infty,\overset{l}{\ldots},\infty)}] all of derivations Δ2={xi,i=1,,l}\Delta_{2}=\{\partial_{x_{i}},\,i=1,\ldots,l\} (or simply θx1,,xlθl\theta_{x_{1},\ldots,x_{l}}\coloneqq\theta_{l}).
0 (unsuccessful situation) or an ADE fulfilled by r(f1,,fN)r(f_{1},\ldots,f_{N}), where fif_{i} is a zero of pip_{i}, i=1,,Ni=1,\ldots,N. By default, for each independent variable, the maximum order of the ADE sought is the sum of the orders w.r.t. that variable. Optionally, one can choose (ν1,,νl)(\nu_{1},\ldots,\nu_{l}) as a maximum order and make the algorithm starts from step 4. If a desired ADE exists within the prescribed order bound, then it will be found in the conditions of Theorem 3.2; otherwise, a higher order bound is required.
  1. 1.

    For each differential polynomial pip_{i}, let ni,j,j=1,,ln_{i,j},\,j=1,\ldots,l be the orders of pip_{i} w.r.t. xjx_{j}.

  2. 2.

    Set 𝒩(ν1,,νl)=(i=1Nni,1,,i=1Nni,l)\mathcal{N}\coloneqq(\nu_{1},\ldots,\nu_{l})=\left(\sum_{i=1}^{N}n_{i,1},\ldots,\sum_{i=1}^{N}n_{i,l}\right).

  3. 3.

    Set ν=σl(ν1,,νl)\nu=\sigma_{l}(\nu_{1},\ldots,\nu_{l}). //Comment: (ν1,,νl)(\nu_{1},\ldots,\nu_{l}) can be optionally given in the input.

  4. 4.

    Let \mathcal{R} be the numerator of the rational expression wr(y1,,yN)w-r(y_{1},\ldots,y_{N}).

  5. 5.

    Let EE be the set

    {θlk:σl,11(k)ν1,,σl,l1(k)νl,k=0,,ν}\left\{\theta_{l}^{k}\mathcal{R}:\sigma_{l,1}^{-1}(k)\leq\nu_{1},\ldots,\sigma_{l,l}^{-1}(k)\leq\nu_{l},\,k=0,\ldots,\nu\right\}
  6. 6.

    Let (m1,,ml)(m_{1},\ldots,m_{l}) be the minimum order (w.r.t. the θl\theta_{l}-ranking) that appears among the orders (ni,1,,ni,l),i=1,,N(n_{i,1},\ldots,n_{i,l}),i=1,\ldots,N.

  7. 7.

    Let d=σl(ν1m1,,νlml)d=\sigma_{l}(\nu_{1}-m_{1},\ldots,\nu_{l}-m_{l}).

  8. 8.

    Update the set EE by adding the polynomials p1,,pNp_{1},\ldots,p_{N}, and their first dd θl\theta_{l}-derivatives to it,i.e.,

    EE{θlkpi,k=1,,d,i=1,,N}E\coloneqq E\cup\left\{\theta_{l}^{k}p_{i},k=1,\ldots,d,i=1,\ldots,N\right\}
  9. 9.

    Let DilD_{i}\in\mathbb{N}^{l}, be the maximum order w.r.t. the θl\theta_{l}-ranking of the differential indeterminate yiy_{i} in EE, i=1,,Ni=1,\ldots,N.

  10. 10.

    Let

    IE𝕂[x1,,xl][y1D1,,yNDN,z(ν1,νl)],I\coloneqq\langle E\rangle\subset\mathbb{K}[x_{1},\ldots,x_{l}][y_{1}^{\leq D_{1}},\ldots,y_{N}^{\leq D_{N}},z^{(\leq\nu_{1},\ldots\leq\nu_{l})}],

    be the ideal defined by the polynomials in EE.

  11. 11.

    Compute the elimination ideal

    I𝕂[x1,,xl][z(ν1,νl)],\mathcal{I}\coloneqq I\cap\mathbb{K}[x_{1},\ldots,x_{l}][z^{(\leq\nu_{1},\ldots\leq\nu_{l})}],

    using the lexicographic monomial ordering as defined in (I.) and (II.) from page 36.

Algorithm 3 Searching ADEs fulfilled by rational expressions of multivariate D-algebraic functions
  1. 12.

    If 0\mathcal{I}\neq\langle 0\rangle then:

    • Let pp be the polynomial of lowest degree among those of lowest θl\theta_{l}-order in \mathcal{I}.

    • Stop and return the writing of p=0p=0 in terms of partial derivatives.

  2. 13.

    (=0\mathcal{I}=\langle 0\rangle) While dνd\leq\nu do:

    • dd+1d\coloneqq d+1 (update dd by d+1d+1)

    • Repeat steps 8 to 12

  3. 14.

    Return 0 (meaning that “No ADE of order component-wisely less than (ν1,,νl)(\nu_{1},\ldots,\nu_{l}) found”).

Theorem 3.2

Algorithm 2 is correct, and when successful (non-zero output) with input ADEs that are l.h.o. algebraic PDEs with initials in 𝕂[x1,,xl]\mathbb{K}[x_{1},\ldots,x_{l}], it returns an algebraic PDE of least-order w.r.t. the total ordering induced by θl\theta_{l}.

Proof

As we have seen in the previous section, Algorithm 2 is an exhaustion of the possibilities to find a least-order ADE with a given bound. Therefore correctness easily follows. However, when the algorithm halts, there is no evidence that the output is necessarily of minimal order. In the case of l.h.o. algebraic PDEs whose initials are polynomials in the independent variables, the justification is the same as for the counter-example given in the proof of Theorem 3.1: the first non-trivial elimination always yields the least-order algebraic PDE possible. \square

Remark 4

We may speed up Algorithm 2 by checking the algebraic dependency with a Jacobian condition (see [14, Theorem 2.2]) instead of always computing Gröbner bases.

Let us say a few words on the reason why the triangular set arguments (see Theorem 2.1) do not apply the same way to guarantee the minimality of the order for arbitrary algebraic PDEs like in the ordinary case. When applying the θl\theta_{l}-derivations, the transcendence degree increases because some variables occur independently of the algebraic dependencies encoded by a single PDE. This may explain why partial differential equations are often studied as systems instead of single equations like in the ordinary setting. To illustrate this phenomenon, consider our example of bivariate differential polynomials p1=θ22y1+x2θ24y1p_{1}=\theta_{2}^{2}y_{1}+x_{2}\theta_{2}^{4}y_{1}, p2=x1θ21y2θ23y2p_{2}=x_{1}\theta_{2}^{1}y_{2}-\theta_{2}^{3}y_{2}, for which we were looking for an ADE fulfilled by sums of their zeros. Using the θ2\theta_{2}-ranking, the following system can be used to portray how the algebraic dependencies occur.

{θ21y1=w1θ22y1=w2θ23y1=w3θ24y1=w2x2θ21y2=w4θ22y2=w5θ23y2=x1w4z=y1+y2.\begin{cases}\theta_{2}^{1}y_{1}=w_{1}\\ \theta_{2}^{2}y_{1}=w_{2}\\ \theta_{2}^{3}y_{1}=w_{3}\\ \theta_{2}^{4}y_{1}=-\frac{w_{2}}{x_{2}}\\ \theta_{2}^{1}y_{2}=w_{4}\\ \theta_{2}^{2}y_{2}=w_{5}\\ \theta_{2}^{3}y_{2}=x_{1}\,w_{4}\\ z=y_{1}+y_{2}\end{cases}. (48)

Since these are linear equations, substitution easily does the elimination. The main question is to know whether we can always substitute higher θ2\theta_{2}-derivatives of y1y_{1} and y2y_{2} in higher θ2\theta_{2}-derivatives of zz by some rational expression in w1,,w5w_{1},\ldots,w_{5}. The answer is no since applying θ24\theta_{2}^{4} to the last equation yields

θ24z=θ24y1+θ24y2=w2x2+θ24y2,\theta_{2}^{4}z=\theta_{2}^{4}y_{1}+\theta_{2}^{4}y_{2}=-\frac{w_{2}}{x_{2}}+\theta_{2}^{4}y_{2},

and there is no link to θ24y2\theta_{2}^{4}y_{2}. Thus θ24y2\theta_{2}^{4}y_{2} could be seen as a new transcendent element to consider in the elimination process. Such a situation never happens with ordinary differential equations because θ1k+1y=θ1(θ1ky)\theta_{1}^{k+1}y=\theta_{1}(\theta_{1}^{k}y). Note that an algebraic dependency between zz-derivatives will certainly arise at some point; however, it does not seem obvious to predict when that will occur, like in the ODE case.

3.4 Implementation

Our package NLDE contains a subpackage called MultiDalg that is being designed to perform operations with multivariate D-algebraic functions. The current implementation of Algorithm 2 is arithmeticMDalg in MultiDalg for both unary and NN-ary arithmetic of multivariate D-algebraic functions. The syntax is similar to that of NLDE:-arithmeticDalg. The monomial ordering used is either the lexicographic (default) or the lexdeg ordering with the corresponding θl\theta_{l}-ranking, where ll is the number of independent variables.

Example 10

Consider the three PDEs:

fx=fy,fy=fz,fz=fx.\frac{\partial f}{\partial x}=\frac{\partial f}{\partial y},\,\frac{\partial f}{\partial y}=\frac{\partial f}{\partial z},\,\frac{\partial f}{\partial z}=\frac{\partial f}{\partial x}. (49)

We view them as three independent PDEs and would like to compute a fourth PDE for the sum of their solutions. Using our package, this can be done with the code below.

> with(NLDE:-MultiDalg): #to load the subpackage.
> ADE1:=diff(U(x,y,z),x)=diff(U(x,y,z),y):
> ADE2:=diff(V(x,y,z),y)=diff(V(x,y,z),z):
> ADE3:=diff(W(x,y,z),z)=diff(W(x,y,z),x):
> arithmeticMDalg([ADE1,ADE2,ADE3],[U(x,y,z),V(x,y,z),W(x,y,z)],T=U+V+W)
3x2yT(x,y,z)3xy2T(x,y,z)3x2zT(x,y,z)+3y2zT(x,y,z)+3xz2T(x,y,z)3yz2T(x,y,z)=0\frac{\partial^{3}}{\partial x^{2}\partial y}T\!\left(x,y,z\right)-\frac{\partial^{3}}{\partial x\partial y^{2}}T\!\left(x,y,z\right)-\frac{\partial^{3}}{\partial x^{2}\partial z}T\!\left(x,y,z\right)+\frac{\partial^{3}}{\partial y^{2}\partial z}T\!\left(x,y,z\right)+\frac{\partial^{3}}{\partial x\partial z^{2}}T\!\left(x,y,z\right)-\frac{\partial^{3}}{\partial y\partial z^{2}}T\!\left(x,y,z\right)=0 (50)

One can use Maple’s pdsolve command to check that sum of solutions to the PDEs in (49) are solutions of (50) and that the solutions of (50) are sums of solutions to the PDEs in (49). A nice algebraic perspective for solving such linear PDEs is given in [31, Section 3.3]. \blacksquare

Example 11

We show how to recover the results of our explanatory examples with our implementation. To get (39), one uses the code below. We do not display the output as it is identical to (39). The last line gives the result.

> ADE1:=diff(y[1](x[1],x[2]),x[1],x[2])*x[2]+diff(y[1](x[1],x[2]),x[2])=0:
> ADE2:=diff(y[2](x[1],x[2]),x[1])*x[1]-diff(y[2](x[1],x[2]),x[1],x[1])=0:
> arithmeticMDalg([ADE1,ADE2],[y[1](x[1],x[2]),y[2](x[1],x[2])],z=y[1]+y[2]):

For the second example, to check that there is no ADE of order less than (3,1)(3,1), component wise, one uses the following code.

> ADE1:=diff(y[1](x[1],x[2]),x[1],x[2])*x[2]+diff(y[1](x[1],x[2]),x[2])*x[1]=0:
> ADE2:=x[1]^2*diff(y[2](x[1],x[2]),x[1])-diff(y[2](x[1],x[2]),x[1],x[1])*x[2]=0:
> arithmeticMDalg([ADE1,ADE2],[y[1](x[1],x[2]),y[2](x[1],x[2])],z=y[1]+y[2])
0.0. (51)

The 0 in the output should be interpreted as “no ADE of order less than the sum of the orders was found”. To get the ADE associated to (42), one supplies the optional argument maxord=[4,1] and gets:

> arithmeticMDalg([DE1,DE2],[y[1](x[1],x[2]),y[2](x[1],x[2])],
z=y[1]+y[2],maxord=[4,1])
(x112+2x111x110x2+x1102x19x24x17x225x16x2210x14x23)(2x1x2z(x1,x2))+(x111x23x19x2+4x18x222x18x2+9x17x22+10x15x232x15x22+30x14x23+10x13x23)(3x12x2z(x1,x2))+(2x19x223x18x223x16x23+x16x2212x15x236x14x23+12x13x24+x12x24+2x25)(4x13x2z(x1,x2))+(x17x23+2x16x23+x15x232x14x24x13x242x1x25)(5x14x2z(x1,x2))=0.\left(x_{1}^{12}+2x_{1}^{11}-x_{1}^{10}x_{2}+x_{1}^{10}-2x_{1}^{9}x_{2}-4x_{1}^{7}x_{2}^{2}-5x_{1}^{6}x_{2}^{2}-10x_{1}^{4}x_{2}^{3}\right)\left(\frac{\partial^{2}}{\partial x_{1}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)+\left(x_{1}^{11}x_{2}-3x_{1}^{9}x_{2}+4x_{1}^{8}x_{2}^{2}-2x_{1}^{8}x_{2}+9x_{1}^{7}x_{2}^{2}+10x_{1}^{5}x_{2}^{3}-2x_{1}^{5}x_{2}^{2}+30x_{1}^{4}x_{2}^{3}+10x_{1}^{3}x_{2}^{3}\right)\left(\frac{\partial^{3}}{\partial x_{1}^{2}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)+\left(-2x_{1}^{9}x_{2}^{2}-3x_{1}^{8}x_{2}^{2}-3x_{1}^{6}x_{2}^{3}+x_{1}^{6}x_{2}^{2}-12x_{1}^{5}x_{2}^{3}-6x_{1}^{4}x_{2}^{3}+12x_{1}^{3}x_{2}^{4}+x_{1}^{2}x_{2}^{4}+2x_{2}^{5}\right)\left(\frac{\partial^{4}}{\partial x_{1}^{3}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)+\left(x_{1}^{7}x_{2}^{3}+2x_{1}^{6}x_{2}^{3}+x_{1}^{5}x_{2}^{3}-2x_{1}^{4}x_{2}^{4}-x_{1}^{3}x_{2}^{4}-2x_{1}x_{2}^{5}\right)\left(\frac{\partial^{5}}{\partial x_{1}^{4}\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)=0. (52)

\blacksquare

4 Discussions: applications and future developments

4.1 Applications

Let us discuss the potential application of our results, and in particular, the use of our software. First of all, it is worthwhile to remember that these elimination techniques are familiar to many scientists from many disciplines. However, it is often the case that the software they use, when the computations involved are tedious to do by hand, is tailored to a very specific problem and cannot be easily adapted when the underlying (D-algebraic) functions are changed. Usually one can notice that their accompanying codes for related problems are adaptations of an old code that was designed for some popular D-algebraic functions. See for instance, the recurrent use of elimination to find the fourth Painlevé transcendent of Hamiltonian representations in [13]. Since several functions in the sciences such as Physics, Biology, or Statistics are defined by algebraic ordinary or partial differential equations, usually with some initial values, one can use our software to compute differential equations satisfied by rational expressions of solutions to given ADEs. Let us demonstrate this with some concrete examples.

Example 12

In [45, Problem 6.24], the following algebraic ODE is derived from the Korteweg-de Vries equation:

cv(x)+v(3)(x)+6v(x)v(x)=0.-c\,v^{\prime}(x)+v^{(3)}(x)+6\,v(x)\,v^{\prime}(x)=0. (53)

Physicists are interested in solutions which satisfy limx±v(x)=0\lim_{x\longrightarrow\pm\infty}v(x)=0. This limits the admissible parameter cc on the shape of v(x)v(x). One looks for a linear transformation of vv that eliminates the term cv-c\,v^{\prime} from (53). Using NLDE, we compute an ADE for any such linear transformation and deduce a desired equation.

> ADEKV:=-c*diff(v(x),x)+diff(v(x),x,x,x)+6*v(x)*diff(v(x),x)=0:
> NLDE:-unaryDalg(ADEKV,v(x),w=C[1]*v+C[2])
6w(x)(ddxw(x))+(cC16C2)(ddxw(x))+C1(d3dx3w(x))=0.6\,w\!\left(x\right)\left(\frac{d}{dx}w\!\left(x\right)\right)+\left(-c\,C_{1}-6\,C_{2}\right)\left(\frac{d}{dx}w\!\left(x\right)\right)+C_{1}\left(\frac{d^{3}}{dx^{3}}w\!\left(x\right)\right)=0. (54)

From this output, one deduces that for C2=(cC1)/6C_{2}=-(c\,C_{1})/6 the transformation w=C1v+C2w=C_{1}\,v+C_{2} eliminates the first derivative in the resulting equation. Thus we have found infinitely many transformations to eliminate the first derivative. A simple one would be w=v+c/6w=-v+c/6, which yields

> NLDE:-unaryDalg(ADEKV,v(x),w=-v+c/6)
6w(x)(ddxw(x))d3dx3w(x)=0.6w\!\left(x\right)\left(\frac{d}{dx}w\!\left(x\right)\right)-\frac{d^{3}}{dx^{3}}w\!\left(x\right)=0. (55)

Note that we recover the same result of the book by using the linear transformation w=(6v+c)/12w=(-6\,v+c)/12 (given in the book as v=2w+c/6)v=-2\,w+c/6). This gives the ADE w(3)=12www^{(3)}=12\,w^{\prime}\,w. \blacksquare

Example 13

Observe that (53) can be integrated once to get

v′′cv+3v2+a=0,v^{\prime\prime}-c\,v+3\,v^{2}+a=0, (56)

where aa is the constant of integration. Note that the shape of vv also depends on aa. In [45, Problem 6.24], it is mentioned that v(x)=2(x)+c/6v(x)=-2\wp(x)+c/6 satisfies (56), where (x)\wp(x) is the Weierstrass elliptic function. Let us verify this fact. We use our software to get an ADE fulfilled by the rational expression 2(x)+c/6-2\wp(x)+c/6 from the ADE of the Weierstrass elliptic function.

> ADEwp:=diff(p(x),x)^2=4*p(x)^3-g[2]*p(x)-g[3]: #Weierstrass equation
> ADE1:=NLDE:-unaryDalg(ADEwp,p(x),v=-2*p+c/6)
ADE1216v(x)3108v(x)2c+(18c2216g2)v(x)+108(ddxv(x))2c3+36cg2+432g3=0.\mathit{ADE1}\coloneqq 216v\!\left(x\right)^{3}-108v\!\left(x\right)^{2}c+\left(18c^{2}-216g_{2}\right)v\!\left(x\right)+108\left(\frac{d}{dx}v\!\left(x\right)\right)^{2}-c^{3}+36cg_{2}+432g_{3}=0.

Since (56) is a second-order ADE, we take one derivative of the result and factor the output.

> factor(diff(ADE1,x))
18(ddxv(x))(36v(x)212cv(x)+c2+12d2dx2v(x)12g2)=0.18\left(\frac{d}{dx}v\!\left(x\right)\right)\left(36v\!\left(x\right)^{2}-12c\,v\!\left(x\right)+c^{2}+12\frac{d^{2}}{dx^{2}}v\!\left(x\right)-12g_{2}\right)=0. (57)

Neglecting the constant solutions, we are interested in the solutions of the ADE

d2dx2v(x)cv(x)+3v(x)2+(c212g2)=0.\frac{d^{2}}{dx^{2}}v\!\left(x\right)-c\,v\!\left(x\right)+3v\!\left(x\right)^{2}+\left(\frac{c^{2}}{12}-g_{2}\right)=0. (58)

Therefore by taking the constant of integration aa as (c212g2)\left(\frac{c^{2}}{12}-g_{2}\right), we deduce that the claim holds. \blacksquare

The above two examples present how one can apply our result to “basic” (symbolic) calculations in Physics. Note that the Korteweg-de Vries equation is an algebraic PDE that models shallow water waves. One of its outstanding features is the existence of so-called soliton, i.e., waves that travel in time without changing their shape (see [45, Problem 6.24]).

For algebraic PDEs, there seems to be more interest in numerical methods than symbolic ones. The usual non-expressiveness of general solutions of PDEs may explain this. Nevertheless, as for algebraic ODEs, our software can compute ADEs satisfied by rational expressions of solutions to algebraic PDEs (see Example 16). However, note that so far, we only considered additions of solutions of linear algebraic PDEs. The main reason behind that is because finding least-order ADEs for addition of solutions to linear ADEs can be performed with Gauss elimination, and so carrying out the same computations using Gröbner bases is essentially the same. When it comes to other operations like the product, Gauss elimination will not generally give the desired least-order ADE, and then the computations with Gröbner bases pay the price of dealing with higher degree equations. For multivariate D-algebraic functions, this price is notoriously visible by the high CPU time encountered when running our implementation for product and division using the pure lexicographic monomial ordering. This behavior could be predicted by the number of variables involved in the elimination steps of Algorithm 2. We recommend the specification ordering=lexdeg which often (not always) enables computations in shorter timings.

There are many situations in which the algorithm proves useful. Let us give an idea of applications of Algorithm 2 related to solving PDEs. We construct PDEs out of solutions to known ODEs. This may be seen as a reverse engineering approach of the method of separating variables. The latter consists of finding solutions that can be expressed rationally in terms of solutions of ODEs in each independent variable. For instance, given a PDE in the independent variables x1x_{1} and x2x_{2}, we commonly look for solutions of the product form F1(x1)F2(x2)F_{1}(x_{1})\,F_{2}(x_{2}), where F1F_{1} and F2F_{2} are solutions of some ODEs in x1x_{1} and x2x_{2}, respectively. The product form is not very interesting for linear ODEs with constant coefficients, because viewing F(xi)F(x_{i}) as a constant for a linear ODE in xj,ijx_{j},i\neq j, implies already that F(xi)F(xj)F(x_{i})\,F(x_{j}) is a solution of that ODE. Therefore the algorithm may just return a derivative of that ODE. We would like to consider more tricky examples.

Example 14

Suppose we want to construct an algebraic PDE whose solutions are of the form

11+exp(ax1)exp(bx2)=11+exp(ax1+bx2),\frac{1}{1+\exp(a\,x_{1})\,\exp(b\,x_{2})}=\frac{1}{1+\exp\left(a\,x_{1}+b\,x_{2}\right)}, (59)

with arbitrary constants a,ba,b. Note that this is a well-known form in Statistics for the logistic distribution (see for instance [3]), where one of the variables would be interpreted as the mean.

We use the linear ADEs y1ay1=0y_{1}^{\prime}-a\,y_{1}=0 for exp(ax1)\exp(a\,x_{1}) and y2by2=0y_{2}^{\prime}-b\,y_{2}=0 for exp(bx2)\exp(b\,x_{2}). Observe that these ADEs could also be taken as PDEs, i.e, y1(1,0)ay1=0y_{1}^{(1,0)}-a\,y_{1}=0 and y2(0,1)by2=0y_{2}^{(0,1)}-b\,y_{2}=0; however, using these PDEs would lead to an algebraic PDE whose solutions have a more general form. For instance, a solution of y(1,0)ay=0y^{(1,0)}-ay=0 is of the form F(x2)exp(ax1)F(x_{2})\,\exp(a\,x_{1}), which is not desired for our target form (59).

We here reveal a feature of our implementation that enables algebraic ODE inputs. The computations still use θl\theta_{l} derivations as described in Algorithm 2. This decreases the number of variables used in the elimination step and makes the code get the result more efficiently. Indeed, when we apply θ2\theta_{2} derivations, y1y_{1} and its derivatives w.r.t. x1x_{1} are treated as constants for derivation w.r.t. x2x_{2}, while y2y_{2} and its derivatives w.r.t. x2x_{2} are treated as constants for derivation w.r.t. x1x_{1}. This results in the cancellation of all variables y1(i,j)y_{1}^{(i,j)} and y2(j,i)y_{2}^{(j,i)}, i,ji,j\in\mathbb{N}, with j0j\neq 0. Let us now compute the desired algebraic PDE.

> ADE1:=-a*y[1](x[1]) + diff(y[1](x[1]), x[1]) = 0:
> ADE2:=-b*y[2](x[2]) + diff(y[2](x[2]), x[2]) = 0:
> arithmeticMDalg([ADE1,ADE2],[y[1](x[1]),y[2](x[2])],
z=1/(1+y[1]*y[2]),[x[1],x[2]])
z(x1,x2)2bbz(x1,x2)x2z(x1,x2)=0.z\!\left(x_{1},x_{2}\right)^{2}b-bz\!\left(x_{1},x_{2}\right)-\frac{\partial}{\partial x_{2}}z\!\left(x_{1},x_{2}\right)=0. (60)

The obtained equation is the logistic differential equation, which could also be seen as an ODE in x2x_{2}. This corresponds to solutions of the form

z(x1,x2)=11+ebx2F(x1),z\!\left(x_{1},x_{2}\right)=\frac{1}{1+{\mathrm{e}}^{bx_{2}}\textit{F}\!\left(x_{1}\right)}, (61)

where FF is an arbitrary function in x1x_{1}. This is a more restricted form compared to the result obtained with PDEs as inputs. \blacksquare

Example 15

Taking the same algebraic ODEs as inputs, we now look for a PDE whose solutions have the form

exp(ax1)1+exp(ax1+bx2).\frac{\exp(a\,x_{1})}{1+\exp(a\,x_{1}+b\,x_{2})}. (62)

Our package yields:

> arithmeticMDalg([ADE1,ADE2],[y[1](x[1]),y[2](x[2])],
z=y[1]/(1+y[1]*y[2]),[x[1],x[2]])
abz(x1,x2)+(x2z(x1,x2))a(x1z(x1,x2))b=0.abz\!\left(x_{1},x_{2}\right)+\left(\frac{\partial}{\partial x_{2}}z\!\left(x_{1},x_{2}\right)\right)a-\left(\frac{\partial}{\partial x_{1}}z\!\left(x_{1},x_{2}\right)\right)b=0. (63)

In this case, Maple pdsolve command finds the solution:

z(x1,x2)=F(x1a+bx2b)ex1a,z\!\left(x_{1},x_{2}\right)=\textit{F}\!\left(\frac{x_{1}a+bx_{2}}{b}\right){\mathrm{e}}^{x_{1}a}, (64)

for an arbitrary function FF. It is obvious that (62) is of this form. The obtained equation is a linear PDE that can also be used for the symbolic integration of (62) (see [46], [26]). \blacksquare

Remark that the calling syntax of arithmeticMDalg in the above two examples contains a bracket list with all the independent variables, here x1,x2x_{1},x_{2}, given as the last argument. This is how the code is called when there are algebraic ODEs in the input.

Example 16 (Bonus example)

We give a PDE fulfilled by the square of the probability density function

f(x,μ)1σ2πexp(12(xμσ)2),f(x,\mu)\coloneqq\frac{1}{\sigma\sqrt{2\,\pi}}\exp\left(-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^{2}\right),

of the univariate normal distribution 𝒩(μ,σ2)\mathcal{N}(\mu,\sigma^{2}), seen as a bivariate function in the mean and the indeterminate variable. We use FPS:-HolonomicPDE (see [24]) to derive a partial PDE w.r.t. each independent variable, and use arithmeticMDalg to find an algebraic PDE for the product of their solutions.

> f:=exp(-((x-mu)/sigma)^2/2)/(sigma*sqrt(2*Pi)):
> PDE1:=FPS:-HolonomicPDE(f,u(x,mu),partialwrt=x)
PDE1σ2(xu(x,μ))(x+μ)u(x,μ)=0\mathit{PDE1}\coloneqq\sigma^{2}\left(\frac{\partial}{\partial x}u\!\left(x,\mu\right)\right)-\left(-x+\mu\right)u\!\left(x,\mu\right)=0 (65)
> PDE2:=FPS:-HolonomicPDE(f,v(x,mu),partialwrt=mu)
PDE2σ2(μv(x,μ))(xμ)v(x,μ)=0\mathit{PDE2}\coloneqq\sigma^{2}\left(\frac{\partial}{\partial\mu}v\!\left(x,\mu\right)\right)-\left(x-\mu\right)v\!\left(x,\mu\right)=0 (66)
> arithmeticMDalg([PDE1,PDE2],[u(x,mu),v(x,mu)],z=u*v)
z(x,μ)(2μxz(x,μ))σ2+(μz(x,μ))(xz(x,μ))σ2+2z(x,μ)2=0.-z\!\left(x,\mu\right)\left(\frac{\partial^{2}}{\partial\mu\partial x}z\!\left(x,\mu\right)\right)\sigma^{2}+\left(\frac{\partial}{\partial\mu}z\!\left(x,\mu\right)\right)\left(\frac{\partial}{\partial x}z\!\left(x,\mu\right)\right)\sigma^{2}+2z\!\left(x,\mu\right)^{2}=0. (67)

Solutions to this PDE have the form

F2(x)exp(F1(μ)+2xμσ2),F_{2}\!\left(x\right)\exp\left(F_{1}\left(\mu\right)+\frac{2x\mu}{\sigma^{2}}\right), (68)

with arbitrary functions F1F_{1} and F2F_{2}. \blacksquare

4.2 Conclusion and future work

We completed the exposition of [1] on univariate D-algebraic functions by providing an algorithm (see Algorithm 1) to compute least-order ADEs for rational expressions of solutions to ADEs that are not linear in their highest occurring derivatives. This was accompanied by Theorem 2.1, which established its correctness. We have also proposed an algorithm for doing these computations with multivariate D-algebraic functions using an ordering on the semigroup of derivations that allows us to keep track of the application of partial derivatives (see Theorem 3.2 and Algorithm 2). From that, we established Theorem 3.1, which states that the sum of orders of given algebraic PDEs is not always a bound for the order of an algebraic PDE fulfilled by rational expressions of solutions to those ADEs. We implemented the given algorithm using the computer algebra system Maple. The accompanying software can be downloaded from MathRepo NLDE or [41] (with the source code) as a subpackage of the NLDE package. In certain calculations, our software may find similar results with the known packages [39], [8], [20]; however, we are here in a more general setting as we mentioned earlier. In the univariate setting, Algorithm 1 compares better with [2, 6]. Example 5 illustrates one such example where our algorithm outperforms those existing methods. We developed our approach from the works in [17, 12]. Our software can be used in many scientific disciplines where eliminations of variables in partial or ordinary differential equations are of interest. We have given some in Section 4.1. A Maple worksheet with the examples of the article can be downloaded from Arithmetic of D-Algebraic functions or [41].

We remark from references on partial differential equations that the compositions of solutions of algebraic PDEs with solutions of algebraic ODEs is often used to simplify algebraic PDEs. For instance, to get the equation in (53), one considers the composition u(x,t)=v(xct)u(x,t)=v(x-c\,t) with the Korteweg-de Vries equation

tu(t,x)+3x3u(t,x)+6u(t,x)xu(t,x)=0.\frac{\partial}{\partial t}u(t,x)+\frac{\partial^{3}}{\partial x^{3}}u(t,x)+6\,u(t,x)\,\frac{\partial}{\partial x}u(t,x)=0. (69)

We think that an adaptation of Algorithm 2 for compositions can be used to make such transformations of algebraic PDEs into algebraic ODEs more systematic.

We also highlight the potential use of θl\theta_{l}-derivations for symbolic integration, which is also concerned with elimination. Indeed, given a symbolic expression in several variables f(x1,,xn)f(x_{1},\ldots,x_{n}), it is possible to develop a Fasenmyer-like algorithm (see [23, Theorem 11.4]) that looks for linear algebraic PDEs with eliminated variables S{x1,,xn}S\subset\{x_{1},\ldots,x_{n}\} among the coefficients, such that a differential equation for the integral Sf(x1,,xn)\int_{S}f(x_{1},\ldots,x_{n}) can be deduced as a generalization of Feynman’s method. A preliminary implementation of this technique is provided in the FPS package by the HolonomicPDE command (see [24]). For a general knowledge of symbolic integration, we refer the reader to the non-exhaustive list of references [46, 9, 21, 26, 7].

Acknowledgment. The author thanks Bernd Sturmfels for encouraging this work. He appreciates Gleb Pogudin for reading and commenting on earlier versions of the article, and the anonymous referees for their valuable comments. He also thanks Rida Ait El Manssour and Anna-Laura Sattelberger for useful discussions.

References

  • [1] Ait El Manssour, R., Sattelberger, A.L., Teguia Tabuguia, B.: D-algebraic functions. arXiv preprint arXiv:2301.02512 (2023)
  • [2] Bächler, T., Gerdt, V., Lange-Hegermann, M., Robertz, D.: Algorithmic Thomas decomposition of algebraic and differential systems. Journal of Symbolic Computation 47(10), 1233–1266 (2012)
  • [3] Balakrishnan, N.: Handbook of the Logistic Distribution. Marcel Dekker, New York (1992)
  • [4] Bayer, D., Stillman, M.: A theorem on refining division orders by the reverse lexicographic order. Duke J. Math. 55(2), 321–328 (1987)
  • [5] Boulier, F.: DifferentialAlgebra project: A C library for differential elimination. Available at
    https://codeberg.org/francois.boulier/DifferentialAlgebra
  • [6] Boulier, F., Lazard, D., Ollivier, F., Petitot, M.: Representation for the radical of a finitely generated differential ideal. In: Proceedings of the 1995 International Symposium on Symbolic and Algebraic Computation. pp. 158–166 (1995)
  • [7] Chen, S., Kauers, M.: Some open problems related to creative telescoping. Journal of Systems Science and Complexity 30(1), 154–172 (2017)
  • [8] Chyzak, F.: Mgfun project: a Maple package for systems of holonomic functions. Available at
    https://specfun.inria.fr/chyzak/mgfun.html
  • [9] Chyzak, F.: An extension of Zeilberger’s fast algorithm to general holonomic functions. Discrete Mathematics 217(1-3), 115–134 (2000)
  • [10] Denef, J., Lipshitz, L.: Power series solutions of algebraic differential equations. Mathematische Annalen 267, 213–238 (1984)
  • [11] van Der Hoeven, J.: Computing with D-algebraic power series. Appl. Algebra Engrg. Comm. Comput. 30(1), 17–49 (2019)
  • [12] Dong, R., Goodbrake, C., Harrington, H.A., Pogudin, G.: Differential elimination for dynamical models via projections with applications to structural identifiability. SIAM Journal on Applied Algebra and Geometry 7(1), 194–235 (2023)
  • [13] Dzhamay, A., Filipuk, G., Ligȩza, A., Stokes, A.: Different Hamiltonians for the Painlevé equation and their identification using a geometric approach. arXiv preprint arXiv:2109.06428 (2021)
  • [14] Ehrenborg, R., Rota, G.C.: Apolarity and canonical forms for homogeneous polynomials. European Journal of Combinatorics 14(3), 157–181 (1993)
  • [15] Freitag, J., León Sánchez, O., Li, W.: Effective definability of Kolchin polynomials. Proceedings of the American Mathematical Society 148(4), 1455–1466 (2020)
  • [16] Fueter, R., Pólya, G.: Rationale abzählung der gitterpunkte. Vierteljschr. Naturforsch. Ges. Zürich 58, 380–386 (1923)
  • [17] Hong, H., Ovchinnikov, A., Pogudin, G., Yap, C.: Global identifiability of differential models. Communications on Pure and Applied Mathematics 73(9), 1831–1879 (2020)
  • [18] Hubert, E.: Notes on triangular sets and triangulation-decomposition algorithms I: Polynomial systems. In: Symbolic and Numerical Scientific Computation: Second International Conference, SNSC 2001, Hagenberg, Austria, September 12–14, 2001. Revised Papers. pp. 1–39. Springer (2003)
  • [19] Jiménez-Pastor, A., Pillwein, V., Singer, M.F.: Some structural results on DnD^{n}-finite functions. Advances in Applied Mathematics 117, 102027 (2020)
  • [20] Kauers, M., Mezzarobba, M.: Multivariate ore polynomials in SageMath. ACM Communications in Computer Algebra 53(2), 57–60 (2019)
  • [21] Kauers, M., Paule, P.: The Concrete Tetrahedron. Symbolic Sums, Recurrence Equations, Generating Functions, Asymptotic Estimates. Springer-Verlag, Wien (2011). https://doi.org/10.1007/978-3-7091-0445-3
  • [22] Kauers, M., Yatchak, R.: Walks in the quarter plane with multiple steps. In: Proceedings of FPSAC’15, DMTCS. pp. 25–36 (2015)
  • [23] Koepf, W.: Computer Algebra: An Algorithm-Oriented Introduction. Springer Nature (2021)
  • [24] Koepf, W., Teguia Tabuguia, B.: FPS: A Maple package for symbolic computations with power series and linear PDEs. Available at
    http://www.mathematik.uni-kassel.de/~bteguia/FPS_webpage/FPS.htm
  • [25] Kolchin, E.R.: Differential Algebra & Algebraic Groups. Academic press (1973)
  • [26] Koutschan, C.: Advanced Applications of the Holonomic Systems Approach. Ph.D. thesis, RISC, Johannes Kepler University, Linz (September 2009)
  • [27] Levin, A.: Bivariate Kolchin-type dimension polynomials of non-reflexive prime difference-differential ideals. the case of one translation. Journal of Symbolic Computation 102, 173–188 (2021)
  • [28] Lipshitz, L., Rubel, L.A.: A gap theorem for power series solutions of algebraic differential equations. American Journal of Mathematics 108(5), 1193–1213 (1986)
  • [29] Lipshitz, L., Rubel, L.A.: A gap theorem for differentially algebraic power series. In: Chudnovsky, D.V., Chudnovsky, G.V., Cohn, H., Nathanson, M.B. (eds.) Number Theory. pp. 211–214. Springer New York, New York, NY (1991)
  • [30] Maillet, E.: Sur les séries divergentes et les équations différentielles. Annales Scientifiques de l’École Normale Supérieure 20(3), 487–518 (1903)
  • [31] Michałek, M., Sturmfels, B.: Invitation to Nonlinear Algebra, vol. 211. American Mathematical Soc. (2021)
  • [32] Moore, E.H.: Concerning transcendentally transcendental functions. Mathematische Annalen 48(1-2), 49–74 (1896)
  • [33] Pavlov, D., Pogudin, G.: On realizing differential-algebraic equations by rational dynamical systems. In: Proceedings of the 2022 International Symposium on Symbolic and Algebraic Computation. pp. 119–128 (2022)
  • [34] Pogudin, G.: Differential algebra. Lecture notes, available at
    http://www.lix.polytechnique.fr/Labo/Gleb.POGUDIN/files/da_notes.pdf
  • [35] Raschel, K., Bousquet-Mélou, M., Bernardi, O.: Counting quadrant walks via Tutte’s invariant method. Discrete Math. Theor. Comput. Sci. (2020)
  • [36] Ritt, J.F.: Differential Algebra, vol. 33. American Mathematical Soc. (1950)
  • [37] Robertz, D.: Formal Algorithmic Elimination for PDEs, vol. 2121. Springer (2014)
  • [38] Ruskey, F.: Combinatorial Generation. Book available at
    https://page.math.tu-berlin.de/~felsner/SemWS17-18/Ruskey-Comb-Gen.pdf (2003), preliminary working draft. University of Victoria, Victoria, BC, Canada
  • [39] Salvy, B., Zimmermann, P.: GFUN: a Maple package for the manipulation of generating and holonomic functions in one variable. ACM Transactions on Mathematical Software 20(2), 163–177 (1994)
  • [40] Stanley, R.P.: Differentiably finite power series. European Journal of Combinatorics 1(2), 175–188 (1980)
  • [41] Teguia Tabuguia, B.: NLDE: NonLinear algebra and Differential Equations: source and lattest update. Available at https://github.com/T3gu1a/D-algebraic-functions
  • [42] Teguia Tabuguia, B.: Guessing with quadratic differential equations. Software Demo at ISSAC’22. To appear in ACM Communications in Computer Algebra (2022)
  • [43] Teguia Tabuguia, B.: Operations for D-algebraic functions. ACM Communications in Computer Algebra 57(2), 51–56 (2023)
  • [44] Teguia Tabuguia, B., Koepf, W.: On the representation of non-holonomic univariate power series. Maple Trans. 2(1) (2022), article 14315
  • [45] Teschl, G.: Ordinary Differential Equations and Dynamical Systems, vol. 140. American Mathematical Soc. (2012)
  • [46] Zeilberger, D.: The method of creative telescoping. J. Symb. Comput. 11(3), 195–204 (1991)