csps over the random partial orderposet-sat preclassi cation closed clones containing aut(p) results...

50
Poset-SAT Preclassification Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham [email protected] Institute of Computer Languages TU Wien AAA92, Prague, 28/05/2016

Upload: others

Post on 13-Dec-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

CSPs over the random partial order

Michael Kompatscher, Trung Van Pham

[email protected]

Institute of Computer LanguagesTU Wien

AAA92, Prague, 28/05/2016

Page 2: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Outline

1 CSPs over the random partial order P

2 Preclassification by homomorphic equivalence

3 Closed clones containing Aut(P)

4 Results

Page 3: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Outline

1 CSPs over the random partial order P

2 Preclassification by homomorphic equivalence

3 Closed clones containing Aut(P)

4 Results

Page 4: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT

Φ... finite set of quantifier-free {≤}-formulas

Poset-SAT(Φ)

Instance:

Variables {x1, . . . , xn} and

finitely many formulas φi (xi1 , . . . , xik ), where each φi ∈ Φ.

Question:Is∧φi (xi1 , . . . , xik ) satisfiable in a partial order?

Complexity of Poset-SAT(Φ) is always in NP.

Question

For which Φ is Poset-SAT(Φ) in P?

Page 5: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT

Φ... finite set of quantifier-free {≤}-formulas

Poset-SAT(Φ)

Instance:

Variables {x1, . . . , xn} and

finitely many formulas φi (xi1 , . . . , xik ), where each φi ∈ Φ.

Question:Is∧φi (xi1 , . . . , xik ) satisfiable in a partial order?

Complexity of Poset-SAT(Φ) is always in NP.

Question

For which Φ is Poset-SAT(Φ) in P?

Page 6: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT

Φ... finite set of quantifier-free {≤}-formulas

Poset-SAT(Φ)

Instance:

Variables {x1, . . . , xn} and

finitely many formulas φi (xi1 , . . . , xik ), where each φi ∈ Φ.

Question:Is∧φi (xi1 , . . . , xik ) satisfiable in a partial order?

Complexity of Poset-SAT(Φ) is always in NP.

Question

For which Φ is Poset-SAT(Φ) in P?

Page 7: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Examples

Poset-SAT(<)

Instance: Variables {x1, . . . , xn} and formulas xi1 < xi2 .Question: Is

∧(xi1 < xi2) satisfiable in a partial order?

Poset-SAT(<) is in P.

Poset-SAT(⊥,Q)

x⊥y := incomparability relationQ(x , y , z) := (x < y ∨ x < z)

Poset-SAT(⊥,Q) is NP-complete.

Page 8: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Examples

Poset-SAT(<)

Instance: Variables {x1, . . . , xn} and formulas xi1 < xi2 .Question: Is

∧(xi1 < xi2) satisfiable in a partial order?

Poset-SAT(<) is in P.

Poset-SAT(⊥,Q)

x⊥y := incomparability relationQ(x , y , z) := (x < y ∨ x < z)

Poset-SAT(⊥,Q) is NP-complete.

Page 9: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Examples

Poset-SAT(<)

Instance: Variables {x1, . . . , xn} and formulas xi1 < xi2 .Question: Is

∧(xi1 < xi2) satisfiable in a partial order?

Poset-SAT(<) is in P.

Poset-SAT(⊥,Q)

x⊥y := incomparability relationQ(x , y , z) := (x < y ∨ x < z)

Poset-SAT(⊥,Q) is NP-complete.

Page 10: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT as CSP over the random poset

The random partial order P := (P;≤) is the unique countablepartial order that:

is universal, i.e., contains all finite partial orders

is homogeneous, i.e. for finite A,B ⊆ P, every isomorphismI : A→ B extends to an automorphism α ∈ Aut(P).

For every {≤}-formula φ(x1, . . . , xn) let

Rφ := {(a1, . . . , an) ∈ Pn : φ(a1, . . . , an)}.

Poset-SAT(Φ) = CSP((P;Rφ)φ∈Φ).

(P;Rφ)φ∈Φ is a reduct of P, i.e. a structure that is first-orderdefinable in P.

Page 11: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT as CSP over the random poset

The random partial order P := (P;≤) is the unique countablepartial order that:

is universal, i.e., contains all finite partial orders

is homogeneous, i.e. for finite A,B ⊆ P, every isomorphismI : A→ B extends to an automorphism α ∈ Aut(P).

For every {≤}-formula φ(x1, . . . , xn) let

Rφ := {(a1, . . . , an) ∈ Pn : φ(a1, . . . , an)}.

Poset-SAT(Φ) = CSP((P;Rφ)φ∈Φ).

(P;Rφ)φ∈Φ is a reduct of P, i.e. a structure that is first-orderdefinable in P.

Page 12: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT as CSP over the random poset

The random partial order P := (P;≤) is the unique countablepartial order that:

is universal, i.e., contains all finite partial orders

is homogeneous, i.e. for finite A,B ⊆ P, every isomorphismI : A→ B extends to an automorphism α ∈ Aut(P).

For every {≤}-formula φ(x1, . . . , xn) let

Rφ := {(a1, . . . , an) ∈ Pn : φ(a1, . . . , an)}.

Poset-SAT(Φ) = CSP((P;Rφ)φ∈Φ).

(P;Rφ)φ∈Φ is a reduct of P, i.e. a structure that is first-orderdefinable in P.

Page 13: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT as CSP over the random poset

The random partial order P := (P;≤) is the unique countablepartial order that:

is universal, i.e., contains all finite partial orders

is homogeneous, i.e. for finite A,B ⊆ P, every isomorphismI : A→ B extends to an automorphism α ∈ Aut(P).

For every {≤}-formula φ(x1, . . . , xn) let

Rφ := {(a1, . . . , an) ∈ Pn : φ(a1, . . . , an)}.

Poset-SAT(Φ) = CSP((P;Rφ)φ∈Φ).

(P;Rφ)φ∈Φ is a reduct of P, i.e. a structure that is first-orderdefinable in P.

Page 14: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Poset-SAT as CSP over the random poset

The random partial order P := (P;≤) is the unique countablepartial order that:

is universal, i.e., contains all finite partial orders

is homogeneous, i.e. for finite A,B ⊆ P, every isomorphismI : A→ B extends to an automorphism α ∈ Aut(P).

For every {≤}-formula φ(x1, . . . , xn) let

Rφ := {(a1, . . . , an) ∈ Pn : φ(a1, . . . , an)}.

Poset-SAT(Φ) = CSP((P;Rφ)φ∈Φ).

(P;Rφ)φ∈Φ is a reduct of P, i.e. a structure that is first-orderdefinable in P.

Page 15: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 16: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 17: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 18: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 19: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 20: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

The universal algebraic approach

What did we gain?

We can use methods for CSPs

P has nice properties (homogeneous, ω-categorical,...)

The universal algebraic approach works:

Let Pol(Γ) denote the polymorphism clone of Γ, i.e. f ∈ Pol(Γ) iffor all relations R of Γ: r1, . . . , rn ∈ R → f (r1, . . . , rn) ∈ R.

Theorem (Bodirsky, Nesetril ’06)

For ω-categorical structures Γ, ∆, every relation in Γ ispp-definable in ∆ if

Pol(Γ) ⊇ Pol(∆)

→ Aim: Understand the polymorphism clones of reducts of P!

Page 21: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Outline

1 CSPs over the random partial order P

2 Preclassification by homomorphic equivalence

3 Closed clones containing Aut(P)

4 Results

Page 22: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Automorphism groups

Theorem (Pach, Pinsker, Pongracz, Szabo ’14)

Let Γ be a reduct of P. Then Aut(Γ) is equal to one of thefollowing:

Aut(P)

〈l〉 〈�〉

〈l,�〉

Sym(P)l: bijection withx < y ↔ lx > ly

�: “rotation” at a genericupwards-closed set

Page 23: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Endomorphism monoids

