arXiv:2610.25623cs.CCOct 2026

Manuscript Offprint

arXiv:2610.25623

High Precision Multiplicative-Error Approximation of $\#SACSAC^1$ Functions in Logspace Uniform AC1^1

Kuan Cheng, Shengtang Huang, Ruiyang Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Cheng and Wang (CCC' 24) showed that BPL is contained in logspace uniform AC1AC^1 (denoted as L−AC1L-AC^1). We upgrade their result by showing that #SAC\#SAC functions (i.e., functions computed by logspace-uniform polynomial-size positive semi-unbounded arithmetic circuits) can be approximately computed by L-AC circuits with high precision. In particular, approximations of #SAC1\#SAC^1 functions can be computed in L−AC1L-AC^1 with multiplicative error 2−polylog⁡n2^{-poly\log n}. Previously, approximations of #SAC1\#SAC^1 functions are known to be in NC2NC^2 via its exact computation given by Vinay (CCC' 91).

A main corollary of our result is that the following models beyond BPL are computable by L−AC1L-AC^{1} with multiplicative error 2−polylog⁡n2^{-poly\log n}:

• Bounded-Error Probabilistic Auxiliary Push-down Machines (BPAuxPDMs), which are polynomial time logspace Turing Machines (TMs) with an auxiliary stack having unbounded size;

  • Read-k Bounded-Error Probabilistic TMs with polynomial time and logarithmic space (LocalRead k_{k}-BPL), where k is a constant and Read-k means the random tape is two-way accessible and each cell can be visited for at most k times.

AuxPDM was introduced by Cook (JACM'71) and its probabilistic version BPAuxPDM was first studied by Macarie and Ogihara (TCS'98). It is known that this class can compute strongly-few s-t connectivity which is regarded as candidates to separate BQL from BPL by Apers and Edenhofer (CCC'25). LocalRead k_{k}-BPL was studied by Impagliazzo, Nisan, Wigderson (STOC'94) where a pseudorandom generator for this model was given.

Notice that multiplicative error approximations can be used directly to decide non-deterministic computations. So our L-AC 1^{1} circuits can also automatically be used to decide non-deterministic AuxPDMs and hence NL. Recently OpenAI announced that BPL = L. Even if we only consider derandomizing BPL, our L-AC 1^{1} computation has the advantage that the error can be 2^{-poly log n} and can be multiplicative.

1 Introduction

Cheng and Wang [CW24] proved that BPL is contained in logspace uniform AC1AC^{1} (denoted as L−AC1L-AC^{1}) by developing a precision-boosting method for approximate matrix powering. It has been a challenging question whether classes beyond BPL can be computed by L−AC1L-AC^{1}. In this work, we consider the following computation models beyond BPL which are well-known in the literature.

*CFCS, School of Computer Science, Peking University. ckkcdh@pku.edu.cn.

†^{\dagger}CFCS, School of Computer Science, Peking University. peanuttang1320061044@gmail.com.

‡^{\ddagger}CFCS, School of Computer Science, Peking University. wuruiyang@stu.pku.edu.cn.

Auxiliary Pushdown Machines (AuxPDMs) introduced by Cook [Coo71], are Turing Machines (TMs) with logarithmic work space and an auxiliary stack (unbounded size). We mainly consider its probabilistic version allowing two-sided errors, i.e. Bounded-error Probabilistic AuxPDMs (BPAuxPDMs), which was first considered by Macarie and Ogihara [MO98].

Definition 1.1 (Probabilistic AuxPDMs). A probabilistic logspace AuxPDM is a logspace TM with an auxiliary unbounded stack, and an extra read-once random tape. Each step of the machine can push/pop one symbol to/from the top of the stack, or do nothing to the stack (we call this an idle operation on stack, or just idle for simplicity).

Definition 1.2 (BPAuxPDM). The class BPAuxPDM-TISP(T(n), S(n)) consists of all languages L for which there is a probabilistic auxiliary pushdown machine M running in time T(n) and space S(n), such that, for every input x,

x∈L  ⟹  Pr⁡r[M(x;r)accepts]≥23,x\in L\implies\Pr_{r}[M(x;r)\mathrm{accepts}]\geq\frac{2}{3}, x∉L  ⟹  Pr⁡r[M(x;r)accepts]≤13.x\notin L\implies\Pr_{r}[M(x;r)\mathrm{accepts}]\leq\frac{1}{3}.

We denote BPAuxPDM for BPAuxPDM-TISP(poly(n), O(log n)).

We note here that AuxPDM can compute certain problems that are candidates to separate more powerful classes from BPL. For example the strong-few s-t connectivity problem STCON sf={⟨G,s,t,1k⟩∣∀i,j∈V(G),N(i,j)≤k,N(s,t)≥1}_{sf} = \left\{\langle G, s, t, 1^k \rangle \mid \forall i, j \in V(G), N(i, j) \leq k, N(s, t) \geq 1\right\} is considered by Apers and Edenhofer [AE25] as a candidate separating Bounded-error Quantum logspace (BQL) from BPL, where N(i,j)N(i, j) is a function counting the number of paths between ii and jj. This problem is computable by AuxPDMs [CW26].

Another interesting model is a direct generalization of BPL, which allows polynomial-time logspace machines to access each random bit for at most k times, where k is a constant and the random tape is two-way accessible. To be more accurate, the random-tape head moves only between adjacent cells and leaves each cell at most k times during the computation. We denote this class as LocalRead k_{k}-BPL. Notice that with two-way access, repeated reads of a cell must return the same bit, creating dependencies between visits [Nis93]. Impagliazzo, Nisan, and Wigderson [INW94] studied LocalRead k_{k}-BPL and gave a seminal pseudorandom generator for this class. Cheng and Wu [CW26] obtained an SC 2^{2} simulation for this model.

In fact both models are closely related to a counting version of SAC1SAC^{1}. SAC1SAC^{1} circuits are AC1AC^{1} circuits but with the restriction that the AND gates only have fan-in two while the OR gates can have unbounded fan-in, and also negations are allowed only at the inputs. SAC1SAC^{1} circuits are closely related to AuxPDMs, as polynomial-time logspace AuxPDMs and even its non-deterministic version can be computed by polynomial-size semi-unbounded circuits [Sud78, Ven91]. #SAC1\#SAC^{1} is a counting version of SAC1SAC^{1}, which is defined via a broader arithmetic model as the following.

Definition 1.3 (Positive Semi-Unbounded Arithmetic Circuit and #SAC1\#SAC^1 [Vin91]). A positive semi-unbounded arithmetic circuit is a circuit over the semi-ring (N,+,⋅,0,1)(\mathbb{N}, +, \cdot, 0, 1) whose input gates are 0, 1, and Boolean literals xjx_j, xˉj\bar{x}_j, whose addition gates have unbounded fan-in, whose multiplication gates have fan-in two, and which has one or more designated output gates; it does not allow arithmetic subtraction gates. On a Boolean input, xˉj\bar{x}_j denotes the Boolean complement of xjx_j.

A (L-uniform) #SAC1\#SAC^1 circuit family is a (logspace-uniform) polynomial-size family of positive semi-unbounded arithmetic circuits of depth O(log⁡n)O(\log n). We denote L−#SAC1L-\#SAC^1 as the class of nonnegative integer-valued functions computed by L-uniform #SAC1\#SAC^1 circuit families.

#SAC 1^{1} characterizes the acceptance counts of polynomial-time, logarithmic-space auxiliary pushdown machines [Vin91], extending the semi-unbounded circuit characterization of LogCFL [Ven91], where LogCFL is the class of languages computable by polynomial-time non-deterministic AuxPDM. Positive counting circuits of polynomial size and degree can also be converted into #SAC 1^{1} via uniform arithmetic depth reductions [VSBR83, AJMV98]. These exact counting can be computed exactly in NC 2^{2} [Vin91]. But for approximate counting, it is still a challenge whether these can be done by lower depth circuits i.e. L-AC 1^{1}.

We managed to answer these questions by showing that all the above approximation tasks can be done by L-AC 1^{1}.