Definable sets in tree-like structures Graud Snizergues LaBRI, - - PowerPoint PPT Presentation

definable sets in tree like structures
SMART_READER_LITE
LIVE PREVIEW

Definable sets in tree-like structures Graud Snizergues LaBRI, - - PowerPoint PPT Presentation

Definable sets in tree-like structures Definable sets in tree-like structures Graud Snizergues LaBRI, Bordeaux University, Thursday June 29th 2017 Dedicated to Paul Schupp on his 80th birthday. 1 / 45 Definable sets in tree-like


slide-1
SLIDE 1

Definable sets in tree-like structures

Definable sets in tree-like structures

Géraud Sénizergues

LaBRI, Bordeaux University,

Thursday June 29th 2017 Dedicated to Paul Schupp on his 80th birthday.

1 / 45

slide-2
SLIDE 2

Definable sets in tree-like structures Introduction

INTRODUCTION

2 / 45

slide-3
SLIDE 3

Definable sets in tree-like structures Introduction

Three fundamental works

Three fundamental works by D.E. Muller and P.E.Schupp : [Groups, the theory of ends, and context-free languages. Journal of Computer and System Sciences, 1983] [The theory of ends, pushdown automata, and second-order

  • logic. Theoretical Computer Science, 1985]

[Alternating automata on infinite trees. Theoretical Computer Science, 1987]

3 / 45

slide-4
SLIDE 4

Definable sets in tree-like structures Introduction

Decidability/Definability/Selection

Decidability : Given a formula Φ, can we decide whether M | = Φ Definability : A subset R is definable iff there exists a formula Φ(X) such that M | = ∃!XΦ(X) and M, R | = Φ(X). Selection : Given a formula Φ(X), a selector (for the formula and the structure M) is a formula ˆ Φ(X) such that M | = (∃X · Φ(X)) → (∃X · ˆ Φ(X)) M | = ∀X · (ˆ Φ(X) → Φ(X)) M | = ∀X · ∀Y · (ˆ Φ(X) ∧ ˆ Φ(Y )) → (X = Y ).

4 / 45

slide-5
SLIDE 5

Definable sets in tree-like structures Introduction

contents

1 Introduction 2 MSO logics 3 Context-free graphs 4 Stupp’s expansion 5 Muchnik’s expansion 6 Decidability of definability

5 / 45

slide-6
SLIDE 6

Definable sets in tree-like structures MSO logics

MSO logics

6 / 45

slide-7
SLIDE 7

Definable sets in tree-like structures MSO logics

MSO :syntax

Let Sig = {r1, . . . , rn} be a signature containing relational symbols

  • nly, where ρi ∈ N is the arity of symbol ri.

Let Var = {x, y, z, . . . , X, Y , Z . . .} be a set of variables, where x, y, . . . denote first order variables and X, Y , . . . second order variables. The set of MSO-formulas over Sig, Var is the smallest set such that : for every x, x1, . . . , xρ, X, Y , X1 . . . Xτ in Var and MSO formula Φ, Ψ x ∈ X, Y ⊆ X ¬Φ, Φ ∨ Ψ, Φ ∧ Ψ, Φ → Ψ, ∃x.Φ, ∃X.Φ, ∀x.Φ, ∀X.Φ, are MSO-formulas.

7 / 45

slide-8
SLIDE 8

Definable sets in tree-like structures MSO logics

MSO :semantics

Let M = DM, r1, . . . , rn be a structure over the signature Sig, and ν : Var → DM ∪ P(DM) a valuation The validity of a MSO-formula in the structure M with valuation ν is then defined by induction on the structure of the formula. Notation : M, ν | = Φ.

8 / 45

slide-9
SLIDE 9

Definable sets in tree-like structures MSO logics

Tools :automata

Automata :

  • General automata :

Right-action of the monoid A∗ over a set C (set of configurations) : (c, u) → c ⊙ u. Initial configuration c0 and set of final configurations Cf . Right-equivalence over C : c ≡r d ⇔ {u ∈ A∗ | c ⊙ u ∈ Cf } = {u ∈ A∗ | d ⊙ u ∈ Cf }

  • Pushdown automata : case where C = Q · Z ∗ and ⊙ consists of

“small changes” on the right-end of the configuration.

9 / 45

slide-10
SLIDE 10

Definable sets in tree-like structures MSO logics

Tools : alternating automata

Definition from [Muller-Schupp 87] An alternating automata over binary trees, labelled on alphabet Σ is a tuple : Q, Σ, q0, δ, Ω where δ : Q × Σ → B+(Q × {ℓ, r}). The tree t : {ℓ, r}∗ → Σ is recognized by the automaton iff player J0 is winning the following game :

10 / 45

slide-11
SLIDE 11

Definable sets in tree-like structures MSO logics

Tools : alternating automata

V0 := Q × {ℓ, r}∗ V1 := conjunctive monomials over Q × {ℓ, r} Edges :

  • J0 (the “prover”) chooses a conjunctive monomial that is allowed

by t and δ

  • J1 (the “attacker”) chooses one atom (q, d) ∈ Q × {ℓ, r} of that

monomial.

11 / 45

slide-12
SLIDE 12

Definable sets in tree-like structures MSO logics

Tools : alternating automata

The automaton is non-deterministic when every position of J1 accessible in the game has the form (p, ℓ) ∧ (q, r). Theorem (Muller-Schupp 1987) Every alternating finite tree automaton can be simulated by some non-deterministic finite tree-automaton. Key-idea : use Muller deterministic automata over branches. Extension to trees with infinite arity : [Walukiewicz 1996].

12 / 45

slide-13
SLIDE 13

Definable sets in tree-like structures MSO logics

Tools :games

Games :

  • Parity games :

Arena : a bipartite graph (V0 ∪ V1, E, Ω) where Ω : V0 ∪ V1 → [0, n] is the priority map. Play : v0, v1, . . . , vm, . . . which is a path in the arena ; either it is infinite or its last vertex is a dead-end. The winner is J0 iff max{r | vi = r i.o. } ≡ 0 (mod 2)

  • r the last vertex is a position of V1 which is a dead-end. Otherwise

J1 is the winner.

13 / 45

slide-14
SLIDE 14

Definable sets in tree-like structures MSO logics

Tools :games

Strategy for Jj : a map Sj : V ∗Vj → V1−j such that Sj ⊆ E and dom(Sj) = dom(E) ∩ Vj It is said positional if Sj(u · v) depends on v only. Theorem (Emerson-Jutla 91) Let G be a parity game. 1- Either player 0 or player 1 has a winning strategy. 2- The winner has a positional winning strategy. Other games :

  • Muller games
  • Ehrenfeucht-Fraïssé games ([1961],[1954])

14 / 45

slide-15
SLIDE 15

Definable sets in tree-like structures MSO logics

Tools :interpretations

We call MSO-interpretation of the structure M into the structure M′ every injective map ϕ : DM → DM′ such that, 1- There exists a formula Φ′(X) ∈ L′, with one free-variable X, which is second-order, fulfilling that, for every subset XM′ ⊆ DM′ XM′ = ϕ(DM) ⇔ M′ | = Φ′(XM′) 2- For every i ∈ [1, n], there exists a formula Φ′

i(x1, . . . , xρi ),

fulfilling that, for every valuation ν (M, ν) | = ri(x1, . . . , xρi ) ⇔ (M′, ϕ ◦ ν) | = Φ′

i(x1, . . . , xρi ).

15 / 45

slide-16
SLIDE 16

Definable sets in tree-like structures MSO logics

Tools :interpretations

Theorem Suppose that there exists a MSO-interpretation of the structure M into the structure M′. Then, there exists a computable map from L to L′ : Φ → Φ′ such that M | = Φ iff M′ | = Φ′. In particular, if M′ has a decidable MSO-theory, then M has a decidable MSO-theory too.

16 / 45

slide-17
SLIDE 17

Definable sets in tree-like structures MSO logics

Infinite binary tree

Theorem (Rabin 1969) Let S be the signature Sa, Sb. The MSO-theory of the structure {a, b}∗, Sa, Sb is decidable. Theorem (Rabin 1969) A subset R ⊂ {a, b}∗ is MSO-definable iff it is recognizable by a deterministic f.automaton. Theorem (Rabin 1969) The MSO-theory of the structure {a, b}∗, Sa, Sb has the selection property.

