59 research outputs found

    Exponential prefixed polynomial equations

    Full text link
    A prefixed polynomial equation is an equation of the form P(t1,…,tn)=0P(t_1,\ldots,t_n) = 0, where PP is a polynomial whose variables t1,…,tnt_1,\ldots,t_n range over the natural numbers, preceded by quantifiers over some, or all, of its variables. Here, we consider exponential prefixed polynomial equations (EPPEs), where variables can also occur as exponents. We obtain a relatively concise EPPE equivalent to the combinatorial principle of the Paris-Harrington theorem for pairs (which is independent of primitive recursive arithmetic), as well as an EPPE equivalent to Goodstein's theorem (which is independent of Peano arithmetic). Some new devices are used in addition to known methods for the elimination of bounded universal quantifiers for Diophantine predicates

    Computational Arithmetic Geometry I: Sentences Nearly in the Polynomial Hierarchy

    Get PDF
    We consider the average-case complexity of some otherwise undecidable or open Diophantine problems. More precisely, consider the following: (I) Given a polynomial f in Z[v,x,y], decide the sentence \exists v \forall x \exists y f(v,x,y)=0, with all three quantifiers ranging over N (or Z). (II) Given polynomials f_1,...,f_m in Z[x_1,...,x_n] with m>=n, decide if there is a rational solution to f_1=...=f_m=0. We show that, for almost all inputs, problem (I) can be done within coNP. The decidability of problem (I), over N and Z, was previously unknown. We also show that the Generalized Riemann Hypothesis (GRH) implies that, for almost all inputs, problem (II) can be done via within the complexity class PP^{NP^NP}, i.e., within the third level of the polynomial hierarchy. The decidability of problem (II), even in the case m=n=2, remains open in general. Along the way, we prove results relating polynomial system solving over C, Q, and Z/pZ. We also prove a result on Galois groups associated to sparse polynomial systems which may be of independent interest. A practical observation is that the aforementioned Diophantine problems should perhaps be avoided in the construction of crypto-systems.Comment: Slight revision of final journal version of an extended abstract which appeared in STOC 1999. This version includes significant corrections and improvements to various asymptotic bounds. Needs cjour.cls to compil

    Revisiting Synthesis for One-Counter Automata

    Full text link
    We study the (parameter) synthesis problem for one-counter automata with parameters. One-counter automata are obtained by extending classical finite-state automata with a counter whose value can range over non-negative integers and be tested for zero. The updates and tests applicable to the counter can further be made parametric by introducing a set of integer-valued variables called parameters. The synthesis problem for such automata asks whether there exists a valuation of the parameters such that all infinite runs of the automaton satisfy some omega-regular property. Lechner showed that (the complement of) the problem can be encoded in a restricted one-alternation fragment of Presburger arithmetic with divisibility. In this work (i) we argue that said fragment, called AERPADPLUS, is unfortunately undecidable. Nevertheless, by a careful re-encoding of the problem into a decidable restriction of AERPADPLUS, (ii) we prove that the synthesis problem is decidable in general and in N2EXP for several fixed omega-regular properties. Finally, (iii) we give a polynomial-space algorithm for the special case of the problem where parameters can only be used in tests, and not updates, of the counter

    Q∖Z\mathbb Q\setminus\mathbb Z is diophantine over Q\mathbb Q with 32 unknowns

    Full text link
    In 2016 J. Koenigsmann refined a celebrated theorem of J. Robinson by proving that Q∖Z\mathbb Q\setminus\mathbb Z is diophantine over Q\mathbb Q, i.e., there is a polynomial P(t,x1,…,xn)∈Z[t,x1,…,xn]P(t,x_1,\ldots,x_{n})\in\mathbb Z[t,x_1,\ldots,x_{n}] such that for any rational number tt we have t∉Z  ⟺  ∃x1⋯∃xn[P(t,x1,…,xn)=0]t\not\in\mathbb Z\iff \exists x_1\cdots\exists x_{n}[P(t,x_1,\ldots,x_{n})=0] where variables range over Q\mathbb Q, equivalently t∈Z  ⟺  ∀x1⋯∀xn[P(t,x1,…,xn)≠0].t\in\mathbb Z\iff \forall x_1\cdots\forall x_{n}[P(t,x_1,\ldots,x_{n})\not=0]. In this paper we prove further that we may even take n=32n=32 and require deg P<6×1011\,P<6\times10^{11}, which provides the best record in this direction. Combining this with a result of Sun, we get that there is no algorithm to decide for any f(x1,…,x41)∈Z[x1,…,x41]f(x_1,\ldots,x_{41})\in\mathbb Z[x_1,\ldots,x_{41}] whether ∀x1⋯∀x9∃y1⋯∃y32[f(x1,…,x9,y1,…,y32)=0],\forall x_1\cdots\forall x_9\exists y_1\cdots\exists y_{32}[f(x_1,\ldots,x_9,y_1,\ldots,y_{32})=0], where variables range over Q\mathbb Q.Comment: 13 pages. Correct few typo

    Light On String Solving: Approaches to Efficiently and Correctly Solving String Constraints

    Get PDF
    Widespread use of string solvers in formal analysis of string-heavy programs has led to a growing demand for more efficient and reliable techniques which can be applied in this context, especially for real-world cases. Designing an algorithm for the (generally undecidable) satisfiability problem for systems of string constraints requires a thorough understanding of the structure of constraints present in the targeted cases. We target the aforementioned case in different perspectives: We present an algorithm which works by reformulating the satisfiability of bounded word equations as a reachability problem for non-deterministic finite automata. Secondly, we present a transformation-system-based technique to solving string constraints. Thirdly, we investigate benchmarks presented in the literature containing regular expression membership predicates and design a decission procedure for a PSPACE-complete sub-theory. Additionally, we introduce a new benchmarking framework for string solvers and use it to showcase the power of our algorithms via an extensive empirical evaluation over a diverse set of benchmarks

    Quantifier-Free Interpolation of a Theory of Arrays

    Get PDF
    The use of interpolants in model checking is becoming an enabling technology to allow fast and robust verification of hardware and software. The application of encodings based on the theory of arrays, however, is limited by the impossibility of deriving quantifier- free interpolants in general. In this paper, we show that it is possible to obtain quantifier-free interpolants for a Skolemized version of the extensional theory of arrays. We prove this in two ways: (1) non-constructively, by using the model theoretic notion of amalgamation, which is known to be equivalent to admit quantifier-free interpolation for universal theories; and (2) constructively, by designing an interpolating procedure, based on solving equations between array updates. (Interestingly, rewriting techniques are used in the key steps of the solver and its proof of correctness.) To the best of our knowledge, this is the first successful attempt of computing quantifier- free interpolants for a variant of the theory of arrays with extensionality
    • …
    corecore