Malhotra, Sagar, and Luciano Serafini. “Weighted Model Counting in FO2 With Cardinality Constraints and Counting Quantifiers: A Closed Form Formula”. Proceedings of the AAAI Conference on Artificial Intelligence 36, no. 5 (June 28, 2022): 5817–5824. Accessed May 26, 2026. https://ojs.aaai.org/index.php/AAAI/article/view/20525.