Counting Answer Sets of Disjunctive Answer Set Programs

Mohimenul Kabir, Supratik Chakraborty, Kuldeep S Meel
7/15/2025
cs.LOcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Answer Set Programming (ASP) provides a powerful declarative paradigm for knowledge representation and reasoning. Recently, counting answer sets has emerged as an important computational problem with applications in probabilistic reasoning, network reliability analysis, and other domains. This has motivated significant research into designing efficient ASP counters. While substantial progress has been made for normal logic programs, the development of practical counters for disjunctive logic programs remains challenging. We present SharpASP-SR, a novel framework for counting answer sets of disjunctive logic programs based on subtractive reduction to projected propositional model counting. Our approach introduces an alternative characterization of answer sets that enables efficient reduction while ensuring that intermediate representations remain of polynomial size. This allows SharpASP-SR to leverage recent advances in projected model counting technology. Through extensive experimental evaluation on diverse benchmarks, we demonstrate that SharpASP-SR significantly outperforms existing counters on instances with large answer set counts. Building on these results, we develop a hybrid counting approach that combines enumeration techniques with SharpASP-SR to achieve state-of-the-art performance across the full spectrum of disjunctive programs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kabir2025counting,
  title  = {Counting Answer Sets of Disjunctive Answer Set Programs},
  author = {Mohimenul Kabir and Supratik Chakraborty and Kuldeep S Meel},
  year   = {2025},
  eprint = {2507.11655},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11655v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11655.svg)](https://codeofpaper.com/paper/2507.11655)

Discussion