Abstract 1 Introduction 2 Preliminaries 3 Towards a Uniform Understanding of Small Circuit Classes 4 Investigating Circuit Complexity Deriving along โ„“ 5 Characterizing Classes Deriving along โ„“๐Ÿ 6 Conclusion References

Characterizing Small Circuit Classes from ๐…๐€๐‚๐ŸŽ to ๐…๐€๐‚๐Ÿ via Discrete Ordinary Differential Equations

Melissa Antonelli ORCID HIIT & University of Helsinki, Finland Arnaud Durand ORCID Universitรฉ Paris Citรฉ, 8, place Aurรฉlie Nemours, Paris, France Juha Kontinen ORCID University of Helsinki, Helsinki, Finland
Abstract

In this paper, we provide a uniform framework for investigating small circuit classes and bounds through the lens of ordinary differential equations (ODEs). Following an approach recently introduced to capture the class of polynomial-time computable functions via ODE-based recursion schemas and later applied to the context of functions computed by unbounded fan-in circuits of constant depth (๐…๐€๐‚0), we study multiple relevant small circuit classes. In particular, we show that natural restrictions on linearity and derivation along functions with specific growth rate correspond to kinds of functions that can be proved to be in various classes, ranging from ๐…๐€๐‚0 to ๐…๐€๐‚1. This reveals an intriguing link between constraints over linear-length ODEs and circuit computation, providing new tools to tackle the complex challenge of establishing bounds for classes in the circuit hierarchies and possibly enhancing our understanding of the role of counters in this setting. Additionally, we establish several completeness results, in particular obtaining the first ODE-based characterizations for the classes of functions computable in constant depth with unbounded fan-in and Mod 2 gates (๐…๐€๐‚๐‚โข[๐Ÿ]) and in logarithmic depth with bounded fan-in Boolean gates (๐…๐๐‚1).

Keywords and phrases:
Implicit computational complexity, parallel computation, function algebras, ordinary differential equations, circuit complexity
Funding:
Melissa Antonelli: Supported by the Helsinki Institute of Information Technology (HIIT) and the Magnus Ehrnrooth Foundation.
Arnaud Durand: Supported by the Magnus Ehrnrooth Foundation.
Juha Kontinen: Supported by the Magnus Ehrnrooth Foundation.
Copyright and License:
[Uncaptioned image]โ€‚ยฉย Melissa Antonelli, Arnaud Durand, and Juha Kontinen; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation โ†’ Computational complexity and cryptography
; Theory of computation โ†’ Circuit complexity
Related Version:
Full Version: https://arxiv.org/abs/2506.23404
Editors:
Paweล‚ Gawrychowski, Filip Mazowiecki, and Michaล‚ Skrzypczak

1 Introduction

Implicit computational complexity is a active area of theoretical computer science that aims to provide machine-independent characterizations of relevant complexity classes. In the context of recursion theory, a foundational result is by Cobhamย [18], who, in the 1960s, provided an implicit characterization of the class of polynomial-time computable functions (๐…๐) through a limited recursion schema. This work not only led to the development of function algebras characterizing multiple classes different from poly-time (seeย [15]), but also inspired several alternative recursion-theoretic approachesย [6, 28, 30]. Among them, the one introduced inย [10] shows that ordinary differential equations (ODEs) provide a natural tool for algorithmic design and offers an original characterization of ๐…๐, using linear systems of equations and derivation along a logarithmically growing function (such as the length function โ„“). Informally, the latter condition controls the number of recursion steps, while linearity governs the growth of objects generated during the computation. This approach has recently been generalized to the continuous settingย [7, 8] and to the study of two small circuit classesย [3]. In this paper, we extend the latter far further by presenting a comprehensive investigation of circuit classes from ๐…๐€๐‚0 toย ๐…๐€๐‚1 through the lens of ODE schemas.

Although small circuit classes have been characterized in different ways, investigating them through the ODE framework has never been attempted (except forย [3]). This approach is both interesting, as for a descriptive method based on ODEs to be meaningful and fruitful, it must be able to adjust with very subtle changes in restricted models of computation, and challenging, because even simple and useful mathematical functions may not be computable within the considered classes and, consequently, the tools available may seem drastically restricted and the naturalness of the approach questionable. However, the results of this paper show that this is not hopeless. Very simple and natural restrictions on linearity โ€“ namely, constraining the values of coefficients and allowing (or not) the call for the sign of the defined function inside the linear term โ€“ and on the function along which derivation is performed, allows us to capture the very essence of small circuit computation. Many classical functions โ€“ such as polylog bit sum, parity, majority, iterated sum and product, and binary search โ€“ are shown to be naturally encapsulated in very simple linear ODE families. For this reason, we believe that our approach to this line of research, which is still in its beginning, can shed some new light on circuit computation and offer a simple (and machine-independent) framework for analyzing these notoriously hard problems through very natural and uniform constraints on linear ODEs.

Concretely, the results of this paper have led to completely original ODE-based characterizations for the classes of functions computable by unbounded fan-in circuits of constant depth and polynomial size that allow Mod 2 gates (๐…๐€๐‚๐‚โข[๐Ÿ]) and by bounded fan-in circuits of logarithmic depth and polynomial size (๐…๐๐‚1). We have also improved our understanding of schemas capturing the classes of functions computable by unbounded fan-in circuits of constant depth and polynomial size (๐…๐€๐‚0), possibly including Maj gates (๐…๐“๐‚0), by generalizing and making them part of a more general picture. Finally, we have shown that considering schemas with derivative along โ„“2=โ„“โˆ˜โ„“ is definitely worth investigating: in particular, the corresponding linear schema is in ๐…๐๐‚1, somewhat mirroring what โ„“-ODE does for ๐…๐.

Structure of the paper.

In Sectionย 2, we present the basics of the method developed inย [10], the necessary notions to formulate our results, and recap definitions of the small circuit classes we will consider throughout the paper. In Sectionย 3, we present, in a high-level yet systematic and uniform manner, the main schemas (differently) corresponding to the classes that will be studied. In Sectionย 4, we introduce ODE-based schemas obtained by deriving along โ„“ and by imposing different constraints on linearity, and we show that they are computable in the respective circuit classes. We also provide improved completeness results for ๐…๐€๐‚0 and ๐…๐“๐‚0, along with completely original ODE-based characterizations for ๐…๐€๐‚๐‚โข[๐Ÿ] and ๐…๐๐‚1. In Sectionย 5, we introduce a new class of ODE schemas, the defining feature of which consists of deriving along โ„“2. Our main result here is the introduction of a very natural linear โ„“2-ODE schema, the computation of which can be performed in ๐…๐๐‚1. We conclude in Sectionย 6 pointing to possible directions for future research. For space reasons, most proofs are only sketched or omitted in the paper, but can be found inย [2]. To make the exposition shorter, most of our characterizations are proved indirectly, as these proofs tend to be more compact. However, direct proofs, both in the uniform and non-uniform settings, can be provided (but are not presented here).

2 Preliminaries

We assume the reader familiar with the basics of complexity theory. In this section, we briefly introduce the approach to complexity delineated inย [11] (see the original papersย [10, 11] for full details) and a few notions needed for our new characterizations. We also cursorily recall the definitions of the circuit classes that we will consider in the remainder of the paper.

2.1 Capturing Complexity via ODEs

One of the main approaches developed in implicit computational complexity is that based on recursion. It was initiated by Cobhamย [18], who gave the first characterization for ๐…๐ via a limited recursion schema. This groundbreaking result has inspired not only similar characterizations for other classes, but also alternative recursion-based approaches to capture poly-time computable functions, such as safe recursionย [6] and ramificationย [28, 29]. Among them, the proposal byย [10] offers the advantages of not imposing any explicit bound on the recursion schema or assigning specific role to variables. Instead, it is based on Discrete Ordinary Differential Equations (a.k.a. Difference Equations) and combines two novel features, namelyย derivation along specific functions, to control the number of computation steps, and a special syntactic form of the equation (linearity), to control the object size.

Recall that the discrete derivative of ๐Ÿโข(x) is defined as ฮ”โข๐Ÿโข(x)=๐Ÿโข(x+1)โˆ’๐Ÿโข(x), and that ODEs are expressions of the form

โˆ‚๐Ÿโข(x,๐ฒ)โˆ‚x=๐กโข(x,๐ฒ,๐Ÿโข(x,๐ฒ))

where โˆ‚๐Ÿโข(x,๐ฒ)โˆ‚x stands for the derivative of ๐Ÿโข(x,๐ฒ) considered as a function of x, for a fixed value for ๐ฒ. When some initial value ๐Ÿโข(0,๐ฒ)=๐ โข(๐ฒ) is added, this is called Initial Value Problem (IVP). Then, in order to deal with complexity, some restrictions are needed. First, we introduce the notion of derivation along functions.

Notation 1.

For xโ‰ 0, let โ„“โข(x) denote the length function, returning the length of x written in binary, i.e.ย โŒˆlog(x+1)2โŒ‰, and such that โ„“โข(0)=0. Additionally, let โ„“2=โ„“โˆ˜โ„“. For uโ‰ฅ0, let ฮฑโข(u)=2uโˆ’1 denote the greatest integer whose length is u; similarly, ฮฑ2โข(u)=22uโˆ’1โˆ’1 is the greatest integer t such that โ„“2โข(t)=u. Finally, let รท2 denote integer division by 2, i.e.ย for all xโˆˆโ„ค,xรท2=โŒŠx2โŒ‹.

Notice that the value of โ„“โข(x) changes (it increases by 1) when x goes from 2tโˆ’1 to 2t (for tโ‰ฅ1). Similarly, the value of โ„“2โข(x) changes when x goes from 221โˆ’1โˆ’1 to 22tโˆ’1 (for tโ‰ฅ1).

Definition 2 (โ„“-ODE Schema).

Let ๐Ÿ,ฮป:โ„•pร—โ„คโ†’โ„ค and ๐ก:โ„•p+1โ†’โ„ค be functions. Then,

โˆ‚๐Ÿโข(x,๐ฒ)โˆ‚ฮป=โˆ‚๐Ÿโข(x,๐ฒ)โˆ‚ฮปโข(x,๐ฒ)=๐กโข(x,๐ฒ,๐Ÿโข(x,๐ฒ)) (1)

is a formal synonym of ๐Ÿโข(x+1,๐ฒ)=๐Ÿโข(x,๐ฒ)+(ฮปโข(x+1,๐ฒ)โˆ’ฮปโข(x,๐ฒ))ร—๐กโข(x,๐ฒ,๐Ÿโข(x,๐ฒ)). When ฮปโข(x,๐ฒ)=โ„“โข(x), we call (1) a length-ODE or โ„“-ODE.

Intuitively, one of the key properties of the ฮป-ODE schema is its dependence on the number of distinct values of ฮป, i.e.,ย the value of ๐Ÿโข(x,๐ฒ) changes only when the value of ฮปโข(x,๐ฒ) does. Computation of solutions of ฮป-ODEs have been fully described inย [11]. Here, we focus on the special case of ฮป=โ„“, which is particularly relevant for our characterizations. If ๐Ÿ is a solution of (1) with ฮป=โ„“ and initial value ๐Ÿโข(0,๐ฒ)=๐ โข(๐ฒ), then ๐Ÿโข(1,๐ฒ)=๐Ÿโข(0,๐ฒ)+๐กโข(ฮฑโข(0),๐ฒ,๐Ÿโข(ฮฑโข(0),๐ฒ)). More generally, for all x and ๐ฒ: ๐Ÿโข(x,๐ฒ)=๐Ÿโข(xโˆ’1,๐ฒ)+ฮ”โข(โ„“โข(xโˆ’1))ร—๐กโข(xโˆ’1,๐ฒ,๐Ÿโข(xโˆ’1,๐ฒ))=๐Ÿโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ)+๐กโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ,๐Ÿโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ)), where ฮ”โข(โ„“โข(tโˆ’1))=โ„“โข(t)โˆ’โ„“โข(tโˆ’1). Starting from t=xโ‰ฅ1 and taking successive decreasing values of t, the first difference such that ฮ”โข(t)โ‰ 0 is given by the biggest tโˆ’1 such that โ„“โข(tโˆ’1)=โ„“โข(x)โˆ’1, i.e.ย tโˆ’1=ฮฑโข(โ„“โข(x)โˆ’1). Setting ๐กโข(ฮฑโข(โˆ’1),๐ฒ,โ‹…)=๐Ÿโข(0,๐ฒ), it follows by induction that:

๐Ÿโข(x,๐ฒ)=โˆ‘u=โˆ’1โ„“โข(x)โˆ’1๐กโข(ฮฑโข(u),๐ฒ,๐Ÿโข(ฮฑโข(u),๐ฒ))

In the present paper, both polynomial expressions (seeย [3]) and limited polynomial expressions are considered. Let ๐—Œ๐—€:โ„คโ†’โ„ค be the sign function over โ„ค, taking value 1 for x>0 and 0 otherwise, and ๐–ผ๐—ˆ๐—Œ๐—€:โ„คโ†’โ„ค be the cosign function, such that ๐–ผ๐—ˆ๐—Œ๐—€โข(x)=1โˆ’๐—Œ๐—€โข(x).

Definition 3.

A limited (๐—Œ๐—€-)polynomial expression is an expression over the signature {+,โˆ’,รท2} (and the ๐—Œ๐—€ function, resp.) on the set of variables/terms X={x1,โ€ฆ,xh} and integer constants; (๐—Œ๐—€-)polynomial expressions are defined analogously over the signature {+,โˆ’,รท2,ร—}.

To define the notion of degree for polynomial expressions, we follow the generalization to sets of variables introduced inย [3].

Definition 4.

Given a list of variables ๐ฑ=xi1,โ€ฆ,xim, for i1,โ€ฆ,imโˆˆ{1,โ€ฆ,h}, the degree of a set ๐ฑ in a ๐—Œ๐—€-polynomial expression P, degโก(๐ฑ,P), is inductively defined as follows:

  • โ– 

    degโก(๐ฑ,xij)=1, for xijโˆˆ{xi1,โ€ฆ,xim}, and degโก(๐ฑ,xij)=0, for xijโˆ‰{xi1,โ€ฆ,xim}

  • โ– 

    degโก(๐ฑ,๐—Œ๐—€โข(P))=degโก(๐ฑ,c)=0, for c being an integer constant

  • โ– 

    degโก(๐ฑ,P+Q)=degโก(๐ฑ,Pโˆ’Q)=maxโก{degโก(๐ฑ,P),degโก(๐ฑ,Q)}

  • โ– 

    degโก(๐ฑ,Pร—Q)=degโก(๐ฑ,P)+degโก(๐ฑ,Q) and degโก(๐ฑ,Pรท2)=degโก(๐ฑ,P).

A ๐—Œ๐—€-polynomial expression P is said to be essentially constant in a set of variables ๐ฑ when degโก(๐ฑ,P)=0 and essentially linear in ๐ฑ, when degโก(๐ฑ,P)=1.

Example 5.

Let ๐ฑ={x1,x2,x3}. The expression Pโข(x1,x2,x3)=3โขx1โขx3+2โขx2โขx3 is essentially linear in x1, in x2 and in x3. It is not essentially linear in ๐ฑ, as degโก(P,๐ฑ)=2. The expression Pโ€ฒโข(x1,x2,x3)=x1ร—๐—Œ๐—€โข((x1โˆ’x3)ร—x2)+x23 is essentially linear in x1, essentially constant in x3 and not linear in x2. Clearly, Pโ€ฒ is not linear in ๐ฑ.

The concept of linearity allows us to control the growth of functions defined by ODEs. In what follows, we will consider functions ๐Ÿ:โ„•p+1โ†’โ„คd, i.e.ย vectors of functions ๐Ÿ=f1,โ€ฆ,fd from โ„•p+1 to โ„ค, and introduce the linear โ„“-ODE schema.

Definition 6 (Linear ฮป-ODE).

Given ๐ :โ„•pโ†’โ„•d,๐ก,ฮป:โ„•p+1โ†’โ„ค and ๐ฎ:โ„คd+1ร—โ„•p+1โ†’โ„คd, the function ๐Ÿ:โ„•p+1โ†’โ„คd is linear ฮป-ODE definable from ๐ ,๐ก and ๐ฎ if it is the solution of the IVP with initial value ๐Ÿโข(0,๐ฒ)=๐ โข(๐ฒ) and such that:

โˆ‚fโข(x,๐ฒ)โˆ‚ฮป=๐ฎโข(๐Ÿโข(x,๐ฒ),๐กโข(x,๐ฒ),x,๐ฒ)

where ๐ฎ is essentially linear in the list of terms ๐Ÿโข(x,๐ฒ). For ฮป=โ„“, such schema is called linear length-ODE.

If ๐ฎ is essentially linear in ๐Ÿโข(x,๐ฒ), there exist matrices ๐€ and ๐, whose coefficients are essentially constant in ๐Ÿโข(x,๐ฒ), such that ๐Ÿโข(0,๐ฒ)=๐ โข(๐ฒ) and:

โˆ‚๐Ÿโข(x,๐ฒ)โˆ‚โ„“=๐€โข(x,๐ฒ,๐กโข(x,๐ฒ),๐Ÿโข(x,๐ฒ))ร—๐Ÿโข(x,๐ฒ)+๐โข(x,๐ฒ,๐กโข(x,๐ฒ),๐Ÿโข(x,๐ฒ)).

Then, for all x and ๐ฒ, ๐Ÿโข(x,๐ฒ) is

โˆ‘u=โˆ’1โ„“โข(x)โˆ’1(โˆt=u+1โ„“โข(x)โˆ’1(1+๐€โข(ฮฑโข(t),๐ฒ,๐กโข(ฮฑโข(t),๐ฒ),๐Ÿโข(ฮฑโข(t),๐ฒ))))ร—๐โข(ฮฑโข(u),๐ฒ,๐กโข(ฮฑโข(u),๐ฒ),๐Ÿโข(ฮฑโข(u),๐ฒ))

with the convention that โˆxxโˆ’1ฮบโข(x)=1 and (ฮฑโข(โˆ’1),๐ฒ,โ‹…,โ‹…)=๐Ÿโข(0,๐ฒ). Actually, the use of matrices is not necessary for the scope of this paper, but it is consistent with the general presentation of computation through essentially linear ODEs, of which full details can be found inย [10, 11].

One of the main results ofย [10] is the implicit characterization of ๐…๐ by the algebra made of basic functions ๐Ÿข,๐Ÿฃ,ฯ€ip,โ„“,+,โˆ’,ร—,๐—Œ๐—€ (where ฯ€ip denotes the projection function) and closed under composition (โˆ˜) and โ„“-ODE.

2.2 On Small Circuit Classes and Function Algebras

Boolean circuits are vertex-labeled directed acyclic graphs whose nodes/gates are either input nodes, output nodes or are labeled with a Boolean function from the set {โˆง,โˆจ,ยฌ}. Boolean circuit with modulo gates allows in addition gates labeled Mod 2 or, more generally, Mod p, that output the sum of the inputs modulo 2 or p, respectively. Finally, Boolean circuit with majority gates are unbounded fan-in circuits including Maj gates, that output 1 when the majority of the inputs are 1โ€™s. A family of circuits is ๐ƒ๐ฅ๐จ๐ ๐ญ๐ข๐ฆ๐ž-uniform if there is a Turing machine (with a random access tape) that decides in deterministic logarithmic time the direct connection language of the circuit, i.e.ย which, given 1,na,b and tโˆˆ{โˆง,โˆจ,ยฌ}, decides if a is of type t and b is a predecessor of a in the circuit (and analogously for input/output nodes). When dealing with circuits, the resources of interests are size, i.e. the number of gates, and depth, i.e.ย the length of the longest path from input to output (seeย [34] for further details and related results).

Definition 7 (Classes ๐…๐€๐‚i and ๐…๐๐‚i).

For iโˆˆโ„•, ๐€๐‚i (resp., ๐๐‚i) is the class of language recognized by a ๐ƒ๐ฅ๐จ๐ ๐ญ๐ข๐ฆ๐ž-uniform family of Boolean circuits of unbounded (resp. bounded) fan-in gates of polynomial size and depth O((log n)i). We denote by ๐…๐€๐‚i (resp., ๐…๐๐‚i) the corresponding function class.

It is known that unbounded (poly(n)) fan-in can be simulated using a bounded tree of depth O(log n), so that ๐…๐๐‚iโІ๐…๐€๐‚iโІ๐…๐๐‚i+1. However, the inclusion has been proved to be strict only for i=0. In contrast, when dealing with classes with counting ability, interesting bounds have been established.

Definition 8 (Classes ๐…๐€๐‚๐‚โข[๐ฉ] and ๐…๐“๐‚0).

The class ๐€๐‚๐‚โข[๐ฉ] (resp., ๐“๐‚0) is the class of languages recognized by a ๐ƒ๐ฅ๐จ๐ ๐ญ๐ข๐ฆ๐ž-uniform family of Boolean circuits of polynomial size and constant depth including Mod p (resp., Maj) gates . We denote by ๐…๐€๐‚๐‚โข[๐ฉ] (resp., ๐…๐“๐‚0) the corresponding function class.

We can even consider other levels in the ๐…๐“๐‚ hierarchy, such that for iโˆˆโ„•, ๐…๐“๐‚i corresponds to classes of functions computed by families of unbounded fan-in circuits with Maj gates, of polynomial size and depth O((log n)i). It is known that the inclusion ๐…๐€๐‚0โŠ‚๐…๐€๐‚๐‚โข[๐Ÿ] is proper, as the parity function cannot be computed in constant depth by standard unbounded fan-in Boolean gates, but it can be if Mod 2 gates are added. Moreover, since any Mod p gate can be expressed by Maj, ๐…๐€๐‚๐‚โข[๐ฉ]โŠ‚๐…๐“๐‚0.

As mentioned, Cobhamโ€™s work paved the way to several recursion-theoretic characterizations for classes other than ๐…๐, including small circuit ones. In 1988/90, Clote introduced the algebra ๐’œ0 to capture functions in the log-time hierarchy (equivalent to ๐…๐€๐‚0) using so-called concatenation recursion on notation (CRN)ย [12, 13]. The greater classes ๐…๐€๐‚i and ๐…๐๐‚ are captured adding weak bounded recursion on notationย [13], while ๐…๐๐‚1 has been characterized both in terms of the k-bounded recursion on notation (k-BRN) schemaย [14] and relying on the basic function tโขrโขeโขeย [13]. In 1990, an alternative algebra (and logic), based on a schema called upward tree recursion, was introduced to characterize ๐…๐๐‚1ย [19]. In 1991, a new recursion-theoretic characterization (and arithmetic ร  la Buss) for ๐…๐๐‚ was presentedย [1]. In 1992 and 1995, other small circuit classes, including ๐…๐“๐‚0, were considered (and re-considered) by Clote and Takeuti, who also introduced bounded theories for themย [16, 17]. More recently, characterizations for ๐…๐๐‚i were developed inย [9], this time following the ramification approach. Inย [3], the first ODE-based characterizations for ๐…๐€๐‚0 and ๐…๐“๐‚0 were introduced. Related approaches to capture small circuit classes have also been provided in the framework of model- and proof-theory, both in the first and second orderย [26, 5, 24, 31, 19, 1, 16, 17, 27, 21, 4, 20, 22]. To the best of our knowledge, so far, no uniform implicit framework to characterize these classes has been offered in the literature.

3 Towards a Uniform Understanding of Small Circuit Classes

We informally outline here our comprehensive investigation of small circuit classes in terms of ODEs (see Figureย 1 for a complete description). By slightly modifying the restrictions on the linearity allowed in โ„“-ODE and โ„“2-ODE, we can perform computation and, in several cases, characterize multiple function classes in the range from ๐…๐€๐‚0 to ๐…๐€๐‚1.

Notation 9.

An equation or, by extension, an ODE schema is said to be strict when it does not include any call to fโข(x,๐ฒ) in A or B (not even under the scope of the sign function). We say that B includes simple calls to fโข(x,๐ฒ) if fโข(x,๐ฒ) occurs in B only in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)).
For clarityโ€™s sake, we will use kโข(x,๐ฒ) for functions with limited range, typically in {0,1}, and Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ)) for (possibly limited) ๐—Œ๐—€-polynomial expressions of restricted range.
We use sโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ)) or (when not ambiguous) simply sโข(x) as an abbreviation for signed expressions in which fโข(x,๐ฒ) can occur, i.e.ย s=๐—Œ๐—€โข(Eโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))), where E is any polynomial expression in which x,๐ฒ,hโข(x,๐ฒ) and fโข(x,๐ฒ) may appear. Finally, for readability, we often use

  • โ– 

    sโข(t) as a shorthand for sโข(ฮฑโข(t),๐ฒ,hโข(ฮฑโข(t),๐ฒ),fโข(ฮฑโข(t),๐ฒ)),

  • โ– 

    Kโข(t,๐ฒ,h,f), or even Kโข(t), as a shorthand for Kโข(ฮฑโข(t),๐ฒ,hโข(ฮฑโข(t),๐ฒ),fโข(ฮฑโข(t),๐ฒ)),

  • โ– 

    Kiโข(t) (or Biโข(t)), with iโˆˆ{0,1}, as a shorthand for Kโข(ฮฑโข(t),๐ฒ,hโข(ฮฑโข(t),๐ฒ),fโข(ฮฑโข(t),๐ฒ)) (Bโข(ฮฑโข(t),๐ฒ,hโข(ฮฑโข(t),๐ฒ),fโข(ฮฑโข(t),๐ฒ)), resp.) in which sโข(t)=i.

When different signed expressions s1,โ€ฆ,sr occur in A or B these notational conventions are generalized accordingly. If not stated otherwise, we assume that expressions used in ๐…๐€๐‚0 and ๐…๐€๐‚๐‚โข[๐Ÿ] schemas are limited ๐—Œ๐—€-polynomial expressions (since multiplication is not in these classes), while those in ๐…๐๐‚1 and ๐…๐€๐‚1 are ๐—Œ๐—€-polynomial expressions.

Let us first examine the evolution in the expressive power of the linear schema (see Definitionย 6), which captures ๐…๐,

Aโข(x,๐ฒ,h,f)ร—fโข(x,๐ฒ)+Bโข(x,๐ฒ,h,f)

when calls to f are not allowed, i.e.ย when dealing with equation of the form Aโข(x,๐ฒ,h)ร—fโข(x,๐ฒ)+Bโข(x,๐ฒ,h), but still deriving along โ„“. In this case, f can be expressed as a combination of iterated multiplications and products and is in ๐…๐“๐‚0. Interestingly, this schema is also the key ingredient to capture ๐…๐“๐‚0 and to provide a corresponding completeness result. On the other hand, if calls to f are allowed (i.e.ย we are back to the general form), but the derivative is along the โ€œslowerโ€ function โ„“2, then expressivity jumps to ๐…๐๐‚1.

As a second example to focus on the smallest classes, consider schemas of the form โˆ’fโข(x,๐ฒ)+Bโข(x,๐ฒ,h,f), for Bโ‰ฅ0, with derivative along โ„“ and only simple calls to f. We show that such defined functions are in ๐…๐๐‚1. Forcing the second part to be in {0,1}, i.e.ย considering equations of the forms โˆ’fโข(x,๐ฒ)+Kโข(x,๐ฒ,h,f) and โˆ’fโข(x,๐ฒ)+kโข(x,๐ฒ,h) (that is,ย in the latter case, calls to f are not allowed) makes the functions respectively in ๐…๐€๐‚๐‚โข[๐Ÿ] and ๐…๐€๐‚0. Remarkably, in the first two cases, the mentioned schemas are central to characterize the corresponding classes.

Finally, we examine (strict) equations of the form Bโข(x,๐ฒ,h) (where B is a limited ๐—Œ๐—€-polynomial expression), this time deriving along โ„“2. Equations of this form provide the ODE equivalent to log iterated sums and, not surprisingly, define a computation in ๐…๐€๐‚0. Generalizing them to the non-strict setting by allowing equations of the form Bโข(x,๐ฒ,h,f), where calls to f occur, gives a really more tricky schema, that is shown computable in ๐…๐“๐‚0.

strict schemas along โ„“ non-strict schemas along โ„“ schemas along โ„“2
๐…๐€๐‚0 (kโข(x)โˆ’1)ร—fโข(x) (Kโข(x,f)โˆ’1)ร—fโข(x) Bโข(x)
ยฑfโข(x)+kโข(x)
๐…๐€๐‚๐‚โข[๐Ÿ] โˆ’kโข(x)ร—fโข(x)+kโข(x)ร—kโ€ฒโข(x) โˆ’fโข(x)+Kโข(x,f)
๐…๐“๐‚0 Aโข(x)ร—fโข(x)+Bโข(x) Kโข(x,f) Bโข(x,f)
Kโข(x,f)ร—fโข(x)
๐…๐๐‚1 fโข(x)+Kโข(x,f) Aโข(x,f)ร—fโข(x)+Bโข(x,f)
โˆ’fโข(x)+Bโข(x,f)
๐…๐€๐‚1 Bโข(x,f)
The table summarizes the features defining the equations of the main linear schemas in the corresponding small circuit class. For readability, the arguments h and ๐ฒ are omitted. Schemas in blue are not only computable in the corresponding class, but also provide a characterization for it. Calls in non-strict schemas deriving along โ„“ are simple or restricted to s=๐—Œ๐—€โข(fโข(x)โˆ’c), for cโˆˆโ„•, except for the schema in ๐…๐€๐‚๐‚โข[๐Ÿ], and B is assumed to take positive values only.
Figure 1: ODE Schemas and Small Circuit Classes in a Nutshell.

