{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,25]],"date-time":"2026-09-25T13:43:25Z","timestamp":1790343805038,"version":"4.1.0"},"reference-count":36,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"3","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2015,1]]},"abstract":"<jats:p>The spectrum of a first-order logic sentence is the set of natural numbers that are cardinalities of its finite models. In this paper we show that when restricted to using only two variables, but allowing counting quantifiers, the class of spectra of first-order logic sentences is exactly the class of semilinear sets and, hence, closed under complement. At the heart of our proof are semilinear characterizations for the existence of regular and biregular graphs, the class of graphs in which there are a priori bounds on the degrees of the vertices. Our proof also provides a simple characterization of models of two-variable logic with counting---that is, up to renaming and extending the relation names, they are simply a collection of regular and biregular graphs.<\/jats:p>","DOI":"10.1137\/130943625","type":"journal-article","created":{"date-parts":[[2015,6,18]],"date-time":"2015-06-18T14:19:51Z","timestamp":1434637191000},"page":"786-818","source":"Crossref","is-referenced-by-count":8,"title":["Regular Graphs and the Spectra of Two-Variable Logic with Counting"],"prefix":"10.1137","volume":"44","author":[{"given":"Eryk","family":"Kopczy\u0144ski","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tony","family":"Tan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2015,6,18]]},"reference":[{"key":"atypb1","doi-asserted-by":"publisher","DOI":"10.1002\/malq.19550010403"},{"key":"atypb2","doi-asserted-by":"crossref","unstructured":"A. Durand, R. Fagin, and B. Loescher,\n                      Spectra with only unary function symbols\n                      , in Proceedings of the Annual Conference of the European Association for Computer Science Logic, CSL '97, University of Aarhus, Aarhus, Denmark, 1997.","DOI":"10.1007\/BFb0028015"},{"key":"atypb3","doi-asserted-by":"publisher","DOI":"10.2178\/bsl.1804020"},{"key":"atypb4","unstructured":"R. Fagin,\n                      Contributions to the Model Theory of Finite Structures\n                      , Ph.D. thesis, University of California, Berkeley, Berkeley, CA, 1973."},{"key":"atypb5","first-page":"43","author":"Fagin R.","year":"1974","journal-title":"Philadelphia"},{"key":"atypb6","doi-asserted-by":"publisher","DOI":"10.2178\/jsl\/1096901758"},{"key":"atypb7","doi-asserted-by":"publisher","DOI":"10.2140\/pjm.1966.16.285"},{"key":"atypb8","first-page":"393","author":"Gr\u00e4del E.","year":"2001","journal-title":"Singapore"},{"key":"atypb9","doi-asserted-by":"publisher","DOI":"10.2307\/421196"},{"key":"atypb10","doi-asserted-by":"publisher","DOI":"10.1016\/S0304-3975(98)00308-9"},{"key":"atypb11","doi-asserted-by":"crossref","unstructured":"E. Gr\u00e4del, M. Otto, and E. Rosen,\n                      Two-variable logic with counting is decidable\n                      , in Proceedings of the 12th Annual IEEE Symposium on Logic in Computer Science, 1997, IEEE Computer Society, Los Alamitos, CA, 1997, pp. 306-317.","DOI":"10.1109\/LICS.1997.614957"},{"key":"atypb12","doi-asserted-by":"publisher","DOI":"10.1137\/0213025"},{"key":"atypb13","doi-asserted-by":"publisher","DOI":"10.1007\/BF01699468"},{"key":"atypb14","doi-asserted-by":"publisher","DOI":"10.1016\/0022-0000(90)90009-A"},{"key":"atypb15","doi-asserted-by":"crossref","unstructured":"Y. Gurevich and S. Shelah,\n                      Spectra of monadic second-order formulas with one unary function\n                      , in Proceedings of the 18th Annual IEEE Symposium on Logic in Computer Science, 2003, IEEE Computer Society, Los Alamitos, CA, 2003, pp. 291-300.","DOI":"10.1109\/LICS.2003.1210069"},{"key":"atypb16","doi-asserted-by":"publisher","DOI":"10.1137\/0110037"},{"key":"atypb17","doi-asserted-by":"publisher","DOI":"10.2307\/2272354"},{"key":"atypb18","doi-asserted-by":"crossref","unstructured":"E. Kieronski, J. Michaliszyn, I. Pratt-Hartmann, and L. Tendera,\n                      Two-variable first-order logic with equivalence closure\n                      , in 27th Annual IEEE Symposium on Logic in Computer Science, 2012, Dubrovnik, Croatia, IEEE Computer Society, Los Alamitos, CA, 2012, pp. 431-440.","DOI":"10.1109\/LICS.2012.53"},{"key":"atypb19","first-page":"267","author":"Kosaraju S.","year":"1982","journal-title":"New York"},{"key":"atypb20","doi-asserted-by":"publisher","DOI":"10.1007\/BF02476378"},{"key":"atypb21","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-6(3:22)2010"},{"key":"atypb22","first-page":"247","author":"Lutz C.","year":"2001","journal-title":"Berlin"},{"key":"atypb23","doi-asserted-by":"publisher","DOI":"10.1007\/BF01786976"},{"key":"atypb24","doi-asserted-by":"publisher","DOI":"10.1137\/0213029"},{"key":"atypb25","doi-asserted-by":"publisher","DOI":"10.1002\/malq.19750210118"},{"key":"atypb26","doi-asserted-by":"crossref","unstructured":"M. Otto,\n                      Bounded Variable Logics and Counting - A Study in Finite Models\n                      , Lect. Notes Log. 9, Springer-Verlag, Berlin, 1997.","DOI":"10.1007\/978-3-662-21676-7"},{"key":"atypb27","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539797323005"},{"key":"atypb28","doi-asserted-by":"publisher","DOI":"10.1007\/s10849-005-5791-1"},{"key":"atypb29","doi-asserted-by":"crossref","unstructured":"I. Pratt-Hartmann,\n                      Logics with counting and equivalence\n                      , in CSL-LICS 2014, ACM, New York, 76.","DOI":"10.1145\/2603088.2603117"},{"key":"atypb30","doi-asserted-by":"publisher","DOI":"10.1002\/malq.19720180102"},{"key":"atypb31","doi-asserted-by":"publisher","DOI":"10.2307\/2266243"},{"key":"atypb32","first-page":"317","author":"Szwast W.","year":"2013","journal-title":"Wadern"},{"key":"atypb33","unstructured":"G. van den Broeck, W. Meert, and A. Darwiche,\n                      Skolemization for weighted first-order model counting\n                      , in Proceedings of the 14th International Conference on Principles of Knowledge Representation and Reasoning (KR 2014), Association for the Advancement of Artificial Intelligence, Palo Alto, 2014."},{"key":"atypb34","first-page":"149","author":"Vardi M.","year":"1996","journal-title":"RI"},{"key":"atypb35","unstructured":"A. Woods,\n                      Some Problems in Logic and Number Theory and their Connections\n                      , Ph.D. thesis, University of Manchester, Manchester, England, 1981."},{"key":"atypb36","doi-asserted-by":"publisher","DOI":"10.1137\/0207018"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/130943625","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T19:04:11Z","timestamp":1787339051000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/130943625"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,1]]},"references-count":36,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2015,1]]}},"alternative-id":["10.1137\/130943625"],"URL":"https:\/\/doi.org\/10.1137\/130943625","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2015,1]]}}}