Compositions of Tree Series Transformations

Size: px
Start display at page:

Download "Compositions of Tree Series Transformations"

Transcription

1 Compositions of Tree Series Transformations Andreas Maletti a Technische Universität Dresden Fakultät Informatik D Dresden, Germany maletti@tcs.inf.tu-dresden.de December 03, Motivation 2. Semirings, Tree Series, and Tree Series Substitution 3. Distributivity, Associativity, and Linearity 4. Tree Series Transducers and Composition Results a Financially supported by the German Research Foundation (DFG, GK 334) 1 December 03, 2004

2 Motivation Tree series transducers are a straightforward generalization of (i) tree transducers, which are applied in syntax-directed semantics, functional programming, and XML querying, (ii) weighted automata, which are applied in (tree) pattern matching, image compression and speech-to-text processing. Applications: can be used for code selection [Borchardt 04] potential uses in connection with tree banks Motivation 2 December 03, 2004

3 Generalization Hierarchy tree series transducer τ : T Σ A T weighted tree automaton L A T Σ weighted transducer τ : Σ A tree transducer τ : T Σ B T weighted automaton L A Σ tree automaton L B T Σ generalized sequential machine τ : Σ B string automaton L B Σ Motivation 3 December 03, 2004

4 Trees Σ ranked alphabet, Σ k Σ symbols of rank k, X = { x i i N + } T Σ (X) set of Σ-trees indexed by X, T Σ = T Σ ( ), t T Σ (X) is linear (resp., nondeleting) in Y X, if every y Y occurs at most (resp., at least) once in t, t[t 1,..., t k ] denotes the tree substitution of t i for x i in t Semirings, Tree Series, and Tree Series Substitution 4 December 03, 2004

5 Semirings A semiring is an algebraic structure A = (A,, ) (A, ) is a commutative monoid with neutral element 0, (A, ) is a monoid with neutral element 1, 0 is absorbing wrt., and distributes over. Examples: semiring of non-negative integers N = (N { }, +, ) Boolean semiring B = ({0, 1},, ) tropical semiring T = (N { }, min, +) any ring, field, etc. Semirings, Tree Series, and Tree Series Substitution 5 December 03, 2004

6 Properties of Semirings We say that A is commutative, if is commutative, idempotent, if a a = a, complete, if there is an operation I : AI A such that 1. i I a i = a i1 a in, if I = {i 1,..., i n }, and 2. i I a i = j J i I j a i, if I = j J I j is a partition of I, and 3. i I (a a i) = a i I a i and i I (a i a) = ( i I a i) a, completely idempotent, if it is complete with i I a = a for every non-empty I. Semiring Commutative Idempotent Complete Completely Idempotent N YES no YES no B YES YES YES YES T YES YES YES YES Semirings, Tree Series, and Tree Series Substitution 6 December 03, 2004

7 Tree Series A = (A,, ) semiring, Σ ranked alphabet Mappings ϕ : T Σ (X) A are also called tree series the set of all tree series is A T Σ (X), the coefficient of t T Σ (X) in ϕ, i.e., ϕ(t), is denoted by (ϕ, t), the sum is defined pointwise (ϕ 1 ϕ 2, t) = (ϕ 1, t) (ϕ 2, t), the support of ϕ is supp(ϕ) = { t T Σ (X) (ϕ, t) 0 }, ϕ is linear (resp., nondeleting in Y X), if supp(ϕ) is a set of trees, which are linear (resp., nondeleting in Y), the series ϕ with supp(ϕ) = is denoted by 0. Example: ϕ = 1 α + 1 β + 3 σ(α, α) σ(β, β) + 5 σ(α, σ(α, α)) +... Semirings, Tree Series, and Tree Series Substitution 7 December 03, 2004

8 Tree Series Substitution A = (A,, ) complete semiring, ϕ, ψ 1,..., ψ k A T Σ (X) Pure substitution of (ψ 1,..., ψ k ) into ϕ: ϕ (ψ 1,..., ψ k ) = (ϕ, t) (ψ 1, t 1 ) (ψ k, t k ) t[t 1,..., t k ] t supp(ϕ), ( i [k]): t i supp(ψ i ) o-substitution of (ψ 1,..., ψ k ) into ϕ: ϕ (ψ o 1,..., ψ k ) = t supp(ϕ), ( i [k]): t i supp(ψ i ) (ϕ, t) (ψ 1, t 1 ) t x 1 (ψk, t k ) t x k t[t1,..., t k ] Example: 5 σ(x 1, x 1 ) (2 α) = 10 σ(α, α) and 5 σ(x 1, x 1 ) o (2 α) = 20 σ(α, α) Semirings, Tree Series, and Tree Series Substitution 8 December 03, 2004

9 Distributivity ( ) ϕ i i I m ( i 1 I 1 ψ 1i1,..., i k I k ψ kik ) = ϕ i i I, ( j [k]): i j I j m (ψ 1i1,..., ψ kik ) Substitution Sufficient condition for distributivity pure substitution always o-substitution ϕ i linear, A completely idempotent OI-substitution ϕ i linear and nondeleting [Kuich 99] Distributivity, Associativity, and Linearity 9 December 03, 2004

