Skip to main content
Log in

Equivalence in Finite-Variable Logics is Complete for Polynomial Time

  • Original Paper
  • Published:
Combinatorica Aims and scope Submit manuscript

of first-order logic whose formulas contain at most k variables (for some ). We show that for each , equivalence in the logic is complete for polynomial time. Moreover, we show that the same completeness result holds for the powerful extension of with counting quantifiers (for every ).

The k-dimensional Weisfeiler–Lehman algorithm is a combinatorial approach to graph isomorphism that generalizes the naive color-refinement method (for ). Cai, Fürer and Immerman [6] proved that two finite graphs are equivalent in the logic if, and only if, they can be distinguished by the k-dimensional Weisfeiler-Lehman algorithm. Thus a corollary of our main result is that the question of whether two finite graphs can be distinguished by the k-dimensional Weisfeiler–Lehman algorithm is P-complete for each .

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: March 23, 1998

Rights and permissions

Reprints and permissions

About this article

Cite this article

Grohe, M. Equivalence in Finite-Variable Logics is Complete for Polynomial Time. Combinatorica 19, 507–532 (1999). https://doi.org/10.1007/s004939970004

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s004939970004

Navigation