Flexible satisfaction

Size: px
Start display at page:

Download "Flexible satisfaction"

Transcription

1 Flexible satisfaction LCC 2016, Aix-Marseille Université Marcel Jackson

2 A problem and overview A problem in semigroup theory The semigroup B 1 2 ( ) ( ) , , ( ) 0 1, 0 0 ( ) 0 0, 1 0 ( ) 0 0, 0 1 ( )

3 A problem and overview A problem in semigroup theory The semigroup B 1 2 ( ) ( ) , , ( ) 0 1, 0 0 ( ) 0 0, 1 0 ( ) 0 0, 0 1 ( ) Almeida, 1994, Kharlampovich & Sapir, 1995: Is there a polynomial time algorithm to decide membership of finite semigroups in HSP(B 1 2 )?

4 A problem and overview A problem in semigroup theory The semigroup B 1 2 ( ) ( ) , , ( ) 0 1, 0 0 ( ) 0 0, 1 0 ( ) 0 0, 0 1 ( ) Almeida, 1994, Kharlampovich & Sapir, 1995: Is there a polynomial time algorithm to decide membership of finite semigroups in HSP(B 1 2 )? Theorem (J, 2015) It is NP-hard to decide membership of a finite semigroup in HSP(B 1 2 )

5 A problem and overview A problem in semigroup theory The semigroup B 1 2 ( ) ( ) , , ( ) 0 1, 0 0 ( ) 0 0, 1 0 ( ) 0 0, 0 1 ( ) Almeida, 1994, Kharlampovich & Sapir, 1995: Is there a polynomial time algorithm to decide membership of finite semigroups in HSP(B 1 2 )? Theorem (J, 2015) It is NP-hard to decide membership of a finite semigroup in HSP(B 1 2 ) Requires the NP-hardness of a promise problem +1-in-3SAT: NO: a NO instance of +1-in-3SAT YES: the +1-in-3SAT instance lies in the quasivariety of +1-in-3SAT

6 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints

7 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints Quasivariety definitions and examples

8 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints Quasivariety definitions and examples For a fixed template CSP: absence of implicit constraints coincides with membership in quasivariety

9 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints Quasivariety definitions and examples For a fixed template CSP: absence of implicit constraints coincides with membership in quasivariety implementation of implicit constraints coincides with reflection into the quasivariety

10 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints Quasivariety definitions and examples For a fixed template CSP: absence of implicit constraints coincides with membership in quasivariety implementation of implicit constraints coincides with reflection into the quasivariety Result: Intractability of the stated promise problem +1-in-3SAT

11 A problem and overview Overview of talk and results Quasivariety concepts, and their relationship with constraint problems and implicit constraints Quasivariety definitions and examples For a fixed template CSP: absence of implicit constraints coincides with membership in quasivariety implementation of implicit constraints coincides with reflection into the quasivariety Result: Intractability of the stated promise problem +1-in-3SAT Result: Generalisation to (probably) all finite core relational structures with hard CSP

12 Quasivarieties Quasivarieties (Maltsev) A. I. Maltsev

13 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts

14 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n with each α 0,..., α n atomic

15 Universal Horn classes Quasivarieties Semantic Closed under isomorphic copies of substructures, direct products over nonempty index sets and ultraproducts Syntactic Definable by a set of universal Horn sentences: 0 i n where all α i are atomic or negated atomic, and at most one is atomic α i

16 Quasivarieties Quasivarieties versus universal Horn classes The quasivariety Q(K ) generated by a universal Horn class K differs from K, if at all, only on one element structures

17 Quasivarieties Quasivarieties versus universal Horn classes The quasivariety Q(K ) generated by a universal Horn class K differs from K, if at all, only on one element structures We can blur the distinction when it suits us

18 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts

19 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n with each α 0,..., α n atomic

20 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Cancelative semigroups:

21 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Cancelative semigroups: x(yz) = (xy)z, xy = xz y = z, xy = zy x = z

22 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Semigroups embeddable in a group:

23 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Semigroups embeddable in a group: it s complicated

24 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Ordered sets:

25 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Ordered sets: x x, x y & y z x z, x y & y x x = y

26 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Simple graphs:

27 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples Simple graphs: x x, x y y x (a universal Horn class)

28 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples 2-colourable graphs:

29 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples 2-colourable graphs: simple graphs with no odd cycles (a universal Horn class)

30 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples 3-colourable graphs:

31 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples 3-colourable graphs:... (a universal Horn class)

32 Quasivarieties Quasivarieties (Maltsev) Semantic Closed under isomorphic copies of substructures, direct products and ultraproducts Syntactic Definable by a set of quasi-equations: ( ) & α i α 0 1 i n Examples For any fixed finite relational structure A: the class of structures admitting a homomorphism into A (a universal Horn class)

33 Constraint satisfaction problems Constraint Satisfaction Problems Fix a relational structure A (always finite, with signature R)

34 Constraint satisfaction problems Constraint Satisfaction Problems Fix a relational structure A (always finite, with signature R) CSP(A) Instance: a finite R-structure B Question: is there a homomorphism from B into A?

35 Constraint satisfaction problems Constraint Satisfaction Problems Fix a relational structure A (always finite, with signature R) CSP(A) Instance: a finite R-structure B Question: is there a homomorphism from B into A? (Alternatively, the elements of the universe B are the variables and the tuples (b 1,..., b i ) r for r R B are the constraints )

