91
Separation with modulo predicates Separation with modulo predicates Varun Ramanathan Chennai Mathematical Institute Joint work with Pascal Weil and Thomas Place at LaBRI, Summer 2016 DeLTA meeting, Paris, March 2018

Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

  • Upload
    vudieu

  • View
    217

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Separation with modulo predicates

Varun Ramanathan

Chennai Mathematical Institute

Joint work with Pascal Weil and Thomas Place at LaBRI, Summer 2016

DeLTA meeting, Paris, March 2018

Page 2: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Overview

IntroductionLogic and languagesDecision problemsState of the art

Main problem

ProofBlock abstractionStable monoidTransfer theoremEnrichmentEF games for modulo predicates

Conclusion

Page 3: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Logic and Languages

There is a strong link between formal languages and logical systems.

Rational languages←→ Finite monoids←→ MSO sentences

Star-free language←→ Aperiodic monoids←→ FO sentences

I Eg.: ∃x(a(x) ∧ (∀y(x < y) =⇒ b(y))) defines the language A∗ab∗

Page 4: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Logic and Languages

There is a strong link between formal languages and logical systems.

Rational languages←→ Finite monoids←→ MSO sentences

Star-free language←→ Aperiodic monoids←→ FO sentences

I Eg.: ∃x(a(x) ∧ (∀y(x < y) =⇒ b(y))) defines the language A∗ab∗

Page 5: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Logic and Languages

There is a strong link between formal languages and logical systems.

Rational languages←→ Finite monoids←→ MSO sentences

Star-free language←→ Aperiodic monoids←→ FO sentences

I Eg.: ∃x(a(x) ∧ (∀y(x < y) =⇒ b(y))) defines the language A∗ab∗

Page 6: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Logic and Languages

There is a strong link between formal languages and logical systems.

Rational languages←→ Finite monoids←→ MSO sentences

Star-free language←→ Aperiodic monoids←→ FO sentences

I Eg.: ∃x(a(x) ∧ (∀y(x < y) =⇒ b(y))) defines the language A∗ab∗

Page 7: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 8: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.

Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 9: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 10: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 11: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 12: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 13: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 14: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 15: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Fragments of FO

Fragment: formulae closed under ∧, ∨ and quantifier free substitution.Natural fragments?

Considering local predicates: order [<], successor [+1], min, max

syntactic restrictions → quantifier alternation: Σk : ∃∗∀∗ . . .︸ ︷︷ ︸k

(ϕ),

Πk : ∀∗∃∗ . . .︸ ︷︷ ︸k

(ϕ)

(ϕ quantifier free)

or by limiting no. of variables: for example FO2[<]

or both? - ΣFO2

1 [<]

In this way we get a plethora of fragments. Eg. - Σ1[<,max], FO2[<,+1]

What about non-FO definable predicates?

Page 16: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 17: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 18: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 19: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 20: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 21: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Logic and languages

Modulo predicates

DefinitionFor any d ∈ N, 0 ≤ i < d we have modd

i (x): w , [x = j ] � moddi (x) iff

i ≡ j(mod d)

MODd =⋃{modd

i : i < d},MOD =⋃

MODd

(aa)∗ → ∀x(a(x) ∧ (max(x) =⇒ mod20(x)))

{w : |w |a is even} is not definable in FO[<,MOD].

FO[<,MOD] is more powerful than FO[<]

Page 22: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Decision problems

Decision problems

Let F be a fragment of FO.

MembershipGiven a regular language L, is it definable in F?

SeparationGiven L1 and L2 regular, does there exist L definable in F such thatL1 ⊆ L and L ∩ L2 = ∅?

Page 23: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Decision problems

Decision problems

Let F be a fragment of FO.

MembershipGiven a regular language L, is it definable in F?

SeparationGiven L1 and L2 regular, does there exist L definable in F such thatL1 ⊆ L and L ∩ L2 = ∅?

Page 24: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Decision problems

Decision problems

Let F be a fragment of FO.

MembershipGiven a regular language L, is it definable in F?

SeparationGiven L1 and L2 regular, does there exist L definable in F such thatL1 ⊆ L and L ∩ L2 = ∅?

Page 25: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

Decision problems

Decision problems

Let F be a fragment of FO.

MembershipGiven a regular language L, is it definable in F?

SeparationGiven L1 and L2 regular, does there exist L definable in F such thatL1 ⊆ L and L ∩ L2 = ∅?

Page 26: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

State of the art

Adding modular predicates - State of the art

The membership and separation problems have been studied for a lot ofdifferent fragments.

For successor:

I For varieties, Straubing defined an operation V 7→ V ∗ D based onthe wreath product of monoids. This corresponds to addingsuccessor to the fragment.

I Place and Zeitoun have defined a language operation C → C ◦ SUand proved that it amounts to adding successor

For modulo predicates

I Barrington et al proved membership decidability for FO[<,MOD]

I Dartois and Paperman proved the decidability of membership ofF [<,MOD] for several fragments

Page 27: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

State of the art

Adding modular predicates - State of the art

The membership and separation problems have been studied for a lot ofdifferent fragments.

For successor:

I For varieties, Straubing defined an operation V 7→ V ∗ D based onthe wreath product of monoids. This corresponds to addingsuccessor to the fragment.

I Place and Zeitoun have defined a language operation C → C ◦ SUand proved that it amounts to adding successor

For modulo predicates

I Barrington et al proved membership decidability for FO[<,MOD]

I Dartois and Paperman proved the decidability of membership ofF [<,MOD] for several fragments

Page 28: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

State of the art

Adding modular predicates - State of the art

The membership and separation problems have been studied for a lot ofdifferent fragments.

For successor:

I For varieties, Straubing defined an operation V 7→ V ∗ D based onthe wreath product of monoids. This corresponds to addingsuccessor to the fragment.

I Place and Zeitoun have defined a language operation C → C ◦ SUand proved that it amounts to adding successor

For modulo predicates

I Barrington et al proved membership decidability for FO[<,MOD]

I Dartois and Paperman proved the decidability of membership ofF [<,MOD] for several fragments

Page 29: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

State of the art

Adding modular predicates - State of the art

The membership and separation problems have been studied for a lot ofdifferent fragments.

For successor:

I For varieties, Straubing defined an operation V 7→ V ∗ D based onthe wreath product of monoids. This corresponds to addingsuccessor to the fragment.

I Place and Zeitoun have defined a language operation C → C ◦ SUand proved that it amounts to adding successor

For modulo predicates

I Barrington et al proved membership decidability for FO[<,MOD]

I Dartois and Paperman proved the decidability of membership ofF [<,MOD] for several fragments

Page 30: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Introduction

State of the art

Adding modular predicates - State of the art

The membership and separation problems have been studied for a lot ofdifferent fragments.

For successor:

I For varieties, Straubing defined an operation V 7→ V ∗ D based onthe wreath product of monoids. This corresponds to addingsuccessor to the fragment.

I Place and Zeitoun have defined a language operation C → C ◦ SUand proved that it amounts to adding successor

For modulo predicates

I Barrington et al proved membership decidability for FO[<,MOD]

I Dartois and Paperman proved the decidability of membership ofF [<,MOD] for several fragments

Page 31: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Main problem

Separability

Question: If separation is decidable for F , is it decidable for F [MOD]?

Answer: Yes, if F has successor in its signature.

TheoremLet S be a logical signature containing +1. Let F [S]-separation bedecidable. Then, F [S,MOD]-separation is decidable.

We apply this theorem to fragments

FO[<,+],FO2[<,+],Σ1[<,+1],Σ2[<,+1],Σ3[<,+1],BΣ1[<,+],BΣ2[<,+]

Page 32: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Main problem

Separability

Question: If separation is decidable for F , is it decidable for F [MOD]?

Answer: Yes, if F has successor in its signature.

TheoremLet S be a logical signature containing +1. Let F [S]-separation bedecidable. Then, F [S,MOD]-separation is decidable.

We apply this theorem to fragments

FO[<,+],FO2[<,+],Σ1[<,+1],Σ2[<,+1],Σ3[<,+1],BΣ1[<,+],BΣ2[<,+]

Page 33: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Main problem

Separability

Question: If separation is decidable for F , is it decidable for F [MOD]?

Answer: Yes, if F has successor in its signature.

TheoremLet S be a logical signature containing +1. Let F [S]-separation bedecidable. Then, F [S,MOD]-separation is decidable.

We apply this theorem to fragments

FO[<,+],FO2[<,+],Σ1[<,+1],Σ2[<,+1],Σ3[<,+1],BΣ1[<,+],BΣ2[<,+]

Page 34: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Main problem

Separability

Question: If separation is decidable for F , is it decidable for F [MOD]?

Answer: Yes, if F has successor in its signature.

TheoremLet S be a logical signature containing +1. Let F [S]-separation bedecidable. Then, F [S,MOD]-separation is decidable.

We apply this theorem to fragments

FO[<,+],FO2[<,+],Σ1[<,+1],Σ2[<,+1],Σ3[<,+1],BΣ1[<,+],BΣ2[<,+]

Page 35: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Main problem

Separability

Question: If separation is decidable for F , is it decidable for F [MOD]?

Answer: Yes, if F has successor in its signature.

TheoremLet S be a logical signature containing +1. Let F [S]-separation bedecidable. Then, F [S,MOD]-separation is decidable.

We apply this theorem to fragments

FO[<,+],FO2[<,+],Σ1[<,+1],Σ2[<,+1],Σ3[<,+1],BΣ1[<,+],BΣ2[<,+]

Page 36: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Proof idea

The proof proceeds in the following way:

I C is the class of languages definable in FI Define an operation C → ‖C ‖ on languages

I Transfer theorem of separation from ‖C ‖ to C

I Prove that ‖C ‖ indeed corresponds to languages definable inF [MOD]

Page 37: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Proof idea

The proof proceeds in the following way:

I C is the class of languages definable in F

I Define an operation C → ‖C ‖ on languages

I Transfer theorem of separation from ‖C ‖ to C

I Prove that ‖C ‖ indeed corresponds to languages definable inF [MOD]

Page 38: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Proof idea

The proof proceeds in the following way:

I C is the class of languages definable in FI Define an operation C → ‖C ‖ on languages

I Transfer theorem of separation from ‖C ‖ to C

I Prove that ‖C ‖ indeed corresponds to languages definable inF [MOD]

Page 39: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Proof idea

The proof proceeds in the following way:

I C is the class of languages definable in FI Define an operation C → ‖C ‖ on languages

I Transfer theorem of separation from ‖C ‖ to C

I Prove that ‖C ‖ indeed corresponds to languages definable inF [MOD]

Page 40: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Proof idea

The proof proceeds in the following way:

I C is the class of languages definable in FI Define an operation C → ‖C ‖ on languages

I Transfer theorem of separation from ‖C ‖ to C

I Prove that ‖C ‖ indeed corresponds to languages definable inF [MOD]

Page 41: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocksaaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 42: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocksaaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 43: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocks

aaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 44: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocksaaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 45: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocksaaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 46: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Block abstraction

Block abstraction

Given an alphabet A and number d , A∗d words of length ≤ d

Words in A∗ can be cut into blocksaaaabbabab → [aaa][abb][aba][b]

µd : A∗ → A∗da1a2 . . . an 7→ [a1a2 . . . ad ][ad+1ad+2 . . . a2d ] . . . [akd+1 . . . akd+r ]

‖C ‖d = {L : ∃K ∈ C such that L = µ−1d (K )}

DefinitionThe block abstraction of C is

‖C ‖ =⋃d∈N‖C ‖d

Page 47: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 48: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 49: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 50: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}

Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 51: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 52: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 53: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Stable monoid

Stable monoid and well formed words

M = (M, ·), finite.

η : A∗ →M morphism to a finite monoid

Stability index → least s such that η(As) = η(A2s). (s exists because Mis finite)

DefinitionStab(M), the stable monoid is η(As) ∪ {e}Now we look at the free monoid M∗.

Definitionm = m1m2 . . .mn ∈ M∗ is stable if m1,m2, . . .mn−1 ∈ Stab(M) andmn ∈ η(A<d)

DefinitionbLcM = {m : m is stable and β(m) ∈ η(L)}

Page 54: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Transfer theorem

Transfer theorem

LemmaLet L1 and L2 be regular languages recognized by the same monoid Mvia a morphism η, whose stability index is s. Then, L1 and L2 are‖C ‖s -separable if and only if bL1cM and bL2cM are C -separable.

Page 55: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Modular enrichment

Now we will move on to the second part of the proof, which relates theenrichment of the fragment with modular predicates to the classtransformation defined earlier.

Enrichment result. Let C be the class of languages definable in F [S]with +1 ∈ S. Then, ‖C ‖ is the class of languages definable inF [S,MOD].

Page 56: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Modular enrichment

Now we will move on to the second part of the proof, which relates theenrichment of the fragment with modular predicates to the classtransformation defined earlier.

Enrichment result. Let C be the class of languages definable in F [S]with +1 ∈ S. Then, ‖C ‖ is the class of languages definable inF [S,MOD].

Page 57: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

Showing ‖C ‖ languages are definable in F [S,MOD] is easy.

It involves transforming a F [S](A∗d) describing a language K into aformula F [S,MOD](A∗) which describes µ−1d (K )

We do this by describing blocks using the successor predicate.

Eg: the following formula∃x([aba](x))

over A3 is transformed to

∃x1 x2 x3(mod30(x1) ∧ (x3 = x2+1)∧(x2 = x1+1) ∧a(x1)∧b(x2) ∧ a(x3))

Page 58: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

Showing ‖C ‖ languages are definable in F [S,MOD] is easy.

It involves transforming a F [S](A∗d) describing a language K into aformula F [S,MOD](A∗) which describes µ−1d (K )

We do this by describing blocks using the successor predicate.

Eg: the following formula∃x([aba](x))

over A3 is transformed to

∃x1 x2 x3(mod30(x1) ∧ (x3 = x2+1)∧(x2 = x1+1) ∧a(x1)∧b(x2) ∧ a(x3))

Page 59: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

Showing ‖C ‖ languages are definable in F [S,MOD] is easy.

It involves transforming a F [S](A∗d) describing a language K into aformula F [S,MOD](A∗) which describes µ−1d (K )

We do this by describing blocks using the successor predicate.

Eg: the following formula∃x([aba](x))

over A3 is transformed to

∃x1 x2 x3(mod30(x1) ∧ (x3 = x2+1)∧(x2 = x1+1) ∧a(x1)∧b(x2) ∧ a(x3))

Page 60: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

Showing ‖C ‖ languages are definable in F [S,MOD] is easy.

It involves transforming a F [S](A∗d) describing a language K into aformula F [S,MOD](A∗) which describes µ−1d (K )

We do this by describing blocks using the successor predicate.

Eg: the following formula∃x([aba](x))

over A3 is transformed to

∃x1 x2 x3(mod30(x1) ∧ (x3 = x2+1)∧(x2 = x1+1) ∧a(x1)∧b(x2) ∧ a(x3))

Page 61: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

For the other direction, it is sufficient to prove the result using anEhrenfeucht-Fraısse game argument for F = FO.

To prove that if L /∈ ‖C ‖d , then L is not definable in FO[<,+,MODd ].

If we prove for an arbitrary integer d that L is not definable inFO[<,+,MODd ], we are done.

Page 62: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

For the other direction, it is sufficient to prove the result using anEhrenfeucht-Fraısse game argument for F = FO.

To prove that if L /∈ ‖C ‖d , then L is not definable in FO[<,+,MODd ].

If we prove for an arbitrary integer d that L is not definable inFO[<,+,MODd ], we are done.

Page 63: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

Enrichment

Proof of enrichment result

For the other direction, it is sufficient to prove the result using anEhrenfeucht-Fraısse game argument for F = FO.

To prove that if L /∈ ‖C ‖d , then L is not definable in FO[<,+,MODd ].

If we prove for an arbitrary integer d that L is not definable inFO[<,+,MODd ], we are done.

Page 64: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 65: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 66: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 67: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 68: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 69: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)

I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 70: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)

I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 71: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)

I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 72: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 73: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 74: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Ehrenfeucht-Fraisse game

Gk(w1,w2)→ k-round game for FO[<,+] for two words w1 and w2:

I Spoiler (S) and Duplicator (D) play

I Round i : S picks a word from w1,w2 and plays a position on thatword

I D plays a position on the other word

I Pi (w1) = x1, x2 . . . xi and Pi (w2) = y1, y2 . . . yi , then we proceed tothe next round iff

I xi = xj + 1 iff yi = yj + 1 (equivalently −1)I xi > xj iff yi > yj (equivalently < and =)I For MODd - xi ≡ yi (mod d)I xi and yi have the same letter

I If D cannot pick such a position, S wins and game is terminated

I If D can successfully play for k rounds, he/she wins the game

Page 75: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy transfer

If for every k, there exists w1 ∈ L and w2 /∈ L such that D has a strategyon Gk(w1,w2), then L is not definable in the fragment.

For our purposes, this translates to the following sufficient condition:

For w1 and w2, if G (µd(w1), µd(w2)) and G ′(w1,w2) are the FO[<,+]and FO[<,+,MODd ] EF games, and if Duplicator has a winningstrategy for G , then Duplicator has a winning strategy for G ′.

Page 76: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy transfer

If for every k, there exists w1 ∈ L and w2 /∈ L such that D has a strategyon Gk(w1,w2), then L is not definable in the fragment.

For our purposes, this translates to the following sufficient condition:

For w1 and w2, if G (µd(w1), µd(w2)) and G ′(w1,w2) are the FO[<,+]and FO[<,+,MODd ] EF games, and if Duplicator has a winningstrategy for G , then Duplicator has a winning strategy for G ′.

Page 77: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy transfer

If for every k, there exists w1 ∈ L and w2 /∈ L such that D has a strategyon Gk(w1,w2), then L is not definable in the fragment.

For our purposes, this translates to the following sufficient condition:

For w1 and w2, if G (µd(w1), µd(w2)) and G ′(w1,w2) are the FO[<,+]and FO[<,+,MODd ] EF games, and if Duplicator has a winningstrategy for G , then Duplicator has a winning strategy for G ′.

Page 78: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

Page 79: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

Page 80: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

Page 81: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

I Simulate Spoiler playing position bxi/dc on µd(w1) in G

Page 82: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

I Simulate Spoiler playing position pi = bxi/dc on µd(w1) in G

I Get position qi played by Duplicator according to his winningstrategy in G

Page 83: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Proof

EF games for modulo predicates

Strategy Transfer

For G (µd(w1), µd(w2))

[aba][bab][ba]

[aba][bba][bab][ba]

For G ′(w1,w2)

abababba

ababbababba

I Round i - Spoiler plays xi on w1 in G ′

I Simulate Spoiler playing position pi = bxi/dc on µd(w1) in G

I Get position qi played by Duplicator according to his winningstrategy in G

I Play position yi = (qi ∗ d + xi (mod d)) on µd(w2) in G ′. Thenmove to round i + 1

Page 84: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 85: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 86: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 87: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 88: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 89: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined generically

I independence of strategy transfer on the number of rounds played inthe EF game, reducing dependence of the proof on logical structure

Page 90: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Conclusion and closing remarks

I Trivial to prove that Duplicator wins using the strategy describedearlier.

I The proof techniques will work for any fragment of first order logicprovided it has successor.

I If we have successor then in some sense we are getting modularseparation ”for free” because:

I Use of successor to describe blocks of letters, effectively abstractingmodularity

I Language transformation is defined genericallyI independence of strategy transfer on the number of rounds played in

the EF game, reducing dependence of the proof on logical structure

Page 91: Separation with modulo predicates - irif.fr · Chennai Mathematical Institute ... State of the art Main problem Proof Block abstraction ... Straubing de ned an operation V 7!V D based

Separation with modulo predicates

Conclusion

Thank you!