Fagin's Theorem for Semiring Turing Machines

📅 2025-07-24
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This paper addresses quantitative computational complexity modeling over commutative semirings by introducing and systematically studying a novel complexity class, $mathrm{NP}_{mathrm{inf}}(mathcal{R})$. Methodologically, it establishes the first Fagin-style logical characterization theorem for semiring Turing machines, using weighted existential second-order logic ($existsmathrm{SO}^{mathcal{R}}$) to precisely capture their computational power and characterize the class of semiring formal power series languages. The main contributions are: (1) a complete logical characterization of $mathrm{NP}_{mathrm{inf}}(mathcal{R})$; (2) a precise delineation of its hierarchical relationships with classical NP and counting complexity classes—including $#mathrm{P}$ and $mathrm{PP}$; and (3) a unifying reconstruction and substantial generalization of Eiter & Kiesel (2023), thereby providing the first bidirectional logic-computation bridge for quantitative complexity theory grounded in semiring semantics.

Technology Category

Application Category

📝 Abstract
In recent years, quantitative complexity over semirings has been intensively investigated. An important problem in this context is to connect computational complexity with logical expressiveness. In this paper we improve on the model of emph{Semiring Turing Machines} (distinct from so called weighted Turing machines) introduced by Eiter & Kiesel (Semiring Reasoning Frameworks in AI and Their Computational Complexity, emph{J. Artif. Intell. Res.}, 2023). Our central result is a Fagin-style theorem for a new quantitative complexity class using a suitable weighted logical formalism. We show that the quantitative complexity class that we call NPnewinf{$mathcal{R}$}, where $mathcal{R}$ is a commutative semiring, can be captured using a version of weighted existential second-order logic that allows for predicates interpreted as semiring-annotated relations. This result provides a precise logical characterization of the power series that form the class NPnewinf{$mathcal{R}$}. We also give the exact relation between Eiter & Kiesel's version of NP, called NPoldinf{$mathcal{R}$}, and the class NPnewinf{$mathcal{R}$}. Incidentally, we are able to recapture all the complexity results by Eiter & Kiesel (2023) in our new model, connecting a quantitative version of NP to various counting complexity classes.
Problem

Research questions and friction points this paper is trying to address.

Connects computational complexity with logical expressiveness over semirings
Introduces a new quantitative complexity class NPnewinf{R}
Provides logical characterization of power series in NPnewinf{R}
Innovation

Methods, ideas, or system contributions that make the work stand out.

Introduces Semiring Turing Machines model
Proves Fagin-style theorem for new complexity class
Uses weighted existential second-order logic
🔎 Similar Papers
No similar papers found.