• Home
  • Search
  • Complexity Results for First-Order Two-Variable Logic with Counting
  • Cite Icon70
  • https://doi.org/10.1137/s0097539797323005Copy DOI Icon

Complexity Results for First-Order Two-Variable Logic with Counting

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Let $C^2_p$ denote the class of first-order sentences with two variables and with additional quantifiers exists exactly (at most, at least) $i$ for $i\leq p$, and let $C^2$ be the union of $C^2_p$ taken over all integers $p$. We prove that the satisfiability problem for $C^2_1$ sentences is NEXPTIME-complete. This strengthens the results by [E. Gradel, Ph. Kolaitis, and M. Vardi, Bull. Symbolic Logic, 3 (1997), pp. 53--69], who showed that the satisfiability problem for the first-order two-variable logic $L^2$ is NEXPTIME-complete and by [E. Gradel, M. Otto, and E. Rosen, 12th Annual IEEE Symposium on Logic in Computer Science, 1997, pp. 306--317], who proved the decidability of $C^2$. Our result easily implies that the satisfiability problem for $C^2$ is in nondeterministic, doubly exponential time. It is interesting that $C^2_1$ is in NEXPTIME in spite of the fact that there are sentences whose minimal (and only) models are of doubly exponential size. It is worth noticing that by a recent result of [E. Gradel, M. Otto, and E. Rosen, Proceedings of 14th Annual Symposium on Theoretical Aspects of Computer Science, Lecture Notes in Comput. Sci. 1200, Springer-Verlag, Berlin, 1997], extensions of two-variable logic $L^2$ by a weak access to cardinalities through the Hartig (or equicardinality) quantifier is undecidable. The same is true for extensions of $L^2$ by very weak forms of recursion. The satisfiability problem for logics with a bounded number of variables has applications in artificial intelligence, notably in modal logics (see, e.g., [W. van der Hoek and M. De Rijke, J. Logic Comput., 5 (1995), pp. 325--345]), where counting comes in the context of graded modalities and in description logics, where counting can be used to express so-called number restrictions (see, e.g., [A. Borgida, Artificial Intelligence, 82 (1996), pp. 353--367]).

Similar Papers
  • Research Article
  • Citations143

On logics with two variables

  • Aug 01, 1999
  • Theoretical Computer Science
  • Erich Grädel +1
  • Research Article
  • Citations5

Count-free Weisfeiler–Leman and group isomorphism

  • Apr 03, 2024
  • International Journal of Algebra and Computation
  • Nathaniel A Collins +1
  • Research Article
  • Citations1275

The NP-Completeness of Edge-Coloring

  • Nov 01, 1981
  • SIAM Journal on Computing
  • Ian Holyer
  • Research Article
  • Citations60

A new model for selfish routing

  • Jul 01, 2008
  • Theoretical Computer Science
  • Thomas Lücking +3
  • Book Chapter
  • Citations15

Ten Problems of Deontic Logic and Normative Reasoning in Computer Science

  • Jan 01, 2012
  • Jan Broersen +1
  • Research Article
  • Citations26

Characterizing the NP-PSPACE Gap in the Satisfiability Problem for Modal Logic

  • Jun 04, 2007
  • Journal of Logic and Computation
  • J Y Halpern +1
  • Research Article
  • Citations6

Deterministic monotone algorithms for scheduling on related machines

  • Jul 01, 2008
  • Theoretical Computer Science
  • Pasquale Ambrosio +1
  • Book Chapter
  • Citations8

A Translation of Looping Alternating Automata into Description Logics

  • Jan 01, 2003
  • Jan Hladik +1
  • Dissertation

Logical Challenges in Artificial General Intelligence

  • Nov 16, 2025
  • Ruoding Wang
  • Research Article
  • Citations1

The role of artificial intelligence in enhancing biology education: A bibliometric perspective

  • Jun 26, 2025
  • BIO-INOVED : Jurnal Biologi-Inovasi Pendidikan
  • Arinda Eka Lidiastuti +4
  • Research Article
  • Citations45

The minimum broadcast range assignment problem on linear multi-hop wireless networks

  • Mar 11, 2003
  • Theoretical Computer Science
  • Andrea E.F Clementi +2
  • Research Article
  • Citations8

Planar Polyline Drawings via Graph Transformations

  • Aug 15, 2008
  • Algorithmica
  • Huaming Zhang
  • Discussion

New owner for Northern Pump

  • Apr 01, 2003
  • Pump Industry Analyst
  • Research Article
  • Citations11

The complexity of shortest path and dilation bounded interval routing

  • Mar 01, 2000
  • Theoretical Computer Science
  • Rastislav Kráľovič +2
  • PDF
  • Front Matter

Preface

  • Nov 01, 2021
  • Journal of Physics: Conference Series
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.