40 research outputs found

    Many bounded versions of undecidable problems are NP-hard

    Full text link
    Several physically inspired problems have been proven undecidable; examples are the spectral gap problem and the membership problem for quantum correlations. Most of these results rely on reductions from a handful of undecidable problems, such as the halting problem, the tiling problem, the Post correspondence problem or the matrix mortality problem. All these problems have a common property: they have an NP-hard bounded version. This work establishes a relation between undecidable unbounded problems and their bounded NP-hard versions. Specifically, we show that NP-hardness of a bounded version follows easily from the reduction of the unbounded problems. This leads to new and simpler proofs of the NP-hardness of bounded version of the Post correspondence problem, the matrix mortality problem, the positivity of matrix product operators, the reachability problem, the tiling problem, and the ground state energy problem. This work sheds light on the intractability of problems in theoretical physics and on the computational consequences of bounding a parameter.Comment: 10 pages and 7 pages of appendices, 8 figures; v2,v3: minor change

    Decidability of the Membership Problem for 2×22\times 2 integer matrices

    Get PDF
    The main result of this paper is the decidability of the membership problem for 2×22\times 2 nonsingular integer matrices. Namely, we will construct the first algorithm that for any nonsingular 2×22\times 2 integer matrices M1,…,MnM_1,\dots,M_n and MM decides whether MM belongs to the semigroup generated by {M1,…,Mn}\{M_1,\dots,M_n\}. Our algorithm relies on a translation of the numerical problem on matrices into combinatorial problems on words. It also makes use of some algebraical properties of well-known subgroups of GL(2,Z)\mathrm{GL}(2,\mathbb{Z}) and various new techniques and constructions that help to limit an infinite number of possibilities by reducing them to the membership problem for regular languages

    ASP(AC): Answer Set Programming with Algebraic Constraints

    Full text link
    Weighted Logic is a powerful tool for the specification of calculations over semirings that depend on qualitative information. Using a novel combination of Weighted Logic and Here-and-There (HT) Logic, in which this dependence is based on intuitionistic grounds, we introduce Answer Set Programming with Algebraic Constraints (ASP(AC)), where rules may contain constraints that compare semiring values to weighted formula evaluations. Such constraints provide streamlined access to a manifold of constructs available in ASP, like aggregates, choice constraints, and arithmetic operators. They extend some of them and provide a generic framework for defining programs with algebraic computation, which can be fruitfully used e.g. for provenance semantics of datalog programs. While undecidable in general, expressive fragments of ASP(AC) can be exploited for effective problem-solving in a rich framework. This work is under consideration for acceptance in Theory and Practice of Logic Programming.Comment: 32 pages, 16 pages are appendi

    On the Mortality Problem: from multiplicative matrix equations to linear recurrence sequences and beyond

    Get PDF
    We consider the following variant of the Mortality Problem: given k×kk\times k matrices A1,A2,…,AtA_1, A_2, \dots,A_{t}, does there exist nonnegative integers m1,m2,…,mtm_1, m_2, \dots,m_t such that the product A1m1A2m2⋯AtmtA_1^{m_1} A_2^{m_2} \cdots A_{t}^{m_{t}} is equal to the zero matrix? It is known that this problem is decidable when t≤2t \leq 2 for matrices over algebraic numbers but becomes undecidable for sufficiently large tt and kk even for integral matrices. In this paper, we prove the first decidability results for t>2t>2. We show as one of our central results that for t=3t=3 this problem in any dimension is Turing equivalent to the well-known Skolem problem for linear recurrence sequences. Our proof relies on the Primary Decomposition Theorem for matrices that was not used to show decidability results in matrix semigroups before. As a corollary we obtain that the above problem is decidable for t=3t=3 and k≤3k \leq 3 for matrices over algebraic numbers and for t=3t=3 and k=4k=4 for matrices over real algebraic numbers. Another consequence is that the set of triples (m1,m2,m3)(m_1,m_2,m_3) for which the equation A1m1A2m2A3m3A_1^{m_1} A_2^{m_2} A_3^{m_3} equals the zero matrix is equal to a finite union of direct products of semilinear sets. For t=4t=4 we show that the solution set can be non-semilinear, and thus it seems unlikely that there is a direct connection to the Skolem problem. However we prove that the problem is still decidable for upper-triangular 2×22 \times 2 rational matrices by employing powerful tools from transcendence theory such as Baker's theorem and S-unit equations

    On Reachability Problems for Low-Dimensional Matrix Semigroup

    Get PDF
    We consider the Membership and the Half-Space Reachability problems for matrices in dimensions two and three. Our first main result is that the Membership Problem is decidable for finitely generated sub-semigroups of the Heisenberg group over rational numbers. Furthermore, we prove two decidability results for the Half-Space Reachability Problem. Namely, we show that this problem is decidable for sub-semigroups of GL(2,Z) and of the Heisenberg group over rational numbers
    corecore