Abstract 1 Introduction 2 Preliminaries 3 Reduction from 3-SAT to Bin Packing 4 Conclusion References Appendix A Omitted Proofs Appendix B Omitted Constraints

A Tight Double-Exponential Lower Bound for High-Multiplicity Bin Packing

Klaus Jansen ORCID Kiel University, Germany    Felix Ohnesorge ORCID Kiel University, Germany    Lis Pirotton ORCID Kiel University, Germany
Abstract

Consider a high-multiplicity Bin Packing instance I with d distinct item types. In 2014, Goemans and Rothvoss gave an algorithm with runtime |I|2O(d) for this problem [SODA’14], where |I| denotes the encoding length of the instance I. Although Jansen and Klein [SODA’17] later developed an algorithm that improves upon this runtime in a special case, it has remained a major open problem by Goemans and Rothvoss [J.ACM’20] whether the doubly exponential dependency on d is necessary.

We solve this open problem by showing that unless the Exponential Time Hypothesis (ETH) fails, there is no algorithm solving the high-multiplicity Bin Packing problem in time |I|2o(d). To prove this, we introduce a novel reduction from 3-SAT. The core of our construction is efficiently encoding all information from a 3-SAT instance with n variables into an ILP with O(logn) variables and constraints.

This result confirms that the Goemans and Rothvoss algorithm is essentially best-possible for Bin Packing parameterized by the number d of item sizes in the context of XP time algorithms.

Keywords and phrases:
Bin Packing, Lower Bound, Computational Complexity, ETH
Category:
Track A: Algorithms, Complexity and Games
Copyright and License:
[Uncaptioned image] © Klaus Jansen, Felix Ohnesorge, and Lis Pirotton; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Fixed parameter tractability
Related Version:
Full Version: https://arxiv.org/abs/2512.02691
Acknowledgements:
We thank Alberto Del Pia and Timo Berthold for discussions on constraint linearization and Stefan Weltge for pointing us to the references [24, 35]. The idea for this work originated during a visit of Klaus Jansen to the MPI – INF Saarbrücken in 2024.
Funding:
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project number 453769249.
Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele Puppis

1 Introduction

The Bin Packing problem is a classic optimization problem with many applications.

Definition 1 (Bin Packing).

Given are d>0 item types with sizes 𝐬=(s1,,sd)(0,B]d and multiplicities 𝐚=(a1,,ad)>0d. The Bin Packing problem asks to find the minimum number of bins of size B>0 to pack all items.

The Bin Packing problem is also known as the (1-dimensional) Cutting Stock problem, and its study goes back to the classical paper by Gilmore and Gomory [9]. While the problem is strongly NP-hard in general, a major research direction has focused on parameterized algorithms for the high-multiplicity setting, where d is assumed to be a small parameter. A breakthrough result in this area came in 2014 from Goemans and Rothvoss [11], who proved that it is solvable in polynomial time for constant d. This answered an open question posed by McCormick, Smallwood and Spieksma [33], as well as by Eisenbrand and Shmonin [6].

To obtain their result, Goemans and Rothvoss [11] study the more general Cone and Polytope Intersection problem, defined as follows: Given two polytopes 𝒫,𝒬d: Is there a point in 𝒬 that can be expressed as a non-negative integer combination of integer points in 𝒫? They gave an algorithm for this feasibility problem with time complexity |𝒫|2O(d)|𝒬|O(1), where || denotes the encoding length of a polytope {𝒫,𝒬}. Additionally, they show how to construct a Cone and Polytope Intersection instance from any Bin Packing instance. In this transformation, 𝒫={(𝒙1)0d+1𝒔𝒙B} (the knapsack polytope) contains all possible configurations 𝒙 (i.e., multiplicity vectors of items that fit into a single bin), and 𝒬={𝒂}×[0,k] is constructed to encode the target item vector 𝒂 and the number of bins k. Using binary search over k, this yields an algorithm for Bin Packing with runtime |I|2O(d), where |I| denotes the encoding length of the instance. For d=O(1) the encoding length is |I|=O(log(Δ)), where Δ=max{𝒂,𝒔,B}.

This result was later improved by Jansen and Klein [17]. They gave an algorithm with time complexity |V|2O(d)log(Δ)O(1), where V is the set of vertices of the corresponding integer knapsack polytope. This result improves upon the algorithm in [11] if the number of vertices |V| is small. Since |V|d+1, this gives a Fixed-Parameter Tractable (FPT) algorithm parameterized by the number of vertices in the integer knapsack polytope. On the other hand, the number of vertices can be bounded only by |V|=O(logΔ)2O(d) [3, 12]. Therefore, the algorithm by Jansen and Klein has a worst case running time O(logΔ)2O(d) which is identical to the running time of the algorithm by Goemans and Rothvoss.

Goemans and Rothvoss [11] wrote in their journal paper:

“A natural open problem that arises from this work is whether the double exponential running time is necessary.”

In addition to this question, they asked whether Bin Packing can be solved in FPT time f(d)O(log(Δ))O(1), where f(d) is an arbitrary function.

Recent work has highlighted the inherent complexity related to this parameterization. Kowalik, Lassota, Majewski, Pilipczuk, and Sokolowski [28] studied the Point in Cone problem, a special case of the Cone and Polytope Intersection problem where the second polytope 𝒬 consists of just one point q. They showed that a double exponential dependency on d is unavoidable under the Exponential Time Hypothesis (ETH) when 𝒫 has an exponential number of inequalities. This results in an ETH-tight lower bound.

Definition 2 (ETH, [15]).

The ETH conjectures that 3-SAT cannot be solved in subexponential time. Specifically, there exists a constant δ>0 such that no algorithm can solve 3-SAT with n variables in time 2δn.

As proven in [16], this implies that there is no algorithm for 3-SAT with running time 2o(n+m), where m denotes the number of clauses in the formula; see also Theorem 14.4 in [4].

Furthermore, the structure of solutions to the Bin Packing problem with d item sizes is known to be complex. Eisenbrand and Shmonin [6] proved via an elegant combinatorial argument that there is always an optimal solution for Bin Packing with a support (the number of distinct configurations needed) bounded by 2d. Recently, Jansen, Pirotton, and Tutas [22] showed that the support of any optimal solution in a Bin Packing instance can be exponential in d. This structural hardness provides further evidence that a double exponential runtime may be optimal.

Our Contribution

We answer the open problem above by confirming that the double exponential runtime in Goemans and Rothvoss [11] is necessary for Bin Packing, assuming the ETH. Thus, their algorithm is asymptotically optimal regarding XP time algorithms parameterized by d.

Theorem 3.

There is no algorithm solving high-multiplicity Bin Packing with d distinct item sizes in time |I|2o(d), unless the ETH fails.

We note that this does not answer whether Bin Packing is FPT with respect to d. However, our result shows that any algorithm with runtime f(d)|I|O(1) must have f(d)=22Ω(d).

To achieve this result, we reduce 3-SAT with n variables to Bin Packing using an Integer Linear Program (ILP) formulation. While introducing new techniques that might also be interesting to achieve other lower bounds, we make use of known results and adapt them for our purpose. We now briefly describe the key components of our reduction.

First, we demonstrate that we may assume each variable in our 3-SAT instance occurs exactly twice positively and once negatively. This technique is an extension of [36] where only the number of occurrences of a variable is restricted to three, regardless of literal polarity. Next, we encode the instance in a single integer Z with bounded size, similar to [18, 20, 24, 30, 35]. In contrast to the prior results, our encoding enables us to efficiently extract information from this number. More precisely, using just O(logn) ILP variables and constraints, we are able to extract the clause numbers in which a variable appears. This idea stems from a discussion with Weltge. In their work [24], Kaibel and Weltge study lower bounds on sizes of ILPs without additional variables.

Altogether, we construct an ILP that only allows a certain set of solutions. These solutions are carefully constructed as they will correspond to specific Bin Packing configurations that, with a certain target vector, can model a feasible assignment to 3-SAT. Some of the constraints are already given in [22]. However, their ILP is not able to model 3-SAT. To achieve this property, we have to ensure that a single 3-SAT variable cannot be set both negatively and positively at the same time. While other reductions [18, 28, 35] also use ILP encodings, we manage to achieve a more compact encoding where the number of variables and equality constraints is only logarithmic in n and the ILP allows O(n)=O(2d) specific solutions. For instance, the number of inequality constraints in the reduction from Subset Sum with Multiplicities to Point in Cone by [28] is linear in n (and exponential in d).

To transform our ILP into a Bin Packing instance, we use the aggregation technique in [22]. Then, we determine the satisfiability of 3-SAT by solving a family of O(n4) Bin Packing instances, denoted as BP(𝝌^). Here 𝝌^ is a vector containing additional, in polynomial time computable, information of a valid 3-SAT solution; for example, the component χ^3 represents how many variables are set to false.

The compact encoding of 3-SAT and the construction of feasible solutions allow us to translate the 2o(n) lower bound for 3-SAT into the desired |I|2o(d) lower bound for Bin Packing. It is worth noting that we require the sizes of the Bin Packing instance to be encoded in binary due to large item sizes. We firmly believe that this reduction technique, particularly the flexible encoding via an ILP, is of independent interest. It demonstrates a powerful pattern for establishing lower bounds that can likely be adapted to prove similar results for other problems, such as for high multiplicity ILPs with few constraints, m-dimensional knapsack, multiple knapsack, scheduling problems, and high multiplicity block structured n-fold and 2-stage ILPs. Other examples of a double exponential lower bounds under the ETH are given in [5, 7, 14, 18, 27, 28, 29, 31].

2 Preliminaries

Before presenting our main result, we establish the notation, definitions, and concepts used throughout the paper. For n1, we define [n]{1,2,,n} and [n]0{0,1,,n1}. For a vector 𝒙n, we denote its components by x1,x2,,xn. We also use a convenient notation for vectors. For example, if 𝒙=(x1,,xn)n and a,b,c, then 𝒚=(𝒙,a,b,c) denotes the vector (x1,,xn,a,b,c). As our reduction is from 3-SAT, we formally define this problem here:

Definition 4 (3-SAT).

Given n0 boolean variables vi,i[n]0 and a boolean formula φ=C0C1Cm1,m0, where each clause Cj consists of at most three literals, e.g., Cj=(j1j2j3). A literal jk is either a variable vi or its negation ¬vi for some i[n]0. The 3-SAT problem asks whether there exists an assignment ϕ:{v0,,vn1}{true,false} that satisfies the formula φ.

The concept of a well-structured 3-SAT instance is central to many reductions in complexity theory, especially when aiming for tight lower bounds. Tovey [36] introduced a transformation that converts any 3-SAT instance into an equivalent one with at most 3 occurrences per variable. We use a slight extension of this transformation to obtain instances where each variable appears exactly twice positively and once negatively. Similar transformations have also been used in other reductions [2, 21].

Lemma 5 (✀, Well-Structured 3-SAT; Extension of [36]).

Given any instance of 3-SAT with n variables and m=O(n) clauses, there exists an equivalent instance with n=O(n) variables and m=O(n) clauses, where each variable vi has exactly two positive appearances in the clauses and exactly one negative appearance.

Proof.

A formal proof is given in the full version for completeness.

In this work, we construct a non-trivial ILP. Whenever a constraint is indexed by a solid star (e.g., ★ C1), it indicates that the constraint is nonlinear. Similarly, a non-solid star (☆) denotes a constraint that is linear but not yet in its equality form. We state these purely for readability. By applying standard techniques, such as adding slack variables or using the conversions captured in the next lemma, we transform them into linear equality constraints. The full set of final equality constraints is listed in Section B.2, where each unstarred constraint shares the exact same number as its starred counterpart in the main text (e.g., the final form of ★ C1 is C1).

Linearization of quadratic terms has been extensively studied in the context of 01 quadratic programming (BQP) and quadratic integer programming (QIP) with the original work going back to [32]. Quadratic terms xy with Boolean and integer variables x,y can be replaced using additional variables and/or inequalities; see also [8, 10, 32]. For example, if x,y are both Boolean variables, then z=xy can be replaced by

zx,zy,zx+y1, and z0.

If x{0,1} and y[L,U] and y integral, then z=xy can be replaced by

zy,zUx,zLx, and zy+(x1)U.

We show how to linearize such terms without the introduction of new variables under certain conditions. The fact that we can linearize these constraints without introducing additional variables enables us to reason using equivalent nonlinear constraints.

Lemma 6 (✀).

The nonlinear equation y=j=1kxjχj involving integer variables xj with known bounds 0xjU and binary variables χj{0,1} with j=1kχj1 can be equivalently expressed using O(k) linear inequalities and no additional variables.

Proof.

We provide the proof of this lemma in the full version.

Another key concept at the core of our reduction is the ILP aggregation. For this, we have to transform each linear inequality constraint into one equality constraint through the introduction of slack variables. While the general concept of an ILP aggregation is not new, recently Jansen, Pirotton, and Tutas [22] presented a new technique allowing them to integrate upper bounds on variables into the aggregation. We summarize this result:

Lemma 7 ([22]).

Let d,k=O(logn). Consider an ILP A𝐱=𝐛, with 𝐱0d, 𝐱𝐮 with A=(aij)i[k],j[d]k×d, 𝐮0d and 𝐛k and let ΔA be the largest absolute value in A. The vector 𝐱 is a feasible integer solution to the ILP A𝐱=𝐛, if and only if there exists a unique 𝐲0d+1 such that (𝐱,𝐲) is a feasible integer solution to

i=1k(Mi1j=1d(aijxj))+j=1d(Mk+j1(xj+yj))+Mk+d(j=1d(xj+yj)+yd+1)=i=1k(Mi1bi)+j=1d(Mk+j1uj)+Mk+dU, (1)

where Uj=1duj and MΔU+max(𝐛,𝐮)+Δ+2.

Proof Sketch.

Given an ILP of the form A𝒙=𝒃,𝒙0d,𝒙𝒖, we first replace the external upper bounds 𝒙𝒖 by d constraints xj+yj=uj,j[d], while introducing non-negative integer slack variables yj0. Additionally, we add a constraint that upper bounds the upper bounds, i.e. j=1duj+yd+1=U, with Uj=1duj and yd+10. Next, we define the large base number MΔU+max(𝒃,𝒖)+Δ+2 that prevents carries when the constraints are aggregated. Now, we multiply each constraint by a power of M, i.e., we multiply the first constraint by 1, the second one by M, the third by M2 and so on. Finally, we sum up all weighted equations to Equation 1.

Since M is sufficiently large, each constraint can be seen as a single base-M integer. Therefore, a feasible solution 𝒙 to the original ILP is also a feasible solution to the aggregated one (while adding the unique slack variables) and the two systems are equivalent.

