Identifying Maximal Non-Redundant Integer Cone Generators

Slobodan Mitrović, Ruzica Piskac, Viktor KuncakarXiv 2019

Abstract

A non-redundant integer cone generator (NICG) of dimension $d$ is a set $S$ of vectors from $\{0,1\}^d$ whose vector sum cannot be generated as a positive integer linear combination of a proper subset of $S$. The largest possible cardinality of an NICG of dimension $d$, denoted by $N(d)$, provides an upper bound on the sparsity of systems of integer equations with a large number of integer variables. A better estimate of $N(d)$ means that we can consider smaller sub-systems of integer equations when solving systems with many integer variables. Furthermore, given that we can reduce constraints on set algebra expressions to constraints on cardinalities of Venn regions, tighter upper bound on $N(d)$ yields a more efficient decision procedure for a logic of sets with cardinality constraints (BAPA), which has been applied in software verification. Previous attempts to compute $N(d)$ using SAT solvers have not succeeded even for $d=3$. The only known values were computed manually: $N(d)=d$ for $d < 4$ and $N(4) > 4$. We provide the first exact values for $d > 3$, namely, $N(4)=5$, $N(5)=7$, and $N(6)=9$, which is a significant improvement of the known asymptotic bound (which would give only e.g. $N(6) \le 29$, making a decision procedure impractical for $d=6$). We also give lower bounds for $N(7)$, $N(8)$, $N(9)$, and $N(10)$, which are: $11$, $13$, $14$, and $16$, respectively. We describe increasingly sophisticated specialized search algorithms that we used to explore the space of non-redundant generators and obtain these results.

Introduction

In the field of automated software verification, researchers often utilize a logic called Boolean Algebra with Presburger Arithmetic (BAPA) to reason about data structures and their sizes. Solving BAPA constraints involves translating set algebra expressions into systems of integer equations based on Venn regions. However, the number of Venn regions grows exponentially with the number of sets ($d$), leading to a massive number of variables that can overwhelm standard solvers.

The efficiency of these decision procedures is fundamentally linked to the "small model property," governed by the value $N(d)$—the maximum cardinality of a Non-Redundant Integer Cone Generator (NICG). $N(d)$ determines the maximum sparsity of a solution; if a solution exists, a sparse one exists with at most $N(d)$ non-zero variables. Prior to this work, exact values for $N(d)$ were only known for $d < 4$, and attempts to compute higher values using off-the-shelf SAT solvers were unsuccessful.

Methodology

To explore the space of non-redundant generators, the authors developed a suite of specialized search algorithms and symmetry-breaking techniques:

  1. Specialized NICG Testing: Rather than using general-purpose integer linear programming solvers, the authors implemented a custom check based on Gaussian elimination. This proved significantly faster for the specific, small-scale systems of equations generated during the search.
  2. Isomorphism Reduction: The search space for bit-vectors is astronomical. By identifying and skipping sets of vectors that are isomorphic under coordinate permutations, the authors drastically pruned the search tree.
  3. Weak Isomorphisms: For higher dimensions where full isomorphism checking became computationally prohibitive, the authors introduced "1-order preserving" permutations—a faster, weaker form of symmetry breaking.
  4. Randomized Search: To establish lower bounds for $d=7$ to $10$, the authors moved away from deterministic search. A randomized greedy approach allowed the algorithm to discover large non-redundant sets that systematic search could not reach within reasonable timeframes.
  5. Decomposition: To improve the upper bound for $d=7$, the authors proved that any solution could be split into two smaller subsets based on the first coordinate, allowing them to lower the theoretical maximum from 36 to 19.

Key Results

The authors successfully established the first exact values for $N(d)$ in dimensions 4, 5, and 6, significantly tightening the constraints used in automated verification. For $d=6$, the improvement is particularly notable: the previous theoretical upper bound suggested a need to check 29 variables, whereas this work proves that 9 variables are sufficient.

Comparison of previous known bounds and new results for $N(d)$.

As shown in the table, the bolded values represent the new exact values and improved bounds achieved through the specialized search algorithms. These results represent a significant advancement over the previous asymptotic bounds.

Conclusion

This research demonstrates that specialized combinatorial search techniques can solve fundamental problems where general-purpose solvers fail. By providing tighter bounds on $N(d)$, the authors have directly enhanced the efficiency of BAPA decision procedures. While exact values for $d \ge 7$ remain an open challenge, the improved lower and upper bounds provide a much clearer picture of the sparsity of integer cone generators in higher dimensions.

Summary updated

BibTeX
@misc{mitrovic2019identifying,
  author = {Slobodan Mitrović and Ruzica Piskac and Viktor Kuncak},
  title = {{Identifying Maximal Non-Redundant Integer Cone Generators}},
  year = {2019},
  eprint = {1903.08571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.08571},
}
Figure