Lune

AAAI2024Top-tier venue

An Approximate Skolem Function Counter

Arijit Shaw, Brendan Juba, Kuldeep S. Meel

Abstract

One approach to probabilistic inference involves counting the number of models of a given Boolean formula. Here, we are interested in inferences involving higher-order objects, i.e., functions. We study the following task: Given a Boolean specification between a set of inputs and outputs, count the number of functions of inputs such that the specification is met. Such functions are called Skolem functions. We are motivated by the recent development of scalable approaches to Boolean function synthesis. This stands in relation to our problem analogously to the relationship between Boolean satisfiability and the model counting problem. Yet, counting Skolem functions poses considerable new challenges. From the complexity-theoretic standpoint, counting Skolem functions is not only #P -hard; it is quite unlikely to have an FPRAS (Fully Polynomial Randomized Approximation Scheme) as the problem of synthesizing a Skolem function remains challenging, even given access to an NP oracle. The primary contribution of this work is the first algorithm, SkolemFC, that computes an estimate of the number of Skolem functions. SkolemFC relies on technical connections between counting functions and propositional model counting: our algorithm makes a linear number of calls to an approximate model counter and computes an estimate of the number of Skolem functions with theoretical guarantees. Moreover, we show that Skolem function count can be approximated through a polynomial number of calls to a SAT oracle. Our prototype displays impressive scalability, handling benchmarks comparably to state-of-the-art Skolem function synthesis engines, even though counting all such functions ostensibly poses a greater challenge than synthesizing a single function.

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. Model Counting for Dependency Quantified Boolean FormulasLong-Hin Fung, Che Cheng, Jie-Hong Roland Jiang, Friedrich Slivovsky et al.AAAI 2026

Builds on5

  1. Manthan: A Data-Driven Approach for Boolean Function SynthesisPriyanka Golia, Subhajit Roy, Kuldeep S. MeelCAV 2020 · 34 citations
  2. Specification synthesis with constrained Horn clausesSumanth Prabhu S, Grigory Fedyukovich, Kumar Madhukar, Deepak D'SouzaPLDI 2021 · 24 citations
  3. ADDMC: Weighted Model Counting with Algebraic Decision DiagramsJeffrey M. Dudek, Vu Phan, Moshe Y. VardiAAAI 2020 · 16 citations
  4. Rounding Meets Approximate Model CountingJiong Yang, Kuldeep S. MeelCAV 2023 · 8 citations
  5. On Almost-Uniform Generation of SAT Solutions: The power of 3-wise independent hashingRemi Delannoy, Kuldeep S. MeelLICS 2022 · 2 citations

Related papers

  1. The Limitations and Power of NP-Oracle Based Functional Synthesis TechniquesBrendan Juba, Kuldeep S. MeelAAAI 2026
  2. Counterexample Guided Knowledge Compilation for Boolean Functional SynthesisS. Akshay, Supratik Chakraborty, Sahil JainCAV 2023
  3. A Normal Form Characterization for Efficient Boolean Skolem Function SynthesisPreey Shah, Aman Bansal, S. Akshay, Supratik ChakrabortyLICS 2021 · 7 citations
  4. Towards Real-Time Approximate CountingYash Pote, Kuldeep S. Meel, Jiong YangAAAI 2025 · 3 citations
  5. Learning to Reason: Leveraging Neural Networks for Approximate DNF CountingRalph Abboud, Ismail Ilkan Ceylan, Thomas LukasiewiczAAAI 2020 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines