arXiv:2608.30664cs.CCAug 2026

Manuscript Offprint

arXiv:2608.30664

Upper and lower bounds on the OBDD-width of a special integer multiplication

Tong Qin

Abstract

We consider the Boolean function SMuln−1n(x,y)\text{SMul}_{n-1}^n(\boldsymbol{x}, \boldsymbol{y}), which computes the middle bit of the multiplication of two natural numbers represented as nn-bit binary strings x\boldsymbol{x} and y\boldsymbol{y}, drawn from a restricted domain. We investigate the width of OBDDs computing SMuln−1n\text{SMul}_{n-1}^n. We introduce a combinatorially defined function s∗(n)s_*(n) and show that the width of such OBDDs is Θ(2s∗(n))\Theta(2^{s_*(n)}).

Keywords: OBDD, width, tight bounds, fooling set, path set

1 Introduction

A binary decision diagram (BDD) represents a Boolean function on Xn={x0,…,xn−1}X_n = \{x_0, \ldots, x_{n-1}\} as a directed acyclic graph with the following structure: It has one root node, some internal nodes and two sink nodes. Each internal node (including the root node) is labeled by a variable in XnX_n and has two outgoing edges labeled by 0 and 1 respectively. The two sink nodes have no outgoing edge and one is labeled by 0 and the other is labeled by 1. For a given input to XnX_n, that is, an assignment to variables in XnX_n, the computation path of BDD is a path from the root node to one of its sink nodes, leaving each node labeled by xix_i following the edge labeled by the value of xix_i; the label of the sink node is regarded as the output of the computation path. We say that such a BDD computes ff on XnX_n if it outputs the value of ff for any input to XnX_n. A variable ordering on XnX_n is a bijection π:Xn→{0,…,n−1}\pi: X_n \to \{0, \ldots, n-1\}, leading the ordered list π−1(0),…,π−1(n−1)\pi^{-1}(0), \ldots, \pi^{-1}(n-1). An ordered binary decision diagram (OBDD) is a special case of BDDs where any path on the graph passes the nodes in an order respecting the variable ordering π\pi. That is, if an edge starts from a node labeled by xix_i to a node labeled by xjx_j, then π(i)<π(j)\pi(i) < \pi(j). Usually we assume that BDDs (including OBDDs) are reduced, by which we mean the following two rules have been applied when constructing BDDs:

• Merge any two identical subgraphs.

• Eliminate any node whose two children are identical.

Notice that due to this reduction process for any Boolean function ff and for any variable ordering π\pi, an OBDD that computes ff under the ordering π\pi is uniquely determined. We will refer this property as the uniqueness of OBDD. Let Bπ(f)\mathcal{B}_{\pi}(f) denote the OBDD for computing ff with ordering π\pi. The size of Bπ(f)\mathcal{B}_{\pi}(f) is the number of its nodes. Let B(f)\mathcal{B}(f) denote the Bπ(f)\mathcal{B}_{\pi}(f) of

*quantumrithm@gmail.com

ff that has the minimum size among all variable orderings π\pi. Below we use ∣Bπ(f)∣|\mathcal{B}_\pi(f)| and ∣B(f)∣|\mathcal{B}(f)| to denote the size of Bπ(f)\mathcal{B}_\pi(f) and B(f)\mathcal{B}(f) respectively.

In this paper, we discuss the size of OBDDs for integer multiplication. The first size lower bound was given by Bryant [Bryant(1986)]. He showed that for any variable ordering π\pi, there exists an index kk such that the size of Bπ\mathcal{B}_\pi for computing the kkth bit of multiplication (a Boolean function denote by Mulkn\text{Mul}_k^n) is at least 2n/82^{n/8}. In 1991, Bryant proved that Bπ(Muln−1n)\mathcal{B}_\pi(\text{Mul}_{n-1}^n) requires at least 2n/82^{n/8} nodes for any variable ordering π\pi [Bryant(1991)]. The current best lower bound for Muln−1n\text{Mul}_{n-1}^n, which is 2n/2/612^{n/2}/61, was showed by Woelfel in 2005 [Woelfel(2005)] by using a universal family of hash functions. He also gave a non-trivial upper bound of 7/3⋅24n/37/3 \cdot 2^{4n/3} for ∣B(Muln−1n)∣|\mathcal{B}(\text{Mul}_{n-1}^n)|. There is still a gap between the exponents of these upper and lower bounds, and we would like to close this gap to get lower and upper bounds with a “matching exponent”, that is, a function s(n)=Ω(n)s(n) = \Omega(n) such that 2s(n)≤∣B(Muln−1n)∣≤p(n)2s(n)2^{s(n)} \leq |\mathcal{B}(\text{Mul}_{n-1}^n)| \leq p(n)2^{s(n)} holds for some polynomial p(n)p(n). It is clear, from the above lower and upper bound results, that a function s0(n):=log⁡2∣B(Muln−1n)∣s_0(n) := \log_2 |\mathcal{B}(\text{Mul}_{n-1}^n)| is a matching exponent. What we want is a more concrete matching exponent function.

The purpose of this paper is to give a step towards such a concrete matching exponent. We introduce a function SMuln−1n\text{SMul}_{n-1}^n that is a quite restricted version of Muln−1n\text{Mul}_{n-1}^n, and we derive a combinatorially defined function s∗(n)s_*(n) as a matching exponent. To get sharp bounds, we investigate the width of B(SMuln−1n)\mathcal{B}(\text{SMul}_{n-1}^n) and show that it is in fact Θ(2s∗(n))\Theta(2^{s_*(n)}), from which we have 2⋅2s∗(n)−1≤∣B(SMuln−1n)∣≤n⋅2s∗(n)2 \cdot 2^{s_*(n)} - 1 \leq |\mathcal{B}(\text{SMul}_{n-1}^n)| \leq n \cdot 2^{s_*(n)}, i.e., lower and upper bounds with s∗(n)s_*(n) as a matching exponent.