36 Constraint satisfaction problems Constraint Satisfaction Problems Fix a relational structure A (always finite, with signature R) CSP(A) Instance: a finite R-structure B Question: is there a homomorphism from B into A? Example: +1-in-3SAT {}}{ A = {0, 1}; {(0, 0, 1), (0, 1, 0), (1, 0, 0)} R

37 Constraint satisfaction problems Constraint Satisfaction Problems Fix a relational structure A (always finite, with signature R) CSP(A) Instance: a finite R-structure B Question: is there a homomorphism from B into A? Example: +1-in-3SAT {}}{ A = {0, 1}; {(0, 0, 1), (0, 1, 0), (1, 0, 0)} Very important R CSP(A) is a quasivariety membership problem, but it is not membership in the quasivariety of A

38 Constraint satisfaction problems CSP(A) versus Q(A) Example: signature {, 0, 1} 1 0 R

39 Constraint satisfaction problems CSP(A) versus Q(A) Example: signature {, 0, 1} 1 0 R CSP(R) is directed graph unreachability: NL-complete

40 Constraint satisfaction problems CSP(A) versus Q(A) Example: signature {, 0, 1} 1 0 R CSP(R) is directed graph unreachability: NL-complete Q(R) is (roughly) just the class of ordered sets (first order definable)

41 Constraint satisfaction problems CSP(A) versus Q(A): core retracts A graph

42 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

43 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

44 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

45 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

46 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

47 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

48 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

49 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

50 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

51 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

52 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Retracting...

53 Constraint satisfaction problems CSP(A) versus Q(A): core retracts A core retract: all endomorphisms are automorphisms

54 Constraint satisfaction problems CSP(A) versus Q(A): core retracts The original graph, with its core retract in bold

55 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Another core retract, necessarily isomorphic

56 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Another core retract, necessarily isomorphic It is obvious that CSP(A) = CSP(core(A))

57 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Another core retract, necessarily isomorphic It is obvious that CSP(A) = CSP(core(A)) Homomorphism equivalent structures have the same CSP, but not necessarily the same quasivariety

58 Constraint satisfaction problems CSP(A) versus Q(A): core retracts Another core retract, necessarily isomorphic It is obvious that CSP(A) = CSP(core(A)) In particular: Q(A) is almost never equal to Q(core(A))

59 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r

60 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: R = { } (binary) K (here A will be K 3 )

61 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: R = { } (binary) K B 0

62 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: R = { } (binary) K B 02

63 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: R = { } (binary) 2 02 = K B 02 Frozen-in to = (may as well have been equal)

64 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: R = { } (binary) K B 02 Frozen-in to the edge relation (may as well have added the edge)

65 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r

66 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: backbone The backbone of B (wrt A) is the subset of B that are forced to take only one value under any homomorphism from B to A

67 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: backbone The backbone of B (wrt A) is the subset of B that are forced to take only one value under any homomorphism from B to A Emergence of large backbone a possible cause of intractability:

68 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: backbone The backbone of B (wrt A) is the subset of B that are forced to take only one value under any homomorphism from B to A Emergence of large backbone a possible cause of intractability: efficient means of finding the backbone would be specific to each problem type, but should nonetheless provide a step forwards in algorithm efficiency. (Monasson et al, Nature, 1999)

69 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: backbone The backbone of B (wrt A) is the subset of B that are forced to take only one value under any homomorphism from B to A (Previous talk (Ham): backbone cannot be cause of intractability)

70 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r Example: backbone The backbone of B (wrt A) is the subset of B that are forced to take only one value under any homomorphism from B to A (Previous talk (Ham): backbone cannot be cause of intractability) (also, Beacham 2000 and others)

71 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r

72 Implicit constraints and unfrozenness Implicit constraints for CSP(A) Frozen in For a finite R-structure B, a relation r R {=}, a tuple (b 1,..., b n ) is frozen in to r if every homomorphism φ : B A has (φ(b 1 ),..., φ(b n )) r r is unfrozen: if no tuple is frozen in to r

73 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership!

74 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A:

75 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen

76 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S

77 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S 3 there is an R-homomorphism from B into a direct power of A which also preserves the negation of the relations in S

78 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S 3 there is an R-homomorphism from B into a direct power of A which also preserves the negation of the relations in S In particular: no implicit constraints in the quasivariety of A

79 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S 3 there is an R-homomorphism from B into a direct power of A which also preserves the negation of the relations in S In particular: all relations unfrozen in the quasivariety of A

80 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S 3 there is an R-homomorphism from B into a direct power of A which also preserves the negation of the relations in S In particular: no relations required to be unfrozen in CSP(A)

81 Implicit constraints and unfrozenness Unfrozenness is quasivariety membership! Theorem (J, 2015, after Maltsev) For a finite relational structure A and a subset S R {=}. TFAE for a finite relational structure B having at least one homomorphism into A: 1 the relations in S on B are unfrozen 2 B satisfies all quasiequations of A whose conclusion involves a relation in S 3 there is an R-homomorphism from B into a direct power of A which also preserves the negation of the relations in S In particular: equality is unfrozen in SEP(A)

82 +1-in-3SAT Implicit constraints and unfrozenness Recall: Example: +1-in-3SAT A = {0, 1}; {(0, 0, 1), (0, 1, 0), (1, 0, 0)}

83 +1-in-3SAT Implicit constraints and unfrozenness Recall: Example: +1-in-3SAT A = {0, 1}; {(0, 0, 1), (0, 1, 0), (1, 0, 0)} original semigroup theoretic motivation fulcrum for Ham s Gap Trichotomy Theorem on Boolean domains

84 +1-in-3SAT +1-in-3SAT Proof by distillation (passing the problem through a series of otherwise unnecessary reductions)

85 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L G3C on graphs with triangulated edges Introduces 6-robustness promise: either there is no solution or every assignment on at most 6 variables extends to a solution

86 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L G3C on graphs with triangulated edges Introduces 6-robustness promise: either there is no solution or every assignment on at most 6 variables extends to a solution Follows technique of Gottlob, CP 2011

87 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L NAE3SAT L G3C on graphs with triangulated edges (Standard reduction.) Maintains 2-robustness promise: either there is no solution or every assignment on at most 2 variables extends to a solution

88 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L NAE3SAT L G3C on graphs with triangulated edges (Standard reduction, but with triangulation of all edges.) Maintains 2-robustness promise: either there is no 3-colouring, or every valid colouring of any two vertices extends to a 3-colouring

89 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L NAE3SAT L G3C on graphs with triangulated edges (Standard reduction, but with triangulation of all edges.) Maintains 2-robustness promise: either there is no 3-colouring, or every valid colouring of any two vertices extends to a 3-colouring (Non-triangulated case proved by Abramsky, Gottlob and Kolaitis, IJCAI 2013)

90 +1-in-3SAT +1-in-3SAT NAE3SAT L NAE21SAT L NAE3SAT L G3C on graphs with triangulated edges L +1-in-3SAT w Obvious reduction: for each triangle u v and each colour i {0, 1, 2} create clauses (u i v i w i ): colour i appears exactly once and (u 0 u 1 u 2 ): vertex u has exactly one colour

91 Mega extension Quasivariety Gap Theorem Big Gap Theorem (previous talk), enables us to prove a corresponding result for probably any hard CSP

92 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type:

93 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU, then deciding membership in the quasivariety of A is NP-complete

94 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU, then deciding membership in the quasivariety of A is NP-complete weak NU is a polymorphism property

95 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU, then deciding membership in the quasivariety of A is NP-complete weak NU is a polymorphism property Algebraic Dichotomy Conjecture: a CSP over core A is NP-complete if and only if it has no weak NU (Bulatov, Jeavons, Krokhin, 2001)

96 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU, then deciding membership in the quasivariety of A is NP-complete

97 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU then the following promise problem is NP-hard: YES B is a finite member of the quasivariety of A NO B has no homomorphisms into A (or core(a))

98 Mega extension Quasivariety Gap Theorem Quasivariety Gap Theorem (Ham and Jackson, 2016) For a finite relational structure A of finite type: if the core retract of A has no weak NU then the following promise problem is NP-hard: YES B is a finite member of the quasivariety of A NO B has no homomorphisms into A (or core(a)) A slightly nontrivial consequence of the Big Gap Theorem (previous talk)

99 Quasivariety Gap Theorem Corollary For a finite simple graph G: 1 G bipartite: membership in Q(G) is tractable 2 G not bipartite: membership in Q(G) is NP-complete

100 Quasivariety Gap Theorem Corollary For a finite simple graph G: 1 G bipartite: deciding CSP(G) is tractable 2 G not bipartite: deciding CSP(G) is NP-complete (The Hell-Nešetřil dichotomy)

101 Quasivariety Gap Theorem Corollary For a finite simple graph G: 1 G bipartite: Both Q(G) and CSP(G) are tractable 2 G not bipartite: any class K with Q(G) K CSP(G) has NP-hard membership

102 Quasivariety Gap Theorem Corollary For a finite simple graph G: 1 G bipartite: Both Q(G) and CSP(G) are tractable 2 G not bipartite: any class K with Q(G) K CSP(G) has NP-hard membership Corollary Let A be a relational structure on {0, 1}. Deciding membership in the quasivariety of A is solvable in polynomial time if A has a weak NU NP-complete otherwise

103 Quasivariety Gap Theorem Fundamental ideas for proof 1 all of the previous talk (Big Gap Theorem)

104 Quasivariety Gap Theorem Fundamental ideas for proof 1 all of the previous talk (Big Gap Theorem) 2 (requires arbitrary strength distillation for 3SAT)

105 Quasivariety Gap Theorem Fundamental ideas for proof 1 all of the previous talk (Big Gap Theorem) 2 (requires arbitrary strength distillation for 3SAT) 3 reflection

106 Quasivariety Gap Theorem Fundamental ideas for proof 1 all of the previous talk (Big Gap Theorem) 2 (requires arbitrary strength distillation for 3SAT) 3 reflection reflection?

107 Quasivariety Gap Theorem Fundamental ideas for proof 1 all of the previous talk (Big Gap Theorem) 2 (requires arbitrary strength distillation for 3SAT) 3 reflection reflection? enables transition from (k, F)-robust satisfiability to quasivariety membership

108 Reflections Reflection into a quasivariety (Maltsev again) Semantic: given generator A for quasivariety Apply natural homomorphism from B into the direct product A (ie b(φ) = φ(b)) hom(b,a) The reflection of B into Q(K ) is the induced substructure on the image of B Blah blah blah blah 1 1 actually it s really beautiful

109 Reflections Reflection into a quasivariety (Maltsev again) Semantic: given generator A for quasivariety Apply natural homomorphism from B into the direct product A (ie b(φ) = φ(b)) hom(b,a) The reflection of B into Q(K ) is the induced substructure on the image of B Syntactic: given set Σ of axioms for quasivariety Iteratively apply quasi-equations in Σ to B: for each interpretation of the premise, implement the conclusion

110 Reflections Example: syntactic reflection into ordered sets A directed graph...

111 Reflections Example: syntactic reflection into ordered sets (Redrawing only... )

112 Reflections Example: syntactic reflection into ordered sets (Redrawing only... )

113 Reflections Example: syntactic reflection into ordered sets (Redrawing only... )

114 Reflections Example: syntactic reflection into ordered sets

115 Reflections Example: syntactic reflection into ordered sets x y z Reflecting x y & y z x z

116 Reflections Example: syntactic reflection into ordered sets x y z Reflecting x y & y z x z

117 Reflections Example: syntactic reflection into ordered sets

118 Reflections Example: syntactic reflection into ordered sets x y Reflecting x y & y x x = y

119 Reflections Example: syntactic reflection into ordered sets x y Reflecting x y & y x x = y

120 Reflections Example: syntactic reflection into ordered sets x y Reflecting x y & y x x = y

121 Reflections Example: syntactic reflection into ordered sets x y Reflecting x y & y x x = y

122 Reflections Example: syntactic reflection into ordered sets Reflecting (ignoring loops) x y & y x x = y

123 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y x x = y

124 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y x x = y

125 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y x x = y

126 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y x x = y

127 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y z x z

128 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y z x z

129 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y z x z

130 Reflections Example: syntactic reflection into ordered sets Reflecting x y & y z x z

131 Reflections Example: syntactic reflection into ordered sets

132 Reflections Example: syntactic reflection into ordered sets As a Hasse Diagram

133 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)!