4 Investigating Circuit Complexity Deriving along โ„“

In this section, we present linear ODE schemas obtained by deriving along โ„“ and show that they are computable and, in some cases, capable of characterizing the corresponding class.

4.1 The Class ๐…๐€๐‚๐ŸŽ

We start by revising the characterization of ๐…๐€๐‚0 fromย [3]. Recall that the function algebra ๐”ธโขโ„‚โข๐”ปโข๐•ƒ capturing ๐…๐€๐‚0 is based on the two very restrictive forms of โ„“-ODEโ€™s below.

Definition 10 (Schemas โ„“-ODE1, โ„“-ODE3).

Given g:โ„•pโ†’โ„• and k:โ„•p+1โ†’{0,1}, the function f:โ„•p+1โ†’โ„• is obtained by โ„“-ODE1 from g, and k, if it is the solution of the IVP defined by fโข(0,๐ฒ)=gโข(๐ฒ) and

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=fโข(x,๐ฒ)+kโข(x,๐ฒ).

On the other hand, f is obtained by โ„“-ODE3 from g if it is the solution of the IVP defined by fโข(0,๐ฒ)=gโข(๐ฒ) and

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=โˆ’โŒˆfโข(x,๐ฒ)2โŒ‰.

Relying on them, inย [3], the ODE-based function algebra below is introduced:

๐”ธโ„‚๐”ป๐•ƒ=[๐Ÿข,๐Ÿฃ,๐—Œ๐—€,โ„“,+,โˆ’,รท2,#,ฯ€ip;โˆ˜,โ„“-ODE1,โ„“-ODE3]

where, as standard, xโข#โขy=2โ„“โข(x)ร—โ„“โข(y). In the same paper, this class is shown to precisely characterize ๐…๐€๐‚0, seeย [3, Cor. 19]. Here, we dramatically simplify the (indirect) completeness proof, by showing that โ„“-ODE3 precisely captures the idea of looking for the value of a bit in an โ„“โข(x) long sequence, while โ„“-ODE1 corresponds to the idea of left-shifting (the binary representation of) a given number, possibly adding 1.

โ–ถย Remark 11 (The Function ๐–ก๐–จ๐–ณ).

Given an input y of length โ„“โข(y), for any iโˆˆ{0,โ€ฆ,โ„“โข(y)}, the schema โ„“-ODE3 allows us to compute its itโขh bit in a direct way. Let us consider an instance of โ„“-ODE3 such that gโข(๐ฒ)=y, i.e. defined by ๐—‹๐—Œ๐—โข(0,y)=y and

โˆ‚๐—‹๐—Œ๐—โข(x,y)โˆ‚โ„“=โˆ’โŒˆ๐—‹๐—Œ๐—โข(x,y)2โŒ‰.

Then, the โ„“โข(x)tโขh bit of y is ๐–ก๐–จ๐–ณโข(x,y)=๐—‹๐—Œ๐—โข(x,y)โˆ’๐—‹๐—Œ๐—โข(x+1,y)ร—2.

โ–ถย Remark 12 (The CRN Schema).

Inย [13], CRN is defined by fโข(0,๐ฒ)=gโข(๐ฒ) and fโข(siโข(x),๐ฒ)=shiโข(x,๐ฒ)โข(fโข(x,๐ฒ)), for iโˆˆ{0,1}, hi taking value in {0,1} and siโข(x)=2โขx+i being the binary successor functions. We can rewrite this schema as an instance of โ„“-ODE1 such that

fcโขrโขnโข(0,y,๐ฒ) =gโข(๐ฒ)
โˆ‚fcโขrโขnโข(x,y,๐ฒ)โˆ‚โ„“ =fcโขrโขnโข(x,y,๐ฒ)+h๐–ก๐–จ๐–ณโข(โ„“โข(y)โˆ’โ„“โข(x)โˆ’1,y)โข(x,๐ฒ)
=fcโขrโขnโข(x,y,๐ฒ)+h0โข(x,๐ฒ)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐–ก๐–จ๐–ณโข(โ„“โข(y)โˆ’โ„“โข(x)โˆ’1,y))
+h1โข(x,๐ฒ)ร—๐—Œ๐—€โข(๐–ก๐–จ๐–ณโข(โ„“โข(y)โˆ’โ„“โข(x)โˆ’1,y))

where, by definition, for any t, hiโข(t,๐ฒ)โ‰ค1. Then, ๐–ผ๐—‹๐—‡โข(x,๐ฒ)=fcโขrโขnโข(x,x,๐ฒ)=fโข(x,๐ฒ).

Theorem 13 ([3]).

๐…๐€๐‚0=๐”ธโขโ„‚โข๐”ปโข๐•ƒ.

Proof.

(โЇ) Byย [3, Prop. 12, 17]. (โІ) The proof is indirect and passes through Cloteโ€™s algebra

๐’œ0=[0,ฯ€ip,s0,s1,โ„“,๐–ก๐–จ๐–ณ,#;โˆ˜,CRN],

which, inย [13], is shown sufficient to characterize ๐…๐€๐‚0. Its basic functions 0, ฯ€ip,โ„“,# and composition are by design in ๐”ธโขโ„‚โข๐”ปโข๐•ƒ, s0,s1 can be rewritten in our setting almost for free, while ๐–ก๐–จ๐–ณ and CRN can be encoded as in Remarksย 11 andย 12. โ—€

In the context of a broader understanding of the hierarchy between classes, we have also considered non-strict โ„“-ODE schemas that are computable in ๐…๐€๐‚0. As anticipated, this investigation demonstrates a strong link between depth constraints over circuits and the syntactical constraints that define the corresponding linear length-ODE. Particularly interesting in this setting is the IVP defined by linear equations in which Aโˆˆ{โˆ’1,1} and B=0. As long as fโข(x,๐ฒ) occurs in A(=Kโˆ’1) only in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)), computation through this schema is proved to be in ๐…๐€๐‚0. Remarkably, computing the solution of such system corresponds to performing bounded search.

Lemma 14.

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be computable in ๐…๐€๐‚0. Then, fโข(x,๐ฒ), defined from g and h as the solution of the IVP made of fโข(0,๐ฒ)=gโข(๐ฒ) and

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=(Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))โˆ’1)ร—fโข(x,๐ฒ)

where Kโˆˆ{0,1} is a limited ๐—Œ๐—€-polynomial expression and fโข(x,๐ฒ) occurs in it only under the scope of the sign function in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)), is in ๐…๐€๐‚0.

Proof Sketch.

By definition of โ„“-ODE, fโข(x,๐ฒ)=โˆu=โˆ’1โ„“โข(x)โˆ’1Kโข(ฮฑโข(u),๐ฒ,hโข(ฮฑโข(u),๐ฒ),fโข(ฮฑโข(u),๐ฒ)), with the convention that Kโข(ฮฑโข(โˆ’1),โ‹…)=gโข(๐ฒ). Clearly, if there is a tโˆˆ{0,โ€ฆ,x} such that Kโข(t)=0, then fโข(x,๐ฒ)=0. Therefore, we compute fโข(x,๐ฒ)=โˆu=โˆ’1โ„“โข(x)โˆ’1K1โข(u) which is either 0, if gโข(๐ฒ)=0 or there is a K1โข(u)=0, or gโข(๐ฒ), otherwise. By hypothesis, we can compute in ๐…๐€๐‚0 both gโข(๐ฒ) and, for any uโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, K1โข(u). Thus, we conclude in one layer defined by an unbounded fan-in โˆง-gate. โ—€ This result can actually be strengthened by showing that Lemmaย 14 holds even when generalized expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)โˆ’r) occur in K.

To conclude the presentation of schemas for ๐…๐€๐‚0, let us consider simple cases of bounded search encoded by the aforementioned ODE schemas.

Example 15 (BSearch).

Let RโІโ„•p+1 and hR be its characteristic function. Then, for all x and ๐ฒ, (โˆ€zโ‰คโ„“โข(x))โขRโข(z,๐ฒ)=๐—Œ๐—€โข(fโข(x,๐ฒ)), where f is defined by fโข(0,๐ฒ)=๐—Œ๐—€โข(hRโข(0,๐ฒ)) and โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=(hRโข(x,๐ฒ)โˆ’1)ร—fโข(x,๐ฒ), which is clearly an (very limited) instance of the schema presented in Lemmaย 14. Another example of limited search consists in checking whether, at some point, fโข(x,๐ฒ) reaches or not a boundary, say r. This can be expressed in a natural way by an instance of the (generalized) non-strict schema (in ๐…๐€๐‚0) defined by the equation โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=(๐—Œ๐—€โข(fโข(x,๐ฒ)โˆ’r)โˆ’1)ร—fโข(x,๐ฒ).

4.2 The Class ๐…๐€๐‚๐‚โข[๐Ÿ]

By weakening the constraints on linearity of the schemas which define ๐…๐€๐‚0, we introduce an โ„“-ODE the computation of which is provably in ๐…๐€๐‚๐‚โข[๐Ÿ] and actually characterizes this class. We consider a non-strict schema such that A=โˆ’1 and B=Kโˆˆ{0,1}. As we will see (Sectionย 4.4), this is a special case of the schema we will introduce to capture ๐…๐๐‚1. Together with the functions and schemas defining ๐”ธโขโ„‚โข๐”ปโข๐•ƒ, it is also enough to capture ๐…๐€๐‚๐‚โข[๐Ÿ], thus providing the very first ODE-based characterization for this small circuit class โ€œwith countersโ€.

Definition 16 (Schema โ„“โข-b0โขODE).

