English

Weighted Automata and Logics Meet Computational Complexity

Formal Languages and Automata Theory 2024-08-20 v2 Computational Complexity

Abstract

Complexity classes such as #P\#\mathbf{P}, P\oplus\mathbf{P}, GapP\mathbf{GapP}, OptP\mathbf{OptP}, NPMV\mathbf{NPMV}, or the class of fuzzy languages realised by polynomial-time fuzzy nondeterministic Turing machines, can all be described in terms of a class NP[S]\mathbf{NP}[S] for a suitable semiring SS, defined via weighted Turing machines over SS similarly as NP\mathbf{NP} is defined via the classical nondeterministic Turing machines. Other complexity classes of decision problems can be lifted to the quantitative world using the same recipe as well, and the resulting classes relate to the original ones in the same way as weighted automata or logics relate to their unweighted counterparts. The article surveys these too-little-known connexions between weighted automata theory and computational complexity theory implicit in the existing literature, suggests a systematic approach to the study of weighted complexity classes, and presents several new observations strengthening the relation between both fields. In particular, it is proved that a natural extension of the Boolean satisfiability problem to weighted propositional logic is complete for the class NP[S]\mathbf{NP}[S] when SS is a finitely generated semiring. Moreover, a class of semiring-valued functions FP[S]\mathbf{FP}[S] is introduced for each semiring SS as a counterpart to the class P\mathbf{P}, and the relations between FP[S]\mathbf{FP}[S] and NP[S]\mathbf{NP}[S] are considered.

Keywords

Cite

@article{arxiv.2312.10810,
  title  = {Weighted Automata and Logics Meet Computational Complexity},
  author = {Peter Kostolányi},
  journal= {arXiv preprint arXiv:2312.10810},
  year   = {2024}
}
R2 v1 2026-06-28T13:54:04.162Z