English

Logical Characterizations of Weighted Complexity Classes

Logic 2024-05-01 v2

Abstract

Fagin's seminal result characterizing NP\mathsf{NP} in terms of existential second-order logic started the fruitful field of descriptive complexity theory. In recent years, there has been much interest in the investigation of quantitative (weighted) models of computations. In this paper, we start the study of descriptive complexity based on weighted Turing machines over arbitrary semirings. We provide machine-independent characterizations (over ordered structures) of the weighted complexity classes NP[S],FP[S]\mathsf{NP}[\mathcal{S}], \mathsf{FP}[\mathcal{S}], FPLOG[S]\mathsf{FPLOG}[\mathcal{S}], FPSPACE[S]\mathsf{FPSPACE}[\mathcal{S}], and FPSPACEpoly[S]\mathsf{FPSPACE}_{poly}[\mathcal{S}] in terms of definability in suitable weighted logics for an arbitrary semiring S\mathcal{S}. In particular, we prove weighted versions of Fagin's theorem (even for arbitrary structures, not necessarily ordered, provided that the semiring is idempotent and commutative), the Immerman--Vardi's theorem (originally for P\mathsf{P}) and the Abiteboul--Vianu--Vardi's theorem (originally for PSPACE\mathsf{PSPACE}). We also address a recent open problem proposed by Eiter and Kiesel.

Keywords

Cite

@article{arxiv.2404.17784,
  title  = {Logical Characterizations of Weighted Complexity Classes},
  author = {Guillermo Badia and Manfred Droste and Carles Noguera and Erik Paul},
  journal= {arXiv preprint arXiv:2404.17784},
  year   = {2024}
}
R2 v1 2026-06-28T16:08:19.699Z