10 ( ϕ (ψ m 1,..., ψ k ) ) m Associativity m m (τ 1,..., τ n ) = ϕ (ψ 1 (τ 1,..., τ n ),..., ψ k (τ 1,..., τ n )) m Substitution Sufficient condition for associativity pure substitution A completely idempotent, conforming partition ( I j ) j [k] of [n], τ i boolean τ i singletons with idempotent coefficients special associativity law o-substitution ϕ, ψ 1,..., ψ k linear, A zero-divisor free and completely idempotent ϕ linear, A zero-divisor free, τ i singletons OI-substitution ϕ i linear and nondeleting [Kuich 99] Special associativity law: partition ( I j ) j J of I with var(ψ j ) X Ij for every j J ( ) ϕ ( ψj ) j J ( τi ) i I = ϕ ( ) ψ j ( τ i ) i Ij j J Distributivity, Associativity, and Linearity 10 December 03, 2004

11 Linearity (a ϕ) m (a 1 ψ 1,..., a k ψ k ) = a a 1 a k ϕ m (ψ 1,..., ψ k ) Substitution Sufficient condition for distributivity pure substitution always o-substitution a i {0, 1} or special linearity law OI-substitution ϕ i linear and nondeleting [Kuich 99] Special linearity law: tree t T Σ (X k ) (a t) o (a 1 ψ 1,..., a k ψ k ) = a a t 1 1 a t k k ( ) o t (ψ 1,..., ψ k ) Distributivity, Associativity, and Linearity 11 December 03, 2004

12 Tree Series Transducers Definition: A (bottom-up) tree series transducer (tst) is a system M = (Q, Σ,, A, F, µ) Q is a non-empty set of states, Σ and are input and output ranked alphabets, A = (A,, ) is a complete semiring, F A T (X 1 ) Q is a vector of final outputs, µ = ( µ k ) k N with µ k : Σ k A T (X k ) Q Qk. If Q is finite and µ k (σ) q, q is polynomial, then M is called finite. Tree Series Transducers and Composition Results 12 December 03, 2004

13 Semantics of Tree Series Transducers m {ε, o}, q Q, t T Σ, ϕ A T Σ Definition: The mapping h m µ : T Σ A T Q is defined as h m m µ (σ(t 1,..., t k )) q = µ k (σ) q,(q1,...,q k ) (h m µ (t 1 ) q1,..., h m µ (t k ) qk ) q 1,...,q k Q and h m µ (ϕ) q = t T Σ (ϕ, t) h m µ (t) q. the m-tree-to-tree-series transformation M m : T Σ A T computed by M is ( M m, t) = q Q F m q (h m µ (t) q ) and the m-tree-series-to-tree-series transformation M m : A T Σ A T computed by M is ( M m, ϕ) = t T Σ (ϕ, t) ( M m, t). Tree Series Transducers and Composition Results 13 December 03, 2004

14 Extension (Q, Σ,, A, F, µ) tree series transducer, m {ε, o}, q Q k, q Q, ϕ A T Σ (X k ) Definition: We define hµ,m q : T Σ (X k ) A T (X k ) Q hµ,m(x q 1 x i, if q = q i i ) q = 0, otherwise hµ,m(σ(t q m 1,..., t k )) q = µ k (σ) q,p1...p k (hµ,m(t q 1 ) p1,..., hµ,m(t q k ) pk ) p 1,...,p k Q We define hµ,m q : A T Σ (X k ) A T (X k ) Q by hµ,m(ϕ) q q = (ϕ, t) hµ,m(t) q q t T Σ (X I ) Tree Series Transducers and Composition Results 14 December 03, 2004

15 Composition Construction M 1 = (Q 1, Σ,, A, F 1, µ 1 ) and M 2 = (Q 2,, Γ, A, F 2, µ 2 ) tree series transducer Definition: The m-product of M 1 and M 2, denoted by M 1 m M 2, is the tree series transducer M = (Q 1 Q 2, Σ, Γ, A, F, µ) F pq = i Q 2 (F 2 ) i m h q µ 2,m((F 1 ) p ) i µ k (σ) pq,(p1 q 1,...,p k q k ) = h q 1...q k µ 2,m ((µ 1 ) k (σ) p,p1...p k ) q. Tree Series Transducers and Composition Results 15 December 03, 2004

16 Main Theorem A commutative and complete semiring, M 1 and M 2 tree series transducer Theorem: M 1 m M 2 m = M 1 m M 2 m, if m = ε and M 1 linear, or m = ε and M 2 boolean and deterministic, or m = ε and M 2 is deterministic and A is multiplicatively idempotent, or m = o and M 1 is linear, M 2 is nondeleting and linear, and A is completely idempotent. Tree Series Transducers and Composition Results 16 December 03, 2004

17 Main Corollary Corollary: l-bot ts-ts (A) BOT ts-ts (A) = BOT ts-ts (A). BOT ts-ts (A) db-bot ts-ts (A) = BOT ts-ts (A), BOT ts-ts (A) d-bot ts-ts (A) = BOT ts-ts (A), provided that A is multiplicatively idempotent, l-bot o ts-ts(a) nl-bot o ts-ts(a) = l-bot o ts-ts(a), provided that A is completely idempotent. Tree Series Transducers and Composition Results 17 December 03, 2004

18 References [Borchardt 04] B. Borchardt: Code Selection by Tree Series Transducers. CIAA 04, Kingston, Canada, to appear [Engelfriet et al 02] J. Engelfriet, Z. Fülöp, and H. Vogler: Bottom-up and Topdown Tree Series Transformations. Journal of Automata, Languages, and Combinatorics 7:11 70, 2002 [Fülöp et al 03] Z. Fülöp and H. Vogler: Tree Series Transformations that Respect Copying. Theory of Computing Systems 36: , 2003 [Kuich 99] W. Kuich: Tree Transducers and Formal Tree Series. Acta Cybernetica 14: , 1999 Tree Series Transducers and Composition Results 18 December 03, 2004

Compositions of Bottom-Up Tree Series Transformations

