1
$\begingroup$

If we have a deterministic algorithm $A$ such that $\#3CNF \in APX$, how can we show that there is a fully polynomial deterministic approximation scheme for $\#3CNF$? How can we show that $\#3CNF \in FPTAS$?

$\endgroup$
0

1 Answer 1

1
$\begingroup$

Given a CNF $\varphi$, you can create a CNF $\varphi^{(2)}$ such that $N(\varphi^{(2)}) = N(\varphi)^2$, where $N(\varphi)$ is the number of assignments satisfying $\varphi$. If you apply a #SAT approximation algorithm to $\varphi^{(2)}$, then you get an approximation of $N(\varphi)$ which is better than what you would get if you applied the algorithm directly on $\varphi$. To get an even better approximation, create a CNF $\varphi^{(k)}$ such that $N(\varphi^{(k)}) = N(\varphi)^k$.

In your case you have the additional complicated that everything is a 3CNF, but I suggest starting without this restriction.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.