Reproduce “Balancing Scalability and Uniformity in SAT Witness Generator” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Supratik Chakraborty, Kuldeep S. Meel, Moshe Y. Vardi

UniGen, an algorithm developed by Chakraborty, Meel, and Vardi, enhances the almost-uniform generation of solutions for large Boolean constraints, a critical task in functional verification. It achieves unprecedented scalability to nearly 500,000 variables while providing strong, two-sided theoretical guarantees of almost-uniformity.

Key insights

  • Applying hash functions to an independent support (S) of a Boolean formula preserves the desired probabilistic distribution of solutions while drastically reducing computational complexity for the SAT solver.
  • Leveraging approximate model counting allows for the robust and efficient determination of the ideal hash function count (m), avoiding expensive sequential searches and strengthening theoretical uniformity guarantees.
  • Combining these two strategies effectively resolves the long-standing tension between achieving strong, provable almost-uniformity and scaling to large, real-world constraint satisfaction problems.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.