Integer Programming with GCD Constraints
Rémy Défossez, Christoph Haase, Alessio Mansutti, Guillermo A. Pérez
Abstract
We study the non-linear extension of integer programming with greatest common divisor constraints of the form gcd(f, g) d, where f and g are linear polynomials, d is a positive integer, and is a relation among ≤, = ≠, = and ≥. We show that the feasibility problem for these systems is in NP, and that an optimal solution minimizing a linear objective function, if it exists, has polynomial bit length. To show these results, we identify an expressive fragment of the existential theory of the integers with addition and divisibility that admits solutions of polynomial bit length. It was shown by Lipshitz [Trans. Am. Math. Soc., 235, pp. 271-283, 1978] that this theory adheres to a local-to-global principle in the following sense: a formula Φ is equi-satisfiable with a formula Ψ in this theory such that Ψ has a solution if and only if Ψ has a solution modulo every prime p. We show that in our fragment, only a polynomial number of primes of polynomial bit length need to be considered, and that the solutions modulo prime numbers can be combined to yield a solution to Φ of polynomial bit length. As a technical by-product, we establish a Chinese-remainder-type theorem for systems of congruences and non-congruences showing that solution sizes do not depend on the magnitude of the moduli of non-congruences.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext eaba835d-05c8-4b82-b876-411bf2eaaeeeCited by top-tier papers1
Ask how each one uses itRelated papers
- When Less Is More: Consequence-Finding in a Weak Theory of ArithmeticZachary Kincaid, Nicolas Koh, Shaowei ZhuPOPL 2023 · 8 citations
- Congruency-Constrained TU Problems Beyond the Bimodular CaseMartin Nägele, Richard Santiago, Rico ZenklusenSODA 2022 · 11 citations
- EUFⁿ: A Decidable Extension to the Theory of Equality with Uninterpreted FunctionsYide Du, Zhenbang Chen, Weijiang Hong, Wei DongOOPSLA 2026
- Constant-Depth Arithmetic Circuits for Linear Algebra ProblemsRobert Andrews, Avi WigdersonFOCS 2024 · 2 citations
- A Local Search Algorithm for MaxSMT(LIA)Xiang He, Bohan Li, Mengyu Zhao, Shaowei CaiFM 2024
