Papers
Topics
Authors
Recent
Search
2000 character limit reached

Local Presburger Quantifiers in Two-Variable Logics

Updated 8 July 2026
  • Local Presburger quantifiers are arithmetic-based devices that apply ultimately periodic constraints over guarded neighborhoods in two-variable relational and guarded logics.
  • They enable the expression of parity, threshold, and modular conditions while maintaining decidability by restricting counting to unary, ultimately periodic sets.
  • They support efficient decision procedures via graph-theoretic encodings and reductions to existential Presburger formulas, with complexity ranging from NP to EXP.

Local Presburger quantifiers are quantificational devices whose truth conditions are given by Presburger-definable arithmetic applied locally rather than by unrestricted global cardinality constraints. In two-variable relational logics, they constrain the number of guarded neighbors of an element by unary Presburger-definable sets, equivalently ultimately periodic sets; in guarded logics, they take the form of linear and modular constraints over counts of incoming and outgoing neighbors satisfying local formulas. A related, but distinct, usage appears in parametric Presburger arithmetic, where “local” refers to quantifiers bounded by parameter-dependent Presburger terms or guarded by linear equations rather than eliminated outright (Benedikt et al., 2020, Lu et al., 2022, Goodrick, 2016).

1. Semantic core and principal variants

The semantic core is Presburger arithmetic over additive structures, together with the fact that unary Presburger-definable subsets of N\mathbb{N} are exactly the ultimately periodic sets. For a set SNS \subseteq \mathbb{N}, two equivalent descriptions are standard: a finite union of linear sets a+pNa+p\mathbb{N}, and the existence of N,p1N,p \ge 1 such that for all nNn \ge N, nSn+pSn \in S \Leftrightarrow n+p \in S. In the two-variable setting this yields counting quantifiers Sxφ\exists^{S}x\,\varphi, interpreted by

MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,

with the extension to \infty also admitted (Benedikt et al., 2020).

In guarded two-variable logics, the local Presburger quantifier is a linear or modular constraint over guarded neighbor counts. Its general form is

P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],

where each guard SNS \subseteq \mathbb{N}0 is either SNS \subseteq \mathbb{N}1 or SNS \subseteq \mathbb{N}2, and

SNS \subseteq \mathbb{N}3

Thus the quantifier does not count arbitrary tuples; it counts only the guarded neighborhood of the current element SNS \subseteq \mathbb{N}4 (Lu et al., 2022).

A second notion of locality appears in parametric Presburger arithmetic. There, local quantifiers are quantifiers whose range is bounded by parameter-dependent functions, for example

SNS \subseteq \mathbb{N}5

with SNS \subseteq \mathbb{N}6 supplied by the ambient ring of functions. This is a locality of bounded range rather than neighborhood counting (Goodrick, 2016).

Setting Local form Representative result
SNS \subseteq \mathbb{N}7 SNS \subseteq \mathbb{N}8 satisfiability and finite satisfiability are decidable; spectra are Presburger-definable (Benedikt et al., 2020)
SNS \subseteq \mathbb{N}9 / guarded two-variable logic linear or modular constraints over a+pNa+p\mathbb{N}0 satisfiability is EXP-complete (Lu et al., 2022)
Parametric Presburger arithmetic a+pNa+p\mathbb{N}1-bounded quantifiers every first-order a+pNa+p\mathbb{N}2-formula is equivalent to one with a+pNa+p\mathbb{N}3-bounded quantifiers (Goodrick, 2016)

2. Two-variable logic with ultimately periodic counting

In the relational two-variable framework, local Presburger quantifiers arise in the logic denoted a+pNa+p\mathbb{N}4, which extends a+pNa+p\mathbb{N}5 by quantifiers a+pNa+p\mathbb{N}6 for ultimately periodic a+pNa+p\mathbb{N}7. After reduction to unary and binary relational symbols and elimination of constants via fresh unary predicates marking unique elements, every sentence is effectively transformed to Scott normal form

a+pNa+p\mathbb{N}8

where a+pNa+p\mathbb{N}9 is quantifier-free, each N,p1N,p \ge 10 is atomic, and each N,p1N,p \ge 11 is an ultimately periodic set. In this form, the counting is explicitly local around each element N,p1N,p \ge 12: it counts neighbors related to N,p1N,p \ge 13 by an atomic relation and constrains that count to lie in N,p1N,p \ge 14 (Benedikt et al., 2020).