For the full proof and the equivalence of both ILPs (i.e., 𝒙 is a feasible integral solution to A𝒙=𝒃, 0𝒙𝒖, if and only if (𝒙,𝒚) is a feasible integer solution with 𝒙,𝒚0 to Equation 1), we refer to Section 3 in [22]. Note that this ILP aggregation is different to the technique in [19] where they reduce c-Unary Bin Packing, i.e., Unary Bin Packing with c dimensions to Unary Bin Packing with one dimension. Here the authors prove that Unary Bin Packing is W[1]-hard, parameterized by the number of bins by first reducing Subgraph Isomorphism to 10-Unary Bin Packing and then using a reduction to Unary Bin Packing. This approach relies on sophisticated methods based on k-non-averaging sets and sumfree sets. Our reduction heavily relies on the extension of the ILP constructed in [22], thus we capture the main properties of their construction in the following lemma:

Lemma 8 (✀, [22]).

For any γ>2, there exists an ILP formulation A𝐱=𝐛, with exactly n unique solutions that can be computed in polynomial time and where the first log(n)+1 coordinates of each solution form the following set:

X={(x1bin,x2bin,,xlognbin,γ=1logn2log(n)xbin)|xbin{0,1}},

with 𝐱,𝐛0O(logn), and Aγ2logn.

Proof Sketch.

The above set of solutions can be represented by the following set of nonlinear constraints with r~0=1:

r~ =r~1(1+(γ2log(n)1)xbin) [logn] (★ C1)

For the full list of linear constraints with the desired properties and the proof of correctness, we refer to Section B.2 (denoted as (C1)) and the original work [22], respectively.

3 Reduction from 3-SAT to Bin Packing

We aim to prove via reduction from 3-SAT to Bin Packing that there is no algorithm with a runtime of |I|2o(d) for Bin Packing, unless the ETH fails.

Consider an arbitrary 3-SAT instance with n variables and m clauses. We apply a series of simplifying transformations. First, by the Sparsification Lemma [15] we can assume that m=O(n). Next, we apply Lemma 5, such that each variable now appears positively in exactly two clauses and negatively in exactly one clause. This transformation runs in polynomial time and does not significantly increase the number of variables and clauses, so we still have m=O(n). Finally, to simplify the notation, we assume w.l.o.g. that the number of variables n is a power of two. If n is not 2k for some integer k, we repeatedly add a new variable vn and the trivially true clause (vnvn¬vn) until the number of variables is a power of two. Now denote this well-structured 3-SAT instance as SAT.

In preparation for the reduction, we encode the 3-SAT instance SAT in a single large integer Z. Similar techniques have been used in other reductions [18, 20, 24, 30, 35]; however, our encoding is structurally simpler than previous approaches. Furthermore, we efficiently extract specific information from Z; to our knowledge, such a method has not been previously utilized.

The general idea is to construct a large (base γm) integer with three dedicated “digits” for each variable vi that encode the clauses in which vi appears positively and negatively. To that end, let j,k[m]0 be the clauses where vi appears positively and let [m]0 be the clause where vi appears negatively. We define Cpos1(i)γj, Cpos2(i)γk, and Cneg(i)γ, with γ>3. Later, we will set γ=4n+1; however, for the following lemmas this is not required.

Lemma 9.

A well-structured 3-SAT instance with n variables and m clauses can be represented as an integer Z of size at most γ3nm with γ>3, such that

Z=i=0n1((γm)3iCpos1(i)+(γm)3i+1Cpos2(i)+(γm)3i+2Cneg(i)). (2)

The integer Z can be computed in polynomial time.

Proof.

First, we verify that Zγ3nm. The expression for Z can be viewed as a number represented in base γm with 3n digits. We obtain the following upper bound for Z

Zi=03n1(γm1)(γm)i=(γm1)i=03n1(γm)i=(γm1)(γm)3n1γm1<γ3nm.

From the definition of a well-structured 3-SAT instance, we know that each variable vi,i[n]0 appears in exactly three clauses: Twice positively (in the clauses j,k) and once negatively (in clause ). Note that these indices can be found in polynomial time by iterating through all clauses. Defining Cpos1(i):=γj,Cpos2(i):=γk,Cneg(i):=γ can be done by scanning over all clauses for all i[n]0.

Next, we compute Z from these terms. The expression for Z can be computed efficiently using O(n) multiplications and O(n) additions. Let k be the bit-length of γm and the C(i) terms. The computation involves a sequence of O(n) multiplications where the intermediate sum’s bit-length grows linearly. The j-th multiplication for j{1,,O(n)} multiplies an intermediate sum of O(jk) bits by γm. Using naive O(k2) multiplication, this step takes O((jk)k) time. The total sum for this summation is the sum of all O(n) steps, i.e.,

j=1O(n)O(jk2)=O(k2)j=1O(n)j=O(k2n2).

Substituting k=O(mlogγ), this results in O(n2m2log2γ). This completes the proof. Note that the time complexity can be improved significantly by using the O(klogk) time multiplication algorithm by Harvey and van der Hoeven [13] and/or exploiting the fact that all involved terms are a power of two.

3.1 Construction of the ILP

The core of our reduction is an ILP formulation with a carefully crafted solution structure. Later, each solution of this ILP will correspond to one of five configuration types for the Bin Packing problem. These configuration types represent different ways a 3-SAT variable can satisfy clauses. The high-level idea is as follows: Suppose, for each i[n]0 we have to select exactly two of the following five solution types in 𝒳(i) such that the sum of all selected solutions equals a target vector 𝒕.

𝒳(i)={(Cpos1(i)γi0),(Cpos2(i)γi0),(Cneg(i)2γi0),(0γi1),(001)},𝒕=(j=0m1γji=0n12γi2nm)

Recall that Cpos1(i),Cpos2(i),Cneg(i) are of the form γj, thus when γ is sufficiently large, the first coordinate of 𝒕 ensures that each clause j[m]0 is selected (satisfied) exactly once. The last two coordinates ensure a consistent assignment of the variables. We formally show this later.

In the remainder of this work, given an integer i[n]0, we refer to the binary encoding of i as 𝒙bin=(x1bin,,xlognbin), with i==1logn2log(n)xbin.

The foundation of our ILP construction is the formulation in Lemma 8, which uses O(logn) variables and constraints to create n distinct solution vectors. Specifically, for each i[n]0 there exists a unique solution to (★ C1) where the variable r~logn=γi and the variables x1bin,,xlognbin represent the binary encoding of i.

We extend the ILP given by (★ C1) as described in the following theorem:

Theorem 10.

Given a well-structured 3-SAT encoding Z as defined in Equation 2, there exists an ILP formulation A𝐱𝐛 with variable vector 𝐱=(𝛂,𝛃,𝛘)0O(logn) and right-hand side 𝐛O(logn) that has exactly 5n solutions.

These solutions are partitioned into n groups of 5, indexed by i[n]0. For each index i, the subvector 𝛂 takes exactly one of the following 5 distinct assignments:

𝜶=(α1α2α3){(Cpos1(i)γi0),(Cpos2(i)γi0),(Cneg(i)2γi0),(0γi1),(001)}.

For each index i, the corresponding subvector 𝛃0O(logn) is uniquely determined (depending solely on i and Z) and is computable in polynomial time. Finally, the subvector 𝛘 always satisfies 𝛘{0,1}O(1).

We achieve this result through the introduction of O(logn) constraints, O(logn) auxiliary variables 𝜷, and 4 binary variables 𝝌=(χ1,,χ4). For improved readability, we deviate from a strict component-wise notation (e.g. 𝜷=(β1,β2,)) and will implicitly include all introduced auxiliary variables within the vector 𝜷, unless explicitly stated otherwise. In particular, we include variables in constraint (★ C1) in this vector (e.g. 𝜷=(r~0,,r~logn,𝒙bin,)). The values of these variables are unique for fixed i,Z, as shown in [22]. For all newly introduced variables, we argue this property separately.

