Skip to main content
Log in

Constant Unary Constraints and Symmetric Real-Weighted Counting Constraint Satisfaction Problems

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

A unary constraint (on the Boolean domain) is a function from {0,1} to the set of real numbers. A free use of auxiliary unary constraints given besides input instances has proven to be useful in establishing a complete classification of the computational complexity of approximately solving weighted counting Boolean constraint satisfaction problems (or #CSPs). In particular, two special constant unary constraints are a key to an arity reduction of arbitrary constraints, sufficient for the desired classification. In an exact counting model, both constant unary constraints are always assumed to be available since they can be eliminated efficiently using an arbitrary nonempty set of constraints. In contrast, we demonstrate, in an approximate counting model, that at least one of them is efficiently approximated and thus eliminated approximately by a nonempty constraint set. This fact directly leads to an efficient construction of polynomial-time randomized approximation-preserving Turing reductions (or AP-reductions) from #CSPs with designated constraints to any given #CSPs composed of symmetric real-valued constraints of arbitrary arities even in the presence of arbitrary extra unary constraints.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Notes

  1. A bracket notation [x,y] denotes a unary function g satisfying g(0)=x and g(1)=y. Similarly, [x,y,z] expresses a binary function g for which g(0,0)=x, g(0,1)=g(1,0)=y, and g(1,1)=z.

  2. A dangling edge is obtained from an edge by deleting exactly one end of this edge. These dangling edges are treated as “normal” edges, and therefore the degree of each node must count dangling edges as well.

  3. At a quick glance, the approximation scheme of Eq. (3) appears quite differently from that of Eq. (2). However, by setting ε=λ m, the value 1+ε approximately equals 2ε and 1−ε is also close to 2ε for any sufficiently large number m.

References

  1. Cai, J., Lu, P.: Holographic algorithms: from arts to science. J. Comput. Syst. Sci. 77, 41–61 (2011)

    Article  MATH  MathSciNet  Google Scholar 

  2. Cai, J., Lu, P., Xia, M.: Holant problems and counting CSP. In: Proc. of the 41st Annual ACM Symposium on Theory of Computing (STOC 2009), pp. 715–724 (2009)

    Chapter  Google Scholar 

  3. Creignou, N.: A dichotomy theorem for maximum generalized satisfiability problems. J. Comput. Syst. Sci. 51, 511–522 (1995)

    Article  MathSciNet  Google Scholar 

  4. Creignou, N., Hermann, M.: Complexity of generalized satisfiability counting problems. Inf. Comput. 125, 1–12 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  5. Dalmau, V., Ford, D.K.: Generalized satisfiability with limited occurrences per variable: a study through Δ-matroid parity. In: Proc. of the 28th International Symposium on Mathematical Foundations of Computer Science (MFCS 2003). Lecture Notes in Computer Science, vol. 2747, pp. 358–367. Springer, Berlin (2003)

    Chapter  Google Scholar 

  6. Dyer, M., Goldberg, L.A., Greenhill, C., Jerrum, M.: The relative complexity of approximating counting problems. Algorithmica 38, 471–500 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  7. Dyer, M., Goldberg, L.A., Jerrum, M.: The complexity of weighted Boolean #CSP. SIAM J. Comput. 38, 1970–1986 (2009)

    Article  MATH  MathSciNet  Google Scholar 

  8. Dyer, M., Goldberg, L.A., Jerrum, M.: An approximation trichotomy for Boolean #CSP. J. Comput. Syst. Sci. 76, 267–277 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  9. Goldberg, L.A., Grohe, M., Jerrum, M., Thurley, M.: A complexity dichotomy for partition functions with mixed signs. SIAM J. Comput. 39, 3336–3402 (2010)

    Article  MATH  MathSciNet  Google Scholar 

  10. Schaefer, T.J.: The complexity of satisfiability problems. In: Proc. of the 10th Annual ACM Symposium on Theory of Computing (STOC 1978), pp. 216–226 (1978)

    Chapter  Google Scholar 

  11. Stolarsky, K.B.: Algebraic Numbers and Diophantine Approximations. Marcel Dekker, New York (1974)

    Google Scholar 

  12. Yamakami, T.: Approximate counting for complex-weighted Boolean constraint satisfaction problems. Inf. Comput. 219, 17–38 (2012). An early version appeared in the Proceedings of the 8th Workshop on Approximation and Online Algorithms (WAOA 2010). Lecture Notes in Computer Science, vol. 6534, pp. 261–272. Springer, Berlin (2011)

    Article  MATH  MathSciNet  Google Scholar 

  13. Yamakami, T.: A dichotomy theorem for the approximation complexity of complex-weighted bounded-degree Boolean #CSPs. Theor. Comput. Sci. 447, 120–135 (2012). An extended abstract appeared under a slightly different title in Proceedings of the 4th International Conference on Combinatorial Optimization and Applications (COCOA 2010). Lecture Notes in Computer Science, vol. 6508 (Part I), pp. 285–299. Springer, Berlin (2010)

    Article  MATH  MathSciNet  Google Scholar 

  14. Yamakami, T.: Approximation complexity of complex-weighted degree-two counting constraint satisfaction problems. Theor. Comput. Sci. 461, 86–105 (2012). A preliminary version appeared in the Proceedings of the 17th Annual International Computing and Combinatorics Conference (COCOON 2011). Lecture Notes in Computer Science, vol. 6842, pp. 122–133. Springer, Berlin (2011)

    Article  MATH  MathSciNet  Google Scholar 

  15. Yamakami, T.: Optimization, randomized approximability, and constraint satisfaction problems. In: Proc. of the 22nd International Symposium on Algorithms and Computation (ISAAC 2011). Lecture Notes in Computer Science, vol. 7074, pp. 454–463. Springer, Berlin (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tomoyuki Yamakami.

Additional information

A preliminary version under a slightly concise title appeared in the Proceedings of the 23rd International Symposium on Algorithms and Computation (ISAAC 2012), Taipei, Taiwan, December 19–21, 2012, Lecture Notes in Computer Science, Springer, Berlin, vol. 7676, pp. 237–246, 2012.

Appendix: Proof of Lemma 2.3

Appendix: Proof of Lemma 2.3

In what follows, we will give the missing proof of Lemma 2.3. For any constraint f of arity k, the notation max|f| indicates the maximum value |f(x)| over all inputs x∈{0,1}k.

(1)–(2) These properties (reflexivity and transitivity) directly come from the definition of effective T-constructibility.

(3) Let \((\mathcal{H}_{1},\mathcal{H}_{2},\ldots,\mathcal{H}_{n})\) be a generating series of \(\mathcal{F}_{1}\) from \(\mathcal{F}_{2}\). We need to show that \(\#\mathrm{CSP}(\mathcal{H}_{i},\mathcal{G}) \leq_{\mathrm {AP}}\#\mathrm{CSP}(\mathcal{H}_{i+1},\mathcal{G})\) for each adjacent pair \((\mathcal{H}_{i},\mathcal{H}_{i+1})\), where i∈[n−1]. By Lemma 2.1, ≤AP is transitive; thus, it follows that \(\#\mathrm{CSP}(\mathcal{H}_{1},\mathcal{G})\leq _{\mathrm{AP}}\#\mathrm{CSP}(\mathcal{H}_{n},\mathcal{G})\). This is clearly equivalent to \(\#\mathrm{CSP}(\mathcal{F}_{1},\mathcal{G})\leq _{\mathrm{AP}}\#\mathrm{CSP}(\mathcal{F}_{2},\mathcal{G})\), as requested.

Taking an arbitrary pair \((\mathcal{H}_{i},\mathcal{H}_{i+1})\) with i∈[n−1], we treat the first case where \((\mathcal{H}_{i},\mathcal{H}_{i+1})\) satisfies Clause (I) of Definition 2.2. Consider a constraint frame \(\varOmega=(G,X|\mathcal{H}',\pi)\) with \(\mathcal{H}'\subseteq\mathcal{H}_{i}\cup\mathcal{G}\). For convenience, let \(\mathcal{H}'=\{f_{1},f_{2},\ldots,f_{d}\}\). Take f i inductively and consider all subgraphs of G that represents f i . Choose such subgraphs one by one. Now, let \(G_{f_{i}}\) be such a subgraph. By Clause (I), there exists another finite graph G′ that realizes f i by \(\mathcal{H}_{i+1}\). We replace \(G_{f_{i}}\) in G by \(G'_{f_{i}}\). After all the subgraphs representing f i are replaced, the obtained graph, say, G′ constitutes a new constraint frame Ω′. It is not difficult to show that csp Ω equals csp Ω . We continue this replacement process for all f i ’s. In the end, we conclude that \(\#\mathrm{CSP}(\mathcal{H}_{i},\mathcal {G})\leq_{\mathrm{AP}}\#\mathrm{CSP}(\mathcal{H}_{i+1},\mathcal{G})\).

We will examine the second case where \((\mathcal{H}_{i},\mathcal {H}_{i+1})\) satisfies Clause (II) of Definition 2.2. In what follows, for ease of our argument, we assume that \(\mathcal{H}_{i}=\{f\}\) and we want to claim that \(\#\mathrm{CSP}(f,\mathcal{G})\leq_{\mathrm{AP}}\# \mathrm{CSP}(\mathcal{H}_{i+1},\mathcal{G})\). Take a p-convergence series Λ for f, which is effectively T-constructible from \(\mathcal{H}_{i+1}\). Our claim is split into two parts: (a) \(\#\mathrm{CSP}(f,\mathcal {G})\leq_{\mathrm{AP}}\#\mathrm{CSP}(\varLambda,\mathcal{G})\) and (b) \(\#\mathrm{CSP}(\varLambda,\mathcal{G})\leq_{\mathrm{AP}}\#\mathrm {CSP}(\mathcal{H}_{i+1},\mathcal{G})\). We will prove these parts separately. Since (b) is easy, we start with (b).

(b) We intend to show that \(\#\mathrm{CSP}(\varLambda,\mathcal{G})\leq _{\mathrm{AP}}\#\mathrm{CSP}(\mathcal{H}_{i+1},\mathcal{G})\). Let Λ=(f 1,f 2,…) and \(\mathcal{H}_{i+1}=\{g_{1},g_{2},\ldots ,g_{d}\}\). Now, we take any constraint frame \(\varOmega= (G,X|\mathcal {G}',\pi)\) with \(\mathcal{G}'\subseteq\varLambda\cup\mathcal{G}\), given to \(\#\mathrm{CSP}(\varLambda,\mathcal{G})\). Since the constraint set \(\mathcal{G}'\) is finite, for simplicity, we assume that \(\mathcal {G}'\) is composed of constraints \(h_{1},h_{2},\ldots ,h_{s},f_{i_{1}},f_{i_{2}},\ldots,f_{i_{t}}\), where \(s\in\mathbb{N}\), \(t\in \mathbb{N}^{+}\), and each constraint h i belongs to \(\mathcal {F}-\varLambda\). For this constraint frame Ω, we will explain how to compute the value csp Ω . Since Λ is effectively T-constructible from \(\mathcal{G}\), there exists a polynomial-time DTM M that, for each index j∈[t], generates an appropriate graph \(\tilde{G}_{i_{j}}\) realizing \(f_{i_{j}}\) from any graph \(G_{i_{j}}\) representing \(f_{i_{j}}\).

Each node v labelled \(f_{i_{j}}\) (j∈[t]) in G corresponds to a unique subgraph \(G_{i_{j}}\), including all dangling edges adjacent to v, that represents \(f_{i_{j}}\). By running M on \(G_{i_{j}}\), we obtain another subgraph \(\tilde {G}_{i_{j}}\) realizing \(f_{i_{j}}\), which contains all the dangling edges of \(G_{i_{j}}\). It is therefore possible to generate from G another bipartite graph \(\tilde{G}\) in which every subgraph \(G_{i_{j}}\) of G representing \(f_{i_{j}}\) is replaced by its associated subgraph \(\tilde {G}_{i_{j}}\) obtained from \(G_{i_{j}}\) by M. We denote by Ω′ the constraint frame obtained from Ω by replacing G with \(\tilde {G}\) and by modifying π accordingly. The definition of “realizability” implies that csp Ω equals γcsp Ω for an appropriate number \(\gamma\in\mathbb{A}\). Since \(\tilde{G}\) contains only constraints in \(\mathcal{H}_{i+1}\cup \mathcal{G}\), Ω′ must be a valid input instance to \(\#\mathrm {CSP}(\mathcal{H}_{i+1},\mathcal{G})\). As a result, we conclude that \(\#\mathrm{CSP}(\varLambda,\mathcal{G})\) is AP-reducible to \(\#\mathrm{CSP}(\mathcal{H}_{i+1},\mathcal{G})\).

(a) We want to claim that \(\#\mathrm{CSP}(f,\mathcal{G})\leq _{\mathrm{AP}}\#\mathrm{CSP}(\varLambda,\mathcal{G})\). This claim is proven by modifying the proof of [12, Lemma 9.2]. Hereafter, assume that f is of arity k and let Λ=(g 1,g 2,…). For convenience, we define AC={x∈{0,1}kf(x)≠0}. By Eq. (3), there exists a constant λ∈(0,1) such that, for every \(m\in\mathbb {N}^{+}\) and every x∈{0,1}k, certain constants c,d∈{±1} satisfies the following condition:

  1. (*)

    (1+λ m c)g m (x)≤f(x)≤(1+λ m d)g m (x) for all xAC, and |g m (x)|≤λ m for all x∈{0,1}kAC.

Without loss of generality, we can assume that γ is an algebraic real number.

Let us take any constraint frame \(\varOmega=(G,X|\mathcal{G}',\pi)\) with G=(V 1|V 2,E) and \(\mathcal{G}'\subseteq\{f\}\cup\mathcal {G}\) given as an input instance to \(\#\mathrm{CSP}(f,\mathcal{G})\). It is enough to consider the case where f appears in \(\mathcal{G}'\). Let p f denote the total number of nodes in V 2 whose labels are f. For simplicity, write L for the set of all 2k-tuples \(\ell=(\ell _{x_{1}},\ell_{x_{2}},\ldots,\ell_{x_{2^{k}}})\in\mathbb{N}^{2^{k}}\) satisfying that \(\sum_{i\in[2^{k}]}\ell_{x_{i}}= p_{f}\), where each x i denotes the lexicographically ith string in {0,1}k. In addition, we set \(L_{f} =\{\ell\in L\mid\forall i\in[2^{k}] [ f(x_{i})=0\rightarrow\ell_{x_{i}}=0\ ]\}\). It is not difficult to show by Eq. (1) that csp Ω can be expressed in the form \(\sum_{\ell\in L_{f}} \alpha_{\ell}(\prod_{x\in AC}f(x)^{\ell_{x}})\) for appropriately chosen numbers \(\alpha_{\ell}\in\mathbb{A}\), provided that 00 is treated as 1 for technical reason.

We set a 0=2k! 24k and \(b_{0}= [1+ (2\max|f|)^{|V_{2}|}]\cdot\sum _{\ell\in L-L_{f}}|\alpha_{\ell}|\), which are obviously independent of m. Meanwhile, we arbitrarily fix an integer \(m\in\mathbb{N}^{+}\) that satisfies both λ m a 0<1 and λ m b 0<1, and we denote by Ω m the constraint frame obtained from Ω by replacing every node labeled f with a new node having the label g m . Concerning this Ω m , its value \(\mathit{csp}_{\varOmega_{m}}\) coincides with the sum Γ 1,m +Γ 2,m , where

$$\varGamma_{1,m} = \sum_{\ell\in L_f} \alpha_{\ell} \prod_{x\in AC}g_m(x)^{\ell_x}\quad\text{and}\quad \varGamma_{2,m} = \sum_{\ell\in L-L_f} \alpha_{\ell} \prod_{x\in\{ 0,1\}^k\wedge\ell_x>0}g_m(x)^{\ell_x}. $$

Next, we will establish a close relationship between csp Ω and Γ 1,m ; more specifically, we intend to prove the following key claim.

Claim 9

It holds that (1+λ m B)Γ 1,m csp Ω ≤(1+λ m B′)Γ 1,m for appropriate numbers \(B,B'\in \mathbb{A}\) satisfying |B|,|B′|≤a 0. Therefore, sgn(csp Ω )=sgn(Γ 1,m ) holds.

Proof

It is obvious that the second part of the claim follows from the first part, because λ m|B|≤λ m a 0<1 and similarly λ m|B′|<1 by our choice of m. Henceforth, we aim at proving the first part. Fix L f arbitrarily. From Condition (*), for appropriate selections of c ,x ’s and d ,x ’s in {±1}, we obtain

$$ \prod_{x\in AC}\bigl(1+\lambda^mc_{\ell,x} \bigr)^{\ell_{x}} g_m(x)^{\ell _{x}} \leq\prod _{x\in AC}f(x)^{\ell_{x}}\leq\prod_{x\in AC} \bigl(1+\lambda^md_{\ell,x}\bigr)^{\ell_{x}} g_m(x)^{\ell_{x}}. $$
(5)

Note that, when all elements in \(\mathcal{F}'\) are limited to nonnegative constraints, we can always set c ,x =−1 and d ,x =1. Equation (5) leads to upper and lower bounds of csp Ω :

$$ \sum_{\ell\in L_f} \alpha_{\ell}\prod _{x\in AC}\bigl(1+\lambda ^mc_{\ell,x} \bigr)^{\ell_{x}} g_m(x)^{\ell_{x}} \leq \mathit{csp}_{\varOmega} \leq \sum_{\ell\in L_f} \alpha_{\ell}\prod _{x\in AC}\bigl(1+\lambda ^md_{\ell,x} \bigr)^{\ell_{x}} g_m(x)^{\ell_{x}}. $$
(6)

Let us further estimate the first and the last terms in Eq. (6). Let us handle the first term. By considering the binomial expansion of (1+z)n, it holds that, for any numbers \(n\in\mathbb{N}^{+}\) and \(z\in\mathbb{R}\) satisfying that −1/nz≤2/n, there exists a number e∈{1/2,n} such that 1+nz≤(1+z)n≤1+enz (more precisely, if z≥0 then e=n; otherwise, e=1/2). Hence, by choosing appropriate numbers e ,x ∈{±1/2,± x }, we obtain

$$\begin{aligned} \prod_{x\in AC}\bigl(1+\lambda^m c_{\ell,x}\bigr)^{\ell_x}g_m(x)^{\ell_x} \geq& \prod _{x\in AC}\bigl(1+\lambda^m \ell_{x}e_{\ell,x}\bigr)g_m(x)^{\ell_x} \\ =& \prod_{x\in AC}\bigl(1+\lambda^m \ell_{x}e_{\ell,x}\bigr)\prod_{x\in AC}g_m(x)^{\ell_x} \end{aligned}$$

since m satisfies that −1<λ m x e ,x <1.

For a further estimation, let us focus on the value ∏ xAC (1+λ m z x ) for any series \(\{z_{x}\}_{x\in AC}\subseteq [-2^{2k},2^{2k}]_{\mathbb{Z}}\). Since ∏ xAC (1+λ m z x ) has the form \(1+\sum_{i=1}^{|AC|}\sum_{y_{1},y_{2},\ldots,y_{i}\in AC}\lambda^{im}z_{y_{1}}z_{y_{2}}\cdots z_{y_{i}}\), where all indices y 1,y 2,…,y i are distinct, if we set \(\tilde{B} = \sum _{i=1}^{|AC|}\sum_{y_{1},y_{2},\ldots,y_{i}\in AC}\lambda ^{(i-1)m}|z_{y_{1}}z_{y_{2}}\cdots z_{y_{i}}|\), then we derive that \(1-\lambda^{m} \tilde{B}\leq\prod_{x\in AC}(1+\lambda^{m} z_{x}) \leq1+\lambda^{m} \tilde{B}\). Note that |λ m z x |≤λ m22kλ m a 0<1 for any xAC since \(z_{x}\in[-2^{2k},2^{2k}]_{\mathbb{Z}}\). It therefore follows that

$$\begin{aligned} \sum_{y_1,\ldots,y_i\in AC}\lambda^{(i-1)m}|z_{y_1}\cdots z_{y_i}| \leq&\sum_{y_1\in AC}|z_{y_1}|\sum _{y_2,\ldots,y_i\in AC}1\leq|AC|2^{k}\left( \begin{array}{@{}c@{}} |AC| \\ i \end{array} \right)\\ \leq&|AC|2^{2k}|AC|!. \end{aligned}$$

We then conclude that \(\tilde{B}\) satisfies that \(|\tilde{B}|\leq\sum_{i=1}^{|AC|} |AC|2^{2k}|AC|! \leq |AC|^{2}2^{2k}|AC|! \leq a_{0}\) since |AC|≤2k. From this fact, there exists a series \(\{B_{\ell}\}_{\ell\in L_{f}}\subseteq\mathbb {A}\) with |B |≤a 0 such that

$$\prod_{x\in AC}\bigl(1+\lambda^{m} \ell_x e_{\ell,x}\bigr) \prod_{x\in AC}g_m(x)^{\ell_x} \geq \bigl(1+\lambda^m B_{\ell}\bigr)\prod _{x\in AC}g_m(x)^{\ell_x}. $$

Finally, we choose an appropriate number \(B\in\mathbb{A}\) with |B|≤a 0 that satisfies

$$\begin{aligned} \sum_{\ell\in L_f}\alpha_{\ell}\bigl(1+ \lambda^mB_{\ell}\bigr)\prod_{x\in AC}g_m(x)^{\ell_x} \geq&\bigl(1 + \lambda^m B\bigr)\sum_{\ell\in L_f} \alpha _{\ell}\prod_{x\in AC}g_m(x)^{\ell_x}\\ =& \bigl(1 + \lambda^m B\bigr)\varGamma_{1,m}. \end{aligned}$$

Concerning the third term in Eq. (6), a similar argument used for the first term shows the existence of an algebraic real number \(B'\in\mathbb{A}\) such that |B′|≤a 0 and

$$ \sum_{\ell\in L_f}\alpha_{\ell}\prod _{x\in AC}\bigl(1+\lambda^m d_{\ell,x} \bigr)^{\ell_x}g_m(x)^{\ell_x} \leq \bigl(1+ \lambda^m B'\bigr)\varGamma_{1,m}. $$

By the selection of B and B′, they certainly satisfy the claim. □

Next, we will give an upper-bound of |Γ 2,m |. Recall that \(b_{0}= C \sum_{\ell\in L-L_{f}}|\alpha_{\ell}|\), where \(C= 1+ (2\max |f|)^{|V_{2}|}\).

Claim 10

It holds that |Γ 2,m |≤λ m b 0.

Proof

For the time being, we fix a series LL f and conduct a basic analysis. For this series , there exists an element x∈{0,1}k such that xAC and x >0. For convenience, we define D={x∈{0,1}k x >0} and further partition it into two sets: D 1={xDxAC} and D 2={xDxAC}. Notice that D 2 is nonempty. Since λ<1 and |g m (x)|≤λ m for all xD 2, it follows that

$$ \biggl| \prod_{x\in D_2}g_m(x)^{\ell_x} \biggr| = \prod_{x\in D_2}\bigl|g_m(x)\bigr|^{\ell_x} \leq\prod_{x\in D_2} \lambda^{m\ell_x} \leq\lambda^m. $$

Condition (*) implies that |g m (x)|≤|f(x)|/min{1+λ m c,1+λ m d}≤2|f(x)| for any xAC because |λ m c|,|λ m d|<1/2. If max|g m |≥1, then we obtain

$$\begin{aligned} \biggl| \prod_{x\in D_1}g_m(x)^{\ell_x} \biggr| \leq&\prod_{x\in D_1} \bigl|g_m(x)\bigr|^{\ell_x} \leq\bigl(\max|g_m|\bigr)^{\sum_{x\in D_1} \ell_x} \leq \bigl(\max|g_m|\bigr)^{p_f} \\ \leq&\bigl(2\max|f|\bigr)^{|V_2|} \end{aligned}$$

since \(\sum_{x\in D_{1}}\ell_{x} \leq p_{f}\leq|V_{2}|\). When max|g m |<1, we instead obtain \(\prod_{x\in D_{1}}|g_{m}(x)|^{\ell _{x}}\leq1\). Therefore, it holds that

$$ \biggl| \prod_{x\in D}g_m(x)^{\ell_x} \biggr| = \biggl| \prod_{x\in D_2}g_m(x)^{\ell_x} \biggr|\cdot \biggl| \prod_{x\in D_1}g_m(x)^{\ell_x} \biggr| \leq\lambda^m C. $$

The value |Γ 2,m | is upper-bounded by

$$ |\varGamma_{2,m}| \leq\sum_{\ell\in L-L_f} |\alpha_{\ell}| \biggl|\prod_{x\in D}g_m(x)^{\ell_x} \biggr| \leq\lambda^m C \sum_{\ell\in L-L_f} |\alpha_{\ell}| \leq\lambda^m b_0. $$

This completes the proof of the claim. □

To finish the proof of Lemma 2.3, we will present a randomized oracle computation that solves \(\#\mathrm{CSP}(f,\mathcal {G})\) with a single query to the oracle \(\#\mathrm{CSP}(\varLambda,\mathcal{G})\). First, we want to define a special constant d 0 corresponding to Ω. The definition of d 0 requires the following well-known lower bound of the absolute values of polynomials in algebraic real numbers.

Lemma 4.4

[11]

Let \(\alpha_{1},\ldots,\alpha_{m}\in\mathbb{A}\) and let c be the degree of \(\mathbb{Q}(\alpha_{1},\ldots,\alpha_{m})/\mathbb{Q}\). There exists a constant e>0 that satisfies the following statement for any complex number α of the form \(\sum_{k}a_{k}t(\prod _{i=1}^{m}\alpha_{i}^{k_{i}})\), where k=(k 1,…,k m ) ranges over [N 1]×⋯×[N m ], \((N_{1},\ldots,N_{m})\in\mathbb {N}^{m}\), and \(a_{k}\in\mathbb{Z}\). If α≠0, then \(|\alpha |\geq(\sum_{k}|a_{k}|)^{1-c}\prod_{i=1}^{m}e^{-cN_{i}}\).

Following the proof of [12, Lemma 9.2] under the assumption that csp Ω ≠0, it is possible to set values of four series {N i } i , {a k } k , {α i } i , and {k i } i appropriately so that Lemma 4.4 provides two constants c,e>0 for which \(|\mathit{csp}_{\varOmega}|\geq(\sum _{k}|a_{k}|)^{1-c}\prod_{i}e^{-cN_{i}}\). The desired constant d 0 is now defined to be \((\sum_{k}|a_{k}|)^{1-c}\prod_{i}e^{-cN_{i}}\). Notice that d 0 is an algebraic real number.

Let us describe our randomized approximation algorithm.

[Algorithm \(\mathcal{M}\)] On input instance (Ω,1/ε), set δ=ε/2 and find in polynomial time an integer m≥1 satisfying that λ m a 0<min{1,δ} and λ m b 0<min{d 0,δ}. Produce another constraint frame Ω m . make a query with a query word (Ω m ,1/δ) to the oracle and let w be an answer from the oracle. Notice that w is a random variable since the oracle is a RAS. Compute d 0 defined above. If |w|<d 0, then output 0; otherwise, output w.

We want to prove that the above randomized algorithm \(\mathcal{M}\) approximately solves \(\#\mathrm{CSP}(f,\mathcal{G})\) with high probability. Let us consider two cases separately.

(1) For the first case where csp Ω =0, we need to prove that M outputs 0 with high probability. Let us evaluate the values Γ 1,m and Γ 2,m . Obviously, Claim 9 implies Γ 1,m =0. By Claim 10 and the choice of m, we derive |Γ 2,m |≤λ m b 0<d 0. From \(\mathit{csp}_{\varOmega_{m}} = \varGamma_{1,m}+\varGamma_{2,m}\), it follows that \(|\mathit{csp}_{\varOmega_{m}}| <d_{0}\). This means that \(\mathcal{M}\) outputs 0 with high probability.

(2) Next, we consider the case where csp Ω ≠0. We consider only the case where csp Ω >0 because the other case csp Ω <0 can be similarly handled. The choice of d 0 implies that csp Ω d 0. We then choose a number α, not depending on m, for which α(Γ 1,m +sgn(α)b 0)+b 0 1,m and |α|≤max{a 0,b 0}. For this α, it holds by Claim 10 that

$$\begin{aligned} \bigl(1+\lambda^m\alpha\bigr)\mathit{csp}_{\varOmega_m} =& \bigl(1+ \lambda^m\alpha\bigr) (\varGamma _{1,m}+\varGamma_{2,m}) \\ \leq& \varGamma_{1,m}+\lambda^m\alpha\varGamma_{1,m} + \bigl(1+|\alpha |\bigr)\lambda^mb_0 \\ =& \varGamma_{1,m}+\lambda^m \bigl[\alpha\bigl( \varGamma_{1,m} + sgn(\alpha )b_0\bigr)+b_0\bigr] \\ \leq& \varGamma_{1,m}+\lambda^m B\varGamma_{1,m} = \bigl(1+\lambda ^mB\bigr)\varGamma_{1,m}. \end{aligned}$$

Similarly, we choose α′ with |α′|≤max{a 0,b 0} such that \((1+\lambda^{m}B)\varGamma_{1,m}\leq(1+\lambda^{m}\alpha ')(\varGamma_{1,m}+\varGamma_{2,m}) = (1+\lambda^{m}\alpha')\mathit{csp}_{\varOmega_{m}}\).

For simplicity, let γ=max{|α|,|α′|}. Note that δλ m γ. Since λ m γ<1, it holds that log2(1+λ m γ)≤λ m γδ. Thus, we conclude that \(1+\lambda^{m}\alpha'\leq2^{\log_{2}(1+\lambda ^{m}\gamma)}\leq2^{\delta}\). Moreover, since log2(1−λ m γ)≥−λ m γ, it follows that \(1+\lambda^{m}\alpha \geq2^{\log_{2}(1-\lambda^{m}\gamma)}\geq2^{-\delta}\). In conclusion, it holds that \(2^{-\delta} \mathit{csp}_{\varOmega} \leq \mathit{csp}_{\varOmega_{m}} \leq2^{\delta} \mathit{csp}_{\varOmega}\). From this follows \(\mathit{csp}_{\varOmega_{m}}>0\).

If w is any oracle answer, then it must satisfy that \(2^{-\delta }\mathit{csp}_{\varOmega_{m}}\leq w \leq2^{\delta}\mathit{csp}_{\varOmega_{m}}\) because \(\mathit{csp}_{\varOmega_{m}}>0\). Therefore, we derive that \(w\leq2^{\delta }\mathit{csp}_{\varOmega_{m}}\leq2^{2\delta}\mathit{csp}_{\varOmega}\) and \(w\geq2^{-\delta }\mathit{csp}_{\varOmega_{m}}\geq2^{-2\delta}csp_{\varOmega}\). Since ε=2δ, \(\mathcal{M}\) outputs a 2ε-approximate solution using any 2δ-approximate solution for (Ω m ,1/δ) as an oracle answer.

This completes the proof of Lemma 2.3.  □

Rights and permissions

Reprints and permissions

About this article

Cite this article

Yamakami, T. Constant Unary Constraints and Symmetric Real-Weighted Counting Constraint Satisfaction Problems. Theory Comput Syst 55, 170–201 (2014). https://doi.org/10.1007/s00224-013-9518-4

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-013-9518-4

Keywords

Navigation