Logical Characterizations of Weighted Complexity Classes
Abstract: Fagin's seminal result characterizing $\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 $\mathsf{NP}[\mathcal{S}], \mathsf{FP}[\mathcal{S}]$, $\mathsf{FPLOG}[\mathcal{S}]$, $\mathsf{FPSPACE}[\mathcal{S}]$, and $\mathsf{FPSPACE}_{poly}[\mathcal{S}]$ in terms of definability in suitable weighted logics for an arbitrary semiring $\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 $\mathsf{P}$) and the Abiteboul--Vianu--Vardi's theorem (originally for $\mathsf{PSPACE}$). We also address a recent open problem proposed by Eiter and Kiesel.
- Bergman, C. (2011). Universal Algebra: Fundamentals and Selected Topics. Chapman and Hall/CRC. https://doi.org/10.1201/9781439851302
- Yuri Gurevich and Saharon Shelah. Fixed-point extensions of first-order logic. Annals of Pure and Applied Logic 32:265–280, 1986.
- Peter Kostolányi. Weighted automata and logics meet computational complexity, arXiv:2312.10810 [cs.FL].
- Leslie Valiant. The complexity of enumeration and reliability problems. SIAM Journal on Computing 8(3):410–421, 1979.
Paper Prompts
Sign up for free to create and run prompts on this paper using GPT-5.
Top Community Prompts
Collections
Sign up for free to add this paper to one or more collections.