Compositions of Bottom-Up Tree Series Transformations Compositions of Bottom-Up Tree Series Transformations Andreas Maletti a Technische Universität Dresden Fakultät Informatik D 01062 Dresden, Germany maletti@tcs.inf.tu-dresden.de May 17, 2005 1. Motivation

More information

Compositions of Bottom-Up Tree Series Transformations

Compositions of Bottom-Up Tree Series Transformations Compositions of Bottom-Up Tree Series Transformations Andreas Maletti a Technische Universität Dresden Fakultät Informatik D 01062 Dresden, Germany maletti@tcs.inf.tu-dresden.de May 27, 2005 1. Motivation

More information

Hierarchies of Tree Series TransducersRevisited 1

Hierarchies of Tree Series TransducersRevisited 1 Hierarchies of Tree Series TransducersRevisited 1 Andreas Maletti 2 Technische Universität Dresden Fakultät Informatik June 27, 2006 1 Financially supported by the Friends and Benefactors of TU Dresden

More information

The Power of Tree Series Transducers

The Power of Tree Series Transducers The Power of Tree Series Transducers Andreas Maletti 1 Technische Universität Dresden Fakultät Informatik June 15, 2006 1 Research funded by German Research Foundation (DFG GK 334) Andreas Maletti (TU

More information

Hasse Diagrams for Classes of Deterministic Bottom-Up Tree-to-Tree-Series Transformations

Hasse Diagrams for Classes of Deterministic Bottom-Up Tree-to-Tree-Series Transformations Hasse Diagrams for Classes of Deterministic Bottom-Up Tree-to-Tree-Series Transformations Andreas Maletti 1 Technische Universität Dresden Fakultät Informatik D 01062 Dresden Germany Abstract The relationship

More information

Pure and O-Substitution

Pure and O-Substitution International Journal of Foundations of Computer Science c World Scientific Publishing Company Pure and O-Substitution Andreas Maletti Department of Computer Science, Technische Universität Dresden 01062

More information

RELATING TREE SERIES TRANSDUCERS AND WEIGHTED TREE AUTOMATA

RELATING TREE SERIES TRANSDUCERS AND WEIGHTED TREE AUTOMATA International Journal of Foundations of Computer Science Vol. 16, No. 4 (2005) 723 741 c World Scientific Publishing Company RELATING TREE SERIES TRANSDUCERS AND WEIGHTED TREE AUTOMATA ANDREAS MALETTI

More information

Incomparability Results for Classes of Polynomial Tree Series Transformations

Incomparability Results for Classes of Polynomial Tree Series Transformations Journal of Automata, Languages and Combinatorics 10 (2005) 4, 535{568 c Otto-von-Guericke-Universitat Magdeburg Incomparability Results for Classes of Polynomial Tree Series Transformations Andreas Maletti

More information

Minimization of Weighted Automata

Minimization of Weighted Automata Minimization of Weighted Automata Andreas Maletti Universitat Rovira i Virgili Tarragona, Spain Wrocław May 19, 2010 Minimization of Weighted Automata Andreas Maletti 1 In Collaboration with ZOLTÁN ÉSIK,

More information

October 23, concept of bottom-up tree series transducer and top-down tree series transducer, respectively,

October 23, concept of bottom-up tree series transducer and top-down tree series transducer, respectively, Bottom-up and Top-down Tree Series Transformations oltan Fulop Department of Computer Science University of Szeged Arpad ter., H-670 Szeged, Hungary E-mail: fulop@inf.u-szeged.hu Heiko Vogler Department

More information

Introduction to Kleene Algebras

Introduction to Kleene Algebras Introduction to Kleene Algebras Riccardo Pucella Basic Notions Seminar December 1, 2005 Introduction to Kleene Algebras p.1 Idempotent Semirings An idempotent semiring is a structure S = (S, +,, 1, 0)

More information

Statistical Machine Translation of Natural Languages

Statistical Machine Translation of Natural Languages 1/26 Statistical Machine Translation of Natural Languages Heiko Vogler Technische Universität Dresden Germany Graduiertenkolleg Quantitative Logics and Automata Dresden, November, 2012 1/26 Weighted Tree

More information

Kleene Algebra and Arden s Theorem. Anshul Kumar Inzemamul Haque

Kleene Algebra and Arden s Theorem. Anshul Kumar Inzemamul Haque Kleene Algebra and Arden s Theorem Anshul Kumar Inzemamul Haque Motivation Regular Expression is a Kleene Algebra. We can use the properties and theorems of Kleene Algebra to simplify regular expressions

More information

A Weak Bisimulation for Weighted Automata

A Weak Bisimulation for Weighted Automata Weak Bisimulation for Weighted utomata Peter Kemper College of William and Mary Weighted utomata and Semirings here focus on commutative & idempotent semirings Weak Bisimulation Composition operators Congruence

More information

Weighted Tree-Walking Automata

Weighted Tree-Walking Automata Acta Cybernetica 19 (2009) 275 293. Weighted Tree-Walking Automata Zoltán Fülöp and Loránd Muzamel Abstract We define weighted tree-walking automata. We show that the class of tree series recognizable

More information

MANFRED DROSTE AND WERNER KUICH

MANFRED DROSTE AND WERNER KUICH Logical Methods in Computer Science Vol. 14(1:21)2018, pp. 1 14 https://lmcs.episciences.org/ Submitted Jan. 31, 2017 Published Mar. 06, 2018 WEIGHTED ω-restricted ONE-COUNTER AUTOMATA Universität Leipzig,

More information

Applications of Tree Automata Theory Lecture VI: Back to Machine Translation

Applications of Tree Automata Theory Lecture VI: Back to Machine Translation Applications of Tree Automata Theory Lecture VI: Back to Machine Translation Andreas Maletti Institute of Computer Science Universität Leipzig, Germany on leave from: Institute for Natural Language Processing

More information

Weighted Specifications over Nested Words

Weighted Specifications over Nested Words Weighted Specifications over Nested Words Benedikt Bollig 1, Paul Gastin 1, and Benjamin Monmege 1 LSV, ENS Cachan, CNRS & Inria, France firstname.lastname@lsv.ens-cachan.fr Abstract. This paper studies

More information

M. Droste and P. Gastin. Weighted automata and weighted logics

M. Droste and P. Gastin. Weighted automata and weighted logics M. Droste and P. Gastin Weighted automata and weighted logics Research Report LSV-05-13 July 2005 Weighted automata and weighted logics Manfred Droste 1 and Paul Gastin 2 1 Institut für Informatik, Universität

More information

MATH 433 Applied Algebra Lecture 22: Semigroups. Rings.

MATH 433 Applied Algebra Lecture 22: Semigroups. Rings. MATH 433 Applied Algebra Lecture 22: Semigroups. Rings. Groups Definition. A group is a set G, together with a binary operation, that satisfies the following axioms: (G1: closure) for all elements g and

More information

Path Queries under Distortions: Answering and Containment

Path Queries under Distortions: Answering and Containment Path Queries under Distortions: Answering and Containment Gosta Grahne Concordia University Alex Thomo Suffolk University Foundations of Information and Knowledge Systems (FoIKS 04) Postulate 1 The world

More information

Composition Closure of ε-free Linear Extended Top-down Tree Transducers

Composition Closure of ε-free Linear Extended Top-down Tree Transducers Composition Closure of ε-free Linear Extended Top-down Tree Transducers Zoltán Fülöp 1, and Andreas Maletti 2, 1 Department of Foundations of Computer Science, University of Szeged Árpád tér 2, H-6720

More information

Max-plus automata and Tropical identities

Max-plus automata and Tropical identities Max-plus automata and Tropical identities Laure Daviaud University of Warwick Oxford, 01-02-2018 A natural and fundamental question: u v A A [[A](u) = [[A](v)? 2/18 A natural and fundamental question:

More information

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages and and Department of Computer Science and Information Systems Birkbeck, University of London ptw@dcs.bbk.ac.uk Outline and Doing and analysing problems/languages computability/solvability/decidability

More information

Weighted Monadic Datalog Tree Transducers

Weighted Monadic Datalog Tree Transducers Weighted Monadic Datalog Tree Transducers Daniel Geisler, Torsten Stüber Faculty of Computer Science, Technische Universität Dresden D-01062 Dresden, Germany {geisler,stueber}@tcs.inf.tu-dresden.de December

More information

Advanced Automata Theory 10 Transducers and Rational Relations

Advanced Automata Theory 10 Transducers and Rational Relations Advanced Automata Theory 10 Transducers and Rational Relations Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Advanced

More information

Preservation of Recognizability for Weighted Linear Extended Top-Down Tree Transducers

Preservation of Recognizability for Weighted Linear Extended Top-Down Tree Transducers Preservation of Recognizability for Weighted Linear Extended Top-Down Tree Transducers Nina eemann and Daniel Quernheim and Fabienne Braune and Andreas Maletti University of tuttgart, Institute for Natural

More information

Bisimulation Minimisation for Weighted Tree Automata

Bisimulation Minimisation for Weighted Tree Automata Bisimulation Minimisation for Weighted Tree Automata Johanna Högberg 1, Andreas Maletti 2, and Jonathan May 3 1 Department of Computing Science, Umeå University S 90187 Umeå, Sweden johanna@cs.umu.se 2

More information

Weighted automata and weighted logics

Weighted automata and weighted logics Weighted automata and weighted logics Manfred Droste 1 and Paul Gastin 2 1 Institut für Informatik, Universität Leipzig Augustusplatz 10-11, D-04109 Leipzig, Germany, droste@informatik.uni-leipzig.de 2

More information

Weighted tree automata and weighted logics

Weighted tree automata and weighted logics Theoretical Computer Science 366 (2006) 228 247 www.elsevier.com/locate/tcs Weighted tree automata and weighted logics Manfred Droste a,, Heiko Vogler b a Institute of Computer Science, Leipzig University,

More information

Applications of Tree Automata Theory Lecture V: Theory of Tree Transducers

Applications of Tree Automata Theory Lecture V: Theory of Tree Transducers Applications of Tree Automata Theory Lecture V: Theory of Tree Transducers Andreas Maletti Institute of Computer Science Universität Leipzig, Germany on leave from: Institute for Natural Language Processing

More information

Bisimulation Minimisation of Weighted Tree Automata

Bisimulation Minimisation of Weighted Tree Automata Bisimulation Minimisation of Weighted Tree Automata Johanna Högberg Department of Computing Science, Umeå University S 90187 Umeå, Sweden Andreas Maletti Faculty of Computer Science, Technische Universität

More information

Theory of Computation (I) Yijia Chen Fudan University

Theory of Computation (I) Yijia Chen Fudan University Theory of Computation (I) Yijia Chen Fudan University Instructor Yijia Chen Homepage: http://basics.sjtu.edu.cn/~chen Email: yijiachen@fudan.edu.cn Textbook Introduction to the Theory of Computation Michael

More information

Logical Characterization of Weighted Pebble Walking Automata

Logical Characterization of Weighted Pebble Walking Automata Logical Characterization of Weighted Pebble Walking Automata Benjamin Monmege Université libre de Bruxelles, Belgium Benedikt Bollig and Paul Gastin (LSV, ENS Cachan, France) Marc Zeitoun (LaBRI, Bordeaux

More information

Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory

Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory Nada Damljanović University of Kragujevac, Faculty of Technical Sciences in Čačak, Serbia nada.damljanovic@ftn.kg.ac.rs

More information

SYLLABUS. Introduction to Finite Automata, Central Concepts of Automata Theory. CHAPTER - 3 : REGULAR EXPRESSIONS AND LANGUAGES

SYLLABUS. Introduction to Finite Automata, Central Concepts of Automata Theory. CHAPTER - 3 : REGULAR EXPRESSIONS AND LANGUAGES Contents i SYLLABUS UNIT - I CHAPTER - 1 : AUT UTOMA OMATA Introduction to Finite Automata, Central Concepts of Automata Theory. CHAPTER - 2 : FINITE AUT UTOMA OMATA An Informal Picture of Finite Automata,

More information

COM364 Automata Theory Lecture Note 2 - Nondeterminism

COM364 Automata Theory Lecture Note 2 - Nondeterminism COM364 Automata Theory Lecture Note 2 - Nondeterminism Kurtuluş Küllü March 2018 The FA we saw until now were deterministic FA (DFA) in the sense that for each state and input symbol there was exactly

More information

EFFICIENT ALGORITHMS FOR TESTING THE TWINS PROPERTY

EFFICIENT ALGORITHMS FOR TESTING THE TWINS PROPERTY Journal of Automata, Languages and Combinatorics u (v) w, x y c Otto-von-Guericke-Universität Magdeburg EFFICIENT ALGORITHMS FOR TESTING THE TWINS PROPERTY Cyril Allauzen AT&T Labs Research 180 Park Avenue

More information

Obtaining the syntactic monoid via duality

Obtaining the syntactic monoid via duality Radboud University Nijmegen MLNL Groningen May 19th, 2011 Formal languages An alphabet is a non-empty finite set of symbols. If Σ is an alphabet, then Σ denotes the set of all words over Σ. The set Σ forms

More information

Introduction to Finite Automaton

Introduction to Finite Automaton Lecture 1 Introduction to Finite Automaton IIP-TL@NTU Lim Zhi Hao 2015 Lecture 1 Introduction to Finite Automata (FA) Intuition of FA Informally, it is a collection of a finite set of states and state

More information

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras

An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California. 2. Background: Semirings and Kleene algebras An Overview of Residuated Kleene Algebras and Lattices Peter Jipsen Chapman University, California 1. Residuated Lattices with iteration 2. Background: Semirings and Kleene algebras 3. A Gentzen system

More information

How to train your multi bottom-up tree transducer

How to train your multi bottom-up tree transducer How to train your multi bottom-up tree transducer Andreas Maletti Universität tuttgart Institute for Natural Language Processing tuttgart, Germany andreas.maletti@ims.uni-stuttgart.de Portland, OR June

More information

Learning Deterministically Recognizable Tree Series

Learning Deterministically Recognizable Tree Series Learning Deterministically Recognizable Tree Series Frank Drewes Heiko Vogler Department of Computing Science Department of Computer Science Umeå University Dresden University of Technology S-90187 Umeå,

More information

Turing Machines and Time Complexity

Turing Machines and Time Complexity Turing Machines and Time Complexity Turing Machines Turing Machines (Infinitely long) Tape of 1 s and 0 s Turing Machines (Infinitely long) Tape of 1 s and 0 s Able to read and write the tape, and move

More information

Laboratoire Spécification & Vérification. Weighted Specifications over Nested Words. Benedikt Bollig, Paul Gastin, and Benjamin Monmege

Laboratoire Spécification & Vérification. Weighted Specifications over Nested Words. Benedikt Bollig, Paul Gastin, and Benjamin Monmege Weighted Specifications over Nested Words Benedikt Bollig, Paul Gastin, and Benjamin Monmege March 2013 Research report LSV-13-04 Laboratoire Spécification & Vérification École Normale Supérieure de Cachan

More information

Compositions of Top-down Tree Transducers with ε-rules

Compositions of Top-down Tree Transducers with ε-rules Compositions of Top-down Tree Transducers with ε-rules Andreas Maletti 1, and Heiko Vogler 2 1 Universitat Rovira i Virgili, Departament de Filologies Romàniques Avinguda de Catalunya 35, 43002 Tarragona,

More information

Kleene Algebras and Algebraic Path Problems

Kleene Algebras and Algebraic Path Problems Kleene Algebras and Algebraic Path Problems Davis Foote May 8, 015 1 Regular Languages 1.1 Deterministic Finite Automata A deterministic finite automaton (DFA) is a model of computation that can simulate

More information

Finite-State Transducers

Finite-State Transducers Finite-State Transducers - Seminar on Natural Language Processing - Michael Pradel July 6, 2007 Finite-state transducers play an important role in natural language processing. They provide a model for

More information

Weighted Finite-State Transducer Algorithms An Overview

Weighted Finite-State Transducer Algorithms An Overview Weighted Finite-State Transducer Algorithms An Overview Mehryar Mohri AT&T Labs Research Shannon Laboratory 80 Park Avenue, Florham Park, NJ 0793, USA mohri@research.att.com May 4, 004 Abstract Weighted

More information

Extended transition function of a DFA

Extended transition function of a DFA Extended transition function of a DFA The next two pages describe the extended transition function of a DFA in a more detailed way than Handout 3.. p./43 Formal approach to accepted strings We define the

More information

Lecture 7: Introduction to syntax-based MT

Lecture 7: Introduction to syntax-based MT Lecture 7: Introduction to syntax-based MT Andreas Maletti Statistical Machine Translation Stuttgart December 16, 2011 SMT VII A. Maletti 1 Lecture 7 Goals Overview Tree substitution grammars (tree automata)

More information

Generic ǫ-removal and Input ǫ-normalization Algorithms for Weighted Transducers

Generic ǫ-removal and Input ǫ-normalization Algorithms for Weighted Transducers International Journal of Foundations of Computer Science c World Scientific Publishing Company Generic ǫ-removal and Input ǫ-normalization Algorithms for Weighted Transducers Mehryar Mohri mohri@research.att.com

More information

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler

Complexity Theory VU , SS The Polynomial Hierarchy. Reinhard Pichler Complexity Theory Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 15 May, 2018 Reinhard

More information

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181.

Outline. Complexity Theory EXACT TSP. The Class DP. Definition. Problem EXACT TSP. Complexity of EXACT TSP. Proposition VU 181. Complexity Theory Complexity Theory Outline Complexity Theory VU 181.142, SS 2018 6. The Polynomial Hierarchy Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität

More information

An algebraic characterization of unary two-way transducers

An algebraic characterization of unary two-way transducers An algebraic characterization of unary two-way transducers (Extended Abstract) Christian Choffrut 1 and Bruno Guillon 1 LIAFA, CNRS and Université Paris 7 Denis Diderot, France. Abstract. Two-way transducers

More information

Statistical Machine Translation of Natural Languages

Statistical Machine Translation of Natural Languages 1/37 Statistical Machine Translation of Natural Languages Rule Extraction and Training Probabilities Matthias Büchse, Toni Dietze, Johannes Osterholzer, Torsten Stüber, Heiko Vogler Technische Universität

More information

A Logical Characterization for Weighted Event-Recording Automata

A Logical Characterization for Weighted Event-Recording Automata A Logical Characterization for Weighted Event-Recording Automata June 23, 2009 Karin Quaas Institut für Informatik, Universität Leipzig 04009 Leipzig, Germany quaas@informatik.uni-leipzig.de Abstract.

More information

Characterizing CTL-like logics on finite trees

Characterizing CTL-like logics on finite trees Theoretical Computer Science 356 (2006) 136 152 www.elsevier.com/locate/tcs Characterizing CTL-like logics on finite trees Zoltán Ésik 1 Department of Computer Science, University of Szeged, Hungary Research

More information

GENERATING SETS AND DECOMPOSITIONS FOR IDEMPOTENT TREE LANGUAGES

GENERATING SETS AND DECOMPOSITIONS FOR IDEMPOTENT TREE LANGUAGES Atlantic Electronic http://aejm.ca Journal of Mathematics http://aejm.ca/rema Volume 6, Number 1, Summer 2014 pp. 26-37 GENERATING SETS AND DECOMPOSITIONS FOR IDEMPOTENT TREE ANGUAGES MARK THOM AND SHEY

More information

P Finite Automata and Regular Languages over Countably Infinite Alphabets

P Finite Automata and Regular Languages over Countably Infinite Alphabets P Finite Automata and Regular Languages over Countably Infinite Alphabets Jürgen Dassow 1 and György Vaszil 2 1 Otto-von-Guericke-Universität Magdeburg Fakultät für Informatik PSF 4120, D-39016 Magdeburg,

More information

From Monadic Second-Order Definable String Transformations to Transducers

From Monadic Second-Order Definable String Transformations to Transducers From Monadic Second-Order Definable String Transformations to Transducers Rajeev Alur 1 Antoine Durand-Gasselin 2 Ashutosh Trivedi 3 1 University of Pennsylvania 2 LIAFA, Université Paris Diderot 3 Indian

More information

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees

The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees The Complexity of Computing the Behaviour of Lattice Automata on Infinite Trees Karsten Lehmann a, Rafael Peñaloza b a Optimisation Research Group, NICTA Artificial Intelligence Group, Australian National

More information

Finite State Machines 2

Finite State Machines 2 Finite State Machines 2 Joseph Spring School of Computer Science 1COM0044 Foundations of Computation 1 Discussion Points In the last lecture we looked at: 1. Abstract Machines 2. Finite State Machines

More information

SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS

SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS SYNTACTIC SEMIGROUP PROBLEM FOR THE SEMIGROUP REDUCTS OF AFFINE NEAR-SEMIRINGS OVER BRANDT SEMIGROUPS JITENDER KUMAR AND K. V. KRISHNA Abstract. The syntactic semigroup problem is to decide whether a given

More information

Ogden s Lemma. and Formal Languages. Automata Theory CS 573. The proof is similar but more fussy. than the proof of the PL4CFL.

Ogden s Lemma. and Formal Languages. Automata Theory CS 573. The proof is similar but more fussy. than the proof of the PL4CFL. CS 573 Automata Theory and Formal Languages Professor Leslie Lander Lecture # 24 December 4, 2000 Ogden s Lemma (6.2) Let L be a CFL, then there is a constant n such that if z is a word in L with z > n

More information

Music as a Formal Language

Music as a Formal Language Music as a Formal Language Finite-State Automata and Pd Bryan Jurish moocow@ling.uni-potsdam.de Universität Potsdam, Institut für Linguistik, Potsdam, Germany pd convention 2004 / Jurish / Music as a formal

More information

Nondeterministic Finite Automata

Nondeterministic Finite Automata Nondeterministic Finite Automata Not A DFA Does not have exactly one transition from every state on every symbol: Two transitions from q 0 on a No transition from q 1 (on either a or b) Though not a DFA,

More information

Decision Problems of Tree Transducers with Origin

Decision Problems of Tree Transducers with Origin Decision Problems of Tree Transducers with Origin Emmanuel Filiot a, Sebastian Maneth b, Pierre-Alain Reynier 1, Jean-Marc Talbot 1 a Université Libre de Bruxelles & FNRS b University of Edinburgh c Aix-Marseille

More information

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa CS:4330 Theory of Computation Spring 2018 Regular Languages Finite Automata and Regular Expressions Haniel Barbosa Readings for this lecture Chapter 1 of [Sipser 1996], 3rd edition. Sections 1.1 and 1.3.

More information

Solutions to Assignment 3

Solutions to Assignment 3 Solutions to Assignment 3 Question 1. [Exercises 3.1 # 2] Let R = {0 e b c} with addition multiplication defined by the following tables. Assume associativity distributivity show that R is a ring with

More information

Complex Variables. Chapter 1. Complex Numbers Section 1.2. Basic Algebraic Properties Proofs of Theorems. December 16, 2016

Complex Variables. Chapter 1. Complex Numbers Section 1.2. Basic Algebraic Properties Proofs of Theorems. December 16, 2016 Complex Variables Chapter 1. Complex Numbers Section 1.2. Basic Algebraic Properties Proofs of Theorems December 16, 2016 () Complex Variables December 16, 2016 1 / 12 Table of contents 1 Theorem 1.2.1

More information

Lecture 9: Decoding. Andreas Maletti. Stuttgart January 20, Statistical Machine Translation. SMT VIII A. Maletti 1

Lecture 9: Decoding. Andreas Maletti. Stuttgart January 20, Statistical Machine Translation. SMT VIII A. Maletti 1 Lecture 9: Decoding Andreas Maletti Statistical Machine Translation Stuttgart January 20, 2012 SMT VIII A. Maletti 1 Lecture 9 Last time Synchronous grammars (tree transducers) Rule extraction Weight training

More information

Strong Deterministic Fuzzy Automata

Strong Deterministic Fuzzy Automata Volume-5, Issue-6, December-2015 International Journal of Engineering and Management Research Page Number: 77-81 Strong Deterministic Fuzzy Automata A.Jeyanthi 1, B.Stalin 2 1 Faculty, Department of Mathematics,

More information

Myhill-Nerode Theorem for Recognizable Tree Series Revisited?

Myhill-Nerode Theorem for Recognizable Tree Series Revisited? Myhill-Nerode Theorem for Recognizable Tree Series Revisited? Andreas Maletti?? International Comper Science Instite 1947 Center Street, Suite 600, Berkeley, CA 94704, USA Abstract. In this contribion

More information

On Fixed Point Equations over Commutative Semirings

On Fixed Point Equations over Commutative Semirings On Fixed Point Equations over Commutative Semirings Javier Esparza, Stefan Kiefer, and Michael Luttenberger Universität Stuttgart Institute for Formal Methods in Computer Science Stuttgart, Germany {esparza,kiefersn,luttenml}@informatik.uni-stuttgart.de

More information

Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries

Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries Using Multiplicity Automata to Identify Transducer Relations from Membership and Equivalence Queries Jose Oncina Dept. Lenguajes y Sistemas Informáticos - Universidad de Alicante oncina@dlsi.ua.es September

More information

Decision Problems of Tree Transducers with Origin

Decision Problems of Tree Transducers with Origin Decision Problems of Tree Transducers with Origin Emmanuel Filiot 1, Sebastian Maneth 2, Pierre-Alain Reynier 3, and Jean-Marc Talbot 3 1 Université Libre de Bruxelles 2 University of Edinburgh 3 Aix-Marseille

More information

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA)

Deterministic Finite Automata. Non deterministic finite automata. Non-Deterministic Finite Automata (NFA) Non-Deterministic Finite Automata (NFA) Deterministic Finite Automata Non deterministic finite automata Automata we ve been dealing with have been deterministic For every state and every alphabet symbol there is exactly one move that the machine

More information

Automata and Formal Languages - CM0081 Non-Deterministic Finite Automata

Automata and Formal Languages - CM0081 Non-Deterministic Finite Automata Automata and Formal Languages - CM81 Non-Deterministic Finite Automata Andrés Sicard-Ramírez Universidad EAFIT Semester 217-2 Non-Deterministic Finite Automata (NFA) Introduction q i a a q j a q k The

More information

1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u,

1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u, 1. Draw a parse tree for the following derivation: S C A C C A b b b b A b b b b B b b b b a A a a b b b b a b a a b b 2. Show on your parse tree u, v, x, y, z as per the pumping theorem. 3. Prove that

More information

Acceptance of!-languages by Communicating Deterministic Turing Machines

Acceptance of!-languages by Communicating Deterministic Turing Machines Acceptance of!-languages by Communicating Deterministic Turing Machines Rudolf Freund Institut für Computersprachen, Technische Universität Wien, Karlsplatz 13 A-1040 Wien, Austria Ludwig Staiger y Institut

More information

Axioms of Kleene Algebra

Axioms of Kleene Algebra Introduction to Kleene Algebra Lecture 2 CS786 Spring 2004 January 28, 2004 Axioms of Kleene Algebra In this lecture we give the formal definition of a Kleene algebra and derive some basic consequences.

More information

A Kleene Theorem for Forest Languages

A Kleene Theorem for Forest Languages December 17, 2008 Final version for proceedings of LATA 09 A Kleene Theorem for Forest Languages Lutz Straßburger INRIA Saclay Île-de-France Équipe-projet Parsifal École Polytechnique LIX Rue de Saclay

More information

Introduction to Finite-State Automata

Introduction to Finite-State Automata Introduction to Finite-State Automata John McDonough Language Technologies Institute, Machine Learning for Signal Processing Group, Carnegie Mellon University March 26, 2012 Introduction In this lecture,

More information

Isomorphism of regular trees and words

Isomorphism of regular trees and words Isomorphism of regular trees and words Markus Lohrey and Christian Mathissen Institut für Informatik, Universität Leipzig, Germany {lohrey,mathissen}@informatik.uni-leipzig.de Abstract. The complexity

More information

Representing Arithmetic Constraints with Finite Automata: An Overview

Representing Arithmetic Constraints with Finite Automata: An Overview Representing Arithmetic Constraints with Finite Automata: An Overview Bernard Boigelot Pierre Wolper Université de Liège Motivation Linear numerical constraints are a very common and useful formalism (our

More information

Finite-state machines (FSMs)

Finite-state machines (FSMs) Finite-state machines (FSMs) Dr. C. Constantinides Department of Computer Science and Software Engineering Concordia University Montreal, Canada January 10, 2017 1/19 Finite-state machines (FSMs) and state

More information

Weighted Logics for Nested Words and Algebraic Formal Power Series

Weighted Logics for Nested Words and Algebraic Formal Power Series Weighted Logics for Nested Words and Algebraic Formal Power Series Christian Mathissen Institut für Informatik, Universität Leipzig D-04009 Leipzig, Germany mathissen@informatik.uni-leipzig.de Abstract.

More information

A Little Logic. Propositional Logic. Satisfiability Problems. Solving Sudokus. First Order Logic. Logic Programming

A Little Logic. Propositional Logic. Satisfiability Problems. Solving Sudokus. First Order Logic. Logic Programming A Little Logic International Center for Computational Logic Technische Universität Dresden Germany Propositional Logic Satisfiability Problems Solving Sudokus First Order Logic Logic Programming A Little

More information

Homing and Synchronizing Sequences

Homing and Synchronizing Sequences Homing and Synchronizing Sequences Sven Sandberg Information Technology Department Uppsala University Sweden 1 Outline 1. Motivations 2. Definitions and Examples 3. Algorithms (a) Current State Uncertainty

More information

The Final Deterministic Automaton on Streams

The Final Deterministic Automaton on Streams The Final Deterministic Automaton on Streams Helle Hvid Hansen Clemens Kupke Jan Rutten Joost Winter Radboud Universiteit Nijmegen & CWI Amsterdam Brouwer seminar, 29 April 2014 Overview 1. Automata, streams

More information

Characterizing Families of Tree Languages by Syntactic Monoids. Szeged 2006

Characterizing Families of Tree Languages by Syntactic Monoids.  Szeged 2006 Greetings... Characterizing Families of Tree Languages by Syntactic Monoids SAEED SALEHI http://staff.cs.utu.fi/staff/saeed/ Szeged 2006 Saeed Salehi: Characterizing Families of Tree Languages by Syntactic

More information

Complexity of Regular Functions

Complexity of Regular Functions Electronic Colloquium on Computational Complexity, Report No. 18 (2015) Complexity of Regular Functions Eric Allender and Ian Mertz Department of Computer Science Rutgers University Piscataway, NJ 08854,

More information

Kleene modules and linear languages

Kleene modules and linear languages The Journal of Logic and Algebraic Programming 66 (2006) 185 194 THE JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING wwwelseviercom/locate/jlap Kleene modules and linear languages Hans Leiß Centrum für Informations-

More information

Theory of Computation p.1/?? Theory of Computation p.2/?? Unknown: Implicitly a Boolean variable: true if a word is

Theory of Computation p.1/?? Theory of Computation p.2/?? Unknown: Implicitly a Boolean variable: true if a word is Abstraction of Problems Data: abstracted as a word in a given alphabet. Σ: alphabet, a finite, non-empty set of symbols. Σ : all the words of finite length built up using Σ: Conditions: abstracted as a

More information

Pebble weighted automata and transitive closure logics

Pebble weighted automata and transitive closure logics Pebble weighted automata and transitive closure logics Benedikt Bollig, Paul Gastin, Benjamin Monmege, Marc Zeitoun To cite this version: Benedikt Bollig, Paul Gastin, Benjamin Monmege, Marc Zeitoun. Pebble

More information

Automata and Languages

Automata and Languages Automata and Languages Prof. Mohamed Hamada Software Engineering Lab. The University of Aizu Japan Nondeterministic Finite Automata with empty moves (-NFA) Definition A nondeterministic finite automaton

More information

A Disambiguation Algorithm for Weighted Automata

A Disambiguation Algorithm for Weighted Automata A Disambiguation Algorithm for Weighted Automata Mehryar Mohri a,b and Michael D. Riley b a Courant Institute of Mathematical Sciences, 251 Mercer Street, New York, NY 10012. b Google Research, 76 Ninth

More information

Computability and Complexity

Computability and Complexity Computability and Complexity Sequences and Automata CAS 705 Ryszard Janicki Department of Computing and Software McMaster University Hamilton, Ontario, Canada janicki@mcmaster.ca Ryszard Janicki Computability

More information

Subdirectly irreducible commutative idempotent semirings

Subdirectly irreducible commutative idempotent semirings Subdirectly irreducible commutative idempotent semirings Ivan Chajda Helmut Länger Palacký University Olomouc, Olomouc, Czech Republic, email: ivan.chajda@upol.cz Vienna University of Technology, Vienna,

More information