In order to construct the desired solutions for 𝜶, the clauses relevant for the 3-SAT variable vi (i.e., Cpos1(i),Cpos2(i),Cneg(i)) need to be extracted from Z. We can achieve this efficiently since the variables x1bin,,xlognbin already represent the binary encoding of i, and thus describe the path through a binary search tree to reach the i-th block of Z. This idea could also be useful to compactly encode other problems in ILP formulations. The following constraints extract the corresponding block from Z into a variable zlogn. Again, we list the equivalent linear constraints in Section B.2 and focus on the nonlinear version for improved readability. An example procedure is illustrated in Figure 1.

z0 =Z (C2)
zj =qj(γm)3n/2j+1+rj j[logn]0 (C3)
rj (γm)3n/2j+11 j[logn]0 (☆ C4)
zj+1 =qjxj+1bin+rj(1xj+1bin) j[logn]0 (★ C5)

For the proofs of Claims 1113, we refer the reader to Section A.1.

Claim 11 (✀).

The constraints given in Equations C2★ C5 ensure that zlogn contains exactly the block of Z corresponding to variable vi, i.e., for i[n]0 we get zlogn=Cpos1(i)(γm)0+Cpos2(i)(γm)1+Cneg(i)(γm)2. Additionally, the values of all introduced variables are unique for fixed i and Z.

Figure 1: Extraction of the block corresponding to variable v1 (𝒙bin=(0,1)) with Constraints (C2) to (★ C5).

Extracting the values Cpos1(i),Cpos2(i),Cneg(i) into auxiliary variables cpos1,cpos2,cneg can be done with the following constraints:

zlogn =qcγm+cpos1 (C6)
qc =cnegγm+cpos2 (C7)
cpos1,cpos2,cneg γm1 (☆ C8)
Claim 12 (✀).

The constraints given in Equations C2☆ C8 ensure that the variables cpos1,cpos2 and cneg match the corresponding values in the definition of Z in Equation 2 for a given i, i.e., cpos1=Cpos1(i),cpos2=Cpos2(i) and cneg=Cneg(i). Additionally, the values of all introduced variables are unique for fixed i and Z.

Using these auxiliary variables, we define the solution values for 𝜶, as required by Theorem 10. This construction utilizes binary variables α3,χ1,χ2,χ3,χ4{0,1} and integer variables α1,α2:

α1 =cpos1χ1+cpos2χ2+cnegχ3 (★ C9)
α2 =r~lognχ1+r~lognχ2+2r~lognχ3+r~lognχ4 (★ C10)
1α3 =χ1+χ2+χ3 (C11)
χ4 α3 (☆ C12)
Claim 13 (✀).

For i[n]0, the constraints given in Equations C2☆ C12 imply that

(α1α2α3){(Cpos1(i)γi0),(Cpos2(i)γi0),(Cneg(i)2γi0),(0γi1),(001)}.

All other introduced variables are binary (part of 𝝌).

As established in Claims 11, 12, and 13, the desired properties for 𝜶 (see Theorem 10) can be enforced by a compact nonlinear system with O(logn) variables and O(logn) constraints. Our goal is to linearize this system while preserving its compact size. First, we address (★ C1), providing its equivalent linear formulation in Section B.2. For this specific subsystem, [22] showed that all variables remain unique for any fixed i. This leaves the nonlinear constraints (★ C5), (★ C9), and (★ C10). We apply Lemma 6 to linearize these constraints without introducing any additional variables. Because no new variables are added during this process, the crucial uniqueness property established in Claims 11, 12, and 13 is preserved. A complete list of these final linearized constraints is provided in Appendix B. With this, we have proven Theorem 10.

3.2 Constructing the Bin Packing Instance

In the previous section, we showed how to construct a compact ILP, allowing only very specific solution vectors (see Theorem 10). Now, we show how to construct a Bin Packing instance from this ILP.

First, we aggregate the ILP from Theorem 10 into an ILP with a single knapsack constraint. To this end, we use the aggregation technique in [22] that is stated in Lemma 7. The ILP from Theorem 10 contains inequality constraints, in order to apply Lemma 7, we first transform it into an ILP with equality constraints by introducing slack variables 𝒚O(logn). We list the final equality constraints Equations C1C12 in Section B.2 for the sake of completeness. Observe that since we introduce at most one slack variable per inequality, the number of variables and constraints remains in O(logn).

Applying the aggregation in Lemma 7 to the ILP of form A𝒙=𝒃, we obtain an ILP with a single linear constraint of the form 𝒔𝒙=B where 𝒙=(𝜶,𝜷,𝝌,𝒚). Note that the aggregation adds O(log(n)) extra slack variables to the slack variable vector 𝒚. Thus, we still have 𝒔,𝒙O(logn). Recall, that 𝜶 contains three variables and 𝜷=(𝒙bin,𝒓~,𝒛,𝒒,𝒓,cpos1,cpos2,cneg,𝒚,)O(logn) is the variable vector containing all variables with unique values for any fixed i,Z (see Theorem 10).

Lemma 14 (✀).

The aggregated ILP of the form 𝐬𝐱=B for 𝐱=(𝛂,𝛃,𝛘,𝐲) has dimensions 𝐬,𝐱0O(logn) and 𝐬,BγO(n2logn). Furthermore, 𝐱γO(n2) holds for every feasible solution 𝐱.

The above lemma is a direct application of the technique from [22] (summarized in Lemma 7), therefore, we defer the proof of this lemma to the full version.

Note that the solution vectors satisfying the equation 𝒔𝒙=B are exactly those of the above constructed ILP (those listed in Theorem 10).

We are now ready to construct a family of Bin Packing instances BP(𝝌^) where 𝝌^{0,,2n}4. Each instance has d=O(logn) item types, defined by the item size vector 𝒔 and bin capacity B. Intuitively, this implies that for any feasible configuration 𝒙, the inequation 𝒔𝒙B holds. We now set the item multiplicities 𝒂 such that a Bin Packing solution is forced to select specific configurations, as we will prove later (Lemma 16). We set 𝒂(𝜶^,𝜷^,𝝌^,𝒚^), where each component is a vector, to be defined in the following paragraph. The first component is set to

𝜶^(j=0m1γj,i=0n12γi,2nm). (3)

Intuitively, this ensures that any solution with 2n bins is guaranteed to (1) select each clause, and (2) correspond to a consistent assignment of 3-SAT variables {vi}{true,false}. We formally prove this in Lemma 16.

Now, let 𝜷(i) denote the unique variable values for each ILP-variable in 𝜷. Note that by Theorem 10 these values are unique for each i[n]0 and can be computed in polynomial time. For example, consider the variables appearing in (C2)-(★ C5). For fixed Z and xibin, the values of qi,ri, and zi can be calculated by O(logn) Euclidean divisions. We then set

𝜷^i=0n12𝜷(i). (4)

Let now 𝒮 be any set of 2n solutions to 𝒔(𝜶,𝜷,𝝌,𝒚)=B. For any variable xi (e.g., αi,cpos1,χi,yi), we define x^i as the sum of its values across all 2n solutions in 𝒮: x^is𝒮xi(s). The vector 𝒚^ is composed of these summed values for each of the O(logn) slack variables in 𝒚. The value of each component can be calculated from the known values of the other variables (i.e., 𝜶^,𝜷^,𝝌^), since each constraint contains at most one slack variable.

We demonstrate how to calculate 𝒚^ with the example of component y1cc in the first constraint of (C9):

