arXiv:2611.11966cs.CCNov 2026

Manuscript Offprint

arXiv:2611.11966

On Non-Deterministic Representation of Boolean Functions

Sudharshan Rajagopalan, Nitin Saurabh

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

Abstract

We study non-deterministic representation of Boolean functions by polynomials, introduced by (de Wolf, 2000). A polynomial p(x)p(x) is said to be a non-deterministic polynomial for a Boolean function ff if for all a∈{0,1}na \in \{0,1\}^n, p(a)≠0p(a) \neq 0 iff f(a)=1f(a) = 1. The non-deterministic degree of ff, denoted ndeg(f)\text{ndeg}(f), is the minimal degree of a non-deterministic polynomial for ff. In this work, we show the following main results:

(a) Almost all Boolean functions on nn variables have non-deterministic degree at most n/2+O(nlog⁡n)n/2 + O(\sqrt{n \log n}). This confirms a conjecture of (Iyer et al., 2023). Together with the lower bound of (Iyer et al., 2023) it establishes a tight bound on the rational degree of a random Boolean function up to lower order terms.

(b) We disprove a conjecture of (Kothari et al., 2026) about effective hypercube nullstellensatz for more than two polynomials. On the positive side, we also identify a constraint under which an effective hypercube nullstellensatz holds for many polynomials.

2012 ACM Subject Classification Computing methodologies → Representation of Boolean functions; Theory of computation → Quantum complexity theory

Keywords and phrases Random Functions, Non-Deterministic Degree, Rational Degree, Polynomials, Nullstellensatz

Funding Nitin Saurabh: Supported by ANRF ARG-MATRICS grant ANRF/ARGM/2025/003191/MTR. He also acknowledges funding support from the National Quantum Mission (NQM), an initiative of the Department of Science and Technology (DST), Govt. of India.

Acknowledgements We would like to thank anonymous reviewers whose careful reading and thoughtful comments greatly improved the presentation of this paper. We would also like to highlight that no AI tools were used in this work. Nitin Saurabh also acknowledge the support provided by the Foundation for QC Innovation (FQCI), DST-NQM T-Hub at IISc Bengaluru, in facilitating the NQM project.

1 Introduction

A Boolean function f:{0,1}n→{0,1}f: \{0,1\}^n \to \{0,1\} is said to be exactly represented by a polynomial p(x1,…,xn)p(x_1, \ldots, x_n) if for all a∈{0,1}na \in \{0,1\}^n, p(a)=f(a)p(a) = f(a). It is a well-known fact (see, e.g., [2]) that there exists a unique multilinear polynomial exactly representing a function ff. The degree deg⁡(f)\deg(f) of a Boolean function ff is defined to be the degree of this unique multilinear polynomial exactly representing ff. Polynomials are probably the ‘nicest’ object in mathematics which is attested not only by the existence of a mathematically rich theory but also by their ubiquitous presence in mathematics and sciences. It is no wonder then that since the seminal work of Minsky and Papert [11], a long line of work in theoretical computer science has used various notions of representations by polynomials, e.g., sign representations, pointwise approximations, rational representations, etc., to study different complexity measures associated with computing Boolean functions.

On Non-Deterministic Representation of Boolean Functions

In this work we focus on non-deterministic representation of Boolean functions by polynomials. A polynomial p(x1,…,xn)p(x_1,\ldots,x_n) is said to be a non-deterministic polynomial for a function f ⁣:{0,1}n→{0,1}f\colon\{0,1\}^n\to\{0,1\} if p(a)≠0p(a)\neq 0 iff f(a)=1f(a)=1. The non-deterministic degree of ff, denoted ndeg(f)\text{ndeg}(f), is the minimum degree among all non-deterministic polynomials pp for ff. This notion was introduced by de Wolf [3] to study the non-deterministic quantum query complexity of ff. He showed that ndeg(f)\text{ndeg}(f) equals the non-deterministic quantum query complexity of ff up to a constant factor. The non-deterministic degree is also related to another natural complexity measure of Boolean functions called the rational degree.

The rational degree of ff, denoted rdeg(f)\text{rdeg}(f), is the minimum value of max⁡{deg⁡(p),deg⁡(q)}\max\{\deg(p), \deg(q)\} such that pp and qq are polynomials satisfying f(a)=p(a)/q(a)f(a)=p(a)/q(a) for all a∈{0,1}na\in\{0,1\}^n. It is a folklore result (credited to de Wolf; see [7, 9]) that rdeg(f)=max⁡{ndeg(f),ndeg(¬f)}\text{rdeg}(f)=\max\{\text{ndeg}(f), \text{ndeg}(\neg f)\}. Mahadev and de Wolf [10] showed an even tighter connection between rational degree and quantum query complexity by observing that rdeg(f)\text{rdeg}(f) exactly characterizes the exact postselected quantum query complexity (see also [9]).

