Lune

AAAI2022Top-tier venue

Weighted Model Counting in FO2 with Cardinality Constraints and Counting Quantifiers: A Closed Form Formula

Sagar Malhotra, Luciano Serafini

Abstract

Weighted First-Order Model Counting (WFOMC) computes the weighted sum of the models of a first-order logic theory on a given finite domain. First-Order Logic theories that admit polynomial-time WFOMC w.r.t domain cardinality are called domain liftable. We introduce the concept of lifted interpretations as a tool for formulating closed-forms for WFOMC. Using lifted interpretations, we reconstruct the closed-form formula for polynomial-time FOMC in the universally quantified fragment of FO 2 , earlier proposed by Beame et al. We then expand this closed-form to incorporate cardinality constraints, existential quantifiers and counting quantifiers (a.k.a. C 2 ) without losing domain-liftability. Finally, we show that the obtained closed-form motivates a natural definition of a family of weight functions strictly larger than symmetric weight functions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Lifted Inference with Linear Order AxiomJan Tóth, Ondrej KuzelkaAAAI 2023 · 16 citations

Related papers

  1. Tractable Weighted First-Order Model Counting with Bounded Treewidth Binary EvidenceVáclav Kula, Qipeng Kuang, Yuyi Wang, Yuanhong Wang et al.AAAI 2026
  2. On Exact Sampling in the Two-Variable Fragment of First-Order LogicYuanhong Wang, Juhua Pu, Yuyi Wang, Ondrej KuzelkaLICS 2023 · 2 citations
  3. Model Enumeration of Two-Variable Logic with Quadratic Delay ComplexityQiaolan Meng, Juhua Pu, Hongting Niu, Yuyi Wang et al.LICS 2025 · 2 citations
  4. Model Counting for Dependency Quantified Boolean FormulasLong-Hin Fung, Che Cheng, Jie-Hong Roland Jiang, Friedrich Slivovsky et al.AAAI 2026
  5. Domain-Lifted Sampling for Universal Two-Variable Logic and ExtensionsYuanhong Wang, Timothy van Bremen, Yuyi Wang, Ondrej KuzelkaAAAI 2022 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines