{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,20]],"date-time":"2026-09-20T22:11:41Z","timestamp":1789942301751,"version":"4.0.1"},"reference-count":37,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"4","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2000,1]]},"abstract":"<jats:p>Let $C^2_p$ denote the class of first-order sentences with two variables and with additional quantifiers \"there 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. Gr\u00e4del, 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. Gr\u00e4del, 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.<\/jats:p>\n                  <jats:p>It is worth noticing that by a recent result of [E. Gr\u00e4del, 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 H\u00e4rtig (or equicardinality) quantifier is undecidable. The same is true for extensions of $L^2$ by very weak forms of recursion.<\/jats:p>\n                  <jats:p>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]).<\/jats:p>","DOI":"10.1137\/s0097539797323005","type":"journal-article","created":{"date-parts":[[2003,6,11]],"date-time":"2003-06-11T11:12:06Z","timestamp":1055329926000},"page":"1083-1117","source":"Crossref","is-referenced-by-count":32,"title":["Complexity Results for First-Order Two-Variable Logic with Counting"],"prefix":"10.1137","volume":"29","author":[{"given":"Leszek","family":"Pacholski","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"WiesL aw","family":"Szwast","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lidia","family":"Tendera","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,27]]},"reference":[{"key":"R1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01448869"},{"key":"R2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01565424"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"Harry Lewis, Complexity of solvable cases of the decision problem for the predicate calculus, IEEE, Long Beach, Calif., 1978, 35\u20134780e:03041","DOI":"10.1109\/SFCS.1978.9"},{"key":"R4","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-7908-1854-3"},{"key":"R5","doi-asserted-by":"publisher","DOI":"10.1007\/BF01459101"},{"key":"R6","first-page":"473","volume":"4","author":"Bondy J.","year":"1969","journal-title":"Studia Sci. Math. Hungar."},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-59207-2"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1016\/0004-3702(96)00004-5"},{"key":"R9","unstructured":"B. Dreben and W. Goldfarb,\n                      The Decision Problem: Solvable Classes of Quantificational Formulas\n                      , Addison\u2010Wesley, Reading, MA, 1979."},{"key":"R10","doi-asserted-by":"publisher","DOI":"10.4064\/fm-49-2-129-141"},{"key":"R11","first-page":"27","volume":"2","author":"G\u00f6del K.","year":"1932","journal-title":"Ergebnisse eines mathematischen Kolloquiums"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1007\/BF01708881"},{"key":"R13","unstructured":"W. Goldfarb,\n                      On Decision Problems for Quantification Theory\n                      , Ph.D. thesis, Harvard University, Cambridge, MA, 1974. The abstract appears in Notices Amer. Math. Soc., 21 (1974), p. 280."},{"key":"R14","doi-asserted-by":"publisher","DOI":"10.2307\/2274274"},{"key":"R15","doi-asserted-by":"publisher","DOI":"10.2307\/421196"},{"key":"R16","doi-asserted-by":"crossref","unstructured":"E. Gr\u00e4del, M. Otto, and E. Rosen,\n                      Two\u2010variable logic with counting is decidable\n                      , in 12th Annual IEEE Symposium on Logic in Computer Science, Warsaw, Poland, 1997, pp. 306\u2013317.","DOI":"10.1109\/LICS.1997.614957"},{"key":"R17","doi-asserted-by":"publisher","DOI":"10.1007\/s001530050130"},{"key":"R18","doi-asserted-by":"publisher","DOI":"10.1017\/S0022481200051513"},{"key":"R19","doi-asserted-by":"crossref","unstructured":"Y. Gurevich,\n                      On the classical decision problem\n                      , in Current Trends in Theoretical Computer Science, G. Rosenberd, and A. Salomaa, eds., World Scientific, River Edge, NJ, 1993, pp. 254\u2013265.","DOI":"10.1142\/9789812794499_0020"},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.2307\/2273674"},{"key":"R21","doi-asserted-by":"publisher","DOI":"10.1112\/jlms\/s1-10.37.26"},{"key":"R22","doi-asserted-by":"publisher","DOI":"10.1093\/logcom\/5.3.325"},{"key":"R23","doi-asserted-by":"publisher","DOI":"10.2307\/2272354"},{"key":"R24","doi-asserted-by":"publisher","DOI":"10.1007\/BF01452848"},{"key":"R25","volume-title":"Unsolvable classes of quantificational formulas","author":"Lewis Harry","year":"1979"},{"key":"R26","doi-asserted-by":"publisher","DOI":"10.2307\/2273045"},{"key":"R27","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(80)90027-6"},{"key":"R28","doi-asserted-by":"publisher","DOI":"10.1002\/malq.19750210118"},{"key":"R29","doi-asserted-by":"crossref","unstructured":"L. Pacholski, W. Szwast, and L. Tendera,\n                      Complexity of two\u2010variable logic with counting\n                      , in 12th Annual IEEE Symposium on Logic in Computer Science, Warsaw, Poland, 1997, pp. 318\u2013327.","DOI":"10.1109\/LICS.1997.614958"},{"key":"R30","first-page":"1","volume":"141","author":"Rabin Michael","year":"1969","journal-title":"Trans. Amer. Math. Soc."},{"key":"R31","first-page":"477","volume":"27","author":"Scott D.","year":"1962","journal-title":"J. Symbolic Logic","ISSN":"https:\/\/id.crossref.org\/issn\/0022-4812","issn-type":"print"},{"key":"R32","doi-asserted-by":"publisher","DOI":"10.1007\/BF02759780"},{"key":"R33","first-page":"37","volume":"3","author":"Skolem T.","year":"1919","journal-title":"Skrifter utgit au Vidensk. i Kristiania I, Math.\u2010nat. Klasse"},{"key":"R34","volume":"4","author":"Skolem T.","year":"1920","journal-title":"Norsk Vid\u2010Akad. Oslo Mat.\u2010Natur Kl. Skr."},{"key":"R35","first-page":"125","volume":"106","author":"Skolem T.","year":"1928","journal-title":"Norsk Mat. Tidsskrift"},{"key":"R36","unstructured":"W. Szwast and L. Tendera,\n                      First\u2010Order Two\u2010Variable Logic Is in NEXPTIME\n                      , manuscript."},{"key":"R37","unstructured":"H. Wang,\n                      Dominoes and the \u2200\u2203\u2200\u2010case of the decision problem\n                      , in Proceedings Symposium on Mathematical Theory of Automata, New York, Brooklyn Polytechnic Institute, 1962, pp. 23\u201355."}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539797323005","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:13:18Z","timestamp":1787335998000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539797323005"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2000,1]]},"references-count":37,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2000,1]]}},"alternative-id":["10.1137\/S0097539797323005"],"URL":"https:\/\/doi.org\/10.1137\/s0097539797323005","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2000,1]]}}}