This local viewpoint yields the main decidability and spectrum results. For every N,p1N,p \ge 15 sentence N,p1N,p \ge 16, there are effectively computable existential Presburger sentences N,p1N,p \ge 17 and N,p1N,p \ge 18 such that N,p1N,p \ge 19 has a finite or infinite model iff nNn \ge N0 holds in nNn \ge N1, and nNn \ge N2 has a finite model iff nNn \ge N3 holds in nNn \ge N4. The spectrum

nNn \ge N5

is definable by an existential Presburger formula nNn \ge N6, and an analogous nNn \ge N7 describes finite-or-countably-infinite model sizes (Benedikt et al., 2020).

The expressive gain over ordinary two-variable counting is substantial but controlled. nNn \ge N8 can express parity conditions such as “every vertex has even degree,” using nNn \ge N9, and threshold conditions such as “at least nSn+pSn \in S \Leftrightarrow n+p \in S0 neighbors,” using nSn+pSn \in S \Leftrightarrow n+p \in S1. The paper explicitly notes that nSn+pSn \in S \Leftrightarrow n+p \in S2 can express parity, which nSn+pSn \in S \Leftrightarrow n+p \in S3 cannot, while remaining within two-variable relational logic without function symbols. At the same time, the method is limited to unary, ultimately periodic counting sets. Allowing general semilinear conditions over tuples with arity nSn+pSn \in S \Leftrightarrow n+p \in S4 leads to undecidability (Benedikt et al., 2020).

Complexity reflects the cost of enumerating local behaviors. Satisfiability and finite satisfiability are both in nSn+pSn \in S \Leftrightarrow n+p \in S5-NEXPTIME; the blow-up comes from the exponential number of nSn+pSn \in S \Leftrightarrow n+p \in S6-types and nSn+pSn \in S \Leftrightarrow n+p \in S7-types and doubly exponential many local “behaviors” nSn+pSn \in S \Leftrightarrow n+p \in S8. Data complexity, with the sentence fixed and ground facts as input, is NP in the size of the fact set (Benedikt et al., 2020).

3. Guarded local Presburger constraints

In the guarded two-variable setting, locality is enforced by the guard relation itself. The guarded fragment nSn+pSn \in S \Leftrightarrow n+p \in S9 can be extended with local Presburger quantifiers so that counts are taken only over Sxφ\exists^{S}x\,\varphi0-successors or Sxφ\exists^{S}x\,\varphi1-predecessors of the current element. This allows constraints such as

Sxφ\exists^{S}x\,\varphi2

which formalizes “the number of incoming blue edges plus twice the number of outgoing red edges is at most three times the number of incoming green edges” (Lu et al., 2022).

A normal form is available. Any Sxφ\exists^{S}x\,\varphi3 sentence can be converted in linear time to an equisatisfiable sentence

Sxφ\exists^{S}x\,\varphi4

where Sxφ\exists^{S}x\,\varphi5 is quantifier-free, each Sxφ\exists^{S}x\,\varphi6 is a guarded binary implication, each Sxφ\exists^{S}x\,\varphi7 is atomic, and each Sxφ\exists^{S}x\,\varphi8 is an LPQ in basic form. Universal and existential guarded quantification are themselves expressible by LPQs:

Sxφ\exists^{S}x\,\varphi9

MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,0

LPQs can also detect infinite branching by formulas such as

MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,1

which holds exactly when the MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,2-neighborhood of MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,3 is infinite (Lu et al., 2022).

The guarded framework is also where the contrast with percentage quantifiers becomes sharp. Local percentage constraints are definable by Presburger equations, for example

MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,4

so exact local percentages are subsumed by local Presburger arithmetic. Nevertheless, the guarded-fragment analysis distinguishes two regimes: local percentage quantifiers make finite satisfiability undecidable already for MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,5, whereas MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,6 extended with local Presburger quantifiers remains decidable (Bednarczyk et al., 2021).

The known upper bounds differ by method. One reduction-based analysis for MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,7 with local Presburger constraints gives a MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,8NExpTime upper bound by translating local Presburger conditions to semilinear sets and then reducing to MSxφaS: {uM:Mφ[u]}=a,M \models \exists^S x\,\varphi \quad\Leftrightarrow\quad \exists a \in S:\ |\{u \in M : M \models \varphi[u]\}| = a,9 with counting (Bednarczyk et al., 2021). A later graph-based analysis of the two-variable guarded fragment with expressive local Presburger constraints establishes that satisfiability is EXP-complete (Lu et al., 2022).

These guarded quantifiers capture description-logical and modal formalisms with inverse roles or converse modalities. The guarded-fragment treatment yields decidability for Presburger modal logics with converse and for \infty0-style description logics with expressive local cardinality constraints, while the \infty1 treatment is stated to capture various description logics with counting, including \infty2 and \infty3, but without constant symbols (Bednarczyk et al., 2021, Lu et al., 2022).

4. Decision procedures and graph-theoretic encodings

The principal algorithmic techniques reduce local Presburger quantification to finite combinatorial objects plus Presburger feasibility. In \infty4, the central method is the biregular graph method. One enumerates all unary \infty5-types \infty6 and binary \infty7-types \infty8, and then partitions the domain into classes \infty9, where P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],0 is a P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],1-type and P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],2 is a “good” behavior recording, for each direction, P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],3-type, and target P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],4-type, a value in

P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],5

Good behaviors are exactly those satisfying the local Presburger constraints demanded by the sets P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],6. The induced same-type digraphs and cross-type bipartite graphs are then summarized by degree matrices P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],7, and feasibility is expressed by existential Presburger constraints

P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],8

where P(x):=i=1nλi#yri[φi(x,y)]  δ+i=1mκi#ysi[ψi(x,y)],\mathcal P(x):= \sum_{i=1}^n \lambda_i \cdot \#_y^{\,r_i}[\varphi_i(x,y)] \ \circledast\ \delta + \sum_{i=1}^m \kappa_i \cdot \#_y^{\,s_i}[\psi_i(x,y)],9 zeroes incompatible type-behavior combinations and SNS \subseteq \mathbb{N}00 invokes formulas SNS \subseteq \mathbb{N}01 and SNS \subseteq \mathbb{N}02 characterizing complete regular digraphs and biregular bipartite graphs. This yields the spectrum formula

SNS \subseteq \mathbb{N}03

which witnesses Presburger-definability of spectra (Benedikt et al., 2020).

The guarded-fragment graph method uses a different abstraction. For a normal-form sentence SNS \subseteq \mathbb{N}04, one constructs a graph SNS \subseteq \mathbb{N}05 whose vertices are the unary types compatible with SNS \subseteq \mathbb{N}06 and whose edges are compatible configurations SNS \subseteq \mathbb{N}07, where SNS \subseteq \mathbb{N}08 is a binary type between source type SNS \subseteq \mathbb{N}09 and target type SNS \subseteq \mathbb{N}10. For each vertex SNS \subseteq \mathbb{N}11 and each LPQ SNS \subseteq \mathbb{N}12, one writes a local linear constraint SNS \subseteq \mathbb{N}13 over variables SNS \subseteq \mathbb{N}14 that count neighbors of configuration SNS \subseteq \mathbb{N}15. For each edge SNS \subseteq \mathbb{N}16, one forms a system SNS \subseteq \mathbb{N}17 consisting of the realization requirement SNS \subseteq \mathbb{N}18 together with all SNS \subseteq \mathbb{N}19 relevant to SNS \subseteq \mathbb{N}20. An edge is bad if SNS \subseteq \mathbb{N}21 has no solution over SNS \subseteq \mathbb{N}22; a vertex is bad if it has no outgoing edges and its local LPQs are not satisfied by the zero solution. A non-empty symmetric subgraph with no bad edges or bad vertices is a good subgraph, and satisfiability is equivalent to the existence of such a good subgraph (Lu et al., 2022).

The corresponding algorithm repeatedly deletes bad edges and their inverses, then deletes bad vertices, and accepts iff the resulting graph is non-empty. Its complexity analysis is explicit: it uses a quantifier-free Presburger solver as a black box, the number of calls is bounded by SNS \subseteq \mathbb{N}23 when SNS \subseteq \mathbb{N}24 and SNS \subseteq \mathbb{N}25 are the numbers of unary and binary predicates, and checking a system SNS \subseteq \mathbb{N}26 has a solution over SNS \subseteq \mathbb{N}27 can be done in nondeterministic polynomial time by sparse-solution bounds derived from Carathéodory-type results (Lu et al., 2022).

A different guarded-fragment procedure converts local Presburger constraints into semilinear sets using Ginsburg–Spanier-style representation, then encodes degree vectors by SNS \subseteq \mathbb{N}28 counting formulas. There the critical move is to replace each local count by a sum of degrees over those SNS \subseteq \mathbb{N}29-types containing the relevant guard relation and satisfying the relevant local condition (Bednarczyk et al., 2021).

5. Expressiveness and boundary phenomena