Proposition (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then:

1 End(Γ) contains a constant,

2 End(Γ) contains g< that maps P to a chain ∼= Q,

3 End(Γ) contains g⊥ that maps P to a countable antichain,

4 or Aut(Γ) = End(Γ).

1 1-element structures induces trivial CSPs.

2 CSPs on reducts of (Q, <): P or NP-c (Bodirsky, Kara ’10)

3 CSPs on reducts of (N, 6=): P or NP-c (Bodirsky, Kara ’08)

→ We only need to study CSP(Γ), where Aut(Γ) = End(Γ).

Page 24: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Endomorphism monoids

Proposition (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then:

1 End(Γ) contains a constant,

2 End(Γ) contains g< that maps P to a chain ∼= Q,

3 End(Γ) contains g⊥ that maps P to a countable antichain,

4 or Aut(Γ) = End(Γ).

1 1-element structures induces trivial CSPs.

2 CSPs on reducts of (Q, <): P or NP-c (Bodirsky, Kara ’10)

3 CSPs on reducts of (N, 6=): P or NP-c (Bodirsky, Kara ’08)

→ We only need to study CSP(Γ), where Aut(Γ) = End(Γ).

Page 25: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Endomorphism monoids

Proposition (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then:

1 End(Γ) contains a constant,

2 End(Γ) contains g< that maps P to a chain ∼= Q,

3 End(Γ) contains g⊥ that maps P to a countable antichain,

4 or Aut(Γ) = End(Γ).

1 1-element structures induces trivial CSPs.

2 CSPs on reducts of (Q, <): P or NP-c (Bodirsky, Kara ’10)

3 CSPs on reducts of (N, 6=): P or NP-c (Bodirsky, Kara ’08)

→ We only need to study CSP(Γ), where Aut(Γ) = End(Γ).

Page 26: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Endomorphism monoids

Proposition (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then:

1 End(Γ) contains a constant,

2 End(Γ) contains g< that maps P to a chain ∼= Q,

3 End(Γ) contains g⊥ that maps P to a countable antichain,

4 or Aut(Γ) = End(Γ).

1 1-element structures induces trivial CSPs.

2 CSPs on reducts of (Q, <): P or NP-c (Bodirsky, Kara ’10)

3 CSPs on reducts of (N, 6=): P or NP-c (Bodirsky, Kara ’08)

→ We only need to study CSP(Γ), where Aut(Γ) = End(Γ).

Page 27: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Endomorphism monoids

Proposition (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then:

1 End(Γ) contains a constant,

2 End(Γ) contains g< that maps P to a chain ∼= Q,

3 End(Γ) contains g⊥ that maps P to a countable antichain,

4 or Aut(Γ) = End(Γ).

1 1-element structures induces trivial CSPs.

2 CSPs on reducts of (Q, <): P or NP-c (Bodirsky, Kara ’10)

3 CSPs on reducts of (N, 6=): P or NP-c (Bodirsky, Kara ’08)

→ We only need to study CSP(Γ), where Aut(Γ) = End(Γ).

Page 28: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Outline

1 CSPs over the random partial order P

2 Preclassification by homomorphic equivalence

3 Closed clones containing Aut(P)

4 Results

Page 29: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Polymorphisms of higher arity

Let e≤ : (P;≤)2 → (P;≤) be an embedding:

e≤(x , y) ≤ e≤(x ′, y ′)⇔ x ≤ x ′ ∧ y ≤ y ′

By Bodirsky, Chen, Kara, von Oertzen ’09

If e≤ ∈ Pol(Γ) every relation in Γ has a ≤-Horn definition:

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ (xin+1 ≤ xjn+1) and

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ F.

In this case CSP(Γ) is in P.

Similarly: e< : (P;<)2 → (P;<)

Problem: How does Pol(Γ) look like? When is e≤ ∈ Pol(Γ)?

Page 30: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Polymorphisms of higher arity

Let e≤ : (P;≤)2 → (P;≤) be an embedding:

e≤(x , y) ≤ e≤(x ′, y ′)⇔ x ≤ x ′ ∧ y ≤ y ′

By Bodirsky, Chen, Kara, von Oertzen ’09

If e≤ ∈ Pol(Γ) every relation in Γ has a ≤-Horn definition:

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ (xin+1 ≤ xjn+1) and

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ F.

In this case CSP(Γ) is in P.

Similarly: e< : (P;<)2 → (P;<)

Problem: How does Pol(Γ) look like? When is e≤ ∈ Pol(Γ)?

Page 31: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Polymorphisms of higher arity

Let e≤ : (P;≤)2 → (P;≤) be an embedding:

e≤(x , y) ≤ e≤(x ′, y ′)⇔ x ≤ x ′ ∧ y ≤ y ′

By Bodirsky, Chen, Kara, von Oertzen ’09

If e≤ ∈ Pol(Γ) every relation in Γ has a ≤-Horn definition:

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ (xin+1 ≤ xjn+1) and

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ F.

In this case CSP(Γ) is in P.

Similarly: e< : (P;<)2 → (P;<)

Problem: How does Pol(Γ) look like? When is e≤ ∈ Pol(Γ)?

Page 32: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Polymorphisms of higher arity

Let e≤ : (P;≤)2 → (P;≤) be an embedding:

e≤(x , y) ≤ e≤(x ′, y ′)⇔ x ≤ x ′ ∧ y ≤ y ′

By Bodirsky, Chen, Kara, von Oertzen ’09

If e≤ ∈ Pol(Γ) every relation in Γ has a ≤-Horn definition:

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ (xin+1 ≤ xjn+1) and

(xi1 ≤ xj1) ∧ (xi2 ≤ xj2) · · · ∧ (xin ≤ xjn)→ F.

In this case CSP(Γ) is in P.

Similarly: e< : (P;<)2 → (P;<)

Problem: How does Pol(Γ) look like? When is e≤ ∈ Pol(Γ)?

Page 33: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 34: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ P

l: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 35: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > ly

e≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 36: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 37: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 38: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 39: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Canonical functions

A function f : ∆→ Γ is called canonical, if it maps tuples of thesame orbit of Aut(∆) y ∆k to tuples of the same orbit ofAut(Γ) y Γk .

All α ∈ Aut(P) are canonical from P→ Pl: P→ P with x < y ↔ lx > lye≤ : (P;≤)2 → (P;≤) is canonical

(P;≤,≺) is a Ramsey structure.

Method by Bodirsky & Pinsker (very roughly):

If R not pp-definable in Γ there is a f ∈ Pol(Γ) violating R.Ramsey properties of P imply that there is a canonical functiong ∈ Pol(Γ) violating R.

→ Look for relations that imply NP-hardness.→ Use canonical functions for P.

Page 40: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Outline

1 CSPs over the random partial order P

2 Preclassification by homomorphic equivalence

3 Clones containing Aut(P)

4 Results

Page 41: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Complexity dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then one of the following cases holds:

CSP(Γ) = CSP(∆), where ∆ is a reduct of Q (P or NP-c)

Low, Betw, Cycl or Sep is pp-definable in Γ andCSP(Γ) is NP-complete.

Pol(Γ) contains e< or e≤ andCSP(Γ) is in P.

Consequence:

Poset-SAT(Φ) is in P or NP-complete.

Given Φ, it is decidable to tell if Poset-SAT(Φ) is in P.

Page 42: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Complexity dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then one of the following cases holds:

CSP(Γ) = CSP(∆), where ∆ is a reduct of Q (P or NP-c)

Low, Betw, Cycl or Sep is pp-definable in Γ andCSP(Γ) is NP-complete.

Pol(Γ) contains e< or e≤ andCSP(Γ) is in P.

Consequence:

Poset-SAT(Φ) is in P or NP-complete.

Given Φ, it is decidable to tell if Poset-SAT(Φ) is in P.

Page 43: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Complexity dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then one of the following cases holds:

CSP(Γ) = CSP(∆), where ∆ is a reduct of Q (P or NP-c)

Low, Betw, Cycl or Sep is pp-definable in Γ andCSP(Γ) is NP-complete.

Pol(Γ) contains e< or e≤ andCSP(Γ) is in P.

Consequence:

Poset-SAT(Φ) is in P or NP-complete.

Given Φ, it is decidable to tell if Poset-SAT(Φ) is in P.

Page 44: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Complexity dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then one of the following cases holds:

CSP(Γ) = CSP(∆), where ∆ is a reduct of Q (P or NP-c)

Low, Betw, Cycl or Sep is pp-definable in Γ andCSP(Γ) is NP-complete.

Pol(Γ) contains e< or e≤ andCSP(Γ) is in P.

Consequence:

Poset-SAT(Φ) is in P or NP-complete.

Given Φ, it is decidable to tell if Poset-SAT(Φ) is in P.

Page 45: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Complexity dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then one of the following cases holds:

CSP(Γ) = CSP(∆), where ∆ is a reduct of Q (P or NP-c)

Low, Betw, Cycl or Sep is pp-definable in Γ andCSP(Γ) is NP-complete.

Pol(Γ) contains e< or e≤ andCSP(Γ) is in P.

Consequence:

Poset-SAT(Φ) is in P or NP-complete.Given Φ, it is decidable to tell if Poset-SAT(Φ) is in P.

Page 46: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Lattice of polymorphism clones

Temp-SATEq-SAT

NP-c

P

Page 47: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Algebraic dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then either

one of the equations

g1(f (x , y)) = g2(f (y , x))

g1(f (x , x , y)) = g2(f (x , y , x)) = g3(f (y , x , x))

holds for f ∈ Pol(Γ), gi ∈ End(Γ) and CSP(Γ) is in P,

or Γ is homomorphic equivalent to a ∆, such that:

ξ : Pol(∆, c1, . . . , cn)→ 1

and CSP(Γ) is NP-complete.

Page 48: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Algebraic dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then either

one of the equations

g1(f (x , y)) = g2(f (y , x))

g1(f (x , x , y)) = g2(f (x , y , x)) = g3(f (y , x , x))

holds for f ∈ Pol(Γ), gi ∈ End(Γ) and CSP(Γ) is in P,

or Γ is homomorphic equivalent to a ∆, such that:

ξ : Pol(∆, c1, . . . , cn)→ 1

and CSP(Γ) is NP-complete.

Page 49: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Algebraic dichotomy

Theorem (MK, Trung Van Pham ’16)

Let Γ be reduct of P. Then either

one of the equations

g1(f (x , y)) = g2(f (y , x))

g1(f (x , x , y)) = g2(f (x , y , x)) = g3(f (y , x , x))

holds for f ∈ Pol(Γ), gi ∈ End(Γ) and CSP(Γ) is in P,

or Γ is homomorphic equivalent to a ∆, such that:

ξ : Pol(∆, c1, . . . , cn)→ 1

and CSP(Γ) is NP-complete.

Page 50: CSPs over the random partial orderPoset-SAT Preclassi cation Closed clones containing Aut(P) Results CSPs over the random partial order Michael Kompatscher, Trung Van Pham michael@logic.at

Poset-SAT Preclassification Closed clones containing Aut(P) Results

Thank you!