Bit-Vector Model Counting using Statistical Estimation

12/21/2017
by   Seonmo Kim, et al.
0

Approximate model counting for bit-vector SMT formulas (generalizing #SAT) has many applications such as probabilistic inference and quantitative information-flow security, but it is computationally difficult. Adding random parity constraints (XOR streamlining) and then checking satisfiability is an effective approximation technique, but it requires a prior hypothesis about the model count to produce useful results. We propose an approach inspired by statistical estimation to continually refine a probabilistic estimate of the model count for a formula, so that each XOR-streamlined query yields as much information as possible. We implement this approach, with an approximate probability model, as a wrapper around an off-the-shelf SMT solver or SAT solver. Experimental results show that the implementation is faster than the most similar previous approaches which used simpler refinement strategies. The technique also lets us model count formulas over floating-point constraints, which we demonstrate with an application to a vulnerability in differential privacy mechanisms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/28/2019

DRAT-based Bit-Vector Proofs in CVC4

Many state-of-the-art Satisfiability Modulo Theories (SMT) solvers for t...
research
11/24/2017

Exploring Approximations for Floating-Point Arithmetic using UppSAT

We consider the problem of solving floating-point constraints obtained f...
research
05/24/2019

Towards Bit-Width-Independent Proofs in SMT Solvers

Many SMT solvers implement efficient SAT-based procedures for solving fi...
research
03/16/2023

A Quantum SMT Solver for Bit-Vector Theory

Given a formula F of satisfiability modulo theory (SMT), the classical S...
research
11/16/2019

Counting solutions to random CNF formulas

We give the first efficient algorithm to approximately count the number ...
research
07/11/2019

Approximate Model Counting, Sparse XOR Constraints and Minimum Distance

The problem of counting the number of models of a given Boolean formula ...
research
02/27/2020

An efficient constraint based framework forhandling floating point SMT problems

This paper introduces the 2019 version of , a novel Constraint Programmi...

Please sign up or login with your details

Forgot password? Click here to reset