87
Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

  • Upload
    dinhque

  • View
    226

  • Download
    6

Embed Size (px)

Citation preview

Page 1: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction and Graph Theory

Pavol Hell

SIAM DM, June 2008

Pavol Hell Constraint Satisfaction and Graph Theory

Page 2: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus Colouring

k > 2

k−colouring problemsProblems in NP

. . .

NP−complete

PP

NP−complete

k=1,2

Pavol Hell Constraint Satisfaction and Graph Theory

Page 3: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction Problems

CSPAssign values to variables so that all constraints are satisfied

ExamplesSAT3-COL(x , y) ∈ {(1, 1), (2, 3)} and(x , z, w) ∈ {(2, 2, 1), (1, 3, 2), (2, 2, 2)}

Pavol Hell Constraint Satisfaction and Graph Theory

Page 4: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction Problems

CSPAssign values to variables so that all constraints are satisfied

ExamplesSAT

3-COL(x , y) ∈ {(1, 1), (2, 3)} and(x , z, w) ∈ {(2, 2, 1), (1, 3, 2), (2, 2, 2)}

Pavol Hell Constraint Satisfaction and Graph Theory

Page 5: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction Problems

CSPAssign values to variables so that all constraints are satisfied

ExamplesSAT3-COL

(x , y) ∈ {(1, 1), (2, 3)} and(x , z, w) ∈ {(2, 2, 1), (1, 3, 2), (2, 2, 2)}

Pavol Hell Constraint Satisfaction and Graph Theory

Page 6: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Constraint Satisfaction Problems

CSPAssign values to variables so that all constraints are satisfied

ExamplesSAT3-COL(x , y) ∈ {(1, 1), (2, 3)} and(x , z, w) ∈ {(2, 2, 1), (1, 3, 2), (2, 2, 2)}

Pavol Hell Constraint Satisfaction and Graph Theory

Page 7: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

?

Problems in NP

. . .

NP−complete

PP

NP−complete

Problems in CSP

Pavol Hell Constraint Satisfaction and Graph Theory

Page 8: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

3

2 31

1 2

Pavol Hell Constraint Satisfaction and Graph Theory

Page 9: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which Problems / ComplexitiesWhat is this problem?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 10: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which Problems / Complexities

What is this problem?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 11: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which Problems / ComplexitiesWhat is this problem?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 12: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

H31

1 2

= HOM(H)

2 3

1

Homomorphism problem HOM(H)A colouring of a graph G without the above pattern is exactly ahomomorphism to H

Pavol Hell Constraint Satisfaction and Graph Theory

Page 13: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

H31

1 2

= HOM(H)

2 3

1

Homomorphism problem HOM(H)A colouring of a graph G without the above pattern is exactly ahomomorphism to H

Pavol Hell Constraint Satisfaction and Graph Theory

Page 14: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

Feder-VardiEach constraint satisfaction problem is polynomially equivalentto HOM(H) for some digraph H

Pavol Hell Constraint Satisfaction and Graph Theory

Page 15: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

HOM(H)

Problems in NP

. . .

NP−complete

PP

NP−complete

Problems in CSP

?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 16: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which ProblemClique Cutset Problem

Matrix partition problems (Feder-Hell-Motwani-Klein)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 17: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which ProblemClique Cutset Problem

Matrix partition problems (Feder-Hell-Motwani-Klein)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 18: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

31

1

Which ProblemClique Cutset Problem

Matrix partition problems (Feder-Hell-Motwani-Klein)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 19: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus MPP

Matrix Partition Problems

. . .

NP−complete

PP

NP−complete

?

Problems in NP

Pavol Hell Constraint Satisfaction and Graph Theory

Page 20: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Suspicious Problems

Cameron-Eschen-Hoang-Sritharan

Stubborn problem

Feder-HellGiven a 3-edge-coloured Kn, colour the vertices without amonochromatic edge

Complexity ? (Feder-Hell-Kral-Sgall)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 21: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Suspicious Problems

