Hierarchies in inclusion logic Miika Hannula University of Helsinki - - PowerPoint PPT Presentation

hierarchies in inclusion logic
SMART_READER_LITE
LIVE PREVIEW

Hierarchies in inclusion logic Miika Hannula University of Helsinki - - PowerPoint PPT Presentation

Hierarchies in inclusion logic Miika Hannula University of Helsinki 27.8.2014 Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 1 / 22 Outline We will consider expressivity hierarchies within inclusion logic,


slide-1
SLIDE 1

Hierarchies in inclusion logic

Miika Hannula

University of Helsinki

27.8.2014

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 1 / 22

slide-2
SLIDE 2

Outline

We will consider expressivity hierarchies within inclusion logic, written FO(⊆), under two different semantics:

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 2 / 22

slide-3
SLIDE 3

Outline

We will consider expressivity hierarchies within inclusion logic, written FO(⊆), under two different semantics:

◮ lax team semantics, ◮ strict team semantics. Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 2 / 22

slide-4
SLIDE 4

Outline

We will consider expressivity hierarchies within inclusion logic, written FO(⊆), under two different semantics:

◮ lax team semantics, ◮ strict team semantics.

These hierarchies arise from the syntactical fragments:

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 2 / 22

slide-5
SLIDE 5

Outline

We will consider expressivity hierarchies within inclusion logic, written FO(⊆), under two different semantics:

◮ lax team semantics, ◮ strict team semantics.

These hierarchies arise from the syntactical fragments:

◮ FO(⊆)(k-inc), Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 2 / 22

slide-6
SLIDE 6

Outline

We will consider expressivity hierarchies within inclusion logic, written FO(⊆), under two different semantics:

◮ lax team semantics, ◮ strict team semantics.

These hierarchies arise from the syntactical fragments:

◮ FO(⊆)(k-inc), ◮ FO(⊆)(k∀),

defined by restricting the arity of inclusion atom or the number of universal quantifiers, respectively.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 2 / 22

slide-7
SLIDE 7

Introduction I

Inclusion logic is one part of the family of logics that extend first-order logic with different dependency notions. This family of logics arises from dependence logic (V¨ a¨ an¨ anen 2007) which extends first-order logic with dependence atoms =(x1, . . . , xn) expressing that the values of xn depend functionally on the values of x1, . . . , xn−1.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 3 / 22

slide-8
SLIDE 8

Introduction II

Inclusion logic, instead, extends first-order logic with inclusion atoms x1 . . . xn ⊆ y1 . . . yn which express that the set of values of (x1, . . . , xn) is included in the set of the values of (y1, . . . , yn).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 4 / 22

slide-9
SLIDE 9

Syntax of FO(⊆)

The syntax of FO(⊆) is given by the following grammars: φ ::= x1 . . . xn ⊆ y1 . . . yn | t1 = t2 | ¬t1 = t2 | R( t) | ¬R( t) | (φ ∧ ψ) | (φ ∨ ψ) | ∀xφ | ∃xφ.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 5 / 22

slide-10
SLIDE 10

Team semantics of FO(⊆)

For the team semantics of FO(⊆), we first define the concept of a team.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 6 / 22

slide-11
SLIDE 11

Team semantics of FO(⊆)

For the team semantics of FO(⊆), we first define the concept of a team. Let M be a model with domain M. Then an assignment over M is a finite function that maps variables to elements of M. A team X of M with the domain Dom(X) = {x1, . . . , xn} is a set of assignments from Dom(X) into M.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 6 / 22

slide-12
SLIDE 12

Team semantics of FO(⊆) (cases where strict = lax)

We define two different semantics for inclusion logic, the so-called strict and lax team semantics. For FO-literals, ⊆-atoms, ∧ and ∀, the (lax and strict) semantic rules are the following. Let M be a model with domain M and X a team of M. Then we let: FO-lit: For all first-order literals α, M | =X α if and only if, for all s ∈ X, M | =s α in the usual Tarski semantics sense; ⊆: M | =X x1 . . . xn ⊆ y1 . . . yn if and only if for all s ∈ X there exists an s′ ∈ X such that s(xi) = s′(yi), for i = 1, . . . , n; ∧: For all ψ and θ, M | =X ψ ∧ θ if and only if M | =X ψ and M | =X θ; ∀: For all ψ and all variables v, M | =X ∀vψ if and only if M | =X[M/v] ψ, where X[M/v] = {s[m/v] : s ∈ X, m ∈ M}.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 7 / 22

slide-13
SLIDE 13

Team semantics of FO(⊆) (cases where strict = lax)

For ∨ and ∃, the strict and lax semantics are defined differently. The semantic rules for disjunction are as follows: lax-∨: For all ψ and θ, M | =X ψ ∨ θ if and only if there exist Y , Z ⊆ X such that X = Y ∪ Z, M | =Y ψ and M | =Z θ; strict-∨: For all ψ and θ, M | =X ψ ∨ θ if and only if there exist Y , Z ⊆ X such that X = Y ∪ Z, Y ∩ Z = ∅, M | =Y ψ and M | =Z θ.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 8 / 22

slide-14
SLIDE 14

Team semantics of FO(⊆) (cases where strict = lax) cont.

The semantic rules for existential quantification are as follows: lax-∃: For all ψ and all variables v, M | =X ∃vψ if and only if there exists a function H : X → P(M)\{∅} such that M | =X[H/v] ψ where X[H/v] := {s[m/v] : s ∈ X, m ∈ H(s)}; strict-∃: For all ψ and all variables v, M | =X ∃vψ if and only if there exists a function H : X → M such that M | =X[H/v] ψ where X[H/v] := {s[m/v] : s ∈ X, m = H(s)}.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 9 / 22

slide-15
SLIDE 15

Team semantics of FO(⊆) (cases where strict = lax) cont.

The semantic rules for existential quantification are as follows: lax-∃: For all ψ and all variables v, M | =X ∃vψ if and only if there exists a function H : X → P(M)\{∅} such that M | =X[H/v] ψ where X[H/v] := {s[m/v] : s ∈ X, m ∈ H(s)}; strict-∃: For all ψ and all variables v, M | =X ∃vψ if and only if there exists a function H : X → M such that M | =X[H/v] ψ where X[H/v] := {s[m/v] : s ∈ X, m = H(s)}. From now on, let us write | =L and | =S for the lax and strict team semantics, respectively.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 9 / 22

slide-16
SLIDE 16

Properties I

First-order logic is embedded in FO(⊆) in the following sense. Here | = refers to the Tarskian semantics.

Theorem (Flatness)

For a model M, a first-order formula φ and a team X, the following are equivalent: M | =L

X φ,

M | =S

X φ,

M | =s φ for all s ∈ X.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 10 / 22

slide-17
SLIDE 17

Properties II

Theorem (Locality)

Let M be a model, X be a team, φ ∈ FO(⊆) and V a set of variables such that Fr(φ) ⊆ V ⊆ Dom(X). Then M | =L

X φ ⇔ M |

=L

X↾V φ.

For | =S, this principle fails as illustrated in the following example.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 11 / 22

slide-18
SLIDE 18

Properties cont.

Example

Let M = {0, 1, 2} and let X be as in the picture. x y z v s0 1 2 s1 1 1 s2 1 1 1 s3 2 1 Then M | =S

X x ⊆ y ∨ z ⊆ y, since we can choose Y := {s0, s1} and

Z := {s2, s3}.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 12 / 22

slide-19
SLIDE 19

Properties cont.

Example

Let M = {0, 1, 2} and let X be as in the picture. x y z v s0 1 2 s1 1 1 s2 1 1 1 s3 2 1 Then M | =S

X x ⊆ y ∨ z ⊆ y, since we can choose Y := {s0, s1} and

Z := {s2, s3}. However, taking X ′ := X ↾ {x, y, z}, we obtain that M | =S

X x ⊆ y ∨ z ⊆ y, since X ′ is the below team.

