breadth first signature of trees and rational languages
play

Breadth-first signature of trees and rational languages Victor - PowerPoint PPT Presentation

Breadth-first signature of trees and rational languages Victor Marsault, joint work with Jacques Sakarovitch CNRS / Telecom-ParisTech, Paris, France Developments in Language Theory 2014, Ekateringburg, 20140830 Breadth-first


  1. Breadth-first signature of trees and rational languages Victor Marsault, joint work with Jacques Sakarovitch CNRS / Telecom-ParisTech, Paris, France Developments in Language Theory 2014, Ekateringburg, 2014–08–30

  2. Breadth-first serialisation of languages and numeration systems: The rational case Victor Marsault, joint work with Jacques Sakarovitch CNRS / Telecom-ParisTech, Paris, France Developments in Language Theory 2014, Ekateringburg, 2014–08–30

  3. Outline 1 1 Signature of trees and of languages 2 Substitutive signatures and finite automata 3 A word on numeration system

  4. We call tree a... 1 Directed graph which is Rooted: a node is called the root (leftmost in the figures) Directed outward from the root: there is a unique path from the root to every other node. Ordered: the children of every node are ordered (In the figures, lower children are smaller.)

  5. We call tree a... 1 Directed graph which is Rooted: a node is called the root (leftmost in the figures) Directed outward from the root: there is a unique path from the root to every other node. Ordered: the children of every node are ordered (In the figures, lower children are smaller.) � =

  6. We call tree a... 1 Directed graph which is Rooted: a node is called the root (leftmost in the figures) Directed outward from the root: there is a unique path from the root to every other node. Ordered: the children of every node are ordered (In the figures, lower children are smaller.)

  7. We call tree a... 1 Directed graph which is Rooted: a node is called the root (leftmost in the figures) Directed outward from the root: there is a unique path from the root to every other node. Ordered: the children of every node are ordered (In the figures, lower children are smaller.) � =

  8. Every tree has a canonical breadth-first traversal 2 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13

  9. Two more features 3 We consider infinite trees only. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13

  10. Two more features 3 We consider infinite trees only. For convenience, there is loop on the root. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13

  11. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s =

  12. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2

  13. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1

  14. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2

  15. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2

  16. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1

  17. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2

  18. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1

  19. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2

  20. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2 2

  21. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2 2 1

  22. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2 2 1 2

  23. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2 2 1 2 2

  24. Signature of a tree 4 Definition The signature of a tree is the sequence of the degrees of the nodes taken in breadth-first order. 12 20 4 7 19 11 18 0 1 2 17 6 10 16 3 9 15 5 14 8 13 s = 2 1 2 2 1 2 1 2 2 1 2 2 1 · · ·

  25. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 0

  26. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 0 1

  27. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 2 0 1

  28. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 2 0 1 3

  29. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 2 0 4 1 3

  30. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 5 2 0 4 1 3

  31. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 5 2 0 4 1 3 6

  32. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 5 2 0 4 1 3 7 6

  33. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 5 2 0 4 1 8 3 7 6

  34. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 5 2 9 0 4 1 8 3 7 6

  35. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 10 5 2 9 0 4 1 8 3 7 6

  36. The signature is characteristic of a tree 5 s = ( 3 2 1 ) ω 11 10 5 2 9 0 4 1 8 3 7 6

  37. Prefix-closed languages and labelled trees 6 Alphabets are ordered hence prefix-closed languages = labelled trees. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 0 1 1 0 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 13 Figure : Integer representations in the Fibonacci numeration system.

  38. Prefix-closed languages and labelled trees 6 Alphabets are ordered hence prefix-closed languages = labelled trees. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 1 0 0 1 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 5 = F 4 13 Figure : Integer representations in the Fibonacci numeration system.

  39. Prefix-closed languages and labelled trees 6 Alphabets are ordered hence prefix-closed languages = labelled trees. 12 0 20 1 0 4 7 19 0 1 11 1 0 18 1 0 0 1 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 7 = 5 + 2 = F 4 + F 2 13 Figure : Integer representations in the Fibonacci numeration system.

  40. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 0 1 1 0 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 13 s = λ =

  41. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 1 0 1 0 2 17 1 6 0 10 0 0 16 1 0 3 9 0 15 0 1 5 14 0 1 8 0 13 s = 2 λ =01

  42. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 0 0 1 1 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 13 s = 2 1 λ =01 0

  43. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 4 0 7 19 0 1 11 1 0 18 0 1 1 0 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 13 s = 2 1 2 λ =01 0 01

  44. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 4 0 7 19 0 1 11 0 1 18 0 1 1 0 2 17 1 6 0 10 0 0 16 1 0 3 9 0 15 0 1 5 14 0 1 8 0 13 s = 2 1 2 2 λ =01 0 01 01

  45. Serialisation of a prefix-closed language 7 Definition The labelling of a language is the sequence of arc labels of its transitions taken in breadth-first order. 12 0 20 1 0 4 7 19 0 1 11 0 1 18 0 1 1 0 2 17 1 6 0 10 0 0 16 0 1 3 9 0 15 0 1 5 14 0 1 8 0 13 s = 2 1 2 2 1 λ =01 0 01 01 0

Recommend


More recommend