Characterization of Logics on Infinite Linear Orderings Thomas - - PowerPoint PPT Presentation

characterization of logics on infinite linear orderings
SMART_READER_LITE
LIVE PREVIEW

Characterization of Logics on Infinite Linear Orderings Thomas - - PowerPoint PPT Presentation

Characterization of Logics on Infinite Linear Orderings Thomas Colcombet ACTS 9-13 February 2015 Chennai Linear orderings Words Logics Monadic Second-Order Logic Monadic Second-Order Logic Monadic second-order logic (MSO) - quantify over


slide-1
SLIDE 1

Characterization of Logics on Infinite Linear Orderings

Thomas Colcombet ACTS 9-13 February 2015 Chennai

slide-2
SLIDE 2

Linear orderings Words Logics

slide-3
SLIDE 3

Monadic Second-Order Logic

slide-4
SLIDE 4

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives
slide-5
SLIDE 5

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t.

slide-6
SLIDE 6

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t. Words signature: binary order + predicates for each letter.

slide-7
SLIDE 7

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t. Words signature: binary order + predicates for each letter. In FO, « is dense »: for all x<y there is some z such that x<z<y

slide-8
SLIDE 8

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t. Words signature: binary order + predicates for each letter. In FO, « is dense »: for all x<y there is some z such that x<z<y In MSO, « is scattered »: no (induced) sub-ordering is dense

slide-9
SLIDE 9

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t. Words signature: binary order + predicates for each letter. In FO, « is dense »: for all x<y there is some z such that x<z<y In MSO, « is finite »: the first and last positions exist and are reachable one from the other by successor steps In MSO, « is scattered »: no (induced) sub-ordering is dense

slide-10
SLIDE 10

Monadic Second-Order Logic

Monadic second-order logic (MSO)

  • quantify over elements x,y,…
  • quantify over sets of elements X,Y,… (monadic variables)
  • use there relation predicates of the ambient signature
  • Boolean connectives

For instance over the di-graph signature, « t is reachable from s »: every set containing s and closed under edge relation also contains t. Words signature: binary order + predicates for each letter. In FO, « is dense »: for all x<y there is some z such that x<z<y In MSO, « is finite »: the first and last positions exist and are reachable one from the other by successor steps In MSO, « is complete »: all subsets have a supremum In MSO, « is scattered »: no (induced) sub-ordering is dense

slide-11
SLIDE 11

History

slide-12
SLIDE 12

History

Elgot - Büchi60 MSO=reg (finite words) decidable

slide-13
SLIDE 13

History

Elgot - Büchi60 MSO=reg (finite words) decidable [Büchi62]: ω-words decidable (Q,<): [Rabin69] (Q,<): [Shelah75] (R,<): [Shelah75] (undecidable) MSO=recognizable [Carton,C.,Puppis]

  • ver countable linear orderings
slide-14
SLIDE 14

History

Elgot - Büchi60 MSO=reg (finite words) decidable [Büchi62]: ω-words decidable (Q,<): [Rabin69] (Q,<): [Shelah75] (R,<): [Shelah75] (undecidable) MSO=recognizable [Carton,C.,Puppis]

  • ver countable linear orderings

[Schützenberger65] [McNaughton&Papert71] FO-definable = aperiodic Many logics…

slide-15
SLIDE 15

History

Elgot - Büchi60 MSO=reg (finite words) decidable [Büchi62]: ω-words decidable (Q,<): [Rabin69] (Q,<): [Shelah75] (R,<): [Shelah75] (undecidable) MSO=recognizable [Carton,C.,Puppis]

  • ver countable linear orderings

[Schützenberger65] [McNaughton&Papert71] FO-definable = aperiodic Many logics…

?

slide-16
SLIDE 16

Linear orderings and infinite words

slide-17
SLIDE 17

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable)

slide-18
SLIDE 18

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet)

slide-19
SLIDE 19

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) finite

a b c b a a

slide-20
SLIDE 20

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) finite

a b c b a a

slide-21
SLIDE 21

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) finite

a b c b a a

domain ω* (-N,<)

slide-22
SLIDE 22

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

domain ω* (-N,<)

slide-23
SLIDE 23

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

domain ω* (-N,<) scattered (no dense sub-ordering)

slide-24
SLIDE 24

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

perfect shuffle {a,b}

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) domain ω* (-N,<) scattered (no dense sub-ordering)

slide-25
SLIDE 25

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

complete perfect shuffle {a,b}

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) domain ω* (-N,<) scattered (no dense sub-ordering)

slide-26
SLIDE 26

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

incomplete complete perfect shuffle {a,b}

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) domain ω* (-N,<) scattered (no dense sub-ordering)

slide-27
SLIDE 27

Linear orderings and infinite words

Linear ordering: α=(L,<) with < total (here L is always countable) (Countable) word: map u : α→A (A alphabet) domain ω (N,<) well ordered domain (ordinal)

ω ω ω times

finite

a b c b a a

incomplete complete perfect shuffle {a,b}

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) domain ω* (-N,<) scattered (no dense sub-ordering) gap = natural Dedekind cut

slide-28
SLIDE 28

Restricting the set quantifier

singleton sets cuts finite sets finite sets and cuts well ordered sets scattered sets first-order logic (FO) first-order logic with cuts (FO[cut]) weak monadic second-order logic (WMSO) MSO[finite,cut] MSO[ordinal] MSO[scattered] Range of set quantifiers Name of the logic « is dense », « has length k » « is well ordered », « is complete », « is finite » « is finite », « has even length » « there is an even number of gaps » « is scattered » … all sets MSO « there are two sets ‘dense in each other’ »

slide-29
SLIDE 29

Structure

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO

slide-30
SLIDE 30

Structure

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO

Can we separate these logics ?

slide-31
SLIDE 31

=

Structure

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO

Can we separate these logics ?

slide-32
SLIDE 32

=

Structure

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO

Can we separate these logics ? Can we characterize effectively these logics ?

slide-33
SLIDE 33

An algebraic approach: ○-monoid

slide-34
SLIDE 34

Generalized concatenation

slide-35
SLIDE 35

Generalized concatenation

A linear ordering α

i

slide-36
SLIDE 36

Generalized concatenation

a map from α to words

ui

A linear ordering α

i

slide-37
SLIDE 37

Generalized concatenation

generalized concatenation

Y

i∈α

ui

a map from α to words

ui

A linear ordering α

i

slide-38
SLIDE 38

Generalized concatenation

generalized concatenation

Y

i∈α

ui

a map from α to words

ui

A linear ordering α

i

Said differently, this is a flattening operation : Y : (A) → A

slide-39
SLIDE 39

○-monoids

slide-40
SLIDE 40

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

slide-41
SLIDE 41

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

π(a) = a

slide-42
SLIDE 42

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

Example:

⇣ A, Y⌘

is the free ○-monoid generated by A. π(a) = a

slide-43
SLIDE 43

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

Example: M={1,f,0} with:

π(u) =      1 if u consists only of 1’s f if u has one but finitely many f’s, and no 0

  • therwise

Example:

⇣ A, Y⌘

is the free ○-monoid generated by A. π(a) = a

slide-44
SLIDE 44

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

Example: M={1,f,0} with:

π(u) =      1 if u consists only of 1’s f if u has one but finitely many f’s, and no 0

  • therwise

A morphism of ○-monoid h is such that h

Y

i∈α

ui ! = π Y

i∈α

h(ui) !

Example:

⇣ A, Y⌘

is the free ○-monoid generated by A. π(a) = a

slide-45
SLIDE 45

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

Example: M={1,f,0} with:

π(u) =      1 if u consists only of 1’s f if u has one but finitely many f’s, and no 0

  • therwise

A morphism of ○-monoid h is such that h

Y

i∈α

ui ! = π Y

i∈α

h(ui) !

Example:

⇣ A, Y⌘

is the free ○-monoid generated by A. Given a finite monoid M, a ○-morphism h from A° to M, and F⊆M, M,h,F recognizes {u ∈ A : h(u) ∈ F} π(a) = a

slide-46
SLIDE 46

○-monoids

A ○-monoid (M,𝛒) is a set M equipped with a product 𝛒 : M° → M that satisfies generalized associativity:

π Y

i∈α

ui ! = π Y

i∈α

π(ui) !

Example: M={1,f,0} with:

π(u) =      1 if u consists only of 1’s f if u has one but finitely many f’s, and no 0

  • therwise

A morphism of ○-monoid h is such that h

Y

i∈α

ui ! = π Y

i∈α

h(ui) !

Example:

⇣ A, Y⌘

is the free ○-monoid generated by A. Given a finite monoid M, a ○-morphism h from A° to M, and F⊆M, M,h,F recognizes {u ∈ A : h(u) ∈ F} Example: with F={1,f}

h(u) =      1 if u has no a’s f if u has finitely many a’s

  • rtherwise

M,h,F recognize « finitely many a’s » π(a) = a

slide-47
SLIDE 47

Recognizability = definability

slide-48
SLIDE 48

Recognizability = definability

Schützenberger-Elgot-Büchi: A language of finite words is definable in monadic second-order logic if and only if it is recognizable by a finite monoid. Furthermore, there is a minimal such monoid: the syntactic monoid.

slide-49
SLIDE 49

Recognizability = definability

Theorem [Shelah75 & CCP11]: A language of countable words is definable if and only if it is recognizable by a finite ○-monoid. Furthermore there is a syntactic ○-monoid. Furthermore, finite ○-monoids can be effectively handled. Schützenberger-Elgot-Büchi: A language of finite words is definable in monadic second-order logic if and only if it is recognizable by a finite monoid. Furthermore, there is a minimal such monoid: the syntactic monoid.

slide-50
SLIDE 50

Effectiveness: induced operations

slide-51
SLIDE 51

Effectiveness: induced operations

Unit: M

1 = π(ε)

slide-52
SLIDE 52

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

slide-53
SLIDE 53

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

slide-54
SLIDE 54

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

ω*-iteration

aω = π(. . . aaa | {z }

ω∗

)

slide-55
SLIDE 55

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

ω*-iteration

aω = π(. . . aaa | {z }

ω∗

)

shuffle η: P(M)→M

{a, b}η = π(perfectshuffle(a, b))

slide-56
SLIDE 56

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

ω*-iteration

aω = π(. . . aaa | {z }

ω∗

)

shuffle η: P(M)→M

{a, b}η = π(perfectshuffle(a, b))

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism)

slide-57
SLIDE 57

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

ω*-iteration

aω = π(. . . aaa | {z }

ω∗

)

shuffle η: P(M)→M

{a, b}η = π(perfectshuffle(a, b))

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) Theorem[CCP11]: There are equalities (A) such that: every operations induced by a product satisfy equalities (A), and given 1,∙,ω,ω*,η over some finite M satisfying these equalities, there is a product π inducting them.

slide-58
SLIDE 58

Effectiveness: induced operations

Unit: M

1 = π(ε)

Binary product: M×M→M

a · b = π(ab)

ω-iteration: M→M

aω = π(aaa . . . | {z }

ω

)

ω*-iteration

aω = π(. . . aaa | {z }

ω∗

)

shuffle η: P(M)→M

{a, b}η = π(perfectshuffle(a, b))

b a a b a b

domain (Q,<) every letter appears densely (unique up to isomorphism) Theorem[CCP11]: There are equalities (A) such that: every operations induced by a product satisfy equalities (A), and given 1,∙,ω,ω*,η over some finite M satisfying these equalities, there is a product π inducting them.

a · (b · c) = (a · b) · c (an)ω = aω (a · b)ω = a · (b · a)ω {a}η = {a}η · a · {a}η . . .

slide-59
SLIDE 59

Examples

slide-60
SLIDE 60

Examples

« finitely many a’s » 1 f 1 f 1 f f f 1 f 1 1 f 1 ω ω* {1} {f,*},{0,*} 1 η h(a)=f f(b)=1 F={1,f}

slide-61
SLIDE 61

Examples

« finitely many a’s » « a’s are left-closed » 1 f 1 f 1 f f f 1 f 1 1 f 1 ω ω* {1} {f,*},{0,*} 1 η h(a)=f f(b)=1 F={1,f} 1 a b m 0 1 a b m 1 a b m 0 a a b m b m 0 m m 0 1 a b m 0 ω 1 a b 0 0 1 a b m 0 ω* 1 a b 0 0 a = « …aaa… » b = « …bbb… » m = « …aaa…bbb… » 0 = « *b*a* »

slide-62
SLIDE 62

Characterizing logics

slide-63
SLIDE 63

First order cannot detect gaps…

slide-64
SLIDE 64

First order cannot detect gaps…

Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic.

slide-65
SLIDE 65

First order cannot detect gaps…

Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic. Theorem [Bès&Carton13]: A language of countable scattered words is definable in FO if and only if every idempotent is gap insensitive. eω · eω∗ = e e · e = e

slide-66
SLIDE 66

First order cannot detect gaps…

« looks as » when sufficiently long. Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic. Theorem [Bès&Carton13]: A language of countable scattered words is definable in FO if and only if every idempotent is gap insensitive. eω · eω∗ = e e · e = e

slide-67
SLIDE 67

First order cannot detect gaps…

« looks as » when sufficiently long. Remark: « All idempotents are gap insensitive » implies aperiodicity. Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic. Theorem [Bès&Carton13]: A language of countable scattered words is definable in FO if and only if every idempotent is gap insensitive. eω · eω∗ = e e · e = e

slide-68
SLIDE 68

First order cannot detect gaps…

« looks as » when sufficiently long. Remark: « All idempotents are gap insensitive » implies aperiodicity. Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic.

an = (an)ω · (an)ω∗ = a · (an)ω · (an)ω∗ = an+1

an

Proof: Take n such that is idempotent. Theorem [Bès&Carton13]: A language of countable scattered words is definable in FO if and only if every idempotent is gap insensitive. eω · eω∗ = e e · e = e

slide-69
SLIDE 69

First order cannot detect gaps…

« looks as » when sufficiently long. Remark: « All idempotents are gap insensitive » implies aperiodicity. Theorem[Schützenberger65,McNauthon&Papert71]: A language of finite words is definable in FO if and only if it is aperiodic. Remark: The equation remains true but is not sufficient in general.

an = (an)ω · (an)ω∗ = a · (an)ω · (an)ω∗ = an+1

an

Proof: Take n such that is idempotent. Theorem [Bès&Carton13]: A language of countable scattered words is definable in FO if and only if every idempotent is gap insensitive. eω · eω∗ = e e · e = e

slide-70
SLIDE 70

Weak monadic logic cannot detect gaps… when in an infinite situation

slide-71
SLIDE 71

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e

slide-72
SLIDE 72

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property.

slide-73
SLIDE 73

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e

eω · eω∗ e

slide-74
SLIDE 74

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose

eω · eω∗ e

slide-75
SLIDE 75

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose a f (IH) b

eω · eω∗ e

slide-76
SLIDE 76

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose a f (IH) b = a · f · b

eω · eω∗ e

slide-77
SLIDE 77

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose a f (IH) b = a · f · b

eω · eω∗ e

slide-78
SLIDE 78

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose IH a f (IH) b = a · f · b

eω · eω∗ e

slide-79
SLIDE 79

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose IH a f (IH) b = a · f · b =a · f ω · f ω∗ · b =a · f · b

eω · eω∗ e

slide-80
SLIDE 80

Weak monadic logic cannot detect gaps… when in an infinite situation

[Bès&Carton]: A language of scattered words is definable in WMSO if and only if all ordinal idempotents and every ordinal* idempotents are gap insensitive. eω = e eω∗ = e IH: Assume « φ(X) » recognized by a monoid satisfying the property. e e e e e e e Whatever X we choose IH a f (IH) b = a · f · b =a · f ω · f ω∗ · b =a · f · b

eω · eω∗ e

slide-81
SLIDE 81

MSO[ordinal] cannot see scattered set

Lemma[C.&Sreejith A.V.]: Every formula of MSO[ordinal] has a syntactic ○- monoid such that every scattered idempotent is a shuffle idempotent. e = {e}η e = eω = eω∗

slide-82
SLIDE 82

MSO[ordinal] cannot see scattered set

Lemma[C.&Sreejith A.V.]: Every formula of MSO[ordinal] has a syntactic ○- monoid such that every scattered idempotent is a shuffle idempotent. e = {e}η e = eω = eω∗

MSO[scattered]

Lemma[C.&Sreejith A.V.]: Every formula of MSO[ordinal] has a syntactic ○- monoid such that every shuffle idempotent is shuffle simple. For all K such that e = Kη, and a such that e · a · e = e, (K ∪ {a})η = e.

slide-83
SLIDE 83

The picture

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO every idempotent is gap insensitive aperiodic every ordinal and

  • rdinal* idempotent

is gap insensitive every scattered idempotent is a shuffle idempotent every shuffle idempotent is shuffle simple

slide-84
SLIDE 84

=

The picture

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO every idempotent is gap insensitive aperiodic every ordinal and

  • rdinal* idempotent

is gap insensitive every scattered idempotent is a shuffle idempotent every shuffle idempotent is shuffle simple

slide-85
SLIDE 85

=

The picture

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO every idempotent is gap insensitive aperiodic every ordinal and

  • rdinal* idempotent

is gap insensitive every scattered idempotent is a shuffle idempotent every shuffle idempotent is shuffle simple These equations can be used to perform separation.

slide-86
SLIDE 86

=

The picture

FO FO[cut] WMSO MSO[finite,cut] MSO[ordinal] MSO[scattered] MSO every idempotent is gap insensitive aperiodic every ordinal and

  • rdinal* idempotent

is gap insensitive every scattered idempotent is a shuffle idempotent every shuffle idempotent is shuffle simple These equations can be used to perform separation. Example: the syntactic ○-monoid of « is scattered » contains a scattered idempotent which is not a shuffle idempotent.

slide-87
SLIDE 87

Results

Every idempotent is gap insensitive Aperiodicity Every ordinal or ordinal* idempotent is gap insensitive Every scattered idempotent is a shuffle idempotent Every shuffle idempotent is shuffle simple FO FO[cut] WMSO MSO[finite,cut] =MSO[ordinal] MSO[scattered]

✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ (❩✔)❪ (❩✔)❪ ✔

[C.&Sreejith A.V.]: The following properties characterize the logics: (and these logics can be separated)

slide-88
SLIDE 88

To be continued…