Long before the quantum connections of rational degree came to fore, the motivation to study rational degree was rooted in the classical complexity theory. It was observed by [5] that if deg⁡(f)\deg(f) is polynomially bounded by rdeg(f)\text{rdeg}(f) then P=(C=P∩co−C=P)P=(C_=\mathrm{P}\cap\mathrm{co-C}_=\mathrm{P}) with respect to a generic oracle (see also [6]). Thus the question whether deg⁡(f)\deg(f) is polynomially related to rdeg(f)\text{rdeg}(f) was raised more than three decades ago in [12].

In a recent breakthrough result [9] resolved the deg vs. rdeg question by showing that D(f)=Oˉ(ndeg(f)1.5ndeg(¬f)1.5)\mathsf{D}(f)=\bar{O}(\mathsf{ndeg}(f)^{1.5}\mathsf{ndeg}(\neg f)^{1.5}) where D(f)\mathsf{D}(f) is the deterministic query complexity of ff. They further observed that their main result gives an effective version of Hypercube Nullstellensatz.

► Theorem 1 ([9, Theorem 10]). Let g1,g2∈R[x1,…,xn]g_1, g_2 \in \mathbb{R}[x_1, \ldots, x_n] such that they do not share any common zeroes on the hypercube {0,1}n\{0,1\}^n. Further suppose g1(a)⋅g2(a)=0g_1(a) \cdot g_2(a) = 0 for all a∈{0,1}na \in \{0,1\}^n. Then there exist h1,h2∈R[x1,…,xn]h_1, h_2 \in \mathbb{R}[x_1, \ldots, x_n] such that

h1(a)g1(a)+h2(a)g2(a)=1 for all a∈{0,1}n,h_{1}(a)g_{1}(a)+h_{2}(a)g_{2}(a)=1\quad{~f o r~a l l~}a\in\{0,1\}^{n},

and

max⁡{deg⁡(h1g1‾),deg⁡(h2g2‾)}=O(deg⁡(g1)1.5deg⁡(g2)1.5log⁡max⁡{deg⁡(g1),deg⁡(g2)}),\max\{\deg(\overline{h_{1}g_{1}}),\deg(\overline{h_{2}g_{2}})\}=O(\deg(g_{1})^{1.5}\deg(g_{2})^{1.5}\log\max\{\deg(g_{1}),\deg(g_{2})\}),

where the overline denotes multilinearization using the (Boolean) relations xi2=xix_{i}^{2}=x_{i} for all i∈[n]i\in[n].

They conjectured, in view of well-known classical nullstellensatz results (see [8] and references therein), that the following natural generalization of Theorem 1 to any number of polynomial holds.

► Conjecture 2 ([9, Conjecture 1]). For all integers m≥3m \geq 3, the following holds. Let 0≠g1,…,gm∈R[x1,…,xn]0 \neq g_1, \ldots, g_m \in \mathbb{R}[x_1, \ldots, x_n]. Suppose g1,…,gmg_1, \ldots, g_m do not share any common zeroes on the hypercube {0,1}n\{0,1\}^n. Further suppose g1(a)⋯gm(a)=0g_1(a) \cdots g_m(a) = 0 for all a∈{0,1}na \in \{0,1\}^n. Then there exist h1,…,hm∈R[x1,…,xn]h_1, \ldots, h_m \in \mathbb{R}[x_1, \ldots, x_n] such that

h1(a)g1(a)+⋯+hm(a)gm(a)=1 for all a∈{0,1}n,h_{1}(a)g_{1}(a)+\cdots+h_{m}(a)g_{m}(a)=1\quad{~f o r~a l l~}a\in\{0,1\}^{n},

and

max⁡i∈[m]{deg⁡(higi‾)}≤poly(deg⁡(g1),…,deg⁡(gm)).\max_{i\in[m]}\{\deg(\overline{h_{i} g_{i}})\}\leq\mathsf{p o l y}(\deg(g_{1}),\ldots,\deg(g_{m})).

In this work, we disprove Conjecture 2 (Theorem 6) and prove a variant of it (Theorem 8). We also show that the counter-example in Theorem 6 is optimal (Theorem 7) with respect to the number of polynomials and their degrees. They are presented in Section 4.

We also establish extremal bounds on the non-deterministic degree and rational degree of random Boolean functions. It was shown in [7] that all but a negligible fraction of Boolean functions have rational degree at least n/2−O(n)n/2 - O(\sqrt{n}). They conjectured [7, Conjecture 3] that an upper bound of n/2+o(n)n/2 + o(n) holds for a random Boolean function. We prove the conjecture (Theorem 3 and Corollary 5), in Section 3, by showing that all but a negligible fraction of Boolean functions have rational degree at most n/2+O(nlog⁡n)n/2 + O(\sqrt{n \log n}) and thereby establishing tight bounds up to lower order terms.

We now present a brief overview of our results and techniques.