Given g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„•, the function f:โ„•p+1โ†’โ„• is defined by โ„“โข-b0โขODE if it is the solution of the IVP with fโข(0,๐ฒ)=gโข(๐ฒ) and

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=โˆ’fโข(x,๐ฒ)+Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))

where Kโˆˆ{0,1} is a limited ๐—Œ๐—€-polynomial expression and fโข(x,๐ฒ) occurs in K only under the scope of the sign function.

Notably, this schema allows us to capture the computation performed by Mod 2 gates and to rewrite the parity function in a very natural way.

Example 17 (The Parity Function).

Let z be a string of โ„“โข(z)=n bits. To count the number of 1โ€™s in z we consider the following system defined by ๐—‰๐–บ๐—‹โข(0,y)=๐–ก๐–จ๐–ณโข(0,y) and:

โˆ‚๐—‰๐–บ๐—‹โข(x,y)โˆ‚โ„“ =โˆ’๐—‰๐–บ๐—‹(x,y)+(๐—Œ๐—€(๐—‰๐–บ๐—‹(x,y))ร—๐–ผ๐—ˆ๐—Œ๐—€(๐–ก๐–จ๐–ณ(โ„“(x)+1,y))+
๐–ผ๐—ˆ๐—Œ๐—€(๐—‰๐–บ๐—‹(x,y))ร—๐—Œ๐—€(๐–ก๐–จ๐–ณ(โ„“(x)+1,y)))

which is clearly an instance of โ„“โข-b0โขODE. The parity function is now computed by ๐—‰๐–บ๐—‹โข(z,z).

Notice that this example shows that โ„“โข-b0โขODE really increases the power of โ„“-ODE1, as the parity function is known not to be in ๐…๐€๐‚0 (seeย [23]). This also indicates that โ„“โข-b0โขODE is actually a schema capturing the specific computational power corresponding to ๐…๐€๐‚๐‚โข[๐Ÿ]. Moreover, it is shown that the desired closure property holds for it.

Lemma 18.

If fโข(x,๐ฒ) is defined by โ„“-b0ODE from functions in ๐…๐€๐‚๐‚โข[๐Ÿ], then fโข(x,๐ฒ) is in ๐…๐€๐‚๐‚โข[๐Ÿ] as well.

Proof Sketch.

For simplicity, let us consider the simple case of fโข(x,๐ฒ) occurring only under the scope of the sign function in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)). Relying on the fact that Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))=K1โข(x)ร—๐—Œ๐—€โข(fโข(x,๐ฒ))+K0โข(x)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(fโข(x,๐ฒ)), we can rewrite the equation defining โ„“โข-b0โขODE as follows:

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“ =โˆ’f(x,๐ฒ)ร—(K0(x)=K1(x))+(K0(x)=K1(x))ร—
(((K0(x)=1)ร—Mod 2(โˆ‘i=xโ„“โข(x)(K0(i)=K0(i+1)))=0)
+((K0(x)=0)ร—Mod 2(โˆ‘i=xโ„“โข(x)(K0(i)=K0(i+1)))=1)).

Intuitively, if K0โข(t)โ‰ K1โข(t), no change occurs. In contrast, if K0โข(t)=K1โข(t) we restart the computation (as the preceding value of the input must not be the last one for which K0=K1) by removing the previous value of fโข(t,๐ฒ), and return 1 if either one of the following holds:

  1. i

    K0โข(t)=K1โข(t)=1, i.e.ย Kโข(t) โ€œgeneratesโ€ a 1, and the number of changes of values (temporarily assuming that t is the last value in {0,โ€ฆ,โ„“โข(x)โˆ’1} such that K0โข(t)=K1โข(t)) between subsequent values, i.e.ย K0โข(t) and K0โข(t+1), is such that 1 (possibly alternating) โ€œpropagatesโ€ until the end of the computation or

  2. ii

    K0โข(t)=K1โข(t)=0, i.e.ย Kโข(t) โ€œgeneratesโ€ a 0, and the subsequent number of changes of values is such that 0 does not propagate to the final value, i.e.ย Mod 2(โˆ‘i=tโ„“โข(x)โˆ’1(K0(t)=K0(t+1)))=1.

It is easy to see that the value computed in this way corresponds to the final value of the computation, i.e.ย fโข(x,๐ฒ) is given by fโข(t,๐ฒ) such that for any tโ€ฒโˆˆ{t,โ€ฆ,โ„“โข(x)},K0โข(tโ€ฒ)โ‰ K1โข(tโ€ฒ). Clearly, this is a special case of โ„“โข-b0โขODE in which no call to fโข(x,๐ฒ) occurs in A or B, namely of the form โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=โˆ’kโข(x,๐ฒ)ร—fโข(x,๐ฒ)+kโข(x,๐ฒ)ร—kโ€ฒโข(x,๐ฒ), for kโข(x,๐ฒ),kโ€ฒโข(x,๐ฒ)โˆˆ{0,1}. Computation through this schema can be implemented by circuits of constant depth and polynomial size including Mod 2 gates: for any tโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, we can compute kโข(ฮฑโข(t),๐ฒ) and kโ€ฒโข(ฮฑโข(t),๐ฒ) in parallel and check both their mutual consistency, i.e. whether kโข(ฮฑโข(t),๐ฒ)=kโ€ฒโข(ฮฑโข(t),๐ฒ), and the consistency between subsequent pairs, i.e.ย whether kโข(ฮฑโข(t),๐ฒ)=kโข(ฮฑโข(t+1),๐ฒ); then, using Mod 2 gates, we can compute whether the number of changes of values is even or odd and conclude in constant depth via (unbounded fan-in) โˆจ-gate. โ—€

Since โ„“โข-b0โขODE has been shown to capture computations performed by Mod 2 gates, our characterization for ๐…๐€๐‚๐‚โข[๐Ÿ] is obtained by simply endowing ๐”ธโขโ„‚โข๐”ปโข๐•ƒ with it.

Theorem 19.

๐…๐€๐‚๐‚[๐Ÿ]=[๐Ÿข,๐Ÿฃ,โ„“,๐—Œ๐—€,+,โˆ’,รท2,#,ฯ€ip;โˆ˜,โ„“-ODE1,โ„“-ODE3,โ„“-b0ODE]

Proof.

(โЇ) Following the proofsย [3, Prop. 12, 17] plus Lemmaย 18 for โ„“โข-b0โขODE. (โІ) Consequence ofย [3, Th. 18] and of the fact that the parity function can be simulated by โ„“โข-b0โขODE (see Exampleย 17). โ—€

4.3 The Class ๐…๐“๐‚๐ŸŽ

In this section, we introduce schemas the computation of which is proved to be in ๐…๐“๐‚0. One is defined in terms of strict linear โ„“-ODE and provides a new, compact characterization for this class. The second couple of schemas considered are not strict, as they include simple calls to fโข(x,๐ฒ), and are defined uniformly with respect to corresponding (i.e.,ย non-strict) schemas for ๐…๐€๐‚0 and ๐…๐€๐‚๐‚โข[๐Ÿ] (as well as for ๐…๐๐‚1 and ๐…๐€๐‚1, see Sectionsย 4.4 andย 4.5)

We start by dealing with the linear ODE schema defined deriving along โ„“ and so that Aโข(x,๐ฒ) and Bโข(x,๐ฒ) are both ๐—Œ๐—€-polynomial expressions, with no call to fโข(x,๐ฒ).

Definition 20 (Schema โ„“โข-pODE).

Given g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„•, the function f:โ„•p+1โ†’โ„• is defined by โ„“โข-pODE from g and h, if it is the solution of the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=Aโข(x,๐ฒ,hโข(x,๐ฒ))ร—fโข(x,๐ฒ)+Bโข(x,๐ฒ,hโข(x,๐ฒ))

where A and B are ๐—Œ๐—€-polynomial expressions.

This compactly encapsulates not only iterated multiplication and addition but also โ„“-ODE1 and โ„“-ODE3 computation.

Example 21 (Counting and Iterated Addition in โ„“โข-pODE).

Notably, BCount (resp. iterated addition, ItAdd) can be expressed as a special case of โ„“โข-pODE such that A=0 and B=kโข(x,๐ฒ) with k,gโ‰ค1, i.e.ย by considering an IVP such that fโข(0,๐ฒ)=gโข(๐ฒ) and:

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=k(x,๐ฒ)(resp.ย โˆ‚fโข(x,๐ฒ)โˆ‚โ„“ =Bโข(x,๐ฒ,hโข(x,๐ฒ)).

Taking gโข(๐ฒ)=๐–ก๐–จ๐–ณโข(0,y) and kโข(x,๐ฒ)=๐–ก๐–จ๐–ณโข(โ„“โข(x),y), fโข(x,x)=โ™ฏโข{u:๐–ก๐–จ๐–ณโข(u,x)=1}.

These examples are especially relevant as they reveal that โ„“โข-pODE is really more expressive than all strict schemas introduced so far (BCount is not computable in ๐…๐€๐‚0 and ๐…๐€๐‚๐‚โข[๐Ÿ], seeย [32, 33]). The closure property can be shown to hold for โ„“โข-pODE by relying on the following result.

Proposition 22.

If g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• are computable in ๐…๐“๐‚0 and f:โ„•p+1โ†’โ„• is defined by โ„“โข-pODE from g and h, then f is computable in ๐…๐“๐‚0 as well.

Proof.

By definition of โ„“-ODE, such f satisfies fโข(0,๐ฒ)=gโข(๐ฒ) and

fโข(x,๐ฒ)=โˆ‘u=โˆ’1โ„“โข(x)โˆ’1(โˆt=u+1โ„“โข(x)โˆ’1(1+Aโข(r,๐ฒ)))ร—Bโข(u,๐ฒ)

with the convention that โˆzzโˆ’1ฮบโข(x)=1 and Bโข(โˆ’1,๐ฒ)=gโข(๐ฒ). Computing this expression can be done combining iterated addition and multiplication, which are in ๐…๐“๐‚0. โ—€ As an immediate byproduct we obtain a new, concise ODE-based characterization of ๐…๐“๐‚0.

Theorem 23.

๐…๐“๐‚0=[๐Ÿข,๐Ÿฃ,โ„“,๐—Œ๐—€,+,โˆ’,รท2,ฯ€ip,#;โˆ˜,โ„“-pODE].

Proof.

(โЇ) By Propositionย 22. (โІ) Consequence of the facts that (i) โ„“-pODE is strong enough to express โ„“-ODE1 and โ„“-ODE3, together with ๐…๐€๐‚0=๐’œ0=๐”ธโขโ„‚โข๐”ปโข๐•ƒ (seeย [3, 13]), and (ii) โ„“-pODE captures BCount computation (see Exampleย 21), which is equivalent to Maj or ร— (seeย [34]), together with the fact that [๐Ÿข,ฯ€ip,๐—Œ0,๐—Œ1,โ„“,๐–ก๐–จ๐–ณ,#,ร—;โˆ˜,CRN]=๐…๐“๐‚0 (seeย [17]). established byย [17]. โ—€

Additionally, in order to better and uniformly understand upper bounds in circuit computation, we consider natural constraints over the non-strict linear length-ODE schema obtained by allowing simple calls of fโข(x,๐ฒ). As shown throughout the paper, this kind of feature may increase the computational power of a schema, and, here, to ensure that computation remains in ๐…๐“๐‚0 we have to restrict the forms of A and B.

Lemma 24.

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be in ๐…๐“๐‚0. Then, a function f defined by the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and equation of one of the following forms:

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))โขย orย โขโˆ‚fโข(x,๐ฒ)โˆ‚โ„“=Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))ร—fโข(x,๐ฒ)