Local Presburger quantifiers are expressive enough to capture parity, congruence, thresholds, differences of guarded counts, and mixed in/out-degree conditions. In SNS \subseteq \mathbb{N}30, parity is expressed by an ultimately periodic set such as SNS \subseteq \mathbb{N}31 and thresholds by sets such as SNS \subseteq \mathbb{N}32 (Benedikt et al., 2020). In guarded logics, modulo constraints and weighted sums are primitive, so one can require, for instance, an even number of SNS \subseteq \mathbb{N}33-successors, a unique SNS \subseteq \mathbb{N}34-self-loop, or a prescribed linear relation between incoming and outgoing colored edges (Lu et al., 2022).

The principal misconception is that “local” Presburger arithmetic is uniformly benign. The literature instead identifies a narrow decidable boundary. In SNS \subseteq \mathbb{N}35, the methods target only unary, ultimately periodic counting sets, and the paper explicitly states that allowing general semilinear conditions over tuples with SNS \subseteq \mathbb{N}36 inside two-variable logic leads to undecidability (Benedikt et al., 2020). In guarded logics, local Presburger arithmetic remains decidable in the two-variable guarded fragment, but local percentage quantifiers make finite satisfiability undecidable in SNS \subseteq \mathbb{N}37 and already in SNS \subseteq \mathbb{N}38 (Bednarczyk et al., 2021). In Presburger arithmetic over SNS \subseteq \mathbb{N}39, the move from unary to non-unary counting is likewise non-trivial: the full logic with non-unary modulo-, threshold-, and exact-counting quantifiers is decidable in two-fold exponential space, the threshold/exact-only fragment is in alternating two-fold exponential time with linearly many alternations, but the non-unary Härtig quantifier yields undecidability because it defines multiplication (Habermehl et al., 2022).

This boundary behavior explains why locality is usually paired with either unary ultimately periodic sets or guarded neighborhood counts. A plausible implication is that the successful cases all enforce a one-step decomposition of counting into types, neighborhoods, or bounded parameter intervals, while the unsuccessful cases admit cardinality interactions strong enough to encode multiplication or unrestricted equicardinality.

A broader Presburger tradition uses “local” for bounded or guarded quantification internal to arithmetic itself. In parametric expansions of Presburger arithmetic, Goodrick generalized Cooper’s method by proving that every first-order SNS \subseteq \mathbb{N}40-formula is logically equivalent to an SNS \subseteq \mathbb{N}41-formula with SNS \subseteq \mathbb{N}42-bounded quantifiers, where the bounds are terms SNS \subseteq \mathbb{N}43 from the ambient ring of functions. Full quantifier elimination fails in general, so bounded quantifiers become the local replacement for elimination (Goodrick, 2016).

In one-parametric Presburger arithmetic, quantifier elimination is obtained in an extended language with all integer division functions SNS \subseteq \mathbb{N}44 for SNS \subseteq \mathbb{N}45. The elimination procedure localizes quantified search to bounded witnesses, base-SNS \subseteq \mathbb{N}46 digits, and sign cases for parameter polynomials, and yields that satisfiability for the existential fragment is in NP and that the smallest solution to a satisfiable formula has polynomial bit size (Mansutti et al., 30 Jun 2025).

Interpolation theory supplies a guarded version even closer to the neighborhood-logic usage. In Presburger arithmetic with uninterpreted predicates or functions, the fragment PAID allows guarded quantifiers only of the forms

SNS \subseteq \mathbb{N}47

with SNS \subseteq \mathbb{N}48. These are local because the guard isolates at most one integer witness. They can be rewritten using divisibility and integer division:

SNS \subseteq \mathbb{N}49

SNS \subseteq \mathbb{N}50

This fragment is closed under interpolation for the predicate and function extensions considered there (Brillout et al., 2010).

Recent quantifier-elimination work on Presburger arithmetic formulates locality as an affine small-witness property. For systems SNS \subseteq \mathbb{N}51, if a parameter instantiation SNS \subseteq \mathbb{N}52 admits any integral witness SNS \subseteq \mathbb{N}53, then there exists one of the form

SNS \subseteq \mathbb{N}54

where SNS \subseteq \mathbb{N}55 and SNS \subseteq \mathbb{N}56 have bounded size depending only on the quantified block matrix SNS \subseteq \mathbb{N}57. Truth of the existential formula then depends only on finitely many such affine “local shapes” together with bounded residue information (Haase et al., 2024).

Taken together, these strands show that the phrase “local Presburger quantifier” names a family resemblance rather than a single formalism. In relational two-variable logics it denotes Presburger arithmetic on guarded neighborhoods; in parametric Presburger arithmetic it denotes bounded or guarded ranges; and in interpolation and efficient elimination it denotes quantifiers reducible to single guarded arithmetic witnesses. Across these settings, locality is the mechanism that preserves decidability while retaining linear and modular arithmetic expressive power.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Local Presburger Quantifiers.