Weakening Presburger Arithmetic
نویسنده
چکیده
We consider logics on Z and N which are weaker than Presburger Arithmetic and we settle the following decision problem: given a k-ary relation on Z and N which is first order definable in Presburger Arithmetic, is it definable in these weaker logics? These logics, intuitively, are obtained in two different ways. First by introducing modulo and threshold counting predicates on the difference of two variables and second by depriving Z from the ordering. 1 Background and definitions Presburger arithmetic is the first order theory of integers Z with the operation of addition and the usual ordering, though the same term might also refer to the first order theory of nonnegative integers with the addition and the equality. Whichever arithmetic is meant should be clear from the context. The validity of a closed formula in this structure is proved decidable via quantifier elimination in the extension including all predicates x = b mod a with a ∈ N and 0 ≤ b < a, see e.g., [8, Chap. III.4]. Though long underestimated, this result is nowadays one of the main tools available in model-checking and program verification and the number of papers refereeing to it exceed several hundreds. Here we are concerned with definability in various, strictly weaker substructures on the same domain or possibly on the domain of nonnegative integers. The general question is as follows: given an arbitrary Presburger formula with n free variables defining an n-ary relation, is it first order definable in the weaker structure? E., g., the binary relation in Z defined by the formula φ(x, y) = ((x > 0)∨ (x < 0))∧ ((y > 0) ∨ (y < 0)) is definable without the ordering but the relation φ(x, y) = x < y is not. The substructures we investigate are summarized in table 1. The integers a, b, c satisfy the conditions 0 ≤ b < a and c ∈ Z or c ∈ N, depending on which structure it refers to. The subscripts used should suggest the general idea of modulo and threshold counting. Observe that the first structure has no predicate (except equality) while the remaining structures have no operations. Some of these structures were studied earlier from different points of view. In [5] the author studies the complexity of the validity of a closed expression in Zthresh and of the quantifier elimination. A precise estimate is given and compared to the similar problems in full Presburger arithmetic. The same questions structure domain functions predicates Z Z x + y x < y Np N x + y = Z Z x + y = Zthresh + mod Z none (x ≥ c)c∈Z, (x± y ≥ c)c∈Z, (x = b mod a)0≤b<a Nthresh + mod N none (x ≥ c)c∈N, (x− y ≥ c)c∈N, (x = b mod a)0≤b<a Zmod Z none x± y ≥ 0, (x = b mod a)0≤b<a Nmod N none x− y ≥ 0, (x = b mod a)0≤b<a Zthresh Z none (x ≥ c)c∈Z, (x± y ≥ c)c∈Z Nthresh N none (x ≥ c)c∈N, (x− y ≥ c)c∈N Table 1. The different structures studied in this paper. are solved when substituting the additive group of rationals Q for the group of integers. In [6] the structure Nthresh + mod is not obtained as a reduction of the Presburger arithmetics but rather as an extension of the first order logic of the successor. A characterization is given but no decidability issue is tackled. Our main result is the following, cf. [2] and [1]. Theorem Given a relation over Z (resp. N) which is first order definable in Presburger Arithmetic, for each one of the structures of table 1 whose domain is Z (resp. N), it is recursively decidable whether or not this relation is first order definable in this structure. 2 The ingredients of the proof In this section we intend to give an idea of the ingredients for the proof of the main result. We concentrate on the two structures Z and Zthresh + mod. In other words we are given a relation in Z defined by a Z-formula with k free variables and we want to decide whether or not it is Z (resp. Zthresh + mod-) definable. The proof for the remaining structures does not require essentially different arguments. The following is the basic result on first order definable subsets in Presburger arithmetic, see [4, 3, 7]. Theorem 1. Given a subset X ⊆ Z (resp. X ⊆ N) the following conditions are equivalent 1. X is a finite union of Z-linear (resp. N-linear) subsets, i.e, of subsets of the form x0+Nx1+ · · ·+Nxn for some n ≥ 0 and some x0, x1, . . . xn ∈ Z (resp. N) 2. X is a finite union of Z-simple (resp. N-simple) subsets, i.e, of subsets of the form x0 + Nx1 + · · ·+ Nxn for some n ≥ 0 and some x0, x1, . . . xn ∈ Z (resp. N) which are linearly independent as Q-vectors. 3. X is first order definable in the structure 〈Z,=, <,+, 0, 1〉 (resp. 〈N,=, < ,+, 0, 1〉 ) Furthermore, there exists a procedure which converts one form into another 2.1 The case Zthresh + mod The Zthresh + mod-definable relations have a simple decomposition in terms of norm one vectors. Here is a precise definition. We consider the set {0, 1,−1} ∩ (Z −{0}) of (L∞-) norm one vectors and we provide it with a partial ordering by writing e ≥ f if the following condition holds: if the i-th component of f is nonzero, then f and e have the same i-th component. These vectors are not linearly independent, however we have the disjoint union
منابع مشابه
Rigid models of Presburger arithmetic
We present a description of rigid models of Presburger arithmetic (i.e., Z-groups). In particular, we show that Presburger arithmetic has rigid models of all infinite cardinalities up to the continuum, but no larger.
متن کاملAcceleration For Presburger Petri Nets
The reachability problem for Petri nets is a central problem of net theory. The problem is known to be decidable by inductive invariants definable in the Presburger arithmetic. When the reachability set is definable in the Presburger arithmetic, the existence of such an inductive invariant is immediate. However, in this case, the computation of a Presburger formula denoting the reachability set...
متن کاملBounding Quantification in Parametric Expansions of Presburger Arithmetic
Generalizing Cooper’s method of quantifier elimination for Presburger arithmetic, we give a new proof that all parametric Presburger families {St : t ∈ N} (as defined by Woods in [8]) are definable by formulas with polynomially bounded quantifiers in an expanded language with predicates for divisibility by f(t) for every polynomial f ∈ Z[t]. In fact, this quantifier bounding method works more g...
متن کاملDeciding whether a relation defined in Presburger logic can be defined in weaker logics
We consider logics on Z and N which are weaker than Presburger arithmetic and we settle the following decision problem: given a k-ary relation on Z and N which are first order definable in Presburger arithmetic, are they definable in these weaker logics? These logics, intuitively, are obtained by adding modulo and threshold counting predicates. 1991 Mathematics Subject Classification. 03B10, 68...
متن کاملApplications of Decision Algorithms for Presburger Arithmetic in Rewrite Automated Deduction
We present some slight improvements to a semi-decision algorithm for Presburger arithmetic originally developed by Shostak that increase the class of formulas eeectively decidable. Furthermore , we show how decision algorithms for Presburger arithmetic may be combined with conditional rewrite techniques for automated deduction in algebraic speciications presented by conditional equational claus...
متن کاملComplexity of Subcases of Presburger Arithmetic
We consider formula subclasses of Presburger arithmetic which have a simple structure in one sense or the other and investigate their computational complexity. We also prove some results on the lower bounds of lengths of formulas which are related to questions on quantifier elimination.
متن کامل