Counting of Teams in First-Order Team Logics

Publication date

2025-12-16

Authors

Haak, Anselm
Kontinen, Juha
Müller, Fabian
Vollmer, Heribert
Yang, FanORCID 0000-0003-0392-6522ISNI 0000000452893832

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by

Abstract

We study descriptive complexity of counting complexity classes in the range from #P to #·NP. The proof of Fagin’s characterization of NP by existential second-order logic generalizes to the counting setting in the following sense: The class #P can be logically described as the class of functions counting satisfying assignments to free relation variables in first-order formulae. This was first observed by Saluja et al. In this article, we extend this study to classes beyond #P and extensions of first-order logic with team semantics. These team-based logics are closely related to existential second-order logic and its fragments, hence our results also shed light on the complexity of counting for extensions of first-order logic in Tarski’s semantics. Our results show that the class #·NP can be logically characterized by independence logic and existential second-order logic, whereas dependence logic and inclusion logic give rise to subclasses of #·NP and #P, respectively. We further relate the class obtained from inclusion logic to the complexity class TotP ⊆ #P.

Keywords

counting classes, descriptive complexity, team-based logics, Theoretical Computer Science, General Computer Science, Logic, Computational Mathematics

Citation

Haak, A, Kontinen, J, Müller, F, Vollmer, H & Yang, F 2025, 'Counting of Teams in First-Order Team Logics', ACM Transactions on Computational Logic, vol. 27, no. 1, 5. https://doi.org/10.1145/3771721