134 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)! Bad news: finding even a single implicit constraint might be NP-hard (he can t get no satisfaction)

135 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)! Bad news: finding even a single implicit constraint might be NP-hard Good news: CAN reflect into a finitely axiomatisable quasivariety in polynomial time

136 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)! Bad news: finding even a single implicit constraint might be NP-hard Good news: CAN reflect into a finitely axiomatisable quasivariety in polynomial time More bad news: when A has no weak NU, there is no finite axiomatisation for Q(A)

137 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)! Bad news: finding even a single implicit constraint might be NP-hard Good news: CAN reflect into a finitely axiomatisable quasivariety in polynomial time Best news ever: if k is larger than the maximal arity of any relation, and B is (k, F)-robustly satisfiable, then the reflection into the quasivariety of A is first order definable from B

138 Reflections Reflection and implicit constraints The reflection of an instance B with respect to Q(A) is the result of iteratively implementing all implicit constraints in B with respect to CSP(A)! Bad news: finding even a single implicit constraint might be NP-hard Good news: CAN reflect into a finitely axiomatisable quasivariety in polynomial time Best news ever: if k is larger than the maximal arity of any relation, and B is (k, F)-robustly satisfiable, then the reflection into the quasivariety of A is first order definable from B Apply this first order reduction from the promise problem in the Big Gap Theorem to obtain the Quasivariety Gap Theorem

139 Reflections Thank you!

Universal algebra for CSP Lecture 2

