Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders
|
|
- Adam Lawson
- 5 years ago
- Views:
Transcription
1 Faculty of Sciences and Mathematics Department of Computer Science University of Niš, Serbia Algorithms for Computing Complete Deterministic Fuzzy Automata via Invariant Fuzzy Quasi-Orders Stefan Stanimirović joint work with Miroslav Ćirić and Jelena Ignjatović WATA 2018, Leipzig, Germany May 26, 2018
2 Content 1 1. Introduction 2. Preliminaries 3. A determinization algorithm for fuzzy automata 4. A canonization algorithm for fuzzy automata
3 Introduction Determinization of automata 2 Determinization is a procedure of finding a language equivalent deterministic finite automaton (DFA, for short) for a given nondeterministic finite automaton (NFA, for short) It is a fundamental problem in automata theory Contrary to NFAs, for any DFA there is a trivial linear time, constant space, online algorithm to check whether an input sequence is accepted or not For this reason, in many applications it pays to convert NFAs into DFAs Particularly significant determinization methods are those that provide a minimal DFA equivalent to the original NFA, called canonization methods. For every NFA there exists a DFA that is language equivalent The well-known accessible subset construction is simple, but exponential algorithm for determinization a state in the determinized automaton is a subset of states of the input automaton
4 Introduction Determinization of automata 3 x, y NFA: y x x, y a 0 a 1 a 2 a 3 x y y {a 0} {a 0, a 1} DFA: x y x y y x x {a 0, a 3} {a 0, a 2} {a 0, a 1, a 3}
5 Introduction Determinization of automata 4 ϕ D ε = [ ] ϕ D x = [ ] ϕ D [ ] x 2 = Figure (a): A - a fuzzy automaton over X = {x} and the product (Gougen) structure Figure (b): Minimal complete deterministic fuzzy automaton (CDFA) of A Unlike NFAs, which can always be determinized, not all fuzzy finite automata FFAs, can be determinized Some well-known algorithms cannot compute CDFA, even if it exists. Another problem: How to find a minimal CDFA equivalent to A? Note: In general, a minimal CDFA is not unique (there may be several equivalent CDFAs with the same number of states, but with different membership values in their transitions, fuzzy initial and fuzzy terminal states).
6 Our motivation and goal 5 To provide improvements of the determinization and canonization methods for fuzzy automata via factorization of fuzzy states previously studied in J. R. G. de Mendívil, J. R. Garitagoitia, Determinization of fuzzy automata via factorization of fuzzy states, Information Sciences, 283 (2014) J. R. G. de Mendívil, Conditions for minimal fuzzy deterministic finite automata via Brzozowski s procedure, IEEE Transactions on Fuzzy Systems (2017) Our methods are based on the usage of the right and left invariant fuzzy quasi-orders - originally used to model the indistinguishability of states of FFAs and employed in the state reduction of fuzzy automata A. Stamenković, M. Ćirić, J. Ignjatović, Reduction of fuzzy automata by means of fuzzy quasi-orders, Information Sciences 275 (2014)
7 Our motivation and goal Continuation 6 Our methods basically combine the determinization and the state reduction problems, similarly as in Z. Jančić, I. Micić, J. Ignjatović, M. Ćirić, Further improvement of determinization methods for fuzzy finite automata, Fuzzy Sets and Systems 301(2016) Our methods always result in a smaller or equal CDFA compared to the one obtained by the factorization of fuzzy states; It can even result in a finite CDFA in some cases when the factorization of fuzzy states results in an infinite CDFA;
8 Fuzzy sets and relations 7 Complete residuated lattices Structure of truth values (complete) residuated lattice L = (L,,,,, 0, 1) (L,,, 0, 1) - (complete) lattice with the least element 0 and the greatest element 1, (L,, 1) - commutative monoid with the unit 1, adjunction property: for every x, y, z L, x y z x y z.
9 Fuzzy sets and relations (cont.) 8 Examples of complete residuated lattices L = [0, 1], = max, = min, and Product (Goguen) operations: a b = a b, a b = { 1, a b b/a, otherwise Gödel operations: Łukasiewicz operations: a b = min{a, b}, a b = { 1, a b b, otherwise a b = max{a + b 1, 0}, a b = min{1 a + b, 1},
10 Fuzzy sets and relations (cont.) 9 Fuzzy sets and fuzzy relations fuzzy subset of A function α : A L L A all fuzzy subsets of A (fuzzy vectors of length A with entries in L, A-finite) fuzzy relation between A and B function ϕ : A B L L A B all fuzzy relations between A and B (fuzzy matrices of type A B with entries in L, A,B-finite) Fuzzy relations ϕ L A B, φ L B C Composition: ϕ φ L A C - the matrix product Fuzzy relation ϕ L A B and fuzzy sets α L A, β L B Composition: α ϕ L B, ϕ β L A - the vector-matrix products Fuzzy sets: α 1, α 2 L A Composition: α 1 α 2 L - the scalar (dot) product
11 Fuzzy automata and languages 10 Fuzzy automata L complete residuated lattice, X finite alphabet, X free monoid, ε X empty word A = (A, σ, δ, τ) fuzzy automaton A set of states (not necessarily finite) σ L A fuzzy set of initial states, τ L A fuzzy set of terminal (final) states, δ L A X A fuzzy transition function δ {δ x} x X δ x L A A, δ x(a, b) = δ(a, x, b) L product structure A = {a 1, a 2, a 3}, σ = [1 0 0], τ = [0 0 1] 1, δ x = , δ y =
12 Fuzzy automata and languages (cont.) Fuzzy languages fuzzy language f : X L fuzzy subset of the free monoid X fuzzy language recognized by A [[A]](u) = σ δ u τ (degree to which A accepts the word u) 11 CDFAs Let A = (A, σ, δ, τ) be a fuzzy automaton over L and X. Then A is called: complete, if ( x X)( a A)( b A)δ x(a, b) > 0 deterministic, if (!a A)σ(a) > 0 ( x X)( a, b 1, b 2 A)δ x(a, b 1) > 0 and δ x(a, b 2) > 0 b 1 = b 2 If A is simultaneously complete and deterministic, then it is called complete deterministic fuzzy automaton (CDFA for short).
13 First concept: Factorization of fuzzy states 12 Factorization of A Let A be a fuzzy automation over X and L. A factorization of automation A, or a factorization of A, is an ordered pair D = (f, g) of functions g : L A L and f : L A L A that satisfy the following properties σ = g(σ) f(σ), for every σ L A ; g( ) = 1; Factorizations of fuzzy states The idea of factorizations was firstly introduced by D. Kirsten, L. Mäurer, On the determinization of weighted automata, J. Automata, Lang. Combin. 10 (2005) in the determinization algorithm for weighted finite automata (WFAs) over semirings.
14 Factorization of fuzzy states (cont.) 13 Trivial factorization The factorization D N = (f N, g N) of A, where g N(σ) = 1 and f N(σ) = σ for every σ L A is called the trivial factorization. Mohri s factorization Mohri s factorization: the ordered pair D M = (f M, g M), where f M : L A L A and g M : L A L, for every σ L A and a A by { 1, σ = g M(σ) =, and fm(σ)(a) = gm(σ) σ(a); a A σ(a), otherwise Maximal factorization A factorization D = (f, g) of A is called maximal if g(a σ) = a g(σ), f(a σ) = f(σ), for all a L and σ L A such that a σ. Maximal factorizations play a crutial role in the determinization of fuzzy automata.
15 Second concept: (Weakly) right and left invariant fuzzy quasi-orders 14 Weakly right and left invariant fuzzy relations A = (A, σ, δ, τ) - fuzzy automaton, ϕ - reflexive fuzzy relation on A. Then ϕ is: weakly right invariant, if ϕ τ u = τ u, for each u X. weakly left invariant, if σ u ϕ = σ u, for each u X. Right and left invariant fuzzy relations A = (A, σ, δ, τ) - fuzzy automaton, ϕ - fuzzy quasi-order on A. Then ϕ is: right invariant, if ϕ δ x ϕ = δ x ϕ, for each x X, ϕ τ = τ, left invariant, if ϕ δ x ϕ = ϕ δ x, for each x X, σ ϕ = σ. ϕ is right (left) invariant ϕ is weakly right (left) invariant
16 A determinization algorithm for fuzzy automata 15 Construction of family of fuzzy sets A = (A, σ, δ, τ) fuzzy automaton; X = {x 1, x 2,..., x m} alphabet; ϕ fuzzy relation on A; We define a family {ϕ D u} u X of fuzzy sets over A inductively by Construction of CDFA ϕ D ε = f(σ ϕ), Set A D ϕ = {ϕ D u u X }; ϕ D ux = f(ϕ D u δ x ϕ), for every u X and x X. Define fuzzy sets { δϕ D : A D ϕ X A D ϕ L, σϕ D : A D ϕ L and τϕ D : A D ϕ L with δϕ(α, D g(ϕ D u δ x ϕ), if α = ϕ D u and β = ϕ D ux, u X x, β) = ; 0, otherwise { σϕ(α) D g(σ ϕ), if α = ϕ D ε = 0, otherwise ; τ ϕ(α) D = α τ, for every α A D ϕ.
17 A determinization algorithm for fuzzy automata Example ϕ = ϕ ri = σ ϕ = [1 0 0] = g(σ ϕ) f(σ ϕ) = 1 [100] = 1 ϕ D ε ϕ D ε δ x ϕ = [ ] = g(ϕ D ε δ x ϕ) f(ϕ D ε δ x ϕ) = 0.5 [0.610] = 0.5 ϕ D x ϕ D ε δ y ϕ = [0 0 0] = g(ϕ D ε δ y ϕ) f(ϕ D ε δ y ϕ) = 1 [000] = 1 ϕ D y ϕ D x δ x ϕ = [ ] = g(ϕ D x δ x ϕ) f(ϕ D x δ x ϕ) = 0.3 [111] = 0.3 ϕ D x 2
18 A determinization algorithm for fuzzy automata Example (cont.) 17
19 A determinization algorithm for fuzzy automata (cont.) 18 Lemma Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) be a factorization of A, and ϕ a fuzzy relation on A. Then A D ϕ = (A D ϕ, σ D ϕ, δ D ϕ, τ D ϕ) is a CDFA. Theorem Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) a factorization of A, ϕ a reflexive weakly right invariant fuzzy relation on A, and let A D ϕ = (A D ϕ, σ D ϕ, δ D ϕ, τ D ϕ). Then [[A]] = [[A D ϕ]]. Theorem Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) a maximal factorization of A, and let ϕ and φ be right invariant fuzzy quasi-orders on A. Moreover, let A D ϕ = (A D ϕ, σ D ϕ, δ D ϕ, τ D ϕ) and A D φ = (A D φ, σ D φ, δ D φ, τ D φ) be the corresponding CDFAs of A. If ϕ φ holds, then A D φ A D ϕ follows.
20 Example 1 19 Consider a fuzzy automation A over the alphabet X = {x, y} and the product (Gougen) structure { 1, a b a b = a b, a b = b/a, otherwise with the transition graph shown in the next Figure.
21 Example 1 (cont.) 20 The transition tree (a) and the transition graph (b) of the CDFA A D of the fuzzy automaton A:
22 Example 1 (cont.) On the other hand, the greatest right invariant fuzzy quasi-order on A is given by ϕ = ϕ ri = The transition tree (a) and the transition graph (b) of the CDFA A D ϕ of the fuzzy automaton A:
23 Example 2 22 Let A be an automaton over the one-element alphabet X = {x} and the product structure given by the transition graph shown in Figure a). The Nerode automaton of A and the CDFA A D of A have infinitely many states. The greatest right invariant fuzzy quasi-order is equal to ϕ = ϕ ri = The resulting CDFA A D ϕ is shown in Figure b).
24 A canonization algorithm for fuzzy automata 23 If the previous algorithm yields the finite CDFA, then it is not necessarily a minimal CDFA equivalent to the starting fuzzy automaton A Previous method can be adapted to a double-reverse canonization method for fuzzy finite automata over complete residuated lattices The idea of constructing the double-reverse canonization algorithm is not new in the literature: Brzozowski s original idea was to construct, for a given nondeterministic automaton A, the minimal deterministic automaton d(r(d(r(a)))) equivalent to A, where by r(a) we mean the reverse, and by d(a) we mean the determinization process (for example, the well-known subset construction) We adapt the Brzozowski s procedure and perform twice the construction of the CDFA that recognizes the reverse fuzzy language of the starting fuzzy automaton
25 A canonization algorithm for fuzzy automata (cont.) Construction of family of fuzzy sets A = (A, σ, δ, τ) fuzzy automaton; X = {x 1, x 2,..., x m} alphabet; ϕ fuzzy relation on A; We define a family { ϕ D u} u X of fuzzy sets over A inductively by 24 ϕ D ε = f(ϕ τ), ϕ D xu = f(ϕ δ x ϕ D u). Construction of CDFA equivalent to A Set à D ϕ = { ϕ D u} u X Define fuzzy sets { δ ϕ D : à D ϕ X à D ϕ L by, σ ϕ D : à D ϕ L and τ ϕ D : à D ϕ L with δ ϕ(α, D g(ϕ δ x ϕ D u), α = ϕ D u and β = ϕ D xu, u X x, β) = ; 0, otherwise { σ ϕ(α) D g(ϕ τ), α = ϕ D ε = 0, otherwise, τ ϕ(α) D = σ α, for every α à D ϕ.
26 A canonization algorithm for fuzzy automata (cont.) 25 Lemma Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) be a factorization of A, and ϕ a fuzzy relation on A. Then à D ϕ = (à D ϕ, σ D ϕ, δ D ϕ, τ D ϕ) is a CDFA. Theorem Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) a factorization of A, ϕ a reflexive weakly left invariant fuzzy relation on A, and let à D ϕ = (à D ϕ, σ D ϕ, δ D ϕ, τ D ϕ). Then [[A]] = [[à D ϕ]]. Theorem Let A = (A, σ, δ, τ) be a fuzzy automaton over X, D = (f, g) a maximal factorization of A, and let ϕ and φ be left invariant fuzzy quasi-orders on A. Let à D ϕ = (à D ϕ, σ D ϕ, δ D ϕ, τ D ϕ) and à D φ = (à D φ, σ D φ, δ D φ, τ D φ) be the corresponding CDFAs equivalent to A. If ϕ φ holds, then à D φ à D ϕ follows.
27 A canonization algorithm for fuzzy automata (cont.) 26 Let A = (A, σ, δ, τ) be a fuzzy automaton over X and L, D = (f, g) a maximal factorization of A, and ϕ a left invariant fuzzy quasi-order on A. By constructing the fuzzy automaton à D ϕ = (à D ϕ, σ ϕ, D δ ϕ, D τ ϕ), D we obtain CDFA that is equivalent to the reverse fuzzy automaton A of the initial fuzzy automaton A. Given the maximal factorization D 1 = (f 1, g 1) of à D ϕ and the left invariant fuzzy quasi-order ϕ 1 on à D ϕ, we ask if the fuzzy automaton (à D ϕ) ϕ 1 is equivalent to A: The obtained fuzzy automaton is a minimal CDFA equivalent to the starting fuzzy automaton, Fuzzy relation ϕ 1 does not play a role in the second reverse process and can be replaced by the identity relation. D 1
28 A canonization algorithm for fuzzy automata (cont.) 27 Theorem Let A = (A, σ, δ, τ) be a fuzzy automaton over X and L, D = (f, g) a maximal factorization of A, ϕ a left invariant fuzzy quasi-order on A, and D 1 = (f 1, g 1) a maximal factorization of A D ϕ. Define a fuzzy automaton B as B = (Ã D ϕ)d 1. Then B is a minimal CDFA equivalent to A.
29 Example 1 28 Consider a fuzzy automation A over the alphabet X = {x, y} and the product (Gougen) structure { 1, a b a b = a b, a b = b/a, otherwise with the transition graph shown in the next Figure.
30 Example 1 (cont.) The reverse CDFA à D is infinite, and part of its transition graph is shown in Figure (a). On the other hand, we have that the greatest left invariant fuzzy quasi-order is equal to ϕ = ϕ li = The automaton à D ϕ is finite, and its transition graph is shown in Figure (b). 29
31 Example 1 (cont.) 30 The transition graph of the fuzzy automaton B = (Ã D ϕ)d 1 is shown in the following figure.
32 Example 2 Let A be an automaton over the alphabet X = {x, y} and the product (Gougen) structure with the transition graph shown in Figure (a). The greatest right invariant and the greatest left invariant fuzzy quasi-orders on A are respectively equal to ϕ = ϕ ri = , ϕ li = The Brzozowski fuzzy automaton B cannot be obtained by means of the Algorithm. On the other hand, the resulting CDFA A D ϕ is shown in Figure (b). a) b)
33 Thank you for your attention!
Fundamental Problems of Fuzzy Automata Theory
Fundamental Problems of Fuzzy Automata Theory Jelena Ignjatović Department of Computer Science Faculty of Sciences University of Niš, Serbia jelenaignjatovic@pmfedurs ARISTOTLE UNIVERSITY OF THESSALONIKI
More informationSystems of two-sided linear fuzzy relation equations and inequalities and their applications
Systems of two-sided linear fuzzy relation equations and inequalities and their applications Miroslav Ćirić, Jelena Ignjatović Department of Computer Science Faculty of Sciences and Mathematics University
More informationSolving 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 informationStrong 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 informationFUZZY RELATION EQUATIONS AND FUZZY AUTOMATA
FUZZY RELATION EQUATIONS AND FUZZY AUTOMATA Miroslav Ćirić 1, Jelena Ignjatović 1 and Nada Damljanović 2 1 University of Niš, Faculty of Sciences and Mathematics Višegradska 33, 18000 Niš, Serbia miroslav.ciric@pmf.edu.rs,
More informationClasses and conversions
Classes and conversions Regular expressions Syntax: r = ε a r r r + r r Semantics: The language L r of a regular expression r is inductively defined as follows: L =, L ε = {ε}, L a = a L r r = L r L r
More informationMetamorphosis of Fuzzy Regular Expressions to Fuzzy Automata using the Follow Automata
Metamorphosis of Fuzzy Regular Expressions to Fuzzy Automata using the Follow Automata Rahul Kumar Singh, Ajay Kumar Thapar University Patiala Email: ajayloura@gmail.com Abstract To deal with system uncertainty,
More informationCS 455/555: Finite automata
CS 455/555: Finite automata Stefan D. Bruda Winter 2019 AUTOMATA (FINITE OR NOT) Generally any automaton Has a finite-state control Scans the input one symbol at a time Takes an action based on the currently
More informationCMSC 330: Organization of Programming Languages. Theory of Regular Expressions Finite Automata
: Organization of Programming Languages Theory of Regular Expressions Finite Automata Previous Course Review {s s defined} means the set of string s such that s is chosen or defined as given s A means
More informationCOM364 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 informationDeterministic 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 informationcse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska
cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 6 CHAPTER 2 FINITE AUTOMATA 2. Nondeterministic Finite Automata NFA 3. Finite Automata and Regular Expressions 4. Languages
More informationHKN CS/ECE 374 Midterm 1 Review. Nathan Bleier and Mahir Morshed
HKN CS/ECE 374 Midterm 1 Review Nathan Bleier and Mahir Morshed For the most part, all about strings! String induction (to some extent) Regular languages Regular expressions (regexps) Deterministic finite
More informationNondeterministic 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 informationClosure Properties of Regular Languages. Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism
Closure Properties of Regular Languages Union, Intersection, Difference, Concatenation, Kleene Closure, Reversal, Homomorphism, Inverse Homomorphism Closure Properties Recall a closure property is a statement
More informationClarifications from last time. This Lecture. Last Lecture. CMSC 330: Organization of Programming Languages. Finite Automata.
CMSC 330: Organization of Programming Languages Last Lecture Languages Sets of strings Operations on languages Finite Automata Regular expressions Constants Operators Precedence CMSC 330 2 Clarifications
More informationSri vidya college of engineering and technology
Unit I FINITE AUTOMATA 1. Define hypothesis. The formal proof can be using deductive proof and inductive proof. The deductive proof consists of sequence of statements given with logical reasoning in order
More informationHellis Tamm Institute of Cybernetics, Tallinn. Theory Seminar, April 21, Joint work with Janusz Brzozowski, accepted to DLT 2011
Theory of Átomata Hellis Tamm Institute of Cybernetics, Tallinn Theory Seminar, April 21, 2011 Joint work with Janusz Brzozowski, accepted to DLT 2011 This work was supported by the Natural Sciences and
More informationAutomata 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 informationChapter Five: Nondeterministic Finite Automata
Chapter Five: Nondeterministic Finite Automata From DFA to NFA A DFA has exactly one transition from every state on every symbol in the alphabet. By relaxing this requirement we get a related but more
More informationObtaining 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 informationC2.1 Regular Grammars
Theory of Computer Science March 22, 27 C2. Regular Languages: Finite Automata Theory of Computer Science C2. Regular Languages: Finite Automata Malte Helmert University of Basel March 22, 27 C2. Regular
More informationC2.1 Regular Grammars
Theory of Computer Science March 6, 26 C2. Regular Languages: Finite Automata Theory of Computer Science C2. Regular Languages: Finite Automata Malte Helmert University of Basel March 6, 26 C2. Regular
More informationMore on Finite Automata and Regular Languages. (NTU EE) Regular Languages Fall / 41
More on Finite Automata and Regular Languages (NTU EE) Regular Languages Fall 2016 1 / 41 Pumping Lemma is not a Sufficient Condition Example 1 We know L = {b m c m m > 0} is not regular. Let us consider
More informationCOMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 5 : DFA minimization
COMP-33 Theory of Computation Fall 27 -- Prof. Claude Crépeau Lec. 5 : DFA minimization COMP 33 Fall 27: Lectures Schedule 4. Context-free languages 5. Pushdown automata 6. Parsing 7. The pumping lemma
More informationKleene 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 informationExtended 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 informationT (s, xa) = T (T (s, x), a). The language recognized by M, denoted L(M), is the set of strings accepted by M. That is,
Recall A deterministic finite automaton is a five-tuple where S is a finite set of states, M = (S, Σ, T, s 0, F ) Σ is an alphabet the input alphabet, T : S Σ S is the transition function, s 0 S is the
More informationDecision, Computation and Language
Decision, Computation and Language Non-Deterministic Finite Automata (NFA) Dr. Muhammad S Khan (mskhan@liv.ac.uk) Ashton Building, Room G22 http://www.csc.liv.ac.uk/~khan/comp218 Finite State Automata
More informationChapter 6: NFA Applications
Chapter 6: NFA Applications Implementing NFAs The problem with implementing NFAs is that, being nondeterministic, they define a more complex computational procedure for testing language membership. To
More informationFinite Automata and Regular Languages (part III)
Finite Automata and Regular Languages (part III) Prof. Dan A. Simovici UMB 1 / 1 Outline 2 / 1 Nondeterministic finite automata can be further generalized by allowing transitions between states without
More informationChapter 2: Finite Automata
Chapter 2: Finite Automata 2.1 States, State Diagrams, and Transitions Finite automaton is the simplest acceptor or recognizer for language specification. It is also the simplest model of a computer. A
More informationCS 154, Lecture 2: Finite Automata, Closure Properties Nondeterminism,
CS 54, Lecture 2: Finite Automata, Closure Properties Nondeterminism, Why so Many Models? Streaming Algorithms 0 42 Deterministic Finite Automata Anatomy of Deterministic Finite Automata transition: for
More informationBüchi Automata and their closure properties. - Ajith S and Ankit Kumar
Büchi Automata and their closure properties - Ajith S and Ankit Kumar Motivation Conventional programs accept input, compute, output result, then terminate Reactive program : not expected to terminate
More informationCOMP-330 Theory of Computation. Fall Prof. Claude Crépeau. Lec. 9 : Myhill-Nerode Theorem and applications
COMP-33 Theory of Computation Fall 217 -- Prof. Claude Crépeau Lec. 9 : Myhill-Nerode Theorem and applications COMP 33 Fall 212: Lectures Schedule 1-2. Introduction 1.5. Some basic mathematics 2-3. Deterministic
More informationWhat we have done so far
What we have done so far DFAs and regular languages NFAs and their equivalence to DFAs Regular expressions. Regular expressions capture exactly regular languages: Construct a NFA from a regular expression.
More informationTheory 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 informationCMSC 330: Organization of Programming Languages
CMSC 330: Organization of Programming Languages Theory of Regular Expressions DFAs and NFAs Reminders Project 1 due Sep. 24 Homework 1 posted Exam 1 on Sep. 25 Exam topics list posted Practice homework
More informationFinite Automata and Regular Languages
Finite Automata and Regular Languages Topics to be covered in Chapters 1-4 include: deterministic vs. nondeterministic FA, regular expressions, one-way vs. two-way FA, minimization, pumping lemma for regular
More informationTheory of Computation
Thomas Zeugmann Hokkaido University Laboratory for Algorithmics http://www-alg.ist.hokudai.ac.jp/ thomas/toc/ Lecture 3: Finite State Automata Motivation In the previous lecture we learned how to formalize
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures and Instructions 23.10. 3.11. 17.11. 24.11. 1.12. 11.12.
More informationFORMAL LANGUAGES, AUTOMATA AND COMPUTATION
FORMAL LANGUAGES, AUTOMATA AND COMPUTATION DECIDABILITY ( LECTURE 15) SLIDES FOR 15-453 SPRING 2011 1 / 34 TURING MACHINES-SYNOPSIS The most general model of computation Computations of a TM are described
More informationNondeterministic Finite Automata. Nondeterminism Subset Construction
Nondeterministic Finite Automata Nondeterminism Subset Construction 1 Nondeterminism A nondeterministic finite automaton has the ability to be in several states at once. Transitions from a state on an
More informationω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear:
ω-automata ω-automata Automata that accept (or reject) words of infinite length. Languages of infinite words appear: in verification, as encodings of non-terminating executions of a program. in arithmetic,
More informationSimplification of finite automata
Simplification of finite automata Lorenzo Clemente (University of Warsaw) based on joint work with Richard Mayr (University of Edinburgh) Warsaw, November 2016 Nondeterministic finite automata We consider
More informationIntroduction to the Theory of Computation. Automata 1VO + 1PS. Lecturer: Dr. Ana Sokolova.
Introduction to the Theory of Computation Automata 1VO + 1PS Lecturer: Dr. Ana Sokolova http://cs.uni-salzburg.at/~anas/ Setup and Dates Lectures Tuesday 10:45 pm - 12:15 pm Instructions Tuesday 12:30
More informationFinite Automata. Seungjin Choi
Finite Automata Seungjin Choi Department of Computer Science and Engineering Pohang University of Science and Technology 77 Cheongam-ro, Nam-gu, Pohang 37673, Korea seungjin@postech.ac.kr 1 / 28 Outline
More informationLecture 3: Nondeterministic Finite Automata
Lecture 3: Nondeterministic Finite Automata September 5, 206 CS 00 Theory of Computation As a recap of last lecture, recall that a deterministic finite automaton (DFA) consists of (Q, Σ, δ, q 0, F ) where
More informationCSE 311: Foundations of Computing. Lecture 23: Finite State Machine Minimization & NFAs
CSE : Foundations of Computing Lecture : Finite State Machine Minimization & NFAs State Minimization Many different FSMs (DFAs) for the same problem Take a given FSM and try to reduce its state set by
More informationSeptember 7, Formal Definition of a Nondeterministic Finite Automaton
Formal Definition of a Nondeterministic Finite Automaton September 7, 2014 A comment first The formal definition of an NFA is similar to that of a DFA. Both have states, an alphabet, transition function,
More informationc 1998 Society for Industrial and Applied Mathematics Vol. 27, No. 4, pp , August
SIAM J COMPUT c 1998 Society for Industrial and Applied Mathematics Vol 27, No 4, pp 173 182, August 1998 8 SEPARATING EXPONENTIALLY AMBIGUOUS FINITE AUTOMATA FROM POLYNOMIALLY AMBIGUOUS FINITE AUTOMATA
More informationJava II Finite Automata I
Java II Finite Automata I Bernd Kiefer Bernd.Kiefer@dfki.de Deutsches Forschungszentrum für künstliche Intelligenz November, 23 Processing Regular Expressions We already learned about Java s regular expression
More informationLecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2
BIJU PATNAIK UNIVERSITY OF TECHNOLOGY, ODISHA Lecture Notes On THEORY OF COMPUTATION MODULE -1 UNIT - 2 Prepared by, Dr. Subhendu Kumar Rath, BPUT, Odisha. UNIT 2 Structure NON-DETERMINISTIC FINITE AUTOMATA
More informationUnit 6. Non Regular Languages The Pumping Lemma. Reading: Sipser, chapter 1
Unit 6 Non Regular Languages The Pumping Lemma Reading: Sipser, chapter 1 1 Are all languages regular? No! Most of the languages are not regular! Why? A finite automaton has limited memory. How can we
More informationNondeterministic Finite Automata
Nondeterministic Finite Automata Lecture 6 Section 2.2 Robb T. Koether Hampden-Sydney College Mon, Sep 5, 2016 Robb T. Koether (Hampden-Sydney College) Nondeterministic Finite Automata Mon, Sep 5, 2016
More informationFinite Automata. BİL405 - Automata Theory and Formal Languages 1
Finite Automata BİL405 - Automata Theory and Formal Languages 1 Deterministic Finite Automata (DFA) A Deterministic Finite Automata (DFA) is a quintuple A = (Q,,, q 0, F) 1. Q is a finite set of states
More informationarxiv: v2 [cs.fl] 15 Dec 2014
1 Determinization of fuzz automata b means of the degrees of language inclusion Ivana Micić, Zorana Jančić, Jelena Ignjatović, and Miroslav Ćirić Abstract arxiv:1410.6063v2 [cs.fl] 15 Dec 2014 1 Introduction
More informationComputational Models - Lecture 3 1
Computational Models - Lecture 3 1 Handout Mode Iftach Haitner and Yishay Mansour. Tel Aviv University. March 13/18, 2013 1 Based on frames by Benny Chor, Tel Aviv University, modifying frames by Maurice
More informationNOTES ON AUTOMATA. Date: April 29,
NOTES ON AUTOMATA 1. Monoids acting on sets We say that a monoid S with identity element ɛ acts on a set Q if q(st) = (qs)t and qɛ = q. As with groups, if we set s = t whenever qs = qt for all q Q, then
More informationDISTINGUISHABILITY AND COMPLETENESS OF CRISP DETERMINISTIC FUZZY AUTOMATA
Iranian Journal of Fuzzy Systems Vol. 14, No. 5, (2017) pp. 19-30 19 DISTINGUISHABILITY AND COMPLETENESS OF CRISP DETERMINISTIC FUZZY AUTOMATA R. VERMA AND S. P. TIWARI Abstract. In this paper, we introduce
More informationFooling Sets and. Lecture 5
Fooling Sets and Introduction to Nondeterministic Finite Automata Lecture 5 Proving that a language is not regular Given a language, we saw how to prove it is regular (union, intersection, concatenation,
More informationLanguages. Non deterministic finite automata with ε transitions. First there was the DFA. Finite Automata. Non-Deterministic Finite Automata (NFA)
Languages Non deterministic finite automata with ε transitions Recall What is a language? What is a class of languages? Finite Automata Consists of A set of states (Q) A start state (q o ) A set of accepting
More informationThe theory of regular cost functions.
The theory of regular cost functions. Denis Kuperberg PhD under supervision of Thomas Colcombet Hebrew University of Jerusalem ERC Workshop on Quantitative Formal Methods Jerusalem, 10-05-2013 1 / 30 Introduction
More informationClosure under the Regular Operations
September 7, 2013 Application of NFA Now we use the NFA to show that collection of regular languages is closed under regular operations union, concatenation, and star Earlier we have shown this closure
More informationNotes on State Minimization
U.C. Berkeley CS172: Automata, Computability and Complexity Handout 1 Professor Luca Trevisan 2/3/2015 Notes on State Minimization These notes present a technique to prove a lower bound on the number of
More informationAlgebras with finite descriptions
Algebras with finite descriptions André Nies The University of Auckland July 19, 2005 Part 1: FA-presentability A countable structure in a finite signature is finite-automaton presentable (or automatic)
More informationSeptember 11, Second Part of Regular Expressions Equivalence with Finite Aut
Second Part of Regular Expressions Equivalence with Finite Automata September 11, 2013 Lemma 1.60 If a language is regular then it is specified by a regular expression Proof idea: For a given regular language
More informationAn Abstract Approach to Consequence Relations
An Abstract Approach to Consequence Relations Francesco Paoli (joint work with P. Cintula, J. Gil Férez, T. Moraschini) SYSMICS Kickoff Francesco Paoli, (joint work with P. Cintula, J. AnGil Abstract Férez,
More informationComputational Models - Lecture 4
Computational Models - Lecture 4 Regular languages: The Myhill-Nerode Theorem Context-free Grammars Chomsky Normal Form Pumping Lemma for context free languages Non context-free languages: Examples Push
More informationIvana Z. Micić BISIMULATIONS FOR FUZZY AUTOMATA
University of Niš Faculty of Sciences and Mathematics Department of Computer Science Ivana Z. Micić BISIMULATIONS FOR FUZZY AUTOMATA PhD thesis Niš,2014 Univerzitet u Nišu Prirodno-matematički fakultet
More informationFinite Automata and Languages
CS62, IIT BOMBAY Finite Automata and Languages Ashutosh Trivedi Department of Computer Science and Engineering, IIT Bombay CS62: New Trends in IT: Modeling and Verification of Cyber-Physical Systems (2
More informationCS 208: Automata Theory and Logic
CS 28: Automata Theory and Logic b a a start A x(la(x) y(x < y) L b (y)) B b Department of Computer Science and Engineering, Indian Institute of Technology Bombay of 32 Nondeterminism Alternation 2 of
More informationCISC 4090: Theory of Computation Chapter 1 Regular Languages. Section 1.1: Finite Automata. What is a computer? Finite automata
CISC 4090: Theory of Computation Chapter Regular Languages Xiaolan Zhang, adapted from slides by Prof. Werschulz Section.: Finite Automata Fordham University Department of Computer and Information Sciences
More informationSYLLABUS. 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 informationWeakly linear systems of fuzzy relation inequalities and their applications: A brief survey
Filomat 26:2 (2012), 207 241 DOI 10.2298/FIL1202207I Published by Faculty of Sciences and Mathematics, University of Niš, Serbia Available at:http://www.pmf.ni.ac.rs/filomat Weakly linear systems of fuzzy
More informationTheory of Computation 4 Non-Deterministic Finite Automata
Theory of Computation 4 Non-Deterministic Finite Automata Frank Stephan Department of Computer Science Department of Mathematics National University of Singapore fstephan@comp.nus.edu.sg Theory of Computation
More informationOn Frankl conjecture. Coherence in predicate logic. Algebraic theory of fuzzy languages and automata
On Frankl conjecture Vladimir Božin University of Warwick, Coventry, United Kingdom bozin@maths.warwick.ac.uk Frankl conjecture states that for every finite family of sets closed under intersections there
More informationCommutative FSM Having Cycles over the Binary Alphabet
Commutative FSM Having Cycles over the Binary Alphabet Dr.S. Jeya Bharathi 1, Department of Mathematics, Thiagarajar College of Engineering, Madurai, India A.Jeyanthi 2,* Department of Mathematics Anna
More informationRecitation 2 - Non Deterministic Finite Automata (NFA) and Regular OctoberExpressions
Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular Expressions Orit Moskovich Gal Rotem Tel Aviv University October 28, 2015 Recitation 2 - Non Deterministic Finite Automata (NFA) and Regular
More information3515ICT: Theory of Computation. Regular languages
3515ICT: Theory of Computation Regular languages Notation and concepts concerning alphabets, strings and languages, and identification of languages with problems (H, 1.5). Regular expressions (H, 3.1,
More informationacs-07: Decidability Decidability Andreas Karwath und Malte Helmert Informatik Theorie II (A) WS2009/10
Decidability Andreas Karwath und Malte Helmert 1 Overview An investigation into the solvable/decidable Decidable languages The halting problem (undecidable) 2 Decidable problems? Acceptance problem : decide
More informationCSC236 Week 11. Larry Zhang
CSC236 Week 11 Larry Zhang 1 Announcements Next week s lecture: Final exam review This week s tutorial: Exercises with DFAs PS9 will be out later this week s. 2 Recap Last week we learned about Deterministic
More informationDuality in Probabilistic Automata
Duality in Probabilistic Automata Chris Hundt Prakash Panangaden Joelle Pineau Doina Precup Gavin Seal McGill University MFPS May 2006 Genoa p.1/40 Overview We have discovered an - apparently - new kind
More informationComputational Models: Class 3
Computational Models: Class 3 Benny Chor School of Computer Science Tel Aviv University November 2, 2015 Based on slides by Maurice Herlihy, Brown University, and modifications by Iftach Haitner and Yishay
More informationUses of finite automata
Chapter 2 :Finite Automata 2.1 Finite Automata Automata are computational devices to solve language recognition problems. Language recognition problem is to determine whether a word belongs to a language.
More informationIncorrect reasoning about RL. Equivalence of NFA, DFA. Epsilon Closure. Proving equivalence. One direction is easy:
Incorrect reasoning about RL Since L 1 = {w w=a n, n N}, L 2 = {w w = b n, n N} are regular, therefore L 1 L 2 = {w w=a n b n, n N} is regular If L 1 is a regular language, then L 2 = {w R w L 1 } is regular,
More informationDESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY
International Journal of Foundations of Computer Science Vol. 16, No. 5 (2005) 975 984 c World Scientific Publishing Company DESCRIPTIONAL COMPLEXITY OF NFA OF DIFFERENT AMBIGUITY HING LEUNG Department
More informationCONCATENATION AND KLEENE STAR ON DETERMINISTIC FINITE AUTOMATA
1 CONCATENATION AND KLEENE STAR ON DETERMINISTIC FINITE AUTOMATA GUO-QIANG ZHANG, XIANGNAN ZHOU, ROBERT FRASER, LICONG CUI Department of Electrical Engineering and Computer Science, Case Western Reserve
More informationFormal Languages, Automata and Models of Computation
CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 5 School of Innovation, Design and Engineering Mälardalen University 2011 1 Content - More Properties of Regular Languages (RL)
More informationIntroduction 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 informationAutomata 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 informationFinite Automata. Dr. Neil T. Dantam. Fall CSCI-561, Colorado School of Mines. Dantam (Mines CSCI-561) Finite Automata Fall / 35
Finite Automata Dr. Neil T. Dantam CSCI-561, Colorado School of Mines Fall 2017 Dantam (Mines CSCI-561) Finite Automata Fall 2017 1 / 35 Outline Dantam (Mines CSCI-561) Finite Automata Fall 2017 2 / 35
More informationMonoidal Categories, Bialgebras, and Automata
Monoidal Categories, Bialgebras, and Automata James Worthington Mathematics Department Cornell University Binghamton University Geometry/Topology Seminar October 29, 2009 Background: Automata Finite automata
More informationFinite Automata. Mahesh Viswanathan
Finite Automata Mahesh Viswanathan In this lecture, we will consider different models of finite state machines and study their relative power. These notes assume that the reader is familiar with DFAs,
More informationRegular Expressions and Language Properties
Regular Expressions and Language Properties Mridul Aanjaneya Stanford University July 3, 2012 Mridul Aanjaneya Automata Theory 1/ 47 Tentative Schedule HW #1: Out (07/03), Due (07/11) HW #2: Out (07/10),
More informationAutomata extended to nominal sets
Bachelor thesis Computer Science Radboud University Automata extended to nominal sets Author: Joep Veldhoven s4456556 First supervisor/assessor: Jurriaan Rot jrot@cs.ru.nl Second and third supervisor:
More informationCS 275 Automata and Formal Language Theory
CS 275 Automata and Formal Language Theory Course Notes Part II: The Recognition Problem (II) Chapter II.4.: Properties of Regular Languages (13) Anton Setzer (Based on a book draft by J. V. Tucker and
More informationMinimization 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 information2. Syntactic Congruences and Monoids
IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 3: Algebra and Languages David Mix Barrington and Alexis Maciel July 19, 2000 1.
More informationReversal of Regular Languages and State Complexity
Reversal of Regular Languages and State Complexity Juraj Šebej Institute of Computer Science, Faculty of Science, P. J. Šafárik University, Jesenná 5, 04001 Košice, Slovakia juraj.sebej@gmail.com Abstract.
More information