x y z s0 1 2 s1 1 1 s3 2 1

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 12 / 22

slide-20
SLIDE 20

Expressive power

Under the lax team semantics the following holds.

Theorem (Galliani, Hella 2013)

Every inclusion logic sentence is equivalent to a greatest fixed point logic sentence, and vice versa.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 13 / 22

slide-21
SLIDE 21

Expressive power

Under the lax team semantics the following holds.

Theorem (Galliani, Hella 2013)

Every inclusion logic sentence is equivalent to a greatest fixed point logic sentence, and vice versa. Under the strict team semantics the following holds.

Theorem (Galliani, H., Kontinen 2013)

Every inclusion logic sentence is equivalent to a existential second-order logic sentence, and vice versa.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 13 / 22

slide-22
SLIDE 22

Expressive power cont.

Now, using well-known results of descriptive complexity theory, we obtain the following corollary.

Corollary

With | =L: a class C of finite linearly ordered models is definable in FO(⊆) if and only if it can be recognized in PTIME. With | =S: a class C of finite models is definable in FO(⊆) if and only if it can be recognized in NP.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 14 / 22

slide-23
SLIDE 23

Expressive power cont.

Now, using well-known results of descriptive complexity theory, we obtain the following corollary.

Corollary

With | =L: a class C of finite linearly ordered models is definable in FO(⊆) if and only if it can be recognized in PTIME. With | =S: a class C of finite models is definable in FO(⊆) if and only if it can be recognized in NP. Recall the semantic rules for the lax and the strict versions.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 14 / 22

slide-24
SLIDE 24

Expressive power cont.

Now, using well-known results of descriptive complexity theory, we obtain the following corollary.

Corollary

With | =L: a class C of finite linearly ordered models is definable in FO(⊆) if and only if it can be recognized in PTIME. With | =S: a class C of finite models is definable in FO(⊆) if and only if it can be recognized in NP. Recall the semantic rules for the lax and the strict versions. A strange

  • bservation:

FO(⊆) with non-deterministic existential quantification captures deterministic polynomial time. FO(⊆) with deterministic existential quantification captures non-deterministic polynomial time.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 14 / 22

slide-25
SLIDE 25

Syntactical fragments in FO(⊆)

Next we define two syntactical fragments of inclusion logic.

Definition

FO(⊆)(k-inc), is the class of formulae φ ∈ FO(⊆) where φ may contain at most k-ary inclusion atoms (i.e. atoms of the form x1 . . . xn ⊆ y1 . . . yn where n ≤ k). FO(⊆)(k∀) is the class of formulae φ ∈ FO(⊆) where φ may contain at most k occurrences of the quantifier ∀. First we will consider FO(⊆)(k∀)-fragments with both semantics.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 15 / 22

slide-26
SLIDE 26

∀-hierarchies (with lax)

For logics L and L′, we write L ≤ L′, if for every signature τ, every L[τ]-sentence is logically equivalent to some L′[τ]-sentence. Equality and inequality relations are obtained from ≤ naturally.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 16 / 22

slide-27
SLIDE 27

∀-hierarchies (with lax)

For logics L and L′, we write L ≤ L′, if for every signature τ, every L[τ]-sentence is logically equivalent to some L′[τ]-sentence. Equality and inequality relations are obtained from ≤ naturally.

Theorem (H.)

FO(⊆)(1∀) = FO(⊆).

Proof.

  • Sketch. The result holds already at the level of formulae, so let

φ ∈ FO(⊆) be a formula. W.l.o.g. we may assume that φ is of the form Q1x1 . . . Qnxnθ where θ is quantifier-free. We let φ′ := ∃x1 . . . ∃xn∀y(

  • 1≤i≤n

Qi=∀

  • zx1 . . . xi−1y ⊆

zx1 . . . xi−1xi ∧ θ) where z lists Fr(φ). Clearly φ′ ∈ FO(⊆)(1∀). Also we obtain that φ ≡ φ′.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 16 / 22

slide-28
SLIDE 28

∀-hierarchies (with strict)