Universal algebra for CSP Lecture 2 Universal algebra for CSP Lecture 2 Ross Willard University of Waterloo Fields Institute Summer School June 26 30, 2011 Toronto, Canada R. Willard (Waterloo) Universal algebra Fields Institute 2011 1 /

More information

Constraint satisfaction problems and dualities

Constraint satisfaction problems and dualities Andrei Krokhin - CSPs and dualities 1 Constraint satisfaction problems and dualities Andrei Krokhin University of Durham Andrei Krokhin - CSPs and dualities 2 The CSP The Constraint Satisfaction (or Homomorphism)

More information

Tutorial on the Constraint Satisfaction Problem

Tutorial on the Constraint Satisfaction Problem Tutorial on the Constraint Satisfaction Problem Miklós Maróti Vanderbilt University and University of Szeged Nový Smokovec, 2012. September 2 7. Miklós Maróti (Vanderbilt and Szeged) The Constraint Satisfaction

More information

Bounded width problems and algebras

Bounded width problems and algebras Algebra univers. 56 (2007) 439 466 0002-5240/07/030439 28, published online February 21, 2007 DOI 10.1007/s00012-007-2012-6 c Birkhäuser Verlag, Basel, 2007 Algebra Universalis Bounded width problems and

More information

Graphs, Polymorphisms, and Multi-Sorted Structures

Graphs, Polymorphisms, and Multi-Sorted Structures Graphs, Polymorphisms, and Multi-Sorted Structures Ross Willard University of Waterloo NSAC 2013 University of Novi Sad June 6, 2013 Ross Willard (Waterloo) Graphs, Polymorphisms, Multi-Sorted Struc NSAC

More information

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS

CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS CLASSIFYING THE COMPLEXITY OF CONSTRAINTS USING FINITE ALGEBRAS ANDREI BULATOV, PETER JEAVONS, AND ANDREI KROKHIN Abstract. Many natural combinatorial problems can be expressed as constraint satisfaction

More information

{Symmetry, Logic, CSP}

{Symmetry, Logic, CSP} {Symmetry, Logic, CSP} Libor Barto Charles University in Prague {Symmetry, Logic, Computation} Simons Institute, Berkeley, 9 Nov 2016 Message Topic: Constraint Satisfaction Problem (CSP) over a fixed finite

More information

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems

Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Algebraic Tractability Criteria for Infinite-Domain Constraint Satisfaction Problems Manuel Bodirsky Institut für Informatik Humboldt-Universität zu Berlin May 2007 CSPs over infinite domains (May 2007)

More information

A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS

A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS Logical Methods in Computer Science Vol. 11(4:18)2015, pp. 1 33 www.lmcs-online.org Submitted Jun. 24, 2014 Published Dec. 29, 2015 A FINER REDUCTION OF CONSTRAINT PROBLEMS TO DIGRAPHS JAKUB BULÍN a, DEJAN

More information

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory

International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory International Workshop on Mathematics of Constraint Satisfaction: Algebra, Logic and Graph Theory 20-24 March 2006 St Anne's College, University of Oxford www.comlab.ox.ac.uk/mathscsp Constraints & Algebra

More information

The complexity of Sur-Hom(C 4 )

The complexity of Sur-Hom(C 4 ) The complexity of Sur-Hom(C 4 ) Barnaby Martin and Danïel Paulusma Algorithms and Complexity in Durham, 7th Slovenian International Conference on Graph Theory Bled 11 25th June, 2011 My introduction to

More information

Clonoids and Promise CSP

Clonoids and Promise CSP Clonoids and Promise CSP Jakub Buĺın JKU Linz AAA94 & NSAC 2017 Research supported by University of Colorado Boulder and the Austrian Science Fund (FWF): P29931 In this talk... A more general framework

More information

Caterpillar duality for CSP. C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD)

Caterpillar duality for CSP. C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD) Caterpillar duality for CSP C. Carvalho (UoD), V. Dalmau (UPF) and A. Krokhin (UoD) Motivation The following problems Scheduling; System of linear equations; Drawing up a timetable; Check the satisfiability

More information

Polymorphisms, and how to use them

Polymorphisms, and how to use them Polymorphisms, and how to use them Libor Barto 1, Andrei Krokhin 2, and Ross Willard 3 1 Department of Algebra, Faculty of Mathematics and Physics Charles University in Prague, Czech Republic libor.barto@gmail.com

More information

CSP, Algebras, Varieties. Andrei A. Bulatov Simon Fraser University

CSP, Algebras, Varieties. Andrei A. Bulatov Simon Fraser University CSP Algebras Varieties Andrei A. Bulatov Simon Fraser University CSP Reminder An instance o CSP is deined to be a pair o relational structures A and B over the same vocabulary τ. Does there exist a homomorphism

More information

Promise constraint satisfaction

Promise constraint satisfaction Promise constraint satisfaction Jakub Opršal (TU Dresden) Joint work with Jakub Bulín, Andrei Krokhin, and others Krkonoše, Sep 4, 2018 This project has received funding from the European Research Council

More information

The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory

The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory The Computational Structure of Monotone Monadic SNP and Constraint Satisfaction: A Study through Datalog and Group Theory Tomás Feder Moshe Y. Vardi IBM Almaden Research Center 650 Harry Road San Jose,

More information

Polymorphisms, and How to Use Them

Polymorphisms, and How to Use Them Polymorphisms, and How to Use Them Libor Barto 1, Andrei Krokhin 2, and Ross Willard 3 1 Department of Algebra, Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic libor.barto@gmail.com

More information

Topological clones. Michael Pinsker. Technische Universität Wien / Univerzita Karlova v Praze. Funded by Austrian Science Fund (FWF) grant P27600

Topological clones. Michael Pinsker. Technische Universität Wien / Univerzita Karlova v Praze. Funded by Austrian Science Fund (FWF) grant P27600 Technische Universität Wien / Univerzita Karlova v Praze Funded by Austrian Science Fund (FWF) grant P27600 TACL 2015 Outline I: Algebras, function clones, abstract clones, Birkhoff s theorem II:, Topological

More information

Enumerating Homomorphisms

Enumerating Homomorphisms Enumerating Homomorphisms Andrei A. Bulatov School of Computing Science, Simon Fraser University, Burnaby, Canada Víctor Dalmau 1, Department of Information and Communication Technologies, Universitat

More information

Complexity of conservative Constraint Satisfaction Problems