α1cpos1+Uccχ1+y1cc=Ucc.

Here y1cc is the single slack variable and Ucc is a known upper bound. Then:

s𝒮(α1(s)cpos1(s)+Uccχ1(s)+y1cc(s))=s𝒮Uccα^1c^pos1+Uccχ^1+y^1cc=2nUcc.

Since y^1cc is the only unknown, it can be calculated. We set 𝒚^ by solving each of the O(logn) constraints this way. Then, the multiplicities in instance BP(𝝌^) are given by: 𝒂=(𝜶^,𝜷^,𝝌^,𝒚^). Note that the above construction ensures 𝒔𝒂=2nB. We also note that while it is sufficient for our analysis to consider all possibilities for 𝝌^, the number of considered vectors could be reduced significantly. When considering the corresponding variables 𝝌=(χ1,χ2,χ3,χ4) in the constructed ILP, we notice that χ1^,χ2^, and χ3^ count the number of times a clause is selected. Since we aim to choose all m clauses, χ^3=mχ^1χ^2. A similar argument can be made for χ^4. This variable counts the usage of the first slack solution. This number can be calculated from χ^3. These two arguments bring the number of considered vectors from (2n+1)4 to (2n+1)2 since only χ^1 and χ^2 need to be guessed.

The polytope defining all feasible configurations in the Bin Packing instance is given by P={𝒙0d|𝒔𝒙B}. We prepare our final proof by showing that each solution with at most 2n bins uses only configurations 𝒙 that satisfy 𝒔𝒙=B.

Claim 15.

Any solution to BP(𝝌^) with at most 2n bins uses only configurations 𝒙 that satisfy 𝒔𝒙=B.

Proof.

First, note that by construction of BP(𝝌^), the total size of items is 𝒔𝒂=2nB. Now, assume for the sake of contradiction that there exists a solution to the constructed Bin Packing instance with 2n bins that uses a configuration 𝒙 with 𝒔𝒙<B. Then, the remaining size of items is 2nB𝒔𝒙>(2n1)B and thus cannot be packed into the remaining 2n1 bins. A contradiction.

Now, define the set of feasible solutions to the constructed ILP as

𝒳={𝒙𝟏(𝒊),,𝒙𝟓(𝒊)=(Cpos1(i)γi0𝜷(i)𝝌𝒚),(Cpos2(i)γi0𝜷(i)𝝌𝒚),(Cneg(i)2γi0𝜷(i)𝝌𝒚),(0γi1𝜷(i)𝝌𝒚),(001𝜷(i)𝝌𝒚)|i[n]0}.

Claim 15 implies that any Bin Packing solution uses only configurations 𝒙𝒳. We are ready to prove the final lemma, stating that the 3-SAT instance SAT is solvable if and only if there exists a solution to any of the Bin Packing instances BP(𝝌^). An illustration of a constructed Bin Packing instance is given in Figure 2.

Figure 2: Example for a 3-SAT instance with 2 variables v0 (pink) and v1 (yellow). The illustrated solution corresponds to the assignment v0=true and v1=false.
Lemma 16.

Given an integer γ>4n, the well-structured 3-SAT instance SAT is a Yes-Instance if and only if there exists a 𝛘^{0,,2n}4 such that BP(𝛘^) has a solution with at most 2n bins.

Proof.

Let the well-structured 3-SAT instance SAT be given as in Lemma 5.

We first remember that due to the aggregation, there cannot be any carry-overs between the variable dimensions in the ILP. Therefore, when solving the Bin Packing instance, we ask how many configurations of each type to use i.e., we solve the linear combination

i=0n1k=15λk(i)𝒙𝒌(𝒊)=𝒂=(j=0m1γji=0n12γi2nm𝜷^𝝌^𝒚^), with i=0n1k=15λk(i)2n.

For the remainder of this proof, we will refer to 𝒙𝟏(𝒊), 𝒙𝟐(𝒊), and 𝒙𝟑(𝒊) as clause-paying vectors and to 𝒙𝟒(𝒊) and 𝒙𝟓(𝒊) as slack vectors. Similarly, we refer to λ1(i), λ2(i), and λ3(i) as clause-paying coefficients.

"": We start with the “if” direction and assume that there exists a satisfying assignment ϕ:{v0,vn1}{true,false} for the 3-SAT instance. First, define a satisfier function S:{C1,,Cm}{v0,,vn1,¬v0,,¬vn1}, such that the following conditions hold:

  • S(Cj) is a literal that appears in the clause Cj and

  • the literal S(Cj) evaluates to true when applying ϕ i.e., ϕ(S(Cj))=true.

Since ϕ is a satisfying assignment, such a function exists.

For each variable vi, let j,k, be the indices of the clauses where vi appears positively and negatively, respectively, i.e., Cpos1(i)=γj, Cpos2(i)=γk and Cneg(i)=γ. Now, we set the coefficients λk(i) for each variable vi as follows:

Case 1: (ϕ(vi)=true). Set λ1(i)=1 if S(Cj)=vi and similarly λ2(i)=1 if S(Ck)=vi. Additionally, set λ4(i)=2(λ1(i)+λ2(i)). All other coefficients are set to 0.

Case 2: (ϕ(vi)=false). If S(C)=¬vi, then set λ3(i)=1 and λ5(i)=1. Otherwise, set λ4(i)=2. All other coefficients are set to 0.

We must now verify that the constructed linear combination produces the target vector. For the first component, note that by construction each clause-paying coefficient (i.e., λ1(i),λ2(i), and λ3(i)) is set to 1 if and only if its corresponding literal was chosen by the satisfier function S. Since S selects exactly one literal for each clause, the sum correctly evaluates to j=0m1γj. For the second component, we have ensured by construction of the linear combination that for each variable vi, λ1(i)+λ2(i)+2λ3(i)+λ4(i)=2. Thus, the sum evaluates correctly to i=0n12γi. The third component counts the usage of slack vectors (i.e.,𝒙𝟒(𝒊),𝒙𝟓(𝒊)). By construction, λ1(i)+λ2(i)+λ3(i)+λ4(i)+λ5(i)=2 for each i[n]0, resulting in 2n vector selections in total. Since m of those are clause-paying (i.e.,𝒙𝟏(𝒊),𝒙𝟐(𝒊),𝒙𝟑(𝒊)), the number of selected slack vectors must be 2nm. It remains to show the equality for the remaining components (namely 𝜷^,𝝌^,𝒚^). By construction, 𝜷^i=0n12𝜷(i) where 𝜷(i) denotes the vector of unique variables for any fixed i. The constructed linear combination chooses exactly two vectors for each variable i, therefore 𝜷^ is hit exactly. The components (χ1,χ2,χ3,χ4) have binary values in 𝒙𝟏(𝒊),,𝒙𝟓(𝒊) due to Theorem 10, thus they sum up to some value 𝝌^{0,,2n}4. Let now 𝝌^ be the correct vector. Then 𝒚^ is by construction correct for any combination of 2n solutions to 𝒔𝒙=B, as argued in the construction of BP(𝝌^).

"": For the “only if” direction, assume that there exists a non-negative integer linear combination of the vectors λk(i) that produces the target vector for some 𝝌^{0,,2n}4.

The satisfying assignment ϕ can now be constructed as follows for each variable vi:

