Skip to main content
QUICK REVIEW

[Paper Review] Regular graphs and the spectra of two-variable logic with counting

Eryk Kopczyński, Tony Tan|arXiv (Cornell University)|Apr 3, 2013
semigroups and automata theoryComputer Science35 references21 citations
TL;DR

This paper proves that the spectra of two-variable first-order logic with counting quantifiers ($\mathsf{C}^2$) are precisely the semilinear sets, meaning they are closed under complementation. The proof hinges on characterizing models of $\mathsf{C}^2$ formulas as collections of regular and biregular graphs, with spectra expressible via Presburger arithmetic, thereby establishing decidability and closure properties.

ABSTRACT

The {\em 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 spectra of first-order logic sentences are semilinear and hence, closed under complement. At the heart of our proof are semilinear characterisations 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 characterisation 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.

Motivation & Objective

  • To resolve the long-standing question of whether spectra of $\mathsf{C}^2$ logic are closed under complement.
  • To characterize the structure of finite models of $\mathsf{C}^2$ formulas in terms of regular and biregular graphs.
  • To show that the spectra of $\mathsf{C}^2$ sentences are semilinear sets, implying decidability and closure under complement.
  • To extend the understanding of first-order spectra beyond classical results, particularly in the context of restricted variable logic.
  • To provide a model-theoretic characterization of $\mathsf{C}^2$ models as unions of structured graphs with bounded degree constraints.

Proposed method

  • The proof constructs Presburger arithmetic formulas that precisely capture the spectra of $\mathsf{C}^2$ sentences by analyzing degree constraints in graph models.
  • It establishes that models of $\mathsf{C}^2$ formulas are unions of regular and biregular graphs, where vertex degrees are bounded and uniformly distributed.
  • It uses combinatorial graph-theoretic conditions—such as $Mc = Nd$ for biregular graphs—to derive semilinear conditions on model cardinalities.
  • It applies the theory of semilinear sets and Presburger arithmetic to show that the set of realizable cardinalities forms a semilinear set.
  • It partitions models into types based on local first-order types and defines degree matrices to describe edge distributions between types.
  • It generalizes the result to many-sorted spectra by considering images of structures under unary predicates, showing these images are also semilinear.

Experimental results

Research questions

  • RQ1Are the spectra of two-variable first-order logic with counting quantifiers closed under complementation?
  • RQ2Can the models of $\mathsf{C}^2$ formulas be characterized as unions of regular and biregular graphs?
  • RQ3Is the spectrum of every $\mathsf{C}^2$ sentence a semilinear set?
  • RQ4Can the image of a $\mathsf{C}^2$ formula under a tuple of unary predicates be expressed as a semilinear set?
  • RQ5Is the membership problem for $\mathsf{C}^2$ spectra decidable when combined with Presburger formulas?

Key findings

  • The spectra of $\mathsf{C}^2$ sentences are exactly the semilinear sets, which implies closure under complementation.
  • The models of any $\mathsf{C}^2$ formula are structurally equivalent to a disjoint union of regular and biregular graphs, up to renaming and extension of relation names.
  • The spectrum of a $\mathsf{C}^2$ sentence is definable in Presburger arithmetic, providing a decidable characterization.
  • The image of a $\mathsf{C}^2$ formula under any finite tuple of unary predicates is a semilinear set.
  • The problem of determining whether a given Presburger formula is satisfied by the image of some model of a $\mathsf{C}^2$ formula is decidable.
  • This result establishes $\mathsf{C}^2$ as the first logic with unrestricted vocabulary and interpretation whose spectra are closed under complement, resolving a long-standing open question in spectrum theory.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.