Complexity of conservative Constraint Satisfaction Problems Complexity of conservative Constraint Satisfaction Problems ANDREI A. BULATOV Simon Fraser University In a constraint satisfaction problem (CSP) the aim is to find an assignment of values to a given set

More information

Finite axiomatization of quasivarieties of relational structures

Finite axiomatization of quasivarieties of relational structures Finite axiomatization of quasivarieties of relational structures Micha l Stronkowski Charles University in Prague & Warsaw University of Technology JardaFest, June 2010 Proof Elements of Mk Elements of

More information

Constraint satisfaction problems over infinite domains

Constraint satisfaction problems over infinite domains Constraint satisfaction problems over infinite domains Michael Kompatscher, Trung Van Pham Theory and Logic Group TU Wien Research Seminar, 27/04/2016 Schaefer s theorem Let Φ be a set of propositional

More information

The complexity of constraint satisfaction: an algebraic approach

The complexity of constraint satisfaction: an algebraic approach The complexity of constraint satisfaction: an algebraic approach Andrei KROKHIN Department of Computer Science University of Durham Durham, DH1 3LE UK Andrei BULATOV School of Computer Science Simon Fraser

More information

Dualities for Constraint Satisfaction Problems

Dualities for Constraint Satisfaction Problems Dualities for Constraint Satisfaction Problems Andrei Bulatov 1, Andrei Krokhin 2, and Benoit Larose 3 1 School of Computing Science Simon Fraser University Burnaby, BC, Canada, V5A 1S6 abulatov@cs.sfu.ca

More information

Finer complexity of Constraint Satisfaction Problems with Maltsev Templates

Finer complexity of Constraint Satisfaction Problems with Maltsev Templates Finer complexity of Constraint Satisfaction Problems with Maltsev Templates Dejan Delic Department of Mathematics Ryerson University Toronto, Canada joint work with A. Habte (Ryerson University) May 24,

More information

Author manuscript, published in "27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) "

Author manuscript, published in 27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) Author manuscript, published in "27th International Symposium on Theoretical Aspects of Computer Science - STACS 2010 (2010) 335-346" Symposium on Theoretical Aspects of Computer Science 2010 (Nancy, France),

More information

On the Power of k-consistency

On the Power of k-consistency On the Power of k-consistency Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Joint work with Andrei Bulatov and Victor Dalmau Constraint Satisfaction Problems Fix a relational vocabulary

More information

Schaefer s theorem for graphs

Schaefer s theorem for graphs Schaefer s theorem for graphs Manuel Bodirsky Laboratoire d Informatique (LIX), CNRS UMR 7161 École Polytechnique 91128 Palaiseau, France bodirsky@lix.polytechnique.fr Michael Pinsker Équipe de Logique

More information

Absorption in Universal Algebra and CSP

Absorption in Universal Algebra and CSP Absorption in Universal Algebra and CSP Libor Barto 1 and Marcin Kozik 2 1 Department of Algebra, Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic libor.barto@gmail.com 2

More information

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs

Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Trichotomy Results on the Complexity of Reasoning with Disjunctive Logic Programs Mirosław Truszczyński Department of Computer Science, University of Kentucky, Lexington, KY 40506, USA Abstract. We present

More information

Constraint Satisfaction

Constraint Satisfaction Constraint Satisfaction and Graph Theory Plan How much is lost by focusing on graphs How graphs help intuition How graph theory gets used Graph Colouring Graph Colouring One of the most common illustrations

More information

Toward Quandle Dichotomy

Toward Quandle Dichotomy Robert McGrail, Mona Merling, Mary Sharac, Japheth Wood Laboratory for Algebraic and Symbolic Computation Reem-Kayden Center for Science and Computation Bard College Annandale-on-Hudson, NY 12504 April

More information

arxiv: v5 [cs.cc] 17 May 2015

arxiv: v5 [cs.cc] 17 May 2015 SCHAEFER S THEOREM FOR GRAPHS MANUEL BODIRSKY AND MICHAEL PINSKER arxiv:1011.2894v5 [cs.cc] 17 May 2015 Abstract. Schaefer s theorem is a complexity classification result for so-called Boolean constraint

More information

THE WONDERLAND OF REFLECTIONS

THE WONDERLAND OF REFLECTIONS THE WONDERLAND OF REFLECTIONS LIBOR BARTO, JAKUB OPRŠAL, AND MICHAEL PINSKER Abstract. A fundamental fact for the algebraic theory of constraint satisfaction problems (CSPs) over a fixed template is that

More information

The complexity of the list homomorphism problem for graphs

The complexity of the list homomorphism problem for graphs The complexity of the list homomorphism problem for graphs László Egri, Andrei Krokhin, Benoit Larose, Pascal Tesson April 2, 2009 Abstract We completely characterise the computational complexity of the

More information

Testing assignments to constraint satisfaction problems

Testing assignments to constraint satisfaction problems Testing assignments to constraint satisfaction problems Hubie Chen University of the Basque Country (UPV/EHU) E-20018 San Sebastián, Spain and IKERBASQUE, Basque Foundation for Science E-48011 Bilbao,

More information

Admin NP-COMPLETE PROBLEMS. Run-time analysis. Tractable vs. intractable problems 5/2/13. What is a tractable problem?

Admin NP-COMPLETE PROBLEMS. Run-time analysis. Tractable vs. intractable problems 5/2/13. What is a tractable problem? Admin Two more assignments No office hours on tomorrow NP-COMPLETE PROBLEMS Run-time analysis Tractable vs. intractable problems We ve spent a lot of time in this class putting algorithms into specific

More information

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS)

TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) TOPOLOGY IS IRRELEVANT (IN THE INFINITE DOMAIN DICHOTOMY CONJECTURE FOR CONSTRAINT SATISFACTION PROBLEMS) LIBOR BARTO AND MICHAEL PINSKER Abstract. We prove that an ω-categorical core structure primitively

More information

AND. William DeMeo. joint work with. Cliff Bergman Jiali Li. Iowa State University BLAST 2015

AND. William DeMeo. joint work with. Cliff Bergman Jiali Li. Iowa State University BLAST 2015 THE ALGEBRAIC APPROACH TO CSP AND CSPS OF COMMUTATIVE IDEMPOTENT BINARS William DeMeo williamdemeo@gmail.com joint work with Cliff Bergman Jiali Li Iowa State University BLAST 2015 University of North

More information

Finite Model Theory: First-Order Logic on the Class of Finite Models

Finite Model Theory: First-Order Logic on the Class of Finite Models 1 Finite Model Theory: First-Order Logic on the Class of Finite Models Anuj Dawar University of Cambridge Modnet Tutorial, La Roche, 21 April 2008 2 Finite Model Theory In the 1980s, the term finite model

More information

Schaefer s theorem for graphs

Schaefer s theorem for graphs Schaefer s theorem for graphs Manuel Bodirsky Laboratoire d Informatique (LIX), CNRS UMR 7161 École Polytechnique 91128 Palaiseau, France bodirsky@lix.polytechnique.fr Michael Pinsker Équipe de Logique

More information

The complexity of the list homomorphism problem for graphs

The complexity of the list homomorphism problem for graphs The complexity of the list homomorphism problem for graphs László Egri School of Computer Science McGill University, Montréal, Canada laszlo.egri@mail.mcgill.ca Andrei Krokhin School of Engineering and

More information

Computational Complexity in Graph Theory

Computational Complexity in Graph Theory Charles University Faculty of Mathematics and Physics Doctoral Thesis Computational Complexity in Graph Theory Jan Kára Department of Applied Mathematics and Institute for Theoretical Computer Science

More information

Quantified Equality Constraints

Quantified Equality Constraints Quantified Equality Constraints Manuel Bodirsky Institut für Informatik Humboldt-Universität zu Berlin, Germany bodirsky@informatik.hu-berlin.de Hubie Chen Departament de Tecnologies de la Informació i

More information

arxiv: v2 [cs.cc] 2 Oct 2011

arxiv: v2 [cs.cc] 2 Oct 2011 SCHAEFER S THEOREM FOR GRAPHS MANUEL BODIRSKY AND MICHAEL PINSKER arxiv:1011.2894v2 [cs.cc] 2 Oct 2011 Abstract. Schaefer s theorem is a complexity classification result for so-called Boolean constraint

More information

MAL TSEV CONSTRAINTS MADE SIMPLE

MAL TSEV CONSTRAINTS MADE SIMPLE Electronic Colloquium on Computational Complexity, Report No. 97 (2004) MAL TSEV CONSTRAINTS MADE SIMPLE Departament de Tecnologia, Universitat Pompeu Fabra Estació de França, Passeig de la circumval.lació,

More information

Colouring, Constraint Satisfaction, and Complexity

Colouring, Constraint Satisfaction, and Complexity Colouring, Constraint Satisfaction, and Complexity For Aleš Pultr on the Occasion of his 70th Birthday Pavol Hell School of Computing Science Simon Fraser University Burnaby, B.C., Canada V5A 1S6 pavol@cs.sfu.ca

More information

Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I

Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I Tutorial on Universal Algebra, Mal cev Conditions, and Finite Relational Structures: Lecture I Ross Willard University of Waterloo, Canada BLAST 2010 Boulder, June 2010 Ross Willard (Waterloo) Universal

More information

Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete

Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete Combinatorial Proof that Subprojective Constraint Satisfaction Problems are NP-Complete Jaroslav Nešetřil 1 and Mark Siggers 1 Department of Applied Mathematics and Institute for Theoretical Computer Science

More information

On the hardness of losing weight

On the hardness of losing weight On the hardness of losing weight Andrei Krokhin 1 and Dániel Marx 2 1 Department of Computer Science, Durham University, Durham, DH1 3LE, UK andrei.krokhin@durham.ac.uk 2 Department of Computer Science

More information

Datalog and Constraint Satisfaction with Infinite Templates

Datalog and Constraint Satisfaction with Infinite Templates Datalog and Constraint Satisfaction with Infinite Templates Manuel Bodirsky 1 and Víctor Dalmau 2 1 CNRS/LIX, École Polytechnique, bodirsky@lix.polytechnique.fr 2 Universitat Pompeu Fabra, victor.dalmau@upf.edu

More information

Minimum Cost Homomorphisms to Semicomplete Multipartite Digraphs

Minimum Cost Homomorphisms to Semicomplete Multipartite Digraphs Minimum Cost Homomorphisms to Semicomplete Multipartite Digraphs Gregory Gutin Arash Rafiey Anders Yeo Abstract For digraphs D and H, a mapping f : V (D) V (H) is a homomorphism of D to H if uv A(D) implies

More information

More Model Theory Notes

More Model Theory Notes More Model Theory Notes Miscellaneous information, loosely organized. 1. Kinds of Models A countable homogeneous model M is one such that, for any partial elementary map f : A M with A M finite, and any

More information

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012

Bernhard Nebel, Julien Hué, and Stefan Wölfl. June 27 & July 2/4, 2012 Bernhard Nebel, Julien Hué, and Stefan Wölfl Albert-Ludwigs-Universität Freiburg June 27 & July 2/4, 2012 vs. complexity For some restricted constraint languages we know some polynomial time algorithms

More information

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment?

Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence Do Hard SAT-Related Reasoning Tasks Become Easier in the Krom Fragment? Nadia Creignou Aix-Marseille Université

More information

Model theory and algebraic geometry in groups, non-standard actions and algorithms

Model theory and algebraic geometry in groups, non-standard actions and algorithms Model theory and algebraic geometry in groups, non-standard actions and algorithms Olga Kharlampovich and Alexei Miasnikov ICM 2014 1 / 32 Outline Tarski s problems Malcev s problems Open problems 2 /

More information

COMBINATORIAL PROOF THAT SUBPROJECTIVE CONSTRAINT SATISFACTION PROBLEMS ARE NP-COMPLETE

COMBINATORIAL PROOF THAT SUBPROJECTIVE CONSTRAINT SATISFACTION PROBLEMS ARE NP-COMPLETE COMBINATORIAL PROOF THAT SUBPROJECTIVE CONSTRAINT SATISFACTION PROBLEMS ARE NP-COMPLETE JAROSLAV NEŠETŘIL AND MARK H. SIGGERS Abstract. We introduce a new general polynomial-time constructionthe fibre

More information

Equational Logic. Chapter Syntax Terms and Term Algebras

Equational Logic. Chapter Syntax Terms and Term Algebras Chapter 2 Equational Logic 2.1 Syntax 2.1.1 Terms and Term Algebras The natural logic of algebra is equational logic, whose propositions are universally quantified identities between terms built up from

More information

Proof Complexity Meets Algebra,

Proof Complexity Meets Algebra, Proof Complexity Meets Algebra joint work with Albert Atserias Université Paris Diderot - Paris 7 Logical Structures in Computation Reunion Workshop Simons Institute, 13th December 2017 (CSP problem) P

More information

Shortest reconfiguration paths in the solution space of Boolean formulas

Shortest reconfiguration paths in the solution space of Boolean formulas Shortest reconfiguration paths in the solution space of Boolean formulas Amer Mouawad Department of Informatics University of Bergen Joint work with Naomi Nishimura, Vinayak Pathak, and Venkatesh Raman

More information

CS21 Decidability and Tractability

CS21 Decidability and Tractability CS21 Decidability and Tractability Lecture 20 February 23, 2018 February 23, 2018 CS21 Lecture 20 1 Outline the complexity class NP NP-complete probelems: Subset Sum NP-complete problems: NAE-3-SAT, max

More information

Homomorphism Preservation Theorem. Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain

Homomorphism Preservation Theorem. Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Homomorphism Preservation Theorem Albert Atserias Universitat Politècnica de Catalunya Barcelona, Spain Structure of the talk 1. Classical preservation theorems 2. Preservation theorems in finite model

More information

Graphs admitting a k-nu Polymorphism

Graphs admitting a k-nu Polymorphism Graphs admitting a k-nu Polymorphism B. Larose 1 2 and friends 1 Concordia University, Montréal QC 2 Champlain Regional College, St-Lambert QC AMS Sectional Meeting, Boulder CO, April 2013 Authors and

More information

Lecture 12 Scribe Notes

Lecture 12 Scribe Notes 6.890: Algorithmic Lower Bounds: Fun With Hardness Proofs Fall 04 Prof. Erik Demaine Lecture Scribe Notes Recap For the past two classes, we ve been covering inapproximability, some of its reduction styles,

More information

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013

Chapter 2. Reductions and NP. 2.1 Reductions Continued The Satisfiability Problem (SAT) SAT 3SAT. CS 573: Algorithms, Fall 2013 August 29, 2013 Chapter 2 Reductions and NP CS 573: Algorithms, Fall 2013 August 29, 2013 2.1 Reductions Continued 2.1.1 The Satisfiability Problem SAT 2.1.1.1 Propositional Formulas Definition 2.1.1. Consider a set of

More information

The Complexity of the Counting CSP

The Complexity of the Counting CSP The Complexity of the Counting CSP Víctor Dalmau Universitat Pompeu Fabra The Complexity of the Counting CSP p.1/23 (Non Uniform) Counting CSP Def: (Homomorphism formulation) Let B be a (finite) structure.

More information

A Collection of Problems in Propositional Logic

A Collection of Problems in Propositional Logic A Collection of Problems in Propositional Logic Hans Kleine Büning SS 2016 Problem 1: SAT (respectively SAT) Instance: A propositional formula α (for SAT in CNF). Question: Is α satisfiable? The problems

More information

The Complexity of Approximating Small Degree Boolean #CSP

The Complexity of Approximating Small Degree Boolean #CSP The Complexity of Approximating Small Degree Boolean #CSP Pinyan Lu, ITCS@SUFE Institute for Theoretical Computer Science Shanghai University of Finance and Economics Counting CSP F (Γ) is a family of

More information

NP and Computational Intractability

NP and Computational Intractability NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.

More information

Constraint Satisfaction. Complexity. and. Logic. Phokion G. Kolaitis. IBM Almaden Research Center & UC Santa Cruz

Constraint Satisfaction. Complexity. and. Logic. Phokion G. Kolaitis. IBM Almaden Research Center & UC Santa Cruz Constraint Satisfaction Complexity and Logic Phokion G. Kolaitis IBM Almaden Research Center & UC Santa Cruz 1 Goals Goals: Show that Constraint Satisfaction Problems (CSP) form a broad class of algorithmic

More information

Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem

Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem Precise Upper and Lower bounds for the Monotone Constraint Satisfaction Problem Victor Lagerkvist 1 Department of Computer and Information Science, Linköping University, Sweden victor.lagerkvist@liu.se

More information

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. On the Boolean Connectivity Problem for Horn Relations

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. On the Boolean Connectivity Problem for Horn Relations MATHEMATICAL ENGINEERING TECHNICAL REPORTS On the Boolean Connectivity Problem for Horn Relations Kazuhisa Makino, Suguru Tamaki, and Masaki Yamamoto METR 2007 25 April 2007 DEPARTMENT OF MATHEMATICAL

More information

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,

More information

THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS. Keywords: Computational Complexity, Constraint Satisfaction Problems.

THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS. Keywords: Computational Complexity, Constraint Satisfaction Problems. THERE ARE NO PURE RELATIONAL WIDTH 2 CONSTRAINT SATISFACTION PROBLEMS Departament de tecnologies de la informació i les comunicacions, Universitat Pompeu Fabra, Estació de França, Passeig de la circumval.laci

More information

The Complexity of Constraint Satisfaction Games and QCSP

The Complexity of Constraint Satisfaction Games and QCSP The Complexity of Constraint Satisfaction Games and QCSP Ferdinand Börner Institut für Informatik University of Potsdam Potsdam, D-14482, Germany fboerner@rz.uni-potsdam.de Hubie Chen Department of Technology

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

More information

Counting problems and clones of functions

Counting problems and clones of functions Counting problems and clones of functions Andrei A. Bulatov and Amir Hedayaty Simon Fraser University, abulatov@cs.sfu.ca, hedayaty@gmail.com Abstract. Counting solutions of various combinatorial problems

More information

GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE

GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE GRAPHS ADMITTING k-nu OPERATIONS. PART 1: THE REFLEXIVE CASE TOMÁS FEDER, PAVOL HELL, BENOÎT LAROSE, CYNTHIA LOTEN, MARK SIGGERS, AND CLAUDE TARDIF Abstract. We describe a generating set for the variety

More information

Classifying classes of structures in model theory

Classifying classes of structures in model theory Classifying classes of structures in model theory Saharon Shelah The Hebrew University of Jerusalem, Israel, and Rutgers University, NJ, USA ECM 2012 Saharon Shelah (HUJI and Rutgers) Classifying classes

More information

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic

Preliminaries. Introduction to EF-games. Inexpressivity results for first-order logic. Normal forms for first-order logic Introduction to EF-games Inexpressivity results for first-order logic Normal forms for first-order logic Algorithms and complexity for specific classes of structures General complexity bounds Preliminaries

More information

ICALP g Mingji Xia

ICALP g Mingji Xia : : ICALP 2010 g Institute of Software Chinese Academy of Sciences 2010.7.6 : 1 2 3 Matrix multiplication : Product of vectors and matrices. AC = e [n] a ec e A = (a e), C = (c e). ABC = e,e [n] a eb ee