where Kโˆˆ{0,1} is a ๐—Œ๐—€-polynomial expression and fโข(x,๐ฒ) only occurs in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)) in it, is in ๐…๐“๐‚0 as well.

Proof.

For the first equation type, notice that, if gโข(๐ฒ)โ‰ฅ1, then, for any tโˆˆ{0,โ€ฆ,x}, fโข(t,๐ฒ)โ‰ฅ0 (by definition of the schema, in which A=0 and Bโˆˆ{0,1}). Thus, in this case, fโข(x,๐ฒ)=โˆ‘u=โˆ’1โ„“โข(x)โˆ’1K1โข(u) with the convention that K1โข(โˆ’1)=gโข(๐ฒ), and we can conclude by noticing that BCount is in ๐…๐“๐‚0. Otherwise, we compute in parallel gโข(๐ฒ) and K0โข(t),K1โข(t) for all tโˆˆ{0,โ€ฆ,โ„“โข(x)}. Then, we search for the first t such that K0โข(t)โ‰ 0 and compute โˆ‘u=tโ„“โข(x)โˆ’1K1โข(u): this would be the expected result since, before t, each summand is equal to 0 and, after t, all signed terms remain strictly positive. Again, this corresponds to BCount, which can be done in ๐…๐“๐‚0. In terms of circuit computation, this is implemented as follows:

  • โ– 

    In parallel, the circuit computes the value of gโข(๐ฒ) and, for each uโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1} of both K0โข(u) and K1โข(u) (this can be done in ๐…๐“๐‚0 for hypothesis).

  • โ– 

    In one layer, for any tโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, it computes the sum K0โข(t)+โˆ‘u=t+1โ„“โข(x)โˆ’1K1โข(u) by t Count gates.

  • โ– 

    In constant depth, for any tโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, it computes the conjunction between ยฌK0โข(0),ยฌK0โข(1),โ€ฆ, ยฌK0โข(tโˆ’1) and K0โข(t) and select the corresponding Count gate.

For the second equation type, first note that, if gโข(๐ฒ)=0, trivially fโข(x,๐ฒ)=0 (which is clearly computable in ๐…๐“๐‚0). Let gโข(๐ฒ)โ‰ฅ1. Then, for any tโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, ๐—Œ๐—€โข(fโข(0,๐ฒ))>0. Therefore, by definition of โ„“-ODE, fโข(x,๐ฒ)=โˆu=โˆ’1โ„“โข(x)โˆ’1(1+K1โข(u)), with โˆt=โˆ’1tโ€ฒฮบ=gโข(๐ฒ). This can be computed in ๐…๐“๐‚0: gโข(๐ฒ) and each K1โข(uโ€ฒ), for uโ€ฒโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1} can be computed in parallel in the beginning (gโข(x,๐ฒ) and hโข(x,๐ฒ) being computable in ๐…๐“๐‚0 for hypothesis and K1 being a ๐—Œ๐—€-polynomial expression by definition) and ItMult (so, in particular, iterated multiplication by 1 and 2) is in ๐…๐“๐‚0, seeย [25]. โ—€

4.4 The Class ๐…๐๐‚๐Ÿ

In this section, we consider two restrictions on โ„“-ODE, which give us natural schemas the solution of which is a function computable in ๐…๐๐‚1: namely,ย the schema defined by A=1 and B=Kโˆˆ{0,1} and the one defined by A=โˆ’1 and more liberal Bโ‰ฅ0 (obtaining the so-called โ„“โข-bODE schema, somewhat generalizing โ„“โข-b0โขODE).

Lemma 25 (Bounded Concatenation with Simple Calls).

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be computable in ๐…๐๐‚1. Then, computation through the schema defined by the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that:

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=fโข(x,๐ฒ)+Kโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))

where Kโˆˆ{0,1} is a ๐—Œ๐—€-polynomial expression, and fโข(x,๐ฒ) appears in it only under the scope of the sign function in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)), is in ๐…๐๐‚1.

Proof Sketch.

By definition of โ„“-ODE, f(x,๐ฒ)=โˆ‘u=โˆ’1โ„“โข(x)โˆ’12โ„“โข(x)โˆ’uโˆ’1ร— K(ฮฑ(u),๐ฒ,h(ฮฑ(u),๐ฒ), f(ฮฑ(u),๐ฒ)), with the convention that Kโข(ฮฑโข(โˆ’1))=gโข(๐ฒ). Let us define the truncated sum (or concatenation) between a and bโˆ’1 bounded by โ„“โข(x)โˆ’1, as Sโข(a,b)=โˆ‘u=abโˆ’1Kโข(ฮฑโข(u),๐ฒ,hโข(ฮฑโข(u),๐ฒ),Sโข(u)), with Sโข(u)=Sโข(ฮฑโข(u),๐ฒ)=fโข(ฮฑโข(u),๐ฒ). In particular, we consider two sums in which the sign of the first term is assumed to be either 0 or 1: S0โข(a,b)=โˆ‘u=abโˆ’1Kโข(ฮฑโข(u),๐ฒ,hโข(ฮฑโข(u),๐ฒ),Sโข(u)), with S0โข(a)=0 and S1โข(a,b)=โˆ‘u=abโˆ’12โ„“โข(x)โˆ’uโˆ’1ร—K1โข(u). Therefore, for any x and ๐ฒ:

fโข(x,๐ฒ)=Sโข(โˆ’1,โ„“โข(x)/2)+Sโข(โ„“โข(x)/2,โ„“โข(x))=+{Sโข(โˆ’1,โ„“โข(x)/2)S0โข(โ„“โข(x)/2,โ„“โข(x))ร—(1โˆ’sโข(โ„“โข(x)/2โˆ’1))S1โข(โ„“โข(x)/2,โ„“โข(x))ร—sโข(โ„“โข(x)/2โˆ’1).

Clearly, Sโข(โˆ’1,โ„“โข(x)/2),S0โข(โ„“โข(x)/2,โ„“โข(x)) and S1โข(โ„“โข(x)/2,โ„“โข(x)) can be computed in parallel: we know the actual starting value of S0โข(โ„“โข(x)/2,โ„“โข(x)), which is 0, while to compute S1โข(โ„“โข(x)/2,โ„“โข(x))=โˆ‘u=โ„“โข(x)/2โ„“โข(x)โˆ’12โ„“โข(x)โˆ’uโˆ’1โขK1โข(u) it is enough to know that, for any a>โ„“โข(x)/2, fโข(ฮฑโข(a),๐ฒ)>0. Once Sโข(โˆ’1,โ„“โข(x)/2)=fโข(ฮฑโข(โ„“โข(x)/2),๐ฒ) is computed and its sign tested, we can select between S0 and S1 accordingly. We conclude by taking the concatenation between Sโข(โˆ’1,โ„“โข(x)/2) and either S0 or S1. โ—€ This schema can be generalized so to allow calls to fโข(x,๐ฒ) in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)โˆ’c), i.e.ย testing whether fโข(x,๐ฒ)โ‰ฅc. Computation through an extended version in which fโข(x,๐ฒ) occurs under the scope of ๐–ป๐—‚๐— is provably in ๐…๐๐‚1 but it is also strong enough to capture perfect binary tree structures, hence to provide a direct encoding of ๐…๐๐‚1 circuit computation.

โ–ถย Remark 26.

The condition that f appears only in expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)) or even ๐—Œ๐—€โข(fโข(x,๐ฒ)โˆ’c) might seem limited. However, the possibilities it offers really increase the ODEโ€™s expressive power and, on the other side, even for slightly more liberal conditions, provide the only known upper bound for the schema is ๐…๐.

We now move to the new characterization of ๐…๐๐‚1. To establish it, we introduce an โ„“-ODE schema defined by imposing A=โˆ’1 and Bโ‰ฅ0, that is by generalizing the constraint defining โ„“โข-b0โขODE from B=Kโˆˆ{0,1} to B taking any positive value.

Definition 27 (Schema โ„“โข-bODE).

Given g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„•, the function f:โ„•p+1โ†’โ„• is defined by โ„“โข-bODE if it is the solution of the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=โˆ’fโข(x,๐ฒ)+Bโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))

where, for any x,๐ฒ, Bโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))โ‰ฅ0 is a ๐—Œ๐—€-polynomial expression, and fโข(x,๐ฒ) occurs in it only in expressions of the form ๐—Œ๐—€โข(fโข(x,๐ฒ)โˆ’c), being c a constant.

