Combinatory Array Logic with Sums
Rodrigo Raya
TL;DR
The paper addresses the satisfiability problem for a theory of integer-indexed arrays augmented with index-ordering and summation constraints, proving an NP upper bound for the existential fragment of the generalized power structure $Th_{\exists^*}(\mathcal{P}(\mathcal{A},I))$ and extending combinatory array logic with sums. It achieves this via a semantic reduction to generalized power structures, encoding array operations and sums, and reducing satisfiability to a chain of eliminations that culminate in $LIA^{card}$, an NP problem. A key insight is that allowing element-constants undermines decidability, while restricting the element theory enables a polynomially bounded, certificate-based NP procedure. The work advances SMT theories of arrays by linking combinatory array logic with summation constraints to powerful model-theoretic constructions, offering a practical complexity result and guiding future extensions to richer element sorts.
Abstract
We prove an NP upper bound on a theory of integer-indexed integer-valued arrays that extends combinatory array logic with an ordering relation on the index set and the ability to express sums of elements. We compare our fragment with seven other fragments in the literature in terms of their expressiveness and computational complexity.