Recall that under the strict semantics, inclusion logic is as expressive as existential second-order logic (ESO). Hence, we will try to relate the universal fragments of FO(⊆) to the corresponding fragments of ESO, defined as follows:

Definition

ESOf (k∀) is the class of skolem normal form ESO-sentences ∃f1, . . . , fn∀x1 . . . ∀xmψ, where m ≤ k.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 17 / 22

slide-29
SLIDE 29

∀-hierarchies (with strict) cont.

Under the assumption that in FO(⊆)(k∀) each variable is quantified at most once (no reusing of variables), we actually find out that the universal fragments of FO(⊆) and ESO are equivalent.

Theorem (H., Kontinen 2014)

FO(⊆)(k∀) = ESOf (k∀).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 18 / 22

slide-30
SLIDE 30

∀-hierarchies (with strict) cont.

Under the assumption that in FO(⊆)(k∀) each variable is quantified at most once (no reusing of variables), we actually find out that the universal fragments of FO(⊆) and ESO are equivalent.

Theorem (H., Kontinen 2014)

FO(⊆)(k∀) = ESOf (k∀). Therefore, we obtain the following hierarchy:

Corollary

FO(⊆)(k∀) < FO(⊆)((k + 1)∀).

Proof.

Follows from the above theorem, since ESOf (k∀)-fragments can be related to the strict degree hierarchy within non-deterministic polynomial time (of random access machines) (Cook 1972 and Grandjean, Olive 2003).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 18 / 22

slide-31
SLIDE 31

Hierarchies in FO(⊆) thus far

For an increasing (with respect to ≤) sequence of logics (Lk)k∈N, we say that the Lk-hierarchy collapses at level m if Lm =

k∈N Lk. An

Lk-hierarchy is called strict if Lk < Lk+1 for all k ∈ N.

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 19 / 22

slide-32
SLIDE 32

Hierarchies in FO(⊆) thus far

For an increasing (with respect to ≤) sequence of logics (Lk)k∈N, we say that the Lk-hierarchy collapses at level m if Lm =

k∈N Lk. An

Lk-hierarchy is called strict if Lk < Lk+1 for all k ∈ N. ∀-hierarchy arity hierarchy | =L collapse at 1 ? | =S strict ?

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 19 / 22

slide-33
SLIDE 33

Arity hierarchies (with lax)

Theorem (H. 2014)

FO(⊆)(k-inc) < FO(⊆)(k + 1-inc).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 20 / 22

slide-34
SLIDE 34

Arity hierarchies (with lax)

Theorem (H. 2014)

FO(⊆)(k-inc) < FO(⊆)(k + 1-inc). Idea of the proof. Analogous arity hierarchies for various fixed point logics (LFP, IFP, PFP, TC) were proved in the early 90s (Grohe). Applying this work, one can show that there exists a graph property that separates FO(⊆)(k-inc) and FO(⊆)(k + 1-inc). Namely, we let φ(x1, . . . , xk+1, y1, . . . , yk+1) be a first-order formula expressing that the variables x1, . . . , xk+1, y1, . . . , yk+1 form a clique in a graph. Then we show that ¬[TC

x, yφ](

a, b) is expressible in FO(⊆)(k + 1-inc) but not in FO(⊆)(k-inc).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 20 / 22

slide-35
SLIDE 35

Hierarchies in FO(⊆)

∀-hierarchy arity hierarchy | =L collapse at 1 strict | =S strict ?

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 21 / 22

slide-36
SLIDE 36

Thanks! References:

  • M. Grohe. Arity hierarchies. Annals of Pure and Applied Logic,

82(2):103-163, 1996.

  • M. Hannula. Hierarchies in inclusion logic with lax semantics.

Preprint: CoRR abs/1401.3235 (2014).

  • M. Hannula and J. Kontinen. Hierarchies in independence and

inclusion logic with strict semantics. To appear in Journal of Logic and Computation. Preprint: CoRR abs/1401.3232 (2014).

Miika Hannula (University of Helsinki) Hierarchies in inclusion logic 27.8.2014 22 / 22