17 / 45

slide-18
SLIDE 18

Definable sets in tree-like structures MSO logics

Decidability versus selection

Example 1 : [Rabinovitch 05], [Lifsches-Shellah 98].

  • UNdecidable MSO
  • Selection property

Example 2 : A structure definable inside an algebraic tree (computation-tree of some pushdown automaton) :

  • Decidable MSO (MSO-interpretation into the unravelling of a c.f.

graph)

  • NO selection property (use Ehrenfeucht-Fraïssé games)

18 / 45

slide-19
SLIDE 19

Definable sets in tree-like structures Context-free graphs

Context-free graphs

19 / 45

slide-20
SLIDE 20

Definable sets in tree-like structures Context-free graphs

spherical ends

Let Γ be a graph, labelled over an alphabet X. Given some vertex v ∈ VΓ, and some radius n ∈ N, we call (v, n)-end of Γ (relative to the ball B(v, n)) any connected component of Γ − B(v, n). Definition A graph Γ is said context-free iff it is connected and has only finitely many isomorphism classes of ends.

20 / 45

slide-21
SLIDE 21

Definable sets in tree-like structures Context-free graphs

C.f. graphs : definability

The canonical automaton (Muller-Schupp) :

  • pushdown symbols Zi,j : j is the number of one (n + 1)-end inside

the n − end with number i

  • states qℓ : point number ℓ on the frontier of the end
  • transitions : edges from the frontier of a (v, n)-end to the frontier
  • f a (v, n + 1)-end.

Theorem (Muller-Schupp 85) If Γ is c.f. then it is isomorphic with the computation-graph of its canonical automaton. Idea : the accessible configurations of the canonical automaton correspond bijectively to the vertices of Γ.

21 / 45

slide-22
SLIDE 22

Definable sets in tree-like structures Context-free graphs

C.f. graphs : decidability

Theorem (Muller-Schupp 1985) For every c.f. graph Γ, the MSO-theory of Γ is decidable Idea : The structure Γ is MSO-interpretable in Q × {zi,j}∗.

22 / 45

slide-23
SLIDE 23

Definable sets in tree-like structures Context-free graphs

C.f. graphs : definability

A subset R of VΓ is said recognizable iff its set of “coordinates” in the canonical automaton is recognized by some f.automaton Theorem A subset R of VΓ is definable iff it is recognizable Idea : the accessible configurations of the canonical automaton correspond bijectively to the vertices of Γ.

23 / 45

slide-24
SLIDE 24

Definable sets in tree-like structures Context-free graphs

C.f. graphs : selection

MSO Formula defining the automorphisms. Let us choose a vertex v0 : it defines ends relative to (v0, n) and a canonical automaton. θ(v, V0,0,0, . . . , Vi,j,ℓ, . . . , D0, . . . , Dm, . . . , Dc−1) Property :

  • one model of the formula is :

ν(v) = v0, ν(Vi,j,ℓ) = {qℓz0,j0 · · · zi,j}, ν(Dm) = {v | d(v0, v) ≡ m (mod c)}

  • every model has the form

ν(v) = h(v0), ν(Vi,j,ℓ) = h({qℓz0,j0 · · · zi,j}), ν(Dm) = {v | d(v0, v) ≡ m (mod c)} for some automorphism h of Γ.

24 / 45

slide-25
SLIDE 25

Definable sets in tree-like structures Context-free graphs

C.f. graphs : selection

  • The map Aut(Γ) → models of θ

h → (h(v0), . . . , h({qℓz0,j0 · · · zi,j}), . . . , Dm) is a bijection.

25 / 45

slide-26
SLIDE 26

Definable sets in tree-like structures Context-free graphs

C.f. graphs : selection

Selection property for c.f. graphs. Theorem For every context-free graph M, whith trivial automorphism-group, the MSO-theory of M has the selection-property. Idea : given a formula Φ(X)

  • translate it as a formula Ψ(Z) over Q × {zi,j}∗
  • selector ˆ

Ψ(Z) over Q × {zi,j}∗

  • formula ˆ

Ψ′(Z) obtained from ˆ Ψ(Z) by : replacing Szi,j(x, y) by

  • m

x ∈ Dm ∧ y ∈ Dm+1 ∧ (

y ∈ Vi,j,ℓ) replacing qℓ(x) by

i,j x ∈ Vi,j,ℓ

26 / 45

slide-27
SLIDE 27

Definable sets in tree-like structures Context-free graphs

C.f. graphs : selection

  • we define the selector ˆ

Φ(X) by : ∃v, . . . , Vi,j,ℓ, . . . , D0, . . . , Dc−1 θ(v, . . . , Vi,j,ℓ, . . . , D0, . . . , Dc−1) ∧ ˆ Ψ′(Z). Extension : when the automorphism group is arbitrary, the set of models of ˆ Φ(X) is one orbit of Aut(Γ) (acting on P(Γ)).

27 / 45

slide-28
SLIDE 28

Definable sets in tree-like structures Stupp’s expansion

Stupp’s expansion

28 / 45

slide-29
SLIDE 29

Definable sets in tree-like structures Stupp’s expansion

S-expansion :definition

Definition (S-expansion, Stupp 1975) Let Sig = (r1, . . .) be a signature containing only relational symbols and M = A, r1, . . . a structure over Sig. The S-extended signature is Sig∗ = Sig ∪ {son} The S-expansion is M∗ = A∗, son, r1∗, . . . where A∗ is the set of all finite sequences of elements of A and the relations are defined by : son = {(u, ud) : u ∈ A∗, d ∈ A} r ∗ = {(ud1, . . . , udk) : u ∈ A∗, (d1, . . . , dk) ∈ rM}, ( for all r ∈ Sig, of arity k).

29 / 45

slide-30
SLIDE 30

Definable sets in tree-like structures Stupp’s expansion

S-expansion :decidability

Theorem (Stupp 1975) If the MSO theory of M is decidable, then the MSO theory of M∗ is decidable. Idea of proof :

  • formula -> non-deterministic tree-automaton

(extends [Rabin 71]) : transitions are defined by logical formulas : ψp,σ(. . . , Xp, . . . , Xq, . . .) expressing that a run, with state p at vertex u, with label t(u) = σ, has a correct choice of states . . . , p, . . . , q, . . . for its sons

  • boolean operations on languages translate into effective
  • perations on automata
  • emptiness of the recognized language is decidable.

30 / 45

slide-31
SLIDE 31

Definable sets in tree-like structures Stupp’s expansion

S-expansion :definability

Let M = A, r1, . . .. Definition A logical finite automaton over A∗ is a tuple A = Q, q0, Qf , δ where Q is a finite set, q0 ∈ Q, Qf ⊆ Q and δ = (Φp,q)(p,q)∈Q×Q is a family of MSO-formulas with one free individual variable.

31 / 45

slide-32
SLIDE 32

Definable sets in tree-like structures Stupp’s expansion

S-expansion :definability

A computation of A is a sequence q0, a1, q1, . . . , an, qn, . . . , aℓ, qℓ such that, for every n ∈ [0, ℓ − 1], M | = Φqn,qn+1(an+1). The language recognized by A is the set of finite sequences a1 · · · an · · · aℓ that admit a computation ending in qℓ ∈ Qf .

32 / 45

slide-33
SLIDE 33

Definable sets in tree-like structures Stupp’s expansion

S-expansion :definability

Theorem (J. Pablo, Master thesis 2016) Let R ⊆ A. It is S-definable iff it is recognized by some finite logical automaton over M. Idea of proof : 1- Suppose R ⊆ A is S-definable.

  • Stupp’s tree automaton -> game over M∗

general position of J0 : (q, u) ∈ Q × A∗ general position of J1 : partition (Sq)q∈Q of u · A.

  • game over M∗ -> game over M

general position of J0 : q ∈ Q general position of J1 : partition (Sq)q∈Q of A.

  • winning positions of J0 are expressible within MSO.

33 / 45

slide-34
SLIDE 34

Definable sets in tree-like structures Stupp’s expansion

S-expansion :definability

  • logical automaton : transition Φp,q(x) expresses the fact that

there exists some partition (Sq)q∈Q of A that can be played from p by J0, and is winning for J0 and x ∈ Sq. 2- Converse : express the language as a least fixpoint.

34 / 45

slide-35
SLIDE 35

