Minimal NFA Problems are hard Tao Jiang & B. Ravikumar N Andres Parra.

Slides:



Advertisements
Similar presentations
Isolation Technique April 16, 2001 Jason Ku Tao Li.
Advertisements

CSE 311 Foundations of Computing I
Lecture 24 MAS 714 Hartmut Klauck
CPSC Compiler Tutorial 4 Midterm Review. Deterministic Finite Automata (DFA) Q: finite set of states Σ: finite set of “letters” (input alphabet)
Finite Automata CPSC 388 Ellen Walker Hiram College.
Finite Automata Section 1.1 CSC 4170 Theory of Computation.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity Theory CSE 331 Section 2 James Daly. Reminders Project 4 is out Due Friday Dynamic programming project Homework 6 is out Due next week (on.
The Complexity of the Network Design Problem Networks, 1978 Classic Paper Reading
CS5371 Theory of Computation
CS 302: Discrete Math II A Review. An alphabet Σ is a finite set (e.g., Σ = {0,1}) A string over Σ is a finite-length sequence of elements of Σ For x.
Finite Automata Finite-state machine with no output. FA consists of States, Transitions between states FA is a 5-tuple Example! A string x is recognized.
Graphs 4/16/2017 8:41 PM NP-Completeness.
FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY
NP-Complete Problems Reading Material: Chapter 10 Sections 1, 2, 3, and 4 only.
Computability and Complexity 32-1 Computability and Complexity Andrei Bulatov Boolean Circuits.
NP-Complete Problems Problems in Computer Science are classified into
NP-Completeness NP-Completeness Graphs 4/17/2017 4:10 AM x x x x x x x
CS 310 – Fall 2006 Pacific University CS310 P vs NP the steel cage death match Section 7.2 November 29, 2006.
Lecture 3 Goals: Formal definition of NFA, acceptance of a string by an NFA, computation tree associated with a string. Algorithm to convert an NFA to.
Chapter 11: Limitations of Algorithmic Power
Chapter 11 Limitations of Algorithm Power Copyright © 2007 Pearson Addison-Wesley. All rights reserved.
Theory of Computing Lecture 20 MAS 714 Hartmut Klauck.
Introduction to Finite Automata Adapted from the slides of Stanford CS154.
Review Byron Gao. Overview Theory of computation: central areas: Automata, Computability, Complexity Computability: Is the problem solvable? –solvable.
The Complexity of Optimization Problems. Summary -Complexity of algorithms and problems -Complexity classes: P and NP -Reducibility -Karp reducibility.
Languages Given an alphabet , we can make a word or string by concatenating the letters of . Concatenation of “x” and “y” is “xy” Typical example: 
Decidable Questions About Regular languages 1)Membership problem: “Given a specification of known type and a string w, is w in the language specified?”
1 Lower Bounds Lower bound: an estimate on a minimum amount of work needed to solve a given problem Examples: b number of comparisons needed to find the.
1 The Theory of NP-Completeness 2 Cook ’ s Theorem (1971) Prof. Cook Toronto U. Receiving Turing Award (1982) Discussing difficult problems: worst case.
Lecture # 12. Nondeterministic Finite Automaton (NFA) Definition: An NFA is a TG with a unique start state and a property of having single letter as label.
CSCI 2670 Introduction to Theory of Computing September 13.
Strings Basic data type in computational biology A string is an ordered succession of characters or symbols from a finite set called an alphabet Sequence.
CS 3813: Introduction to Formal Languages and Automata Chapter 14 An Introduction to Computational Complexity These class notes are based on material from.
Chapter 11 Introduction to Computational Complexity Copyright © 2011 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1.
Chapter 15 P, NP, and Cook’s Theorem. 2 Computability Theory n Establishes whether decision problems are (only) theoretically decidable, i.e., decides.
Lecture Notes 
Algorithms for hard problems Automata and tree automata Juris Viksna, 2015.
NP-complete Languages
CS623: Introduction to Computing with Neural Nets (lecture-7) Pushpak Bhattacharyya Computer Science and Engineering Department IIT Bombay.
CSCI 4325 / 6339 Theory of Computation Zhixiang Chen.
Complexity and Computability Theory I Lecture #5 Rina Zviel-Girshin Leah Epstein Winter
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Lecture #4 Thinking of designing an abstract machine acts as finite automata. Advanced Computation Theory.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Material from M. Pawan Kumar, E. Demaine.
General Discussion of “Properties” The Pumping Lemma Membership, Emptiness, Etc.
Department of Software & Media Technology
Introduction to Automata Theory Theory of Computation Lecture 3 Tasneem Ghnaimat.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
PROPERTIES OF REGULAR LANGUAGES
Chapter 2 Finite Automata
Deterministic Finite Automata
Nondeterministic Finite Automata
Finite Automata & Regular Languages
An Introduction to Finite Automata
Chapter 2 FINITE AUTOMATA.
Deterministic Finite Automata
Non-Determinism 12CS45 Finite Automata.
Jaya Krishna, M.Tech, Assistant Professor
Non-Deterministic Finite Automata
COSC 3340: Introduction to Theory of Computation
4. Properties of Regular Languages
Chapter Nine: Advanced Topics in Regular Languages
4b Lexical analysis Finite Automata
4b Lexical analysis Finite Automata
Chapter 1 Regular Language
Finite-State Machines with No Output
CSCI 2670 Introduction to Theory of Computing
Non Deterministic Automata
What is it? The term "Automata" is derived from the Greek word "αὐτόματα" which means "self-acting". An automaton (Automata in plural) is an abstract self-propelled.
Presentation transcript:

