Docsity

Dichotomy Theorems for Counting Constraint Satisfaction ..., Slides of Construction

Partial preview of the text

Download Dichotomy Theorems for Counting Constraint Satisfaction ... and more Slides Construction in PDF only on Docsity!

Dichotomy Theorems

for Counting Constraint Satisfaction Problems

Xi Chen

Columbia University

Constraint Satisfaction Problem

Let D = { 1 ,... , d} be a domain.

A language is a finite set of relations Γ = {Θ 1 ,... , Θh}.

An instance of CSP(Γ) consists of a set of variables x 1 ,... , xn

and a set of constraints from Γ. It defines an n-ary relation

R ⊆ D

n , where (x 1 ,... , xn) ∈ R if all constraints are satisfied.

R ⊆ D

4 : Θ 1 (x 1 , x 3 , x 2 ) ∧ Θ 2 (x 4 , x 3 ) ∧ Θ 2 (x 2 , x 3 )

Decide if R is empty or not.

One of the most important classes of problems in TCS:

Decision: whether a solution exists?

The CSP dichotomy conjecture of Feder and Vardi is open.

Optimization: satisfy as many constraints as possible, and

more generally, the valued constraint satisfaction problem to

find an assignment to maximize the total weight.

Counting: This talk.

Counting Constraint Satisfaction Problem

Let D = { 1 ,... , d} be a domain.

A language is a finite set of relations Γ = {Φ 1 ,... , Φh}.

An instance of #CSP(Γ) consists of variables x 1 ,... , xn and a

set of constraints from Γ. It defines an n-ary relation R ⊆ Dn,

where (x 1 ,... , xn) ∈ R if all constraints are satisfied.

Compute |R|.

Weighted #CSP

A weighted language L = {g 1 ,... , gh} with gi : D

ri → C.

An instance of #CSP(L) consists of variables x 1 ,... , xn over

D and a set of functions from L. It defines an n-ary function

F : for any assignment x = (x 1 ,... , xn) ∈ D

n , F (x) is the

product of the constraint function evaluations. E.g.,

F (x 1 , x 2 , x 3 , x 4 ) = g 1 (x 1 , x 3 , x 2 ) · g 2 (x 2 , x 4 ) · g 2 (x 3 , x 2 )

Compute

x∈Dn^ F^ (x).

Counting Graph Homomorphisms

The special case when L consists of a single symmetric binary

function [Dyer and Greenhill 00], [Bulatov and Grohe 05],

[Goldberg, Grohe, Jerrum and Thurley 09], [Cai, C and Lu 11].

Plan of the Talk

(^1) Dichotomy for Unweighted #CSP:

Tractability criterion: Strong balance

Mal’tsev polymorphisms and Witness functions

The main counting algorithm.

(^2) Dichotomy for Nonnegative and Complex #CSP

Definition

An n × m nonnegative matrix is rectangular if Ai,k , Ai,`, Aj,k > 0

imply Aj,` > 0 (or block-diagonal where every block is all positive).

Strong Rectangularity and Strong Balance

Let Γ = {Θ 1 ,... , Θh} be a language over D.

Given an n-ary relation R ⊆ D

n derived by an instance of

#CSP(Γ) and integers k, , r such that k + + r = n, we

are interested in the following |D|

k × |D|

` matrix M:

M(u, v) =

w ∈ D

r : (u, v, w) ∈ R

with rows indexed by u ∈ D

k , columns indexed by v ∈ D

` .

Strong Rectangularity and Strong Balance

Definition (Dyer and Richerby 10)

Γ is strongly rectangular if every such matrix M is rectangular;

Γ is strongly balanced if every such matrix M is block-rank- 1.

Strong balance implies strong rectangularity.

equivalent to congruence singularity [Bulatov 08].

Polymorphisms

Definition

Let Θ ⊆ D

r be an r -ary relation, and ψ : D

3 → D be a map.

Then we say ψ is a polymorphism of Θ if u, v, w ∈ Θ implies

ψ(u 1 , v 1 , w 1 ), ψ(u 2 , v 2 , w 2 ),... , ψ(ur , vr , wr )

u 1 u 2... ur

v 1 v 2... vr

w 1 w 2... wr

ψ(u 1 , v 1 , w 1 ) ψ(u 2 , v 2 , w 2 )... ψ(ur , vr , wr )

Mal’tsev Polymorphisms

Definition

Map ψ is a Mal’tsev polymorphism of Θ if it also satisfies

ψ(a, b, b) = ψ(b, b, a) = a, for all a, b ∈ D.

We say ψ is a Mal’tsev polymorphism of Γ = {Θ 1 ,... , Θh} if ψ

is a Mal’tsev polymorphism of every relation Θi.

Theorem

Γ is strongly rectangular iff it has a Mal’tsev polymorphism ψ.

Proof of the easier direction ⇐.

Let R be a relation derived by a #CSP(Γ) instance. Let u, u

′ ∈ D

k

v, v

′ ∈ D

`

. If the (u

′ , v), (u, v), (u, v

′ ) entries of M are positive:

u

′ 1...^ u

′ k v^1...^ v`^ w^1...^ wr^ ∈^ R

u 1... uk v 1... v` w

′ 1...^ w^

′ r ∈^ R

u 1... uk v

′ 1...^ v^

′ ` w^

′′ 1...^ w^

′′ r ∈^ R

u

′ 1...^ u

′ k

v

′ 1...^ v^

′ `

w

∗ 1...^ w^

∗ r ∈^ R

This implies that the (u

′ , v

′ ) entry of M is also positive.

Assume that ψ is given.

Let ψ be a Mal’tsev polymorphism of R ⊆ D

n

. For i ∈ [n]:

(^1) Pri R: the projection of R on the ith coordinate, i.e.,

a ∈ Pri R if there exists u ∈ R with ui = a (called a witness).

i over Pri R:^ a^ ∼i b^ if there exist^ u^ ∈^ D

i− 1 , w, w

′ ∈ D

n−i :

(u, a, w) ∈ R and (u, b, w

′ ) ∈ R.

Lemma

If R has a Mal’tsev polymorphism, ∼i is an equivalence relation.