Definable sets in tree-like structures Stupp’s expansion

S-expansion :selection

Theorem (J. Pablo and G.S today) If the MSO theory of M has the selection property, then the MSO theory of M∗ has the selection property, Ideas : Game over M. Use the existence of a winning positional strategy for every parity game.

35 / 45

slide-36
SLIDE 36

Definable sets in tree-like structures Muchnik’s expansion

Muchnik’s expansion

36 / 45

slide-37
SLIDE 37

Definable sets in tree-like structures Muchnik’s expansion

M-expansion : definition

Definition (M-expansion, Muchnik-Semenov 1984) Let Sig = (r1, . . .) be a signature containing only relational symbols and M = A, r1, . . . a structure over Sig. The M-extended signature is Sig∗ = Sig ∪ {son, clone} The M-expansion is M∗ = A∗, son, clone, r ∗

1 , . . .

where the relations are defined by : son = {(u, dd) : u ∈ A∗, d ∈ A} clone = {udd : u ∈ A∗, d ∈ A} r ∗ = {(ud1, . . . , udk) : u ∈ A∗, (d1, . . . , dk) ∈ rM}, ( for all r ∈ Sig, of arity k).

37 / 45

slide-38
SLIDE 38

Definable sets in tree-like structures Muchnik’s expansion

M-expansion :decidability

Theorem (Muchnik-Semenov 84, Walukiewicz 96) For every MSO formula Φ over the signature Sig∗ one can effectively find a MSO formula Φ over the signature Sig such that, for every structure M : M | = Φ iff M∗ | = Φ Proof :

  • alternating automata -> non-deterministic automata
  • transitions are defined by logical formulas :

ψp,σ(x, . . . , Xp, . . . , Xq, . . .) expressing that a run, with state p at vertex ux, with label t(ux) = σ, has a correct choice of states . . . , p, . . . , q, . . . for its sons

38 / 45

slide-39
SLIDE 39

Definable sets in tree-like structures Muchnik’s expansion

M-expansion :decidability

  • boolean operations on languages translate into effective
  • perations on automata
  • emptiness of the recognized language is decidable.

39 / 45

slide-40
SLIDE 40

Definable sets in tree-like structures Muchnik’s expansion

M-expansion :definability

Definition A logical finite di-automaton over A∗ is a tuple A = Q, a0, q0, Qf , δ where Q is a finie set, q0 ∈ Q, Qf ⊆ Q and δ = (Φp,q)(p,q)∈Q×Q is a family of MSO-formulas with two free individual variables. A computation of A is a sequence a0, q0, a1, q1, . . . , an, qn, . . . , aℓ, qℓ such that, for every n ∈ [0, ℓ − 1], M | = Φqn,qn+1(an, an+1).

40 / 45

slide-41
SLIDE 41

Definable sets in tree-like structures Muchnik’s expansion

M-expansion :definability

Theorem (G.S. today) Let R ⊆ A be M-definable. It is M-definable iff it is recognized by some finite logical di-automaton over M. Adapt the case of S-definable subsets to the transitions of the M-tree-automata.

41 / 45

slide-42
SLIDE 42

Definable sets in tree-like structures Decidability of definability

Decidability of definability

42 / 45

slide-43
SLIDE 43

Definable sets in tree-like structures Decidability of definability

The question

Input : A M-definable subset R of M∗ ? Question : Is R also S-definable ?

43 / 45

slide-44
SLIDE 44

Definable sets in tree-like structures Decidability of definability

Algebraic Characterisation

A “logical di-automaton” can be turned into a deterministic automaton AQ × A → Q. Proposition Let R ⊆ A be M-definable. It is S-definable iff the minimal automaton of R is finite. Idea : If the minimal automaton is finite then its transitions can be expressed within MSO over M ; hence it is a logical finite automaton.

44 / 45

slide-45
SLIDE 45

Definable sets in tree-like structures Decidability of definability

Decision procedure

Theorem (G.S. today) Let us assume that M has a decidable MSO and that the finiteness property for a subset of M is expressible in MSO. Given a M-definable subset of M one can decide whether this subset is S-definable. Ideas :

  • use the NSC from proposition 4
  • express existence of a finite transversal for ≡R by a MSO-formula.

45 / 45