Lemma 28.

If fโข(x,๐ฒ) is defined by โ„“-bODE from functions in ๐…๐๐‚1, then fโข(x,๐ฒ) is in ๐…๐๐‚1 as well.

Proof.

To simplify the exposition, w.l.o.g. let us suppose that: (i) B includes only one signed term, say s, in which fโข(x,๐ฒ) occurs, and (ii) โ„“โข(x) is a power of two (to avoid rounding). By definition of โ„“-ODE, fโข(x,๐ฒ)=Bโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ,hโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ),fโข(ฮฑโข(โ„“โข(x)โˆ’1),๐ฒ))=Biโข(โ„“โข(x)โˆ’1), with i=sโข(โ„“โข(x)โˆ’1). We consider partial or truncated results between a and bโˆ’1 bounded by โ„“โข(x)โˆ’1, intuitively corresponding to subsequent compositions of s in B, going from a to bโˆ’1; that is, either Cโข(a,b)=C0โข(a,b), i.e.ย the computation of fโข(bโˆ’1,๐ฒ) starting from fโข(a,๐ฒ)=B0โข(aโˆ’1), or Cโข(a,b)=C1โข(a,b), i.e.ย the computation of fโข(bโˆ’1,๐ฒ) starting from fโข(a,๐ฒ)=B1โข(aโˆ’1). The values of Cโข(0,aโˆ’1), C0โข(a,b) and C1โข(a,b) can be computed independently from all previous values of fโข(โ‹…,๐ฒ). Additionally, only one between C0โข(a,b) and C1โข(a,b) corresponds to the actual value of Cโข(a,b). Then, for any x and ๐ฒ, the value of fโข(x,๐ฒ) can be computed inductively by selecting the correct partial Bโข(a,b) as follows: fโข(x,๐ฒ)=Cโข(โˆ’1,โ„“โข(x))=๐—Œ๐—€โข(Cโข(โˆ’1,โ„“โข(x)/2))ร—C1โข(โ„“โข(x)/2,โ„“โข(x))+๐–ผ๐—ˆ๐—Œ๐—€โข(Cโข(โˆ’1,โ„“โข(x)/2))ร—C0โข(โ„“โข(x)/2,โ„“โข(x)). Both Cโข(โˆ’1,โ„“โข(x)/2),C0โข(โ„“โข(x)/2,โ„“โข(x)) and C1โข(โ„“โข(x)/2,โ„“โข(x)) as well as, for any tโˆˆ{0,โ€ฆ,โ„“โข(x)โˆ’1}, B0โข(t),B1โข(t) and the corresponding signs can be computed independently from each other and in parallel. The number of subsequent recursive calls needed to end up with the desired selection, i.e.ย the one corresponding to C0โข(โ„“โข(x)/2,โ„“โข(x)) and C1โข(โ„“โข(x)/2,โ„“โข(x)), would require โ„“โข(x)/2 (selection) steps, ensuring we are in ๐…๐๐‚1. โ—€

โ–ถย Remark 29.

As desired, Lemmaย 28 still holds when dealing with s0,โ€ฆ,sr signed expressions occurring in B. To deal with this more general case we need to add an initial consistency check, considering ๐—Œ๐—€โข(Bi0,โ€ฆ,irโข(t))โ€™s and Bi0โ€ฒโขโ€ฆโขirโ€ฒโข(t+1)โ€™s, in the very beginning.

Together with โ„“โข-pODE, โ„“โข-bODE provides a new ODE-based characterization for ๐…๐๐‚1.

Theorem 30.

๐…๐๐‚1=[๐Ÿข,๐Ÿฃ,โ„“,๐—Œ๐—€,+,โˆ’,รท2,#,ฯ€ip;โˆ˜,โ„“-pODE,โ„“-bODE].

Proof.

(โЇ) All basic functions of this algebra are already in ๐…๐€๐‚0 and the closure property holds for โˆ˜,โ„“โข-pODE (generalization of Propositionย 22) and โ„“โข-bODE (Lemmaย 28).
(โІ) The proof is indirect and passes through Cloteโ€™s algebra:

๐’ฉ0โ€ฒ=[๐Ÿข,ฯ€ip,๐—Œ0,๐—Œ1,โ„“,๐–ก๐–จ๐–ณ,#;โˆ˜,CRN,4-BRN],

where a function is defined by 4-BRN if fโข(0,๐ฒ)=gโข(๐ฒ) and fโข(siโข(x),๐ฒ)=hiโข(x,๐ฒ,fโข(x,๐ฒ)) for g and h taking values in {0,โ€ฆ,4} only. Inย [14], this class is proved to be the one characterizing ๐…๐๐‚1. In particular, to show that any function defined by 4-BRN can be rewritten as the solution of an instance of โ„“โข-bODE, we consider the IVP defined by the initial value ๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)=gโข(๐ฒ) and such that:
โˆ‚๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ‚โ„“=โˆ’๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ) +hzโข(x)โข(โ„“โข(x),๐ฒ,0)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)) +hzโข(x)โข(โ„“โข(x),๐ฒ,1)ร—๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ))ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’1) +hzโข(x)โข(โ„“โข(x),๐ฒ,2)ร—๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’1)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’2) +hzโข(x)โข(โ„“โข(x),๐ฒ,3)ร—๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’2)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’3) +hzโข(x)โข(โ„“โข(x),๐ฒ,4)ร—๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’3)ร—๐–ผ๐—ˆ๐—Œ๐—€โข(๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,y,๐ฒ)โˆ’4)
with zโข(x)=๐–ก๐–จ๐–ณโข(โ„“โข(y)โˆ’โ„“โข(x)โˆ’1,y). Then, ๐Ÿฆโข๐–ปโข๐—‹โข๐—‡โข(x,x,๐ณ)=fโข(x,x,๐ณ), where f is defined by 4-BRN from g and hi. Since Cloteโ€™s ๐’ฉ0โ€ฒ is nothing but ๐’œ0 endowed with 4-BRNย [14] and byย [3] ๐’œ0=๐”ธโขโ„‚โข๐”ปโข๐•ƒ, this encoding of 4-BRN via โ„“โข-bODE, together with Theoremย 23, concludes our proof. โ—€

4.5 The Class ๐…๐€๐‚๐Ÿ

When we consider a generalization of the non-strict schemas shown in ๐…๐“๐‚0 from B=Kโˆˆ{0,1} to more liberal Bโ‰ฅ0 (analogously to the generalization from โ„“โข-b0โขODE to โ„“โข-bODE), we obtain an โ„“-ODE schema, which is provably in ๐…๐€๐‚1. Formally, it is defined by an IVP with restrictions A=0 and, as mentioned, Bโ‰ฅ0 with only simple calls to fโข(x,๐ฒ).

The proof of the result below is similar to that for Lemmaย 25, except for the last step which amounts of a sum (possibly including carries) rather than a concatenation.

Lemma 31 (Bounded Sum with Simple Calls).

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be computable in ๐…๐€๐‚1. Then, computation through the schema defined by the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“=Bโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))

where Bโ‰ฅ0 is a ๐—Œ๐—€-polynomial expression with fโข(x,๐ฒ) only appearing under the scope of the sign function inside expressions of the form s=๐—Œ๐—€โข(fโข(x,๐ฒ)), is in ๐…๐€๐‚1 as well.

5 Characterizing Classes Deriving along โ„“๐Ÿ

Here, we consider alternative linear ODEs in which derivation is not along โ„“ but along the โ€œslowerโ€ function โ„“2. Of course, in this context, same syntactic constraints on the linearity of the schema end up characterizing smaller classes (for example, the solution of the system shown in ๐…๐€๐‚1 when deriving along โ„“ is shown to be computable in ๐…๐“๐‚0 if derivation is along โ„“2). The main result of this section is that linear ODEs with derivative along โ„“2 are in ๐…๐๐‚1 (rather than ๐…๐, as in the case of โ„“ย [10]).

First, observe that when deriving along โ„“2, computation through a strict linear ODE schema is (of course in ๐…๐“๐‚0 but even) in ๐…๐€๐‚0 and corresponds to LogItAdd, i.e.ย iterated addition of โ„“2 numbers.

Lemma 32.

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be computable in ๐…๐€๐‚0. Then, f:โ„•p+1โ†’โ„• defined from h and g by the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“2=Bโข(x,๐ฒ,hโข(x,๐ฒ))

where B is a limited ๐—Œ๐—€-polynomial expression, is in ๐…๐€๐‚0.

When this schema is generalized to the non-strict setting by allowing fโข(x,๐ฒ) to occur in B under the scope of the sign function, computation is proved to be in ๐…๐“๐‚0 by a much evolved argument.

Lemma 33.

Let g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„• be definable in ๐…๐“๐‚0. Then, computation through the schema defined by the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“2=Bโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))

where B is a ๐—Œ๐—€-polynomial expression in which fโข(x,๐ฒ) only appears under the scope of the sign function, is in ๐…๐“๐‚0.

As mentioned, the IVP defined deriving along โ„“2 and allowing โ€œfull linearityโ€ is particularly interesting.

Definition 34 (Schema โ„“2-ODE).

Given g:โ„•pโ†’โ„• and h:โ„•p+1โ†’โ„•, the function f:โ„•p+1โ†’โ„• is defined by โ„“2-ODE if it is the solution of the IVP with initial value fโข(0,๐ฒ)=gโข(๐ฒ) and such that:

โˆ‚fโข(x,๐ฒ)โˆ‚โ„“2=Aโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ))ร—fโข(x,๐ฒ)+Bโข(x,๐ฒ,hโข(x,๐ฒ),fโข(x,๐ฒ)).

This schema captures the computation of expressions in the following form:

