Search arXiv⌕ Search

arXiv · 2612.05835

New Perspectives on Depth-2 Linear Circuits

Abstract

A compatibility test asks whether an array of one list is compatible, position by position, with an array of another. Orthogonal Vectors is one; the representation technique reduces subset sum and its generalizations to such tests. We propose depth-2 linear circuits, factorizations of the compatibility matrix in which each side acts alone and the sides meet at middle gates, as the framework for stating, limiting, and improving them. Our basic object is the full trade-off between the two degrees of a circuit, for every composition of the inputs. Size, degree, and running time are its readings; colored volume and pressure are a complete language to produce it; and the transfer theorems of Alman and Li and of the author's earlier work are special cases of one compiler. Every bound is automatically a uniform algorithm. We determine what the compatibility certificates of Randolph and Węgrzycki achieve for any relation and relate spectral lower bounds to these resources. For disjointness, we construct partition circuits with maximum degree $O(1.2^n)$ and size $O(2.296^n)$, improving $O(1.249^n)$ (with coefficients $0,\pm1$) and $O(2.370^n)$, and thus count orthogonal pairs among $N$ vectors of dimension $d$ in time $O(N\cdot1.2^d\log N)$. For generalized subset sum, we read known algorithms as certificate circuits run in two orders, find the best certificates for interval coefficient sets by a secant formula, and reduce Equal Partition and $[\pm2]$ Subset Balancing to a local quantity of the disjointness and partial match matrices, where any gain over certificates beats meet-in-the-middle. For partial match, Fredman and Volper's covering is optimal among certificates, but signed circuits beat it; this underlies the subset sum algorithm of Li and Ye, which we sharpen to time $O(2^{0.49998n})$. The same circuits solve $[\pm2]$ Subset Balancing in time $O^*(2^{(1-\varepsilon)n})$.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Lixi Ye. 2026-12-03. New Perspectives on Depth-2 Linear Circuits. https://searcharxiv.org/abs/2612.05835

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Polynomial-Time Mistake-Bounded Language Generation

In this paper, we introduce a polynomial-time version of the mistake-bounded language generation (MBLG) framework due to Kleinberg, Peale, and Reingold (2026). We obtain upper and lower bounds for several simple families of Boolean functions in our setting. Namely, we first observe that families of parities of variables, symmetric functions, and 2CNFs are polynomial-time MBLG. We then show that the family of monotone functions with polynomially many maxterms is polynomial-time MBLG. For instance, disjunctions of literals are monotone Boolean functions with 1 maxterm, and thus polynomial-time MBLG. Under the existence of one-way functions, we show that disjunctions of literals are not polynomial-time MBLG. From the latter result, we deduce that polynomial-time MBLG families are not closed under union, and that there are families that are polynomial-time PAC learnable but not polynomial-time MBLG (again, under the existence of one-way functions). Finally, assuming the existence of injective one-way functions, we show that there are polynomial-time MBLG families that are not polynomial-time PAC learnable.

cs.CC↗

Average-Case Shellsort: Pass-Comparison Tradeoffs and Deterministic Construction

We study ordinary Shellsort with an input-independent decreasing gap table, charging all key comparisons. Let $A_p(n)$ be its minimum uniform-permutation mean among tables of at most $p$ passes. We construct an explicitly sampleable distribution showing, for an absolute constant $C$ and all $n\ge2$, $p\ge1$, \[ A_p(n)\le Cnp \bigl(n^3\lceil\log_2(2n)\rceil\bigr)^{1/(p+3/2)}. \] The construction combines prime gaps that reduce uncertainty on the original random input with a coprime suffix valid for each entrance state. A second-moment interface joins the phases without resampling their intermediate chains. A Frobenius bound pays the final insertion pass. In particular, at $p=\lfloor c\log n\rfloor$ the limiting mean coefficient is $O(ce^{3/c})$ for $0<c\le1$, compared with the classical $Ω(ce^{1/c})$ lower bound. We also give a pointwise randomized-table bound $2^{58}np\,n^{4/(p+1/2)}$ for every fixed input. Separately, we approximate the complete mean of any legal table to additive error one deterministically in $\exp(n^{2/3+o(1)})$ time and polynomial space. The reduction uses coupled Boolean evaluations and the comparator-circuit pseudorandom generator of Cavalar and Lu. Enumerating our support then deterministically selects a table meeting the mean upper bound, up to additive two, when $p=O(\log n)$. Our companion manuscript independently establishes unrestricted average order $Θ(n\log n)$ and a subexponential deterministic construction; Du and Wan independently obtain the same optimal average order. The results here refine the pass-dependent bounds and improve the deterministic preprocessing guarantee. They do not determine the optimal general exponent or give a polynomial-time deterministic construction.

cs.CC↗

Feasible Proofs of the Lovász Local Lemma

We study feasible proofs of the Lovász Local Lemma (LLL) in the framework of Bounded Arithmetic. Our main result resolves an open problem of Lê by formalising the Moser-Tardos theorem in the theory $\mathsf{APC}_1$, under the standard LLL condition, for instances in which the conditional probabilities of the bad events can be computed efficiently, such as those arising from $k$-CNF formulas. For such instances, our proof moreover yields a deterministic polynomial-time many-one reduction of the LLL good-assignment search problem to a single instance of $\mathsf{LossyCode}$. For bad events given only by their indicator circuits, we formalise the general Moser-Tardos theorem in $\mathsf{APC}_2$, using Jeřábek's approximate counting by hashing. We also formalise several variants of the LLL under stronger hypotheses or in more restricted settings within weaker theories. In $\mathsf{PV}_1$, we formalise the Chandrasekaran-Goyal-Haeupler algorithm under constant exponent slack, as well as the deterministic Moser-Tardos construction for fixed dependency degree and fixed multiplicative slack. In $\mathsf{VNC}^2$, we formalise the Haeupler-Harris parallel construction with a single maximal-independent-set computation in the symmetric atomic-event setting. Together, these results give a proof-theoretic comparison of randomised, deterministic, and parallel forms of the LLL, and show how slack and algorithmic structure affect the strength of the theory needed to prove them.

cs.CC↗