Weighted Automata and Logics Meet Computational Complexity
Abstract: Complexity classes such as $#\mathbf{P}$, $\oplus\mathbf{P}$, $\mathbf{GapP}$, $\mathbf{OptP}$, $\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 $\mathbf{NP}[S]$ for a suitable semiring $S$, defined via weighted Turing machines over $S$ similarly as $\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 $\mathbf{NP}[S]$ when $S$ is a finitely generated semiring. Moreover, a class of semiring-valued functions $\mathbf{FP}[S]$ is introduced for each semiring $S$ as a counterpart to the class $\mathbf{P}$, and the relations between $\mathbf{FP}[S]$ and $\mathbf{NP}[S]$ are considered.
- J. Almeida. Finite Semigroups and Universal Algebra. World Scientific, 1994.
- Descriptive complexity for counting complexity classes. In Logic in Computer Science, LICS 2017, pages 1–12, 2017.
- Descriptive complexity for counting complexity classes. Logical Methods in Computer Science, 16(1):9:1–9:42, 2020.
- S. Arora and B. Barak. Computational Complexity. Cambridge University Press, 2009.
- M. Beaudry and M. Holzer. The complexity of tensor circuit evaluation. Computational Complexity, 16(1):60–111, 2007.
- B. C. Bedregal and S. Figueira. On the computing power of fuzzy Turing machines. Fuzzy Sets and Systems, 159(9):1072–1083, 2008.
- R. Beigel and J. Gill. Counting classes: Tresholds, parity, mods, and fewness. Theoretical Computer Science, 103(1):3–23, 1992.
- C. Bergman. Universal Algebra: Fundamentals and Selected Topics. Chapman and Hall/CRC, 2011.
- J. Berstel and C. Reutenauer. Noncommutative Rational Series with Applications. Cambridge University Press, 2011.
- Qualitative relativizations of complexity classes. Journal of Computer and System Sciences, 30(3):395–413, 1985.
- J. R. Büchi. Weak second-order arithmetic and finite automata. Zeitschrift für mathematische Logik und Grundlagen der Mathematik, 6:66–92, 1960.
- M. Burgin and E. Eberbach. Cooperative combinatorial optimization: Evolutionary computation case study. BioSystems, 91(1):34–50, 2008.
- J. Cai and L. A. Hemachandra. On the power of parity polynomial time. Mathematical Systems Theory, 23(2):95–106, 1990.
- Determinization of weighted finite automata over strong bimonoids. Information Sciences, 180:3497–3520, 2010.
- Structure in approximation classes. SIAM Journal on Computing, 28(5):1759–1782, 1999.
- The complexity of tensor calculus. Computational Complexity, 11(1–2):54–89, 2002.
- M. Droste and S. Dück. Weighted automata and logics on graphs. In Mathematical Foundations of Computer Science, MFCS 2015, Part I, pages 192–204, 2015.
- M. Droste and P. Gastin. Weighted automata and weighted logics. Theoretical Computer Science, 380(1–2):69–86, 2007.
- M. Droste and P. Gastin. Weighted automata and weighted logics. In M. Droste, W. Kuich, and H. Vogler, editors, Handbook of Weighted Automata, chapter 5, pages 175–211. Springer, 2009.
- M. Droste and P. Gastin. Aperiodic weighted automata and weighted first-order logic. In Mathematical Foundations of Computer Science, MFCS 2019, 2019. Article 76.
- M. Droste and W. Kuich. Semirings and formal power series. In M. Droste, W. Kuich, and H. Vogler, editors, Handbook of Weighted Automata, chapter 1, pages 3–28. Springer, 2009.
- Handbook of Weighted Automata. Springer, 2009.
- M. Droste and D. Kuske. Weighted automata. In J.-É. Pin, editor, Handbook of Automata Theory, Vol. 1, chapter 4, pages 113–150. European Mathematical Society, 2021.
- M. Droste and G. Rahonis. Weighted automata and weighted logics with discounting. In Implementation and Application of Automata, CIAA 2007, pages 73–84, 2007.
- Weighted finite automata over strong bimonoids. Information Sciences, 180:156–166, 2010.
- M. Droste and H. Vogler. Weighted tree automata and weighted logics. Theoretical Computer Science, 366(3):228–247, 2006.
- M. Droste and H. Vogler. Weighted logics for unranked tree automata. Theory of Computing Systems, 48(1):23–47, 2011.
- M. Droste and H. Vogler. The Chomsky-Schützenberger theorem for quantitative context-free languages. International Journal of Foundations of Computer Science, 25(8):955–969, 2014.
- Descriptive complexity of #P#𝑃\#P# italic_P functions: A new perspective. Journal of Computer and System Sciences, 116:40–54, 2021.
- S. Eilenberg. Automata, Languages, and Machines, Vol. A. Academic Press, 1974.
- T. Eiter and R. Kiesel. On the complexity of sum-of-products problems over semirings. In AAAI Conference on Artificial Intelligence, AAAI-21, pages 6304–6311, 2021.
- T. Eiter and R. Kiesel. Semiring reasoning frameworks in AI and their computational complexity. Journal of Artificial Intelligence Research, 77:207–293, 2023.
- Gap-definable counting classes. Journal of Computer and System Sciences, 48(1):116–148, 1994.
- J. S. Golan. Semirings and their Applications. Kluwer Academic Publishers, 1999.
- O. Goldreich. Computational Complexity. Cambridge University Press, 2008.
- E. Grädel. Finite model theory and descriptive complexity. In Finite Model Theory and Its Applications, chapter 3, pages 125–230. Springer, 2007.
- S. Gupta. The power of witness reduction. In Structure in Complexity Theory, SCT 1991, pages 43–59, 1991.
- S. Gupta. Closure properties and witness reduction. Journal of Computer and System Sciences, 50(3):412–432, 1995.
- U. Hebisch and H. J. Weinert. Semirings. World Scientific, 1998.
- Weighted automata with storage. Information and Computation, 269, 2019. Article 104447.
- J. Honkala. Lindenmayer systems. In M. Droste, W. Kuich, and H. Vogler, editors, Handbook of Weighted Automata, chapter 8, pages 291–311. Springer, 2009.
- Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, 1979.
- N. Immerman. Descriptive Complexity. Springer, 1999.
- An ambiguity hierarchy of weighted context-free grammars. Theoretical Computer Science, 974, 2023. Article 114112.
- V. Kann. On the approximability of the maximum common subgraph problem. In Symposium on Theoretical Aspects of Computer Science, STACS 1992, pages 375–388, 1992.
- V. Kann. Strong lower bounds on the approximability of some NPO PB-complete maximization problems. In Mathematical Foundations of Computer Science, MFCS 1995, pages 227–236, 1995.
- Triangular Norms. Springer, 2000.
- M. W. Krentel. The complexity of optimization problems. Journal of Computer and System Sciences, 36(3):490–509, 1988.
- W. Kuich. Semirings and formal power series: Their relevance to formal languages and automata. In G. Rozenberg and A. Salomaa, editors, Handbook of Formal Languages, Vol. 1, chapter 9, pages 609–677. Springer, 1997.
- W. Kuich and A. Salomaa. Semirings, Automata, Languages. Springer, 1986.
- W. Kuich and F. J. Urbanek. Infinite linear systems and one counter languages. Theoretical Computer Science, 22(1–2):95–126, 1983.
- Weighted Turing machines over strong bimonoids. In Fuzzy Systems and Knowledge Discovery, FSKD 2015, pages 208–212, 2015.
- A. Maletti. Survey: Finite-state technology in natural language processing. Theoretical Computer Science, 679:2–17, 2017.
- C. H. Papadimitriou. Computational Complexity. Addison-Wesley, 1994.
- Two remarks on the power of counting. In 6th GI Conference in Theoretical Computer Science, pages 269–275, 1983.
- I. Petre and A. Salomaa. Algebraic systems and pushdown automata. In M. Droste, W. Kuich, and H. Vogler, editors, Handbook of Weighted Automata, chapter 7, pages 257–289. Springer, 2009.
- J. Sakarovitch. Elements of Automata Theory. Cambridge University Press, 2009.
- J. Sakarovitch. Rational and recognisable power series. In M. Droste, W. Kuich, and H. Vogler, editors, Handbook of Weighted Automata, chapter 4, pages 105–174. Springer, 2009.
- J. Sakarovitch. Automata and rational expressions. In J.-É. Pin, editor, Handbook of Automata Theory, Vol. 1, chapter 2, pages 39–78. European Mathematical Society, 2021.
- A. Salomaa and M. Soittola. Automata-Theoretic Aspects of Formal Power Series. Springer, 1978.
- Descriptive complexity of #P#𝑃\#P# italic_P functions. Journal of Computer and System Sciences, 50(3):493–505, 1995.
- M.-P. Schützenberger. On the definition of a family of automata. Information and Control, 4(2–3):245–270, 1961.
- M. Sipser. Introduction to the Theory of Computation. Cengage Learning, 3rd edition, 2013.
- D. F. Stanat. A homomorphism theorem for weighted context-free grammars. Journal of Computer and System Sciences, 6(3):217–232, 1972.
- L. G. Valiant. The complexity of computing the permanent. Theoretical Computer Science, 8(2):189–201, 1979.
- L. G. Valiant. The complexity of enumeration and reliability problems. SIAM Journal on Computing, 8(3):410–421, 1979.
- J. Wiedermann. Characterizing the super-Turing computing power and efficiency of classical fuzzy Turing machines. Theoretical Computer Science, 317(1–3):61–69, 2004.
- L. A. Zadeh. Fuzzy algorithms. Information and Control, 12(2):94–102, 1968.
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.