fโข(x,๐ฒ) =โˆ‘u=โˆ’1โ„“2โข(x)โˆ’1(โˆz=u+1โ„“2โข(x)โˆ’1(1+Aโข(ฮฑ2โข(z),๐ฒ,hโข(ฮฑ2โข(z),๐ฒ),fโข(ฮฑ2โข(z),๐ฒ))))
ร—Bโข(ฮฑ2โข(u),๐ฒ,hโข(ฮฑ2โข(u),๐ฒ),fโข(ฮฑ2โข(u),๐ฒ)),

where ฮฑ2โข(v)=22vโˆ’1โˆ’1, i.e.ย โ„“2โข(ฮฑ2โข(v))=v and ฮฑ2โข(v) is the greatest integer t such that โ„“2โข(t)=v.

Lemma 35.

Let f be defined by โ„“2-ODE from g and h in ๐…๐๐‚1, then f is in ๐…๐๐‚1.

6 Conclusion

The objective of this paper was to start a new and uniform approach for studying circuit complexity through the lens of ODEs. This approach allows to consider bounds on size or depth in circuit computation in terms of constraints on the linearity of the equations defining recursion schemas in two main contexts of derivatives: derivation along โ„“ and along โ„“2. Additionally, we have investigated completeness both improving and placing in a coherent setting the results obtained inย [3] for ๐…๐€๐‚0 and ๐…๐“๐‚0, and providing what, to the best of our knowledge, are the first ODE-based characterizations for ๐…๐€๐‚๐‚โข[๐Ÿ] and ๐…๐๐‚1. In addition of being a simple and natural way to design algorithms, ODE tools have also enabled us to obtain relatively simple and self-contained membership proofs and characterizations compared to the often convoluted constructions or external theories referenced in previous literature.

Many directions for future investigation remain open. A natural one would be the study of characterizations for the entire ๐…๐€๐‚ and ๐…๐๐‚ hierarchies. For this, one has to identify which ODE features or characteristic would help to jump from one depth level, say (logโกn)i, to the next. Furthermore, a possible next step of our research involves defining (strict) โ„“-ODE schemas corresponding to complexity classes with counters, lying between ๐…๐€๐‚๐‚โข[๐Ÿ] and ๐…๐“๐‚0 (i.e.ย which correspond to computations executed by unbounded fan-in circuits featuring Mod p gates), ultimately allowing us to better understand their interrelationships and the concept of counting within the framework of small circuits. Another relevant and intriguing direction is the exploration of the expressive power of schemas with derivative along โ„“2 in particular w.r.t. the problem of capturing complexity classes. Studying the relationship between โ„“ and โ„“2 schemas might also be informative. Classical methods such as changes of variables sometimes help to go from one ODE schema to another but, on the other side, it seems that changing the function along which the derivative is taken gives a different point of view in terms of what can be expressed. However, this study has just been initiated here, and a systematic investigation is left for future work. Other challenging directions for exploration include generalizing our approach to the continuous setting by analyzing small circuit classes over the reals, following the path outlined inย [7] for ๐…๐ and ๐…๐๐’๐๐€๐‚๐„, and developing proof-theoretical counterparts to our ODE-style algebras, in the form of natural rule systems inspired by the ODE design, to syntactically characterize the corresponding classes.

References

  • [1] B.ย Allen. Arithmetizing uniform NC. Ann. Pure Appl. Logic, 53:1โ€“50, 1991. doi:10.1016/0168-0072(91)90057-S.
  • [2] M.ย Antonelli, A.ย Durand, and J.ย Kontinen. Characterizing small circuit classes from FAC0 to FAC1 via discrete ordinary differential equations. URL: https://arxiv.org/abs/2506.23404.
  • [3] M.ย Antonelli, A.ย Durand, and J.ย Kontinen. A new characterization of FAC0 via discrete ordinary differential equations. In Proc. MFCS, 2024.
  • [4] T.ย Arai. A bounded arithmetic AID for Frege systems. Ann. Pure Appl. Logic, 103:155โ€“199, 2000. doi:10.1016/S0168-0072(99)00041-X.
  • [5] D.A.M. Barrington, N.ย Immerman, and H.ย Straubing. On uniformity within NC1. J. of Comput. and Syst. Sc., 41:274โ€“306, 1990. doi:10.1016/0022-0000(90)90022-D.
  • [6] S.ย Bellantoni and S.ย Cook. A new recursion-theoretic characterization of poly-time functions. Comput. Complex., 2:97โ€“110, 1992. doi:10.1007/BF01201998.
  • [7] M.ย Blanc and O.ย Bournez. A characterisation of functions computable in polynomial time and space over the reals with discrete ordinary differential equations: simulation of Turing Machines with analytic discrete ODEs. In Proc. MFCS, pages 21:1โ€“21:15, 2023.
  • [8] M.ย Blanc and O.ย Bournez. The complexity of computing in continuous time: Space complexity is precision. In Proc. ICALP, pages 129:1โ€“129:22, 2024.
  • [9] G.ย Bonfante, R.ย Kahle, J.-Y. Marion, and I.ย Oitavem. Two function algebras defining functions in NCk boolean circuits. Inf. and Comput., 2016.
  • [10] O.ย Bournez and A.ย Durand. Recursion schemes, discrete differential equations and characterization of polynomial time computation. In Proc. MFCS, 2019.
  • [11] O.ย Bournez and A.ย Durand. A characterization of functions over the integers computable in polynomial time using discrete differential equations. Comput. Complex., 32(7), 2023. doi:10.1007/S00037-023-00240-1.
  • [12] P.G. Clote. A sequential characterization of the parallel complexity class NC. Technical report, Boston College, 1988.
  • [13] P.G. Clote. Sequential, machine-independent characterizations of the parallel complexity classes AlogTIME, ACk, NCk and NC, pages 49โ€“69. Progress in Computer Science and Applied Logic. Birkhรคuser, Boston, MA, 1990.
  • [14] P.G. Clote. On polynomial size Frege proofs of certain combinatorial principles. In P.ย Clote and Krjรญcek J., editors, Arithmetic, Proof Theory, and Computational Complexity, pages 166โ€“184. Clarendon Press, 1993.
  • [15] P.G. Clote and E.ย Kranakis. Boolean Functions and Computation Models. Springer, 1998.
  • [16] P.G. Clote and G.ย Takeuti. Bounded arithmetic for NC, ALogTIME, L and NL. Ann. Pure and Appl. Logic, 56:73โ€“117, 1992. doi:10.1016/0168-0072(92)90068-B.
  • [17] P.G. Clote and G.ย Takeuti. First order bounded arithmetic and small complexity classes. In Feasible Mathematics II, pages 154โ€“218. Birkhรคuser Boston, 1995.
  • [18] A.ย Cobham. The intrinsic computational difficulty of functions. In Logic, Methodology and Phylosophy of Science: Proc. 1964 International Congress, pages 24โ€“30. North-Holland Pub. Co., 1965.
  • [19] K.J. Compton and C.ย Laflamme. An algebra and a logic for NC1. Inf. Comput., 87(1/2):240โ€“262, 1990. doi:10.1016/0890-5401(90)90063-N.
  • [20] S.ย Cook and T.ย Morioka. Quantified propositional calculus and a second-order theory for NC1. Arch. Math. Logic, 44:711โ€“749, 2005. doi:10.1007/S00153-005-0282-2.
  • [21] S.ย Cook and P.ย Nguyen. Theories for TC0 and other small circuit classes. Log. Meth. Comput. Sci., 2(1โ€“40), 2006.
  • [22] A.ย Durand, A.ย Haak, and H.ย Vollmer. Model-theoretic characterization of Boolean and arithmetic circuit classes of small depth. In Proc. LICS, pages 354โ€“363, 2018.
  • [23] M.L. Furst, J.B. Saxe, and M.ย Sipser. Parity, circuits, and the polynomial-time hierarchy. In Proc. FOCS, pages 260โ€“270, 1981.
  • [24] Y.ย Gurevich and H.ย Lewis. A logic for constant-depth circuit. Inf. Control, 61:65โ€“74, 1984. doi:10.1016/S0019-9958(84)80062-5.
  • [25] W.ย Hesse, E.ย Allender, and D.A.M. Barrington. Uniform constant-depth threshold circuits for division and iterated multiplication. Journal of Computer and System Sciences, 65(4):695โ€“716, 2002. doi:10.1016/S0022-0000(02)00025-9.
  • [26] N.ย Immerman. Languages that capture complexity classes. SIAM J. Comput., 16:760โ€“778, 1987. doi:10.1137/0216051.
  • [27] J.ย Johannsen. A bounded arithmetic theory for constant depth threshold circuits, volumeย 6 of Springer Lecture Notes in Logic, chapter Gร–DEL โ€™96, pages 224โ€“234. Hรกjek, P., 1996.
  • [28] D.ย Leivant. Predicative recurrence and computational complexity I: Word recurrence and poly-time. In Feasible Mathematics. Birkhรผser, 1994.
  • [29] D.ย Leivant and J.-Y. Marion. Ramified recurrence and computational complexity II: Substitution and poly-space. In Proc. CSL, pages 369โ€“380, 1995.
  • [30] D.ย Leivant and Y.-Y. Marion. Lambda calculus characterizations of poly-time. Fundam. Inform., 19(1,2):167โ€“184, 1993.
  • [31] S.ย Lindell. A purely logical characterization of circuit uniformity. In 7th Structure in Complexity Theory Conf., pages 185โ€“192, 1992.
  • [32] A.A. Razborov. Lower bounds on the size of bounded depth circuits over a complete basis with logical addition. Mathematical Notes of the Academy of Sciences of the USSR, 41:333โ€“338, 1987.
  • [33] R.ย Smolensky. Algebraic methods in the theory of lower bounds for boolean circuit complexity. In Alfredย V. Aho, editor, Proceedings of the 19th Annual ACM Symposium on Theory of Computing, 1987, New York, New York, USA, pages 77โ€“82. ACM, 1987. doi:10.1145/28395.28404.
  • [34] H.ย Vollmer. Introduction to Circuit Complexity: A Uniform Approach. Springer, 1999.