Minimal NFA Problems are hard Tao Jiang & B. Ravikumar N Andres Parra

Quick Outline Presentation of the problem Introduction UFA: Unambiguous Finite Automata NP-completeness results

Problem: Given a FA of type A, find a minimum equivalent FA of type B A B DFA NFA DFA NFA DFA NFA ?

Introduction Several decision problems for NFA are computationally hard. emptiness and finiteness are exceptions. Very few hardness results involving DFA have been shown

Minimal NFA problem: Input: FA M of type-A, and integer k Is there a k-state machine of type-B that accepts L(M)? O(nlogn) time -Hopcroft’s Algorithm- Exponential lower bound in time and space. PSPACE-hard. NP-hard for unary alphabet DFA NFA DFA

Unambiguous FA (UFA) A UFA is an NFA in which every accepted string has a unique accepting computation a a, b 3-state UFA for  * a  with  = { a, b } UFA minimization in NP-complete

Example of NFA and UFA for same L a a a a a a a aa a a 5-state NFA for { a i | i mod 6  0 }6-state UFA for { a i | i mod 6  0 }

Properties of UFA TRAN-SEQ M ( q,k ), q  Q, k  N: Number of state transition sequences of lenght k which take state q into an accepting state. ACC-SEQ M ( k ), k  N: Number of accepting states transition sequences of length k. ACC M ( k ), k  N: Number of strings of length k accepted by M

Properties of UFA TRAN-SEQ M ( q,0 ) = 1 if q  F 0 otherwise TRAN-SEQ M ( q,k+1 ) =

DFA UFA is in NP There is a deterministic polynomial-time algorithm for deciding whether the two given UFA, M 1 and M 2 are equivalent –Using proper containment based on difference equations of the ACC functions. There is a polynomial-time algorithm that, given an NFA M as input, decides whether M is unambiguous –Build an NFA M’ that accepts L’, where L’ is the set of strings that can be derived by at least two different accepting paths. Can be done in polynomial time –M is unambiguous iff L(M’) is empty.

DFA UFA is NP-complete The vertex Cover problem is reduced to the normal set basis problem. The Normal set basis problem is reduced to the DFA UFA problem. Let C and B be collections of sets. B is said to be a normal basis of C if for each c  C there is a pairwise disjoint subcollection of B whose union is exactly c.