ϕ(vi)={false,if λ3(i)=1true,otherwise

We must now show that ϕ satisfies all clauses.

We first observe that since γ>4n there are no carries between the powers of γ in the first two components. Indeed, the constraint i=0n1k=15λk(i)2n implies λk(i)2n for each i[n]0 and k[5]. Since the maximum coefficient in the second components is 2γi, the maximum contribution to the i-th power of γ in each component is 2n2γi=4nγi<γi+1. Note that this argument also holds for the first component since in any well-structured 3-SAT instance, each variable appears in at most three clauses, and thus m3n<4n<γ.

The first component of the vector equation is

i=0n1(λ1(i)Cpos1(i)+λ2(i)Cpos2(i)+λ3(i)Cneg(i))=j=0m1γj. (5)

Remember that the Cpos1(i),Cpos2(i),Cneg(i) terms are of the form γj for some integer j and all λk(i) are non-negative integers. Then, for each clause j, there must exist exactly one λk(i), i[n]0,k[3] that is equal to 1. It remains to show that for each i[n]0: λ3(i)=1λ1(i)=λ2(i)=0, i.e., if vi is set to false, it is only used to satisfy the clause in which it appears negatively. To this end, consider the second component of the vector equation

i=0n1(λ1(i)+λ2(i)+2λ3(i)+λ4(i))γi=i=0n12γi. (6)

Again, since γ>4n, there are no carries between the powers of γ. Thus, for each i[n]0, we must have λ1(i)+λ2(i)+2λ3(i)+λ4(i)=2. This implies that if λ3(i)=1, then λ1(i)=λ2(i)=0. Therefore, the assignment ϕ is well-defined.

3.3 Putting It All Together

Theorem 3. [Restated, see original statement.]

There is no algorithm solving high-multiplicity Bin Packing with d distinct item sizes in time |I|2o(d), unless the ETH fails.

Proof.

Let SAT be a well-structured 3-SAT instance with n variables. We transform SAT into a family of Bin Packing instances BP(𝝌^) as in Lemma 16. The encoding length of each instance BP(𝝌^) is defined as |I|=O(dlog(B)+dlog(𝒂)). By Lemma 14 we have: d=O(logn) item types and bin capacity BγO(n2logn). Since the amounts 𝒂 are constructed to be the sum of 2n solutions 𝒙 to the ILP, we have

𝒂2n𝒙2nγO(n2)=γO(n2).

Thus, with γ=4n+1>4n, the encoding length of each constructed Bin Packing instance is |I|=O(logn(n2log(n)2)+lognn2logn)=O(n2(logn)3).

Now suppose there exists an algorithm for Bin Packing with a runtime of |I|2o(d). Then, we can solve BP(𝝌^) for all 𝝌^{0,,2n}4 in time (2n+1)4|I|2o(d)=(2n+1)4(n2(logn)3)2o(d)=(2n+1)4(n2(logn)3)no(1). Using a similar argument as in [28], we get:

(2n+1)4(n2(logn)3)no(1)2no(1)3log(n)+4log(2n+1)2o(n)

contradicting the ETH. With this, we have proven Theorem 3.

4 Conclusion

Our result still leaves unresolved the central open problem of whether there exists an FPT algorithm for Bin Packing parameterized by d. Goemans and Rothvoss [11] as well as Mnich and van Bevern [34] posed it as an open problem whether bin packing with d item sizes can be solved in time f(d)O(logΔ)O(1), where f is an arbitrary function. Interestingly, an FPT algorithm using at most OPT+1 bins is known by Jansen and Solis-Oba [23].

Our techniques might be of interest when proving double exponential lower bounds for other high-multiplicity scheduling problems [11] or high-multiplicity n-folds [11, 25, 26]. Forall-exist statements are also tightly connected to this topic. In such problems, we are given a convex set 𝒬m and an integer matrix Wm×n. A major open problem is whether any algorithm solving b𝒬mxn such that Wxb must necessarily have double-exponential running time in n [1].

References

  • [1] Eleonore Bach, Friedrich Eisenbrand, Thomas Rothvoss, and Robert Weismantel. Forall-exist statements in pseudopolynomial time. In SODA, pages 2225–2233. SIAM, 2025. doi:10.1137/1.9781611978322.73.
  • [2] Piotr Berman, Marek Karpinski, and Alexander D. Scott. Computational complexity of some restricted instances of 3-sat. Discret. Appl. Math., 155(5):649–653, 2007. doi:10.1016/j.dam.2006.07.009.
  • [3] William J. Cook, Mark Hartmann, Ravi Kannan, and Colin McDiarmid. On integer points in polyhedra. Comb., 12(1):27–37, 1992. doi:10.1007/BF01191202.
  • [4] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
  • [5] Marek Cygan, Marcin Pilipczuk, and Michal Pilipczuk. Known algorithms for edge clique cover are probably optimal. SIAM J. Comput., 45(1):67–83, 2016. doi:10.1137/130947076.
  • [6] Friedrich Eisenbrand and Gennady Shmonin. Carathéodory bounds for integer cones. Oper. Res. Lett., 34(5):564–568, 2006. doi:10.1016/j.orl.2005.09.008.
  • [7] Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, Saket Saurabh, and Meirav Zehavi. Clique-width III: hamiltonian cycle and the odd case of graph coloring. ACM Trans. Algorithms, 15(1):9:1–9:27, 2019. doi:10.1145/3280824.
  • [8] Robert Fortet. Applications de l’algebre de boole en recherche opérationelle. Revue Française de Recherche Opérationelle, 4(14):17–26, 1960.
  • [9] Paul C Gilmore and Ralph E Gomory. A linear programming approach to the cutting-stock problem. Operations research, 9(6):849–859, 1961. doi:10.1287/opre.9.6.849.
  • [10] Fred W. Glover and Eugene Woolsey. Technical note - converting the 0-1 polynomial programming problem to a 0-1 linear program. Oper. Res., 22(1):180–182, 1974. doi:10.1287/opre.22.1.180.
  • [11] Michel X. Goemans and Thomas Rothvoss. Polynomiality for bin packing with a constant number of item types. J. ACM, 67(6):38:1–38:21, 2020. doi:10.1145/3421750.
  • [12] Mark E. Hartmann. Cutting planes and the complexity of the integer hull. Technical report, Cornell University, September 1988. URL: https://hdl.handle.net/1813/8702.
  • [13] David Harvey and Joris van der Hoeven. Integer multiplication in time o(nlog n). Annals of Mathematics, 193(2):563–617, 2021. doi:10.4007/annals.2021.193.2.4.
  • [14] Christoph Hunkenschröder, Kim-Manuel Klein, Martin Koutecký, Alexandra Lassota, and Asaf Levin. Tight lower bounds for block-structured integer programs. Math. Program., 2025. doi:10.1007/s10107-025-02296-z.
  • [15] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? In 39th Annual Symposium on Foundations of Computer Science, FOCS, pages 653–663. IEEE Computer Society, 1998. doi:10.1109/SFCS.1998.743516.
  • [16] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? J. Comput. Syst. Sci., 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
  • [17] Klaus Jansen and Kim-Manuel Klein. About the structure of the integer cone and its application to bin packing. Math. Oper. Res., 45(4):1498–1511, 2020. doi:10.1287/moor.2019.1040.
  • [18] Klaus Jansen, Kim-Manuel Klein, and Alexandra Lassota. The double exponential runtime is tight for 2-stage stochastic ilps. Math. Program., 197(2):1145–1172, 2023. doi:10.1007/s10107-022-01837-0.
  • [19] Klaus Jansen, Stefan Kratsch, Dániel Marx, and Ildikó Schlotter. Bin packing with fixed number of bins revisited. J. Comput. Syst. Sci., 79(1):39–49, 2013. doi:10.1016/J.JCSS.2012.04.004.
  • [20] Klaus Jansen, Felix Land, and Kati Land. Bounding the running time of algorithms for scheduling and packing problems. SIAM J. Discret. Math., 30(1):343–366, 2016. doi:10.1137/140952636.
  • [21] Klaus Jansen and Haiko Müller. The minimum broadcast time problem for several processor networks. Theor. Comput. Sci., 147(1&2):69–85, 1995. doi:10.1016/0304-3975(94)00230-G.
  • [22] Klaus Jansen, Lis Pirotton, and Malte Tutas. The support of bin packing is exponential. In 33rd Annual European Symposium on Algorithms, ESA 2025, LIPIcs, pages 48:1–48:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ESA.2025.48.
  • [23] Klaus Jansen and Roberto Solis-Oba. A polynomial time OPT + 1 algorithm for the cutting stock problem with a constant number of object lengths. Math. Oper. Res., 36(4):743–753, 2011. doi:10.1287/moor.1110.0515.
  • [24] Volker Kaibel and Stefan Weltge. Lower bounds on the sizes of integer programs without additional variables. Math. Program., 154(1-2):407–425, 2015. doi:10.1007/s10107-014-0855-0.
  • [25] Dusan Knop, Martin Koutecký, Asaf Levin, Matthias Mnich, and Shmuel Onn. Parameterized complexity of configuration integer programs. Oper. Res. Lett., 49(6):908–913, 2021. doi:10.1016/j.orl.2021.11.005.
  • [26] Dusan Knop, Martin Koutecký, Asaf Levin, Matthias Mnich, and Shmuel Onn. High-multiplicity n-fold IP via configuration LP. Math. Program., 200(1):199–227, 2023. doi:10.1007/s10107-022-01882-9.
  • [27] Dusan Knop, Michal Pilipczuk, and Marcin Wrochna. Tight complexity lower bounds for integer linear programming with few constraints. ACM Trans. Comput. Theory, 12(3):19:1–19:19, 2020. doi:10.1145/3397484.
  • [28] Lukasz Kowalik, Alexandra Lassota, Konrad Majewski, Michal Pilipczuk, and Marek Sokolowski. Detecting points in integer cones of polytopes is double-exponentially hard. In 2024 Symposium on Simplicity in Algorithms, SOSA, pages 279–285. SIAM, 2024. doi:10.1137/1.9781611977936.25.
  • [29] Marvin Künnemann, Filip Mazowiecki, Lia Schütze, Henry Sinclair-Banks, and Karol Wegrzycki. Coverability in VASS revisited: Improving rackoff’s bounds to obtain conditional optimality. J. ACM, 72(5):33:1–33:27, 2025. doi:10.1145/3762178.
  • [30] Kenneth L. Manders and Leonard M. Adleman. Np-complete decision problems for quadratic polynomials. In Proceedings of the 8th Annual ACM Symposium on Theory of Computing, May 3-5, 1976, Hershey, Pennsylvania, USA, pages 23–29. ACM, 1976. doi:10.1145/800113.803627.
  • [31] Dániel Marx and Valia Mitsou. Double-exponential and triple-exponential bounds for choosability problems parameterized by treewidth. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP, volume 55 of LIPIcs, pages 28:1–28:15, 2016. doi:10.4230/LIPIcs.ICALP.2016.28.
  • [32] Garth P. McCormick. Computability of global solutions to factorable nonconvex programs: Part I - convex underestimating problems. Math. Program., 10(1):147–175, 1976. doi:10.1007/BF01580665.
  • [33] S. Thomas McCormick, Scott R. Smallwood, and Frits C. R. Spieksma. A polynomial algorithm for multiprocessor scheduling with two job lengths. Math. Oper. Res., 26(1):31–49, 2001. doi:10.1287/moor.26.1.31.10590.
  • [34] Matthias Mnich and René van Bevern. Parameterized complexity of machine scheduling: 15 open problems. Comput. Oper. Res., 100:254–261, 2018. doi:10.1016/j.cor.2018.07.020.
  • [35] Alexander Schrijver. Theory of linear and integer programming. Wiley-Interscience series in discrete mathematics and optimization. Wiley, 1999.
  • [36] Craig A. Tovey. A simplified np-complete satisfiability problem. Discret. Appl. Math., 8(1):85–89, 1984. doi:10.1016/0166-218X(84)90081-7.

Appendix A Omitted Proofs

A.1 Proof of Claims 1113

Claim 11 (✀). [Restated, see original statement.]

The constraints given in Equations C2★ C5 ensure that zlogn contains exactly the block of Z corresponding to variable vi, i.e., for i[n]0 we get zlogn=Cpos1(i)(γm)0+Cpos2(i)(γm)1+Cneg(i)(γm)2. Additionally, the values of all introduced variables are unique for fixed i and Z.

Proof.

We show by induction over j[log(n)+1]0, that after j search steps, the variable zj equals the integer represented by a contiguous subsequence of n2j blocks and that this subsequence contains the i-th block.

Base Case: Assume j=0. Then, by Equation C2 we have, z0=Z. As Z contains all n2j=n blocks, this also holds for the i-th block. The Euclidean division of Equation C3, in combination with the bound of remainder r0, ensures that both, the quotient q0=Z(γm)3n/2 and the remainder r0 are unique. Note, that Z is now split into two integers q0 and r0 that represent two equal-sized subsequences.

Inductive Step: Let j[log(n)]0 and assume that zj equals the integer represented by a contiguous subsequence of n2j blocks and that this subsequence contains the i-th block. For the same reason as stated in the base case, the Euclidean division gives unique values for qj and rj. Equation ★ C5 now simulates a case distinction. Take the (j+1)-th bit xj+1bin of the binary representation of i. If xj+1bin=0 we keep the lower half, i.e., we set zj+1=rj. If xj+1bin=1 we keep the upper half, i.e., we set zj+1=qj. In either case zj+1 equals the concatenation of the blocks of the chosen half which contains exactly n2j+1 blocks as n is a power of 2. Also, since 𝒙bin is the binary representation of i, the i-th block remains in the selected half.

Finally, after log(n) steps, the subsequence consists of n2log(n)=1 block which is the i-th block, i.e., zlog(n)=Cpos1(i)(γm)0+Cpos2(i)(γm)1+Cneg(i)(γm)2.

Claim 12 (✀). [Restated, see original statement.]

The constraints given in Equations C2☆ C8 ensure that the variables cpos1,cpos2 and cneg match the corresponding values in the definition of Z in Equation 2 for a given i, i.e., cpos1=Cpos1(i),cpos2=Cpos2(i) and cneg=Cneg(i). Additionally, the values of all introduced variables are unique for fixed i and Z.

Proof.

With Claim 11, we have zlog(n)=Cpos1(i)(γm)0+Cpos2(i)(γm)1+Cneg(i)(γm)2. Equation C6 together with cpos1<γm ensures cpos1=Cpos1(i) as the Euclidean division separates the quotient qc=zlog(n)γm=Cpos2(i)(γm)0+Cneg(i)(γm)1 and the remainder cpos1=zlog(n)modγm. Note that both values are unique for fixed i and Z.

Equation C7 together with cpos2<γm simulates another Euclidean division that now extracts the correct values for cpos2 and cneg. More concretely, we obtain the unique values cneg=qcγm=Cneg(i) and cpos2=qcmodγm=Cpos2(i).

Claim 13 (✀). [Restated, see original statement.]

For i[n]0, the constraints given in Equations C2☆ C12 imply that

(α1α2α3){(Cpos1(i)γi0),(Cpos2(i)γi0),(Cneg(i)2γi0),(0γi1),(001)}.

All other introduced variables are binary (part of 𝝌).

Proof.

Note that by [22], we have r~log(n)=γi for given i[n]0. We now make a case distinction over the value of α3. Since it is binary, we consider the following two cases.

Case 1.

Assume α3=1. Then the left-hand side of Equation C11 equals 0. This implies χ1+χ2+χ3=0 and therefore χ1=χ2=χ3=0. With this, and Equation ★ C9, we get:

α1=cpos10+cpos20+cneg0=0

With Equation ★ C10, we get

α2=r~log(n)χ4

Now, the inequality χ4α3 allows χ4{0,1}, thus:

(α1α2α3)={(0,r~log(n),1)T=(0,γi,1)T,if χ4=1(0,0,1)T=(0,0,1)T,if χ4=0
Case 2.

Assume α3=0. Now, the left-hand side of Equation C11 equals 1. Therefore, exactly one of χ1,χ2, and χ3 equals 1 and the other two equal 0. The inequality χ4α3 implies χ4=0. With Equations ★ C9 and ★ C10, we get the following possibilities for α1 and α2:

(α1α2α3)={(Cpos1(i),r~log(n),0)T=(Cpos1(i),γi,0)T,if χ1=1 and χ2=χ3=0(Cpos2(i),r~log(n),0)T=(Cpos2(i),γi,0)T,if χ2=1 and χ1=χ3=0(Cneg(i),2r~log(n),0)T=(Cneg(i),2γi,0)T,if χ3=1 and χ1=χ2=0

As this case distinction is exhaustive, there are no other possibilities. This completes the proof.

Appendix B Omitted Constraints

In this section, we give the linearized constraints referred to in Theorem 10. The constraints can be obtained through a direct application of Lemma 6 to Equation ★ C5 and Equations ★ C9 and ★ C10.

B.1 Linearization of Constraints (★ ☆)

B.1.1 Decoding Constraints (★ C5)

The linearization follows by applying Lemma 6. As an upper bound for each variable, we set Udc:=γ3nm, since the maximum size of any variable is bounded by Z, which in turn is bounded by γ3nm (see Lemma 9 for details):

zj+1qjUdc(1xj+1bin)j[log(n)]0zj+1qjUdc(1xj+1bin)j[log(n)]0zj+1rjUdcxj+1binj[log(n)]0zj+1rjUdcxj+1binj[log(n)]0 (☆C5)

B.1.2 Clause Constraints (★ C9), (★ C10)

The linearization follows by applying Lemma 6, where Ucc is an upper bound for the involved variables. By construction, α1,cp1,cp2,cnγm and α22γn. Therefore, we set Uccmax(2γn,γm1):

α1cpos1Ucc(1χ1)α1cpos1Ucc(1χ1)α1cpos2Ucc(1χ2)α1cpos2Ucc(1χ2)α1cnegUcc(1χ3)α1cnegUcc(1χ3)α1Ucc(χ1+χ2+χ3) (☆C9)
α2r~log(n)Ucc(1χ1)α2r~log(n)Ucc(1χ1)α2r~log(n)Ucc(1χ2)α2r~log(n)Ucc(1χ2)α22r~log(n)Ucc(1χ3)α22r~log(n)Ucc(1χ3)α2r~log(n)Ucc(1χ4)α2r~log(n)Ucc(1χ4)α2Ucc(χ1+χ2+χ3+χ4) (☆C10)

B.2 Construction of Equality Constraints

In this section, we introduce slack variables to turn the linear constraints of the prior section into equations. We start by stating the linear equality constraints equivalent to Equation ★ C1.

B.2.1 Variable Constraints

See [22] for details and proofs. Our notation differs slightly: we renamed some variables and, unlike [22], x1bin is the most significant bit in 𝒙bin.

r~0=1(γ2j+1+γ2j)y~j(γ2j+1)r~j+1+s~1,j=γ2jj[log(n)]0γ2jy~j+r~j+1+s~2,j=γ2j1j[log(n)]0xlog(n)jbin+s~3,j=1j[log(n)]0xlog(n)jbiny~j+s~4,j=0j[log(n)]0y~j(γ2j+1)xlog(n)jbin+s~5,j=0j[log(n)]0(γ2j1)z~j+r~jr~j+1=0j[log(n)]0γ2jxlog(n)jbinz~j+r~j+s~7,j=γ2jj[log(n)]0γ2jxlog(n)jbin+z~j+s~8,j=0j[log(n)]0z~jr~j+s~9,j=0j[log(n)]0r~log(n)s9log(n)=1r~log(n)+s9log(n)+1=γn1 (C1)

The lower bound of each variable is 0. The largest upper bound of the variables is γO(n). Also, the absolute values of the coefficients and the right hand sides of these constraints are upper bounded by γO(n).

B.2.2 Decoding Constraints

The constraints in Equations ☆ C4, ☆C5, and ☆ C8 can be transformed into equality constraints through the introduction of slack variables y,jdc for all [8],j[log(n)]0.

z0 =Z (C2)
zjqj(γm)3n/2j+1rj =0 j[log(n)]0 (C3)
rj+y1,jdc =(γm)3n/2j+11 j[log(n)]0 (C4)
zj+1qj+Udcxj+1bin+y2,jdc=Udcj[log(n)]0zj+1+qj+Udcxj+1bin+y3,jdc=Udcj[log(n)]0zj+1rjUdcxj+1bin+y4,jdc=0j[log(n)]0zj+1rj+Udcxj+1biny5,jdc=0j[log(n)]0 (C5)
zlog(n) =qcγm+cpos1 (C6)
qc =cnegγm+cpos2 (C7)
cpos1+y6dc=γm1cpos2+y7dc=γm1cneg+y8dc=γm1 (C8)

Again, each variable is lower bounded by 0. The upper bounds can be set as follows:

zj (γm)3n2j j[log(n)]0
qj,rj (γm)3n/2j+11 j[log(n)]0
qc (γm)2
cpos1,cpos2,cneg (γm)1
y1,jdc (γm)3n/2j+11 j[log(n)]0
y,jdc 2(γm)3n {2,,5},j[log(n)]0
ydc (γm)1 {6,7,8}

Both, the largest absolute value of the coefficients and the right-hand side is Udc=γ3nm (Equation C5).

B.2.3 Clause Constraints

Finally, the constraints in Equations ☆C9☆ C12 can be transformed into equality constrains through the introduction of slack variables ycc for each [15].

α1cpos1+Uccχ1+y1cc=Uccα1+cpos1+Uccχ1+y2cc=Uccα1cpos2+Uccχ2+y3cc=Uccα1+cpos2+Uccχ2+y4cc=Uccα1cneg+Uccχ3+y5cc=Uccα1+cneg+Uccχ3+y6cc=Ucc (C9)
α2r~log(n)+Uccχ1+y7cc=Uccα2+r~log(n)+Uccχ1+y8cc=Uccα2r~log(n)+Uccχ2+y9cc=Uccα2+r~log(n)+Uccχ2+y10cc=Uccα22r~log(n)+Uccχ3+y11cc=Uccα2+2r~log(n)+Uccχ3+y12cc=Uccα2r~log(n)+Uccχ4+y13cc=Uccα2+r~log(n)+Uccχ4+y14cc=Ucc (C10)
χ1+χ2+χ3+α3 =1 (C11)
χ4α3+y15cc =0 (C12)

As usual, the lower bound of the variables is 0. We can set the upper bounds to:

α1 γm
α2 2γn
α3 1
χ 1 [4]
ycc 2Ucc=4γn [14]
y15cc 1

Here, the largest absolute value of the coefficients and the right-hand side is Ucc=max(2γn,γm1) (Equations C9 and C10).