More information

On Elementary Loops of Logic Programs

On Elementary Loops of Logic Programs Under consideration for publication in Theory and Practice of Logic Programming 1 On Elementary Loops of Logic Programs Martin Gebser Institut für Informatik Universität Potsdam, Germany (e-mail: gebser@cs.uni-potsdam.de)

More information

Lecture 16: Constraint Satisfaction Problems

Lecture 16: Constraint Satisfaction Problems A Theorist s Toolkit (CMU 18-859T, Fall 2013) Lecture 16: Constraint Satisfaction Problems 10/30/2013 Lecturer: Ryan O Donnell Scribe: Neal Barcelo 1 Max-Cut SDP Approximation Recall the Max-Cut problem

More information

Algebraic view on promise constraint satisfaction and hardness of coloring a D-colorable graph with 2D 1 colors

Algebraic view on promise constraint satisfaction and hardness of coloring a D-colorable graph with 2D 1 colors Algebraic view on promise constraint satisfaction and hardness of coloring a D-colorable graph with 2D 1 colors Jakub Opršal (TU Dresden) Joint work with Jakub Bulín and Andrei Krokhin Dagstuhl, June 5,

More information

Advanced Algorithms (XIII) Yijia Chen Fudan University

Advanced Algorithms (XIII) Yijia Chen Fudan University Advanced Algorithms (XIII) Yijia Chen Fudan University The PCP Theorem Theorem NP = PCP(log n, 1). Motivation Approximate solutions Definition (Approximation of MAX-3SAT) For every 3CNF formula ϕ, the

More information

Essential facts about NP-completeness:

Essential facts about NP-completeness: CMPSCI611: NP Completeness Lecture 17 Essential facts about NP-completeness: Any NP-complete problem can be solved by a simple, but exponentially slow algorithm. We don t have polynomial-time solutions

More information

Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy

Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy Electronic Colloquium on Computational Complexity, Report No. 143 (2014) Compendium of Parameterized Problems at Higher Levels of the Polynomial Hierarchy Ronald de Haan, Stefan Szeider Institute of Information

More information

Computational Algebraic Topology Topic B Lecture III: Quantum Realizability

Computational Algebraic Topology Topic B Lecture III: Quantum Realizability Computational Algebraic Topology Topic B Lecture III: Quantum Realizability Samson Abramsky Department of Computer Science The University of Oxford Samson Abramsky (Department of Computer ScienceThe Computational

More information

Counting Matrix Partitions of Graphs

Counting Matrix Partitions of Graphs Counting Matrix Partitions of Graphs David Richerby University of Oxford Joint work with Martin Dyer, Andreas Göbel, Leslie Ann Goldberg, Colin McQuillan and Tomoyuki Yamakami David Richerby (Oxford) Counting

More information

Constraint Satisfaction Problems with Infinite Templates

Constraint Satisfaction Problems with Infinite Templates Constraint Satisfaction Problems with Infinite Templates Manuel Bodirsky 1 École polytechnique, Laboratoire d informatique (LIX), France bodirsky@lix.polytechnique.fr Abstract. Allowing templates with

More information

Supermodular Functions and the Complexity of Max CSP

Supermodular Functions and the Complexity of Max CSP Supermodular Functions and the Complexity of Max CSP David Cohen a, Martin Cooper b, Peter Jeavons c, Andrei Krokhin d, a Department of Computer Science, Royal Holloway, University of London, Egham, Surrey,

More information

A Proof of CSP Dichotomy Conjecture

A Proof of CSP Dichotomy Conjecture 58th Annual IEEE Symposium on Foundations of Computer Science A Proof of CSP Dichotomy Conjecture Dmitriy Zhuk Department of Mechanics and Mathematics Lomonosov Moscow State University Moscow, Russia Email:

More information

MANUEL BODIRSKY AND JAN KÁRA

MANUEL BODIRSKY AND JAN KÁRA A FAST ALGORITHM AND DATALOG INEXPRESSIBILITY FOR TEMPORAL REASONING arxiv:0805.1473v2 [cs.ai] 11 Apr 2009 MANUEL BODIRSKY AND JAN KÁRA Humboldt-Universität zu Berlin, Germany E-mail address: bodirsky@informatik.hu-berlin.de

More information

Axiomatizability of Algebras of Binary Relations

Axiomatizability of Algebras of Binary Relations Axiomatizability of Algebras of Binary Relations Szabolcs Mikulás Department of Computer Science and Information Systems Birkbeck, University of London szabolcs@dcs.bbk.ac.uk 22/09/2010 Sz. Mikulás ()

More information

A Complexity Classification of the Six Vertex Model as Holant Problems

A Complexity Classification of the Six Vertex Model as Holant Problems A Complexity Classification of the Six Vertex Model as Holant Problems Jin-Yi Cai (University of Wisconsin-Madison) Joint work with: Zhiguo Fu, Shuai Shao and Mingji Xia 1 / 84 Three Frameworks for Counting

More information

Constraints in Universal Algebra

Constraints in Universal Algebra Constraints in Universal Algebra Ross Willard University of Waterloo, CAN SSAOS 2014 September 7, 2014 Lecture 1 R. Willard (Waterloo) Constraints in Universal Algebra SSAOS 2014 1 / 23 Outline Lecture

More information

CORES OF COUNTABLY CATEGORICAL STRUCTURES

CORES OF COUNTABLY CATEGORICAL STRUCTURES Logical Methods in Computer Science Vol. 3 (1:2) 2007, pp. 1 16 www.lmcs-online.org Submitted Sep. 23, 2005 Published Jan. 25, 2007 CORES OF COUNTABLY CATEGORICAL STRUCTURES MANUEL BODIRSKY Institut für

More information

Proof Complexity of Constraint Satisfaction Problems,

Proof Complexity of Constraint Satisfaction Problems, Proof Complexity of Constraint Satisfaction Problems joint work with Albert Atserias Université Paris Diderot - Paris 7 Finite and Algorithmic Model Theory Dagstuhl, 7th September 2017 (CSP problem) P

More information

The approximability of Max CSP with fixed-value constraints

The approximability of Max CSP with fixed-value constraints The approximability of Max CSP with fixed-value constraints Vladimir Deineko Warwick Business School University of Warwick, UK Vladimir.Deineko@wbs.ac.uk Mikael Klasson Dep t of Computer and Information

More information