Cameron-Eschen-Hoang-Sritharan

Stubborn problem

Feder-HellGiven a 3-edge-coloured Kn, colour the vertices without amonochromatic edge

Complexity ? (Feder-Hell-Kral-Sgall)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 22: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Suspicious Problems

Cameron-Eschen-Hoang-Sritharan

Stubborn problem

Feder-HellGiven a 3-edge-coloured Kn, colour the vertices without amonochromatic edge

Complexity ? (Feder-Hell-Kral-Sgall)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 23: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

1

1 1

2

2

2

Which ProblemIs H partitionable into a triangle-free graph and a cograph?

Partition problems, generalized colouring problems,subcolouring problems, etc., Alekseev, Farrugia, Lozin,Broersma, Fomin, Nesetril, Woeginger, Ekim, de Werra,Stacho, MacGillivray, Yu, Hoang, Le, etc.

Pavol Hell Constraint Satisfaction and Graph Theory

Page 24: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

1

1 1

2

2

2

Which ProblemIs H partitionable into a triangle-free graph and a cograph?

Partition problems, generalized colouring problems,subcolouring problems, etc., Alekseev, Farrugia, Lozin,Broersma, Fomin, Nesetril, Woeginger, Ekim, de Werra,Stacho, MacGillivray, Yu, Hoang, Le, etc.

Pavol Hell Constraint Satisfaction and Graph Theory

Page 25: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

2

1

1 1

2

2

2

Which ProblemIs H partitionable into a triangle-free graph and a cograph?

Partition problems, generalized colouring problems,subcolouring problems, etc., Alekseev, Farrugia, Lozin,Broersma, Fomin, Nesetril, Woeginger, Ekim, de Werra,Stacho, MacGillivray, Yu, Hoang, Le, etc.

Pavol Hell Constraint Satisfaction and Graph Theory

Page 26: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

1

1

2

3

What Problem is This??

Pavol Hell Constraint Satisfaction and Graph Theory

Page 27: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

1

1

2

3

What Problem is This?

?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 28: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Generalizing Colouring

1

1

2

3

What Problem is This??

Pavol Hell Constraint Satisfaction and Graph Theory

Page 29: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-TardifEvery problem in NP is polynomially equivalent to apattern-forbidding colouring problemEvery problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges (or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 30: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-Tardif

Every problem in NP is polynomially equivalent to apattern-forbidding colouring problemEvery problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges (or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 31: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-TardifEvery problem in NP is polynomially equivalent to apattern-forbidding colouring problem

Every problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges (or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 32: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-TardifEvery problem in NP is polynomially equivalent to apattern-forbidding colouring problemEvery problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges

(or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 33: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-TardifEvery problem in NP is polynomially equivalent to apattern-forbidding colouring problemEvery problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges (or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 34: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

Which Problems / ComplexitiesHow general are these "pattern-forbidding colouring problems"?

Fagin + Feder-Vardi + Kun-Nesetril + Nesetril-TardifEvery problem in NP is polynomially equivalent to apattern-forbidding colouring problemEvery problem in CSP is polynomially equivalent to apattern-forbidding colouring problem with patterns onsingle edges (or... trees)

Some finite set of patterns corresponds to isomorphismcomplete problems. What does it look like?

Pavol Hell Constraint Satisfaction and Graph Theory

Page 35: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

?

Problems in NP

. . .

NP−complete

PP

NP−complete

Problems in CSP

Pavol Hell Constraint Satisfaction and Graph Theory

Page 36: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

NP−complete

. . .

NP−complete

PP

?

with Single−edge Patterns

Pattern−forbidding ProblemsPattern−forbidding Problems

Pavol Hell Constraint Satisfaction and Graph Theory

Page 37: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus MPP

?. . .

NP−complete

PP

with Two−vertex Patterns

Pattern−forbidding ProblemsPattern−forbidding Problems

NP−complete

Pavol Hell Constraint Satisfaction and Graph Theory

Page 38: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus MPP

Matrix Partition Problems

. . .

NP−complete

PP

NP−complete

?

Problems in NP

Pavol Hell Constraint Satisfaction and Graph Theory

Page 39: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

NP versus CSP

?

Problems in NP

. . .

NP−complete

PP

NP−complete

Problems in CSP

Pavol Hell Constraint Satisfaction and Graph Theory

Page 40: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Polymorphisms

POL(H) for a digraph H

f : V (H)k → V (H) such thataibi ∈ E(H) ∀i =⇒ f (a1, a2, . . . , ak )f (b1, b2, . . . , bk ) ∈ E(H).

JeavonsIf POL(H) ⊆ POL(H ′), then HOM(H ′) reduces to HOM(H)

The more polymorphisms H has, the more likely is HOM(H) tobe polynomial

Pavol Hell Constraint Satisfaction and Graph Theory

Page 41: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Polymorphisms

POL(H) for a digraph H

f : V (H)k → V (H) such thataibi ∈ E(H) ∀i =⇒ f (a1, a2, . . . , ak )f (b1, b2, . . . , bk ) ∈ E(H).

JeavonsIf POL(H) ⊆ POL(H ′), then HOM(H ′) reduces to HOM(H)

The more polymorphisms H has, the more likely is HOM(H) tobe polynomial

Pavol Hell Constraint Satisfaction and Graph Theory

Page 42: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Polymorphisms

POL(H) for a digraph H

f : V (H)k → V (H) such thataibi ∈ E(H) ∀i =⇒ f (a1, a2, . . . , ak )f (b1, b2, . . . , bk ) ∈ E(H).

JeavonsIf POL(H) ⊆ POL(H ′), then HOM(H ′) reduces to HOM(H)

The more polymorphisms H has, the more likely is HOM(H) tobe polynomial

Pavol Hell Constraint Satisfaction and Graph Theory

Page 43: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

How small can POL(H) be?

Projective HPOL(H) consists only of all projections, composed withautomorphisms of H

Kn

The graph Kn, with n ≥ 3, is projective

ThereforeIf H is projective, then HOM(H) is NP-complete

Pavol Hell Constraint Satisfaction and Graph Theory

Page 44: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

How small can POL(H) be?

Projective HPOL(H) consists only of all projections, composed withautomorphisms of H

Kn

The graph Kn, with n ≥ 3, is projective

ThereforeIf H is projective, then HOM(H) is NP-complete

Pavol Hell Constraint Satisfaction and Graph Theory

Page 45: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

How small can POL(H) be?

Projective HPOL(H) consists only of all projections, composed withautomorphisms of H

Kn

The graph Kn, with n ≥ 3, is projective

ThereforeIf H is projective, then HOM(H) is NP-complete

Pavol Hell Constraint Satisfaction and Graph Theory

Page 46: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Examples

Example Polymorphisms

Majority polymorphism:f (u, u, v) = f (u, v , u) = f (v , u, u) = uNear unanimity polymorphism:f (v , u, . . . , u) = · · · = f (u, u, . . . , v) = uWeak unanimity polymorphism:f (u, u, . . . , u) = u, f (v , u, . . . , u) = · · · = f (u, u, . . . , v)

Maltsev polymorphism: f (u, u, v) = f (v , u, u) = v

Pavol Hell Constraint Satisfaction and Graph Theory

Page 47: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Examples

Example PolymorphismsMajority polymorphism:f (u, u, v) = f (u, v , u) = f (v , u, u) = u

Near unanimity polymorphism:f (v , u, . . . , u) = · · · = f (u, u, . . . , v) = uWeak unanimity polymorphism:f (u, u, . . . , u) = u, f (v , u, . . . , u) = · · · = f (u, u, . . . , v)

Maltsev polymorphism: f (u, u, v) = f (v , u, u) = v

Pavol Hell Constraint Satisfaction and Graph Theory

Page 48: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Examples

Example PolymorphismsMajority polymorphism:f (u, u, v) = f (u, v , u) = f (v , u, u) = uNear unanimity polymorphism:f (v , u, . . . , u) = · · · = f (u, u, . . . , v) = u

Weak unanimity polymorphism:f (u, u, . . . , u) = u, f (v , u, . . . , u) = · · · = f (u, u, . . . , v)

Maltsev polymorphism: f (u, u, v) = f (v , u, u) = v

Pavol Hell Constraint Satisfaction and Graph Theory

Page 49: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Examples

Example PolymorphismsMajority polymorphism:f (u, u, v) = f (u, v , u) = f (v , u, u) = uNear unanimity polymorphism:f (v , u, . . . , u) = · · · = f (u, u, . . . , v) = uWeak unanimity polymorphism:f (u, u, . . . , u) = u, f (v , u, . . . , u) = · · · = f (u, u, . . . , v)

Maltsev polymorphism: f (u, u, v) = f (v , u, u) = v

Pavol Hell Constraint Satisfaction and Graph Theory

Page 50: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Examples

Example PolymorphismsMajority polymorphism:f (u, u, v) = f (u, v , u) = f (v , u, u) = uNear unanimity polymorphism:f (v , u, . . . , u) = · · · = f (u, u, . . . , v) = uWeak unanimity polymorphism:f (u, u, . . . , u) = u, f (v , u, . . . , u) = · · · = f (u, u, . . . , v)

Maltsev polymorphism: f (u, u, v) = f (v , u, u) = v

Pavol Hell Constraint Satisfaction and Graph Theory

Page 51: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Polynomial Algorithms

Feder-Vardi, Jeavons, Bulatov, Bulatov-DalmauIf H has a near unanimity polymorphism, or a Maltsevpolymorphism, then the problem HOM(H) is in P

Pavol Hell Constraint Satisfaction and Graph Theory

Page 52: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Polynomial Algorithms

Universal ToolAll known polynomial cases are attributable to some nicepolymorphism.

Pavol Hell Constraint Satisfaction and Graph Theory

Page 53: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionableH is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 54: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphism

H is K3-partitionableH is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 55: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionable

H is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 56: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionableH is block-projective

some algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 57: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionableH is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,

and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 58: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionableH is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 59: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi, Bulatov-Jeavons-Krokhin,Maroti-McKenzie, Nesetril-Siggers

HOM(H) is NP-complete if

H has no weak near unanimity polymorphismH is K3-partitionableH is block-projectivesome algebra in VAR((V (H),POL(H)) is projective,and all these conditions are equivalent

Conjecture

In all other cases HOM(H) can be solved in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 60: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi + Bulatov-Jeavons-Krokhin +Larose-Zadori

The Dichotomy Conjecture

The problem HOM(H) is

In P is H admits a weak near unanimity polymorphismNP-complete if H does not admit a weak near unanimitypolymorphism

Pavol Hell Constraint Satisfaction and Graph Theory

Page 61: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi + Bulatov-Jeavons-Krokhin +Larose-Zadori

The Dichotomy Conjecture

The problem HOM(H) is

In P is H admits a weak near unanimity polymorphism

NP-complete if H does not admit a weak near unanimitypolymorphism

Pavol Hell Constraint Satisfaction and Graph Theory

Page 62: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Feder-Vardi + Bulatov-Jeavons-Krokhin +Larose-Zadori

The Dichotomy Conjecture

The problem HOM(H) is

In P is H admits a weak near unanimity polymorphismNP-complete if H does not admit a weak near unanimitypolymorphism

Pavol Hell Constraint Satisfaction and Graph Theory

Page 63: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Bang-Jensen - Hell Conjecture (1990)

Example application:

Barto-Kozik-Niven 2008If H has neither sources nor sinks, then

HOM(H) is in P if H retracts to a cycleHOM(H) is NP-complete otherwise(there is no weak near unanimity polymorphism)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 64: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Bang-Jensen - Hell Conjecture (1990)

Example application:

Barto-Kozik-Niven 2008If H has neither sources nor sinks, then

HOM(H) is in P if H retracts to a cycleHOM(H) is NP-complete otherwise

(there is no weak near unanimity polymorphism)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 65: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Bang-Jensen - Hell Conjecture (1990)

Example application:

Barto-Kozik-Niven 2008If H has neither sources nor sinks, then

HOM(H) is in P if H retracts to a cycleHOM(H) is NP-complete otherwise(there is no weak near unanimity polymorphism)

Pavol Hell Constraint Satisfaction and Graph Theory

Page 66: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Graphs with Polymorphisms

Reflexive GraphsThe following are equivalent

G has a majority polymorphism

G is a retract of a product of pathsG is cop-win and clique-Helly

Hell-Rival, Nowakowski-Rival, Pesch-PoguntkeFeder-Vardi - decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 67: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Graphs with Polymorphisms

Reflexive GraphsThe following are equivalent

G has a majority polymorphismG is a retract of a product of paths

G is cop-win and clique-Helly

Hell-Rival, Nowakowski-Rival, Pesch-PoguntkeFeder-Vardi - decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 68: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Graphs with Polymorphisms

Reflexive GraphsThe following are equivalent

G has a majority polymorphismG is a retract of a product of pathsG is cop-win and clique-Helly

Hell-Rival, Nowakowski-Rival, Pesch-PoguntkeFeder-Vardi - decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 69: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Graphs with Polymorphisms

Reflexive GraphsThe following are equivalent

G has a majority polymorphismG is a retract of a product of pathsG is cop-win and clique-Helly

Hell-Rival, Nowakowski-Rival, Pesch-Poguntke

Feder-Vardi - decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 70: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Graphs with Polymorphisms

Reflexive GraphsThe following are equivalent

G has a majority polymorphismG is a retract of a product of pathsG is cop-win and clique-Helly

Hell-Rival, Nowakowski-Rival, Pesch-PoguntkeFeder-Vardi - decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 71: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Brewster-Feder-Hell-Huang-MacGillivray 2008

Reflexive GraphsAny chordal graph G admits a near-unanimitypolymorphism

A chordless cycle of length >3 does not admit anear-unanimity polymorphism

Pavol Hell Constraint Satisfaction and Graph Theory

Page 72: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Brewster-Feder-Hell-Huang-MacGillivray 2008

Reflexive GraphsAny chordal graph G admits a near-unanimitypolymorphismA chordless cycle of length >3 does not admit anear-unanimity polymorphism

Pavol Hell Constraint Satisfaction and Graph Theory

Page 73: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Larose-Loten-Zadori 2005

Reflexive GraphsThe following statements are equivalent

G admits a near-unanimity polymorphism

G2 dismantles to the diagonalDecidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 74: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Larose-Loten-Zadori 2005

Reflexive GraphsThe following statements are equivalent

G admits a near-unanimity polymorphismG2 dismantles to the diagonal

Decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 75: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Larose-Loten-Zadori 2005

Reflexive GraphsThe following statements are equivalent

G admits a near-unanimity polymorphismG2 dismantles to the diagonal

Decidable in polynomial time

Pavol Hell Constraint Satisfaction and Graph Theory

Page 76: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Brewster-Feder-Hell-Huang-MacGillivray 2008

Reflexive GraphsThe following statements are equivalent

G has a conservative near-unanimity polymorphism

(f (a, b, . . . ) ∈ {a, b, . . . })G is an interval graph

Pavol Hell Constraint Satisfaction and Graph Theory

Page 77: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Brewster-Feder-Hell-Huang-MacGillivray 2008

Reflexive GraphsThe following statements are equivalent

G has a conservative near-unanimity polymorphism(f (a, b, . . . ) ∈ {a, b, . . . })

G is an interval graph

Pavol Hell Constraint Satisfaction and Graph Theory

Page 78: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Brewster-Feder-Hell-Huang-MacGillivray 2008

Reflexive GraphsThe following statements are equivalent

G has a conservative near-unanimity polymorphism(f (a, b, . . . ) ∈ {a, b, . . . })G is an interval graph

Pavol Hell Constraint Satisfaction and Graph Theory

Page 79: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

General Digraphs

Hell-Nesetril-Zhu, Feder-Vardi, Dalmau-Krokhin-LaroseFor a connected H the following are equivalent

H admits a near-unanimity operation

H has bounded treewidth dualityHOM(H) can be expressed in DatalogRET(H) can be expressed by a first order formula

Pavol Hell Constraint Satisfaction and Graph Theory

Page 80: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

General Digraphs

Hell-Nesetril-Zhu, Feder-Vardi, Dalmau-Krokhin-LaroseFor a connected H the following are equivalent

H admits a near-unanimity operationH has bounded treewidth duality

HOM(H) can be expressed in DatalogRET(H) can be expressed by a first order formula

Pavol Hell Constraint Satisfaction and Graph Theory

Page 81: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

General Digraphs

Hell-Nesetril-Zhu, Feder-Vardi, Dalmau-Krokhin-LaroseFor a connected H the following are equivalent

H admits a near-unanimity operationH has bounded treewidth dualityHOM(H) can be expressed in Datalog

RET(H) can be expressed by a first order formula

Pavol Hell Constraint Satisfaction and Graph Theory

Page 82: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

General Digraphs

Hell-Nesetril-Zhu, Feder-Vardi, Dalmau-Krokhin-LaroseFor a connected H the following are equivalent

H admits a near-unanimity operationH has bounded treewidth dualityHOM(H) can be expressed in DatalogRET(H) can be expressed by a first order formula

Pavol Hell Constraint Satisfaction and Graph Theory

Page 83: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Finite duality

Rossman, Atserias, Larose-Loten-ZadoriH has finite duality ⇐⇒

HOM(H) can be expressed by a first order formulasome retract G of H has the property that G ×Gdismantles to the diagonaland then CSP(H) is in P

Nesetril-TardifIf H has finite duality then H has tree duality

Pavol Hell Constraint Satisfaction and Graph Theory

Page 84: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Finite duality

Rossman, Atserias, Larose-Loten-ZadoriH has finite duality ⇐⇒HOM(H) can be expressed by a first order formula

some retract G of H has the property that G ×Gdismantles to the diagonaland then CSP(H) is in P

Nesetril-TardifIf H has finite duality then H has tree duality

Pavol Hell Constraint Satisfaction and Graph Theory

Page 85: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Finite duality

Rossman, Atserias, Larose-Loten-ZadoriH has finite duality ⇐⇒HOM(H) can be expressed by a first order formulasome retract G of H has the property that G ×Gdismantles to the diagonal

and then CSP(H) is in P

Nesetril-TardifIf H has finite duality then H has tree duality

Pavol Hell Constraint Satisfaction and Graph Theory

Page 86: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Finite duality

Rossman, Atserias, Larose-Loten-ZadoriH has finite duality ⇐⇒HOM(H) can be expressed by a first order formulasome retract G of H has the property that G ×Gdismantles to the diagonaland then CSP(H) is in P

Nesetril-TardifIf H has finite duality then H has tree duality

Pavol Hell Constraint Satisfaction and Graph Theory

Page 87: Constraint Satisfaction and Graph Theory · Constraint Satisfaction and Graph Theory Pavol Hell SIAM DM, June 2008 Pavol Hell Constraint Satisfaction and Graph Theory

Finite duality

Rossman, Atserias, Larose-Loten-ZadoriH has finite duality ⇐⇒HOM(H) can be expressed by a first order formulasome retract G of H has the property that G ×Gdismantles to the diagonaland then CSP(H) is in P

Nesetril-TardifIf H has finite duality then H has tree duality

Pavol Hell Constraint Satisfaction and Graph Theory