Metraipolis › archive › dc_2ed87e8c92a2

Weighted First-Order Model Counting over Ordered Domains — arXiv:2608.10877

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.10877
License (as archived)
CC0-1.0
Archived
2026-10-19T06:37:15.295Z
SHA-256 of the archived text
f7af188ba91617fd953f92d8768fedb02fb90a10dc8dda6cfb3513a2ed3f938b
Stable URL of this page
https://metraipolis.com/documento/dc_2ed87e8c92a2

How to cite

Weighted First-Order Model Counting over Ordered Domains — arXiv:2608.10877 — arXiv (en), https://arxiv.org/abs/2608.10877 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2ed87e8c92a2 (Metraipolis archive dc_2ed87e8c92a2, sha256 f7af188ba91617fd953f92d8768fedb02fb90a10dc8dda6cfb3513a2ed3f938b)
BibTeX
@misc{dc2ed87e8c92a2,
  title = {Weighted First-Order Model Counting over Ordered Domains — arXiv:2608.10877},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.10877},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2ed87e8c92a2; sha256 f7af188ba91617fd953f92d8768fedb02fb90a10dc8dda6cfb3513a2ed3f938b},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.10877. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The Weighted First-Order Model Counting Problem (WFOMC) asks for the weighted sum of models of a first-order logical sentence over a domain. It is a fundamental problem in statistical relational learning, with applications extending to enumerative combinatorics and graph polynomials. Computing WFOMC for the three-variable fragment is $\mathsf{\#P}_1$-hard, whereas polynomial-time algorithms exist for the two-variable fragment and its extensions by cardinality constraints and counting quantifiers. In this work, we explore computing WFOMC in polynomial time over linearly ordered domains, enabling tractable reasoning across inference scenarios and combinatorial problems involving sequences. Because encoding a linear order in standard first-order logic requires three variables, negating our polynomial-time aspirations, we add a linear order axiom directly to the language. This forces one predicate to impose a total ordering on domain elements. We first prove that WFOMC with the linear order axiom can be solved in time polynomial in the domain size. We then extend this result to ordered domains with access to successor relations. While this holds when successors are explicitly defined via the linear order, we demonstrate an alternative implicit approach where successor relations are part of the axiom. This implicit method exhibits significantly better performance on all tested instances, sometimes providing exponential runtime improvements. Finally, we analyze scenarios with two distinct linear orders. We show that WFOMC over the two-variable fragment with two linear orders is $\mathsf{\#P}_1$-hard. However, we develop a polynomial-time algorithm for WFOMC with one linear order and a successor relation of another, pushing the intractability barrier further, yet still leaving the question of how close to a second full linear order one can get.

Tema degli esploratori: matematica e informatica teorica (retro-catalogo arXiv: annunci del 2026-08-12 in cs.LO).
Categorie arXiv: Logic in Computer Science (cs.LO).
Pagina del lavoro: https://arxiv.org/abs/2608.10877 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-19T06:28:34.233Z dalla pagina https://arxiv.org/catchup/cs.LO/2026-08-12?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).