order 2 tree-automatic graphs - (work in progress)vikram/pap/meyer.pdf ·...

43
Order 2 Tree-Automatic Graphs (work in progress) Antoine Meyer (UPEM) Joint work with Arnaud Carayol (CNRS, UPEM) Automatic Presentations of Graphs and Numbers IMSc, 11/10/2016 Antoine Meyer Order 2 Tree-Automatic Graphs – 1

Upload: others

Post on 13-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Order 2 Tree-Automatic Graphs(work in progress)

Antoine Meyer (UPEM)Joint work with Arnaud Carayol (CNRS, UPEM)

Automatic Presentations of Graphs and NumbersIMSc, 11/10/2016

Antoine Meyer Order 2 Tree-Automatic Graphs – 1

Page 2: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Summary◦ The pushdown hierarchy of infinite graphs

[KNU02, Cau02, CW03]◦ Level n : transition graphs of n-pushdown automata◦ Can be obtained from a unique graph using logic-based

transformations◦ Using more expressive transformations, one gets strictlymore graphs [CL07]◦ At level 1: tree-automatic graphs◦ Above: a strict hierarchy of tree-automatic-like graphs

◦ Our aim:◦ Characterize these graphs directly using automata◦ Characterize their traces

◦ This talk : spend time explaining levels 1 and 2Antoine Meyer Order 2 Tree-Automatic Graphs – 2

Page 3: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 3

Page 4: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 4

Page 5: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 5

Page 6: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Word-automatic graphs

Let u, v be finite words over alphabet C◦ Padding of u : u�(i) = u(i) if i ∈ dom(u), � otherwise◦ Overlap of u and v : u⊗ v : dom(u)∪dom(v)→ (C ∪�)2such that u ⊗ v(i) = (u�(i), v �(i))

A relation R is word-automatic if {u ⊗ v | (u, v) ∈ R} isregular (i.e. accepted by a finite automaton)

A graph G is word-automatic if all its edge relations are

Antoine Meyer Order 2 Tree-Automatic Graphs – 6

Page 7: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Examples of automatic graphs

Infinite grid of dimension k◦ Vertices : words of the form an1

1 . . . ankk representing

coordinate vectors (n1, . . . , nk)◦ Edges :

Li = {an11 . . . ank

k ⊗ an11 . . . ani +1

i . . . ankk | n1, . . . , nk ≥ 0}

Antoine Meyer Order 2 Tree-Automatic Graphs – 7

Page 8: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Examples of automatic graphs

Full binary tree with “equal length” predicate◦ Vertices : {a, b}∗◦ Edges :

◦ La = {u ⊗ ua | u ∈ {a, b}∗}◦ Lb = {u ⊗ ub | u ∈ {a, b}∗}◦ L∼ = {u ⊗ v | u, v ∈ {a, b}∗, |u| = |v |}

Antoine Meyer Order 2 Tree-Automatic Graphs – 8

Page 9: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Tree-automatic graphs

Let s, t be finite binary C -labelled trees◦ Padding of t : t�(u) = t(u) if u ∈ dom(t), � otherwise◦ Overlap of s and t : s ⊗ t : dom(s) ∪ dom(t)→ (C ∪ �)2such that s ⊗ t(u) = (s�(u), t�(u))

A relation R is tree-automatic if {s ⊗ t | (s, t) ∈ R} is regular(i.e. accepted by a finite tree automaton)

A graph G is tree-automatic if all its edge relations are

Antoine Meyer Order 2 Tree-Automatic Graphs – 9

Page 10: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Finite tree automata

A finite (binary) tree automaton over alphabet C consists in:◦ A finite set of control states Q, some of which are rootstates, and some leaf states

◦ A finite set of transitions of the form (p, c , q, r) or (p, c)with p, q, r ∈ Q and c ∈ C

Antoine Meyer Order 2 Tree-Automatic Graphs – 10

Page 11: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Finite tree automata

A C -labelled tree t is accepted if it can be labelled by states insuch a way that◦ The root of t is labelled by a root state◦ For each leaf labelled p and c there exists a transition

(p, c)◦ For each internal node labelled p and c , with childrenlabelled q and r , there exists a transition (p, c , q, r)

Antoine Meyer Order 2 Tree-Automatic Graphs – 11

Page 12: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Example of tree-automatic graph

Given A ⊆ {a, b}∗, write tA the smallest binary tree with allpositions in A marked

“Weak powerset” graph of the full binary tree◦ Vertices : all tA for finite A◦ Edges :

◦ La = {t{u} ⊗ t{ua} | u ∈ {a, b}∗}◦ Lb = {t{u} ⊗ t{ub} | u ∈ {a, b}∗}◦ L⊆ = {tA ⊗ tB | A ⊆ B}

Antoine Meyer Order 2 Tree-Automatic Graphs – 12

Page 13: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 13

Page 14: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Monadic second order logic (MSO)Language consisting of :◦ first-order variables x , y , . . . denoting elements◦ second-order variables X ,Y , . . . denoting sets◦ atomic predicates R(x , y), x = y , x ∈ X◦ Boolean connectives ∧,∨,¬◦ first- and second-order quantification

Example (over binary relation R):

Reach(s, t) ≡ ∀X(s ∈ X

∧ ∀x∀y(x ∈ X ∧ xRy ⇒ y ∈ X ))⇒ t ∈ X

Antoine Meyer Order 2 Tree-Automatic Graphs – 14

Page 15: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

MSO interpretations

Let:◦ G be a Σ-labelled graph, Γ a finite set◦ δ(x), φa(x , y) for all a ∈ Γ be MSO-formulas over

Σ-labelled graphs◦ J =

(δ(x), (φa(x , y))a∈Γ

)

J is called an MSO-interpretation and

J(G) = {u a−→ v | G |= δ(u) ∧ δ(v) ∧ φa(u, v)}

is the Γ-graph interpreted in G via J

Antoine Meyer Order 2 Tree-Automatic Graphs – 15

Page 16: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Finite sets interpretations

Let:◦ G be a Σ-labelled graph, Γ a finite set◦ δ(X ), φa(X ,Y ) for all a ∈ Γ be WMSO formulas over

Σ-labelled graphs◦ J =

(δ(X ), (φa(X ,Y ))a∈Γ

)

J is called an finite sets interpretation and

J(G) = {U a−→V | G |= δ(U) ∧ δ(V ) ∧ φa(U ,V )}

is the Γ-graph interpreted in G via J

Antoine Meyer Order 2 Tree-Automatic Graphs – 16

Page 17: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Examples (revisited)

All previous examples can be finite-sets interpreted either in(N,≤) or in the full binary tree ∆2

Grid :◦ δX : set of distinct numbers {n1, . . . , nk} encodes tuple

(n1 − 1, n2 − n1 − 1, . . . , nk − nk−1 − 1)◦ φi(X ,Y ) ensures that the smallest i − 1 elements of Xand Y coincide, and all others are incremented by 1 in Y

Antoine Meyer Order 2 Tree-Automatic Graphs – 17

Page 18: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Examples (revisited)

All previous examples can be finite-sets interpreted either in(N,≤) or in the full binary tree ∆2

Full binary tree with equal length predicate :◦ Node u is represented by {i | u(i) = b} ∪ {|u|}◦ φa(X ,Y ) checks that Y = X \ {max(X )}∪{max(X ) + 1}◦ φb(X ,Y ) checks that Y = X ∪ {max(X ) + 1}◦ φ∼(X ,Y ) checks that max(X ) = max(Y )

Antoine Meyer Order 2 Tree-Automatic Graphs – 18

Page 19: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Examples (revisited)

All previous examples can be finite-sets interpreted either in(N,≤) or in the full binary tree ∆2

Weak powerset of ∆2 :◦ tA (tree with all nodes in A marked) represented by... A !◦ φa(X ,Y ) holds iff X = {u} and Y = {ua}◦ φb(X ,Y ) holds iff X = {u} and Y = {ub}◦ φ⊆(X ,Y ) holds iff X ⊆ Y

Antoine Meyer Order 2 Tree-Automatic Graphs – 19

Page 20: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 20

Page 21: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Interpreting tree-automatic graphs

Proposition: [CL07] Tree-automatic graphs coincide with thefinite-sets interpretations of ∆2

⊇: For each formula φ(X ,Y ) :◦ From φ(X ,Y ), build as usual an equivalent parityautomaton over ∆2 annotated by {0, 1}2

◦ Convert into an automaton over finite trees containing allpositions in X and Y (finite sets !)

◦ Below, it suffices to know from which states the parityautomaton accepts ∆2 to crop the computation

Antoine Meyer Order 2 Tree-Automatic Graphs – 21

Page 22: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Interpreting tree-automatic graphs

Proposition: [CL07] Tree-automatic graphs coincide with thefinite-sets interpretations of ∆2

⊆: For each tree automaton over C 2,◦ Reduce C to a singleton by coding (patterns in the tree’sstructure)

◦ Represent any (finite) tree by its domain (finite set⊆ {a, b}∗)

◦ Build a WMSO formula satisfied in ∆2 by pairs of setsencoding accepted overlaps of pairs of trees

Antoine Meyer Order 2 Tree-Automatic Graphs – 22

Page 23: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 23

Page 24: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 24

Page 25: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

A few words on the infinite binarytree (∆2)

Close connection with pushdown automata :◦ Set of paths of the full {a, b} tree : {a, b}∗

◦ Positions may be used to represent stack contents overstack alphabet {a, b}

◦ MSO interpretations yield the transition graphs ofpushdown automata (PDA)

◦ FS interpretations yield the tree-automatic graphs

Decidable MSO theory

Generalizations exist for more general pushdown automataaccessing nested stacks of stacks

Antoine Meyer Order 2 Tree-Automatic Graphs – 25

Page 26: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Order 2 pushdown stacks (2-stacks)

Let A be a finite stack alphabet◦ a stack is a sequence [a1 . . . a`] with ai ∈ A◦ a 2-stack is a sequence [s1 . . . s`] with si a stack

Allowed 2-stack operations:◦ pusha

1: add a at the top of the topmost stack◦ popa

1: remove a from the top of the topmost stack◦ push2: duplicate the topmost stack◦ pop2: destroy the topmost stack

Antoine Meyer Order 2 Tree-Automatic Graphs – 26

Page 27: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Order 2 pushdown automata

Definition: an order 2 pushdown automaton (2-PDA) is afinite-state automaton with an auxiliary 2-stack, withtransitions of the form:from p, if top symbol is a, move to q and apply op, reading b

p, a b−→ q, op

◦ All operations chosen in {push1, pop1, push2, pop2}◦ Acceptance by final state◦ If b is ε, then all other (p, a) transitions also labelled ε◦ Deterministic or ε-free versions less expressive

Antoine Meyer Order 2 Tree-Automatic Graphs – 27

Page 28: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Pushdown graphs and trees

A 2-PDA A can be used to generate a language, or:◦ A configuration graph (with ε-transitions):

(p, s) b−→ (q, s ′) if (p, top(s) b−→ q, op) ∈ A, s ′ = op(s)◦ A transition graph (ε-closure of the configuration graph)◦ A tree (unfolding of the transition graph)

Whenever A is deterministic, so are the above structures

Antoine Meyer Order 2 Tree-Automatic Graphs – 28

Page 29: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

The “order 2 treegraph” (∆22)

Definition: vertices corresponding to all 2-stacks, edgesrepresenting operations pusha

1, pushb1 and push2

Close connection with 2-PDA :◦ Walks between s and t (allowing some backward edges)encode sequences of 2-stack operations yielding t from s

◦ MSO interpretations of this graph yield the transitiongraphs of order 2 pushdown automata (2-PDA)

Decidable MSO theory

Definition: a graph G is 2-(tree-)automatic if there exists afinite set interpretation J such that G = J(∆2

2)

Antoine Meyer Order 2 Tree-Automatic Graphs – 29

Page 30: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 30

Page 31: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

An order 2 generator tree

Remarks:◦ No pure automata-based characterization of 2-TA◦ ∆2

2 is not a tree! → Look for another generator

Definition: Let T 22 be the unfolding of ∆2 with added

backward edges (labelled a, b)

Properties:◦ There is an MSO-int. J such that ∆2

2 = J(T 22 )

◦ Paths from the root of T 22 encode sequences of stack

operations which are well-defined on [ ]1

Antoine Meyer Order 2 Tree-Automatic Graphs – 31

Page 32: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Finite tree automata over T 22

Idea:◦ Use T 2

2 as a fixed enclosing domain to define binaryrelations over finite trees

◦ Define tree automata running on finite C 2-labelledprefixes of T 2

2

Problem:◦ T 2

2 has infinitely many non-isomorphic subtrees◦ Finite tree automata lack expressiveness w.r.t FSI

Solution: allow tree automata to test the stack contentreached after a sequence of operations

Antoine Meyer Order 2 Tree-Automatic Graphs – 32

Page 33: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Tree automata with oracles

Definition: finite tree automata with transitions of the form(p, c ,O, q, r) with O a regular language over {a, b}

A C -labelled tree t is accepted if it can be labelled by states insuch a way that◦ The root of t is labelled by a root state◦ Each leaf is labelled by a leaf state◦ For each internal node labelled p and c and reachablefrom the root by w , with children labelled q and r , thereexists a transition (p, c ,O, q, r) with w([ ]1) ∈ O

Antoine Meyer Order 2 Tree-Automatic Graphs – 33

Page 34: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

2-tree automatic relations

Definition: a relation R is 2-tree-automatic if◦ Its support are finite trees t with dom(t) ⊂ dom(T 2

2 )◦ The set {s ⊗ t | (s, t) ∈ R} is accepted by a treeautomaton with oracles

No change to the notion of padding

A graph is 2-tree-automatic if each of its edge relations is

Antoine Meyer Order 2 Tree-Automatic Graphs – 34

Page 35: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 35

Page 36: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Equivalence proof

Proposition: Given a graph G , the following statements areequivalent

1 There exists a FSI J such that G = J(∆22)

2 There exists a FSI J such that G = J(T 22 )

3 For each edge label a, the a-labelled edge relation in G isaccepted by a finite tree automaton with oracles

Antoine Meyer Order 2 Tree-Automatic Graphs – 36

Page 37: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Equivalence proof

1 ⇐⇒ 2:◦ For all FSI J there exists a FSI J ′ such that

J(∆22) = J ′(T 2

2 )◦ The converse also holds

Antoine Meyer Order 2 Tree-Automatic Graphs – 37

Page 38: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Equivalence proof

2 =⇒ 3:◦ From each φ(X ,Y ) in J , build an equivalent parityautomaton A over T 2

2 annotated by {0, 1}2

◦ Lemma: for any state p of A, there exists a regularlanguage Op such that A accepts T 2

2 from node w andstate p iff w([ ]1) ∈ Op

◦ Convert A into a tree automaton with oracles Op overfinite prefixes of T 2

2 containing all positions in X and Y3 =⇒ 2: As previously, transforming tests into equivalentWMSO formulas

Antoine Meyer Order 2 Tree-Automatic Graphs – 38

Page 39: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Outline

1 Tree-automatic graphsDefined by automataDefined by interpretationsEquivalence proof

2 2-tree-automatic graphsDefined by interpretationsDefined by automataEquivalence proof

3 Application and perspectives

Antoine Meyer Order 2 Tree-Automatic Graphs – 39

Page 40: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Traces of automatic graphs

Extension of previous results on traces:◦ The traces of automatic graphs are the context-sensitivelanguages (linearly bounded Turing machines)[MS01, Ris02, CM06]

◦ The traces of tree-automatic graphs are the classDTIME(2O(m)) (alternating LBM, ASPACE(m)) [Mey07]

Using similar techniques, show that the languages of 2-TAgraphs form the class DTIME(22O(m)) accepted byASPACE(m)-P machines

Antoine Meyer Order 2 Tree-Automatic Graphs – 40

Page 41: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Towards a tree-automatic hierarchySimilar classes of n-tree-automatic graphs are defined byfinite-set interpretations from ∆n

2

Work in progress:◦ Define corresponding trees T n

2

◦ Define tree automata with oracles for level n (difficult)◦ Generalize the result on traces to all levels

Possible implications:◦ New proof of strictness based on traces◦ No known results about the classes obtained usingcollapsible stacks

Antoine Meyer Order 2 Tree-Automatic Graphs – 41

Page 42: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Didier Caucal.On infinite terms having a decidable monadic theory.In MFCS, volume 2420 of LNCS, pages 165–176. Springer, 2002.

Thomas Colcombet and Christof Löding.Transforming structures by set interpretations.Logical Methods in Computer Science (LMCS), 3(2), 2007.

Arnaud Carayol and Antoine Meyer.Context-sensitive languages, rational graphs and determinism.Logical Methods in Computer Science, 2(2), 2006.

Arnaud Carayol and Stefan Wöhrle.The caucal hierarchy of infinite graphs in terms of logic and higher-orderpushdown automata.In FSTTCS, volume 2914 of LNCS, pages 112–123. Springer, 2003.

Teodor Knapik, Damian Niwinski, and Paweł Urzyczyn.Higher-order pushdown trees are easy.In FoSSaCS, volume 2303 of LNCS, pages 205–222. Springer, 2002.

Antoine Meyer.Traces of term-automatic graphs.In MFCS, volume 4708 of LNCS, pages 489–500. Springer, 2007.

Antoine Meyer Order 2 Tree-Automatic Graphs – 42

Page 43: Order 2 Tree-Automatic Graphs - (work in progress)vikram/pap/meyer.pdf · Order2Tree-AutomaticGraphs (work in progress) AntoineMeyer(UPEM) JointworkwithArnaudCarayol(CNRS, UPEM) AutomaticPresentationsofGraphsandNumbers

Christophe Morvan and Colin Stirling.Rational graphs trace context-sensitive languages.In MFCS, volume 2136 of LNCS, pages 548–559. Springer, 2001.

Chloe Rispal.The synchronized graphs trace the context-sensitive languages.Electr. Notes Theor. Comput. Sci., 68(6):55–70, 2002.

Antoine Meyer Order 2 Tree-Automatic Graphs – 43