Regular language. Contents. Regular languages over an alphabet. From Wikipedia, the free encyclopedia

Similar documents
Language properties and Grammar of Parallel and Series Parallel Languages

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

RANKING AND UNRANKING LEFT SZILARD LANGUAGES. Erkki Mäkinen DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF TAMPERE REPORT A ER E P S I M S

A R "! I,,, !~ii ii! A ow ' r.-ii ' i ' JA' V5, 9. MiN, ;

A General Class of Noncontext Free Grammars Generating Context Free Languages

Erkki Mäkinen State change languages as homomorphic images of Szilard languages

On the Polynomial Degree of Minterm-Cyclic Functions

Proof Theory for Syntacticians

A Version Space Approach to Learning Context-free Grammars

Lecture 1.1: What is a group?

COMPUTATIONAL COMPLEXITY OF LEFT-ASSOCIATIVE GRAMMAR

systems have been developed that are well-suited to phenomena in but is properly contained in the indexed languages. We give a

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Grammars & Parsing, Part 1:

Math 098 Intermediate Algebra Spring 2018

Self Study Report Computer Science

Enumeration of Context-Free Languages and Related Structures

Abstractions and the Brain

The Strong Minimalist Thesis and Bounded Optimality

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

Refining the Design of a Contracting Finite-State Dependency Parser

Statewide Framework Document for:

Probability and Game Theory Course Syllabus

MTH 141 Calculus 1 Syllabus Spring 2017

GACE Computer Science Assessment Test at a Glance

Morphotactics as Tier-Based Strictly Local Dependencies

Evolution of Collective Commitment during Teamwork

"f TOPIC =T COMP COMP... OBJ

Developing a TT-MCTAG for German with an RCG-based Parser

Learning Disability Functional Capacity Evaluation. Dear Doctor,

IT Students Workshop within Strategic Partnership of Leibniz University and Peter the Great St. Petersburg Polytechnic University

CS 598 Natural Language Processing

A Grammar for Battle Management Language

Mathematics. Mathematics

Universiteit Leiden ICT in Business

Introduction to HPSG. Introduction. Historical Overview. The HPSG architecture. Signature. Linguistic Objects. Descriptions.

PRODUCT PLATFORM DESIGN: A GRAPH GRAMMAR APPROACH

arxiv: v1 [math.at] 10 Jan 2016

AP Calculus AB. Nevada Academic Standards that are assessable at the local level only.

Course Syllabus for Math

An Introduction to the Minimalist Program

Syntax Parsing 1. Grammars and parsing 2. Top-down and bottom-up parsing 3. Chart parsers 4. Bottom-up chart parsing 5. The Earley Algorithm

Honors Mathematics. Introduction and Definition of Honors Mathematics

Facilitating Students From Inadequacy Concept in Constructing Proof to Formal Proof

Improving Fairness in Memory Scheduling

ARNE - A tool for Namend Entity Recognition from Arabic Text

CS 101 Computer Science I Fall Instructor Muller. Syllabus

AQUA: An Ontology-Driven Question Answering System

Predicting Outcomes Based on Hierarchical Regression

WSU Five-Year Program Review Self-Study Cover Page

ENGBG1 ENGBL1 Campus Linguistics. Meeting 2. Chapter 7 (Morphology) and chapter 9 (Syntax) Pia Sundqvist

GUIDE TO THE CUNY ASSESSMENT TESTS

Mathematics Program Assessment Plan

Mathematics subject curriculum

Lecture 10: Reinforcement Learning

Transfer Learning Action Models by Measuring the Similarity of Different Domains

B.S/M.A in Mathematics

School of Innovative Technologies and Engineering

Math 121 Fundamentals of Mathematics I

Lecture 1: Machine Learning Basics

Lecture Notes on Mathematical Olympiad Courses

Language Evolution, Metasyntactically. First International Workshop on Bidirectional Transformations (BX 2012)

Parallel Evaluation in Stratal OT * Adam Baker University of Arizona

Cal s Dinner Card Deals

LNGT0101 Introduction to Linguistics

Natural Language Processing. George Konidaris

The open source development model has unique characteristics that make it in some

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

11/29/2010. Statistical Parsing. Statistical Parsing. Simple PCFG for ATIS English. Syntactic Disambiguation

STA 225: Introductory Statistics (CT)

Mathematics Assessment Plan

Two-Valued Logic is Not Sufficient to Model Human Reasoning, but Three-Valued Logic is: A Formal Analysis

Instructor: Matthew Wickes Kilgore Office: ES 310

A Minimalist Approach to Code-Switching. In the field of linguistics, the topic of bilingualism is a broad one. There are many

PowerTeacher Gradebook User Guide PowerSchool Student Information System

We are strong in research and particularly noted in software engineering, information security and privacy, and humane gaming.

Given a directed graph G =(N A), where N is a set of m nodes and A. destination node, implying a direction for ow to follow. Arcs have limitations

Logical Aspects of Digital Mathematics Libraries (extended abstract)

Practical Research Planning and Design Paul D. Leedy Jeanne Ellis Ormrod Tenth Edition


Diagnostic Test. Middle School Mathematics

Learning Methods in Multilingual Speech Recognition

Grade 2: Using a Number Line to Order and Compare Numbers Place Value Horizontal Content Strand

Stacks Teacher notes. Activity description. Suitability. Time. AMP resources. Equipment. Key mathematical language. Key processes

CLASSIFICATION OF TEXT DOCUMENTS USING INTEGER REPRESENTATION AND REGRESSION: AN INTEGRATED APPROACH

Evaluation of a College Freshman Diversity Research Program

THE ANTINOMY OF THE VARIABLE: A TARSKIAN RESOLUTION Bryan Pickel and Brian Rabern University of Edinburgh

Intermediate Computable General Equilibrium (CGE) Modelling: Online Single Country Course

OFFICE SUPPORT SPECIALIST Technical Diploma

Radius STEM Readiness TM

Towards a MWE-driven A* parsing with LTAGs [WG2,WG3]

Catchy Title for Machine

Multisensor Data Fusion: From Algorithms And Architectural Design To Applications (Devices, Circuits, And Systems)

THE UNIVERSITY OF SYDNEY Semester 2, Information Sheet for MATH2068/2988 Number Theory and Cryptography

Syllabus ENGR 190 Introductory Calculus (QR)

Developing True/False Test Sheet Generating System with Diagnosing Basic Cognitive Ability

Basic Parsing with Context-Free Grammars. Some slides adapted from Julia Hirschberg and Dan Jurafsky 1

Section 2 Command Economies Study Guide Answers

Version Space. Term 2012/2013 LSI - FIB. Javier Béjar cbea (LSI - FIB) Version Space Term 2012/ / 18

Focusing bound pronouns

Transcription:

Regular language From Wikipedia, the free encyclopedia "Rational language" redirects here. For the market logic concept, see Market logic. In theoretical computer science, a regular language is a formal language (i.e., a possibly infinite set of finite sequences of symbols from a finite alphabet) that satisfies the following equivalent properties: it can be accepted by a deterministic finite state machine it can be accepted by a nondeterministic finite state machine it can be accepted by an alternating finite automaton it can be described by a regular expression. Note that the "regular expression" features provided with many programming languages are augmented with features that make them capable of recognizing languages which are not regular. it can be generated by a regular grammar it can be generated by a prefix grammar it can be accepted by a read-only Turing machine it can be defined in monadic second-order logic it is recognized by some finitely generated monoid Contents You can support Wikipedia by making a tax-deductible donation. 1 Regular languages over an alphabet 2 Complexity results 3 Closure properties 4 Deciding whether a language is regular 5 Finite languages 6 See also 7 References 8 External links Regular languages over an alphabet The collection of regular languages over an alphabet Σ is defined recursively as follows: the empty language Ø is a regular language. the empty string language { ε } is a regular language. For each a Σ, the singleton language { a } is a regular language. If A and B are regular languages, then A B (union), A B (concatenation), and A* (Kleene star) are regular languages. No other languages over Σ are regular. All finite languages are regular. Other typical examples include the language consisting of all strings over the alphabet {a, b} which contain an even number of a's, or the language consisting of all strings of the form: several a's followed by several b's. A simple example of a language that is not regular is the set of strings. Some additional examples are given below.

Complexity results In computational complexity theory, the complexity class of all regular languages is sometimes referred to as REGULAR or REG and equals DSPACE(O(1)), the decision problems that can be solved in constant space (the space used is independent of the input size). REGULAR AC 0, since it (trivially) contains the parity problem of determining whether the number of 1 bits in the input is even or odd and this problem is not in AC 0. [1] On the other hand, it is not known to contain AC 0. If a language is not regular, it requires a machine with at least Ω(log log n) space to recognize (where n is the input size). [2] In other words, DSPACE(o(log log n)) equals the class of regular languages. In practice, most nonregular problems are solved by machines taking at least logarithmic space. Closure properties The regular languages are closed under the following operations: That is, if L and P are regular languages, the following languages are regular as well: the complement of L the Kleene star L * of L the image φ(l) of L under a string homomorphism the concatenation of L and P the union of L and P the intersection of L and P the difference L P of L and P the reverse L R of L Deciding whether a language is regular To locate the regular languages in the Chomsky hierarchy, one notices that every regular language is context-free. The converse is not true: for example the language consisting of all strings having the same number of a's as b's is context-free but not regular. To prove that a language such as this is not regular, one uses the Myhill-Nerode theorem or the pumping lemma. There are two purely algebraic approaches to define regular languages. If Σ is a finite alphabet and Σ* denotes the free monoid over Σ consisting of all strings over Σ, f : Σ* M is a monoid homomorphism where M is a finite monoid, and S is a subset of M, then the set f 1 (S) is regular. Every regular language arises in this fashion. If L is any subset of Σ*, one defines an equivalence relation ~ (called the syntactic relation) on Σ* as follows: u ~ v is defined to mean uw L if and only if vw L for all w Σ* The language L is regular if and only if the number of equivalence classes of ~ is finite (A proof of this is provided in the article on the syntactic monoid). When a language is regular, then the number of equivalence classes is equal to the number of states of the minimal deterministic finite automaton accepting L. A similar set of statements can be formulated for a monoid. In this case, equivalence over M leads to the concept of a recognizable language. Finite languages A specific subset within the class of regular languages is the finite languages those containing only a finite number of words. These are obviously regular as one can create a regular expression that is the union of every word in the language, and thus are regular.

See also Pumping lemma for regular languages References Michael Sipser (1997). Introduction to the Theory of Computation. PWS Publishing. ISBN 0-534-94728-X. Chapter 1: Regular Languages, pp.31 90. Subsection "Decidable Problems Concerning Regular Languages" of section 4.1: Decidable Languages, pp.152 155. 1. ^ M. Furst, J. B. Saxe, and M. Sipser. Parity, circuits, and the polynomial-time hierarchy. Math. Systems Theory, 17:13 27, 1984. 2. ^ J. Hartmanis, P. L. Lewis II, and R. E. Stearns. Hierarchies of memory-limited computations. Proceedings of the 6th Annual IEEE Symposium on Switching Circuit Theory and Logic Design, pp. 179 190. 1965. External links REG at Complexity Zoo Chomsky hierarchy Automata theory: formal languages and formal grammars Minimal Grammars Languages automaton Type-0 Unrestricted Recursively enumerable Turing machine n/a (no common name) Recursive Decider Type-1 Context-sensitive Context-sensitive Linear-bounded n/a Indexed Indexed Nested stack n/a Tree-adjoining etc. (Mildly context-sensitive) Embedded pushdown Type-2 Context-free Context-free Nondeterministic pushdown n/a Deterministic context-free Deterministic context-free Deterministic pushdown Type-3 Regular Regular Finite n/a n/a Star-free Aperiodic finite Each category of languages or grammars is a proper subset of the category directly above it, and any automaton in each category has an equivalent automaton in the category directly above it. Retrieved from "http://en.wikipedia.org/wiki/regular_language" Categories: Formal languages This page was last modified on 2 July 2008, at 11:40. All text is available under the terms of the GNU Free Documentation License. (See Copyrights for details.) Wikipedia is a registered trademark of the Wikimedia Foundation, Inc., a U.S. registered 501(c)(3) tax-deductible nonprofit charity.

file://c:\windows\pchealth\helpctr\datacoll\collecteddata_21.xml Page 1 of 1 30/04/2007 <?xml version="1.0" encoding="unicode"?> - <CIM CIMVERSION="2.0" DTDVERSION="2.0"> - <DECLARATION> - <DECLGROUP.WITHPATH> - <VALUE.OBJECTWITHPATH> - <INSTANCEPATH> - <NAMESPACEPATH> <HOST>TABLET</HOST> - <LOCALNAMESPACEPATH> <NAMESPACE NAME="root" /> <NAMESPACE NAME="cimv2" /> </LOCALNAMESPACEPATH> </NAMESPACEPATH> - <INSTANCENAME CLASSNAME="Win32_DeviceMemoryAddress"> - <KEYBINDING NAME="StartingAddress"> <KEYVALUE VALUETYPE="string">4291690496</KEYVALUE> </KEYBINDING> </INSTANCENAME> </INSTANCEPATH> - <INSTANCE CLASSNAME="Win32_DeviceMemoryAddress"> - <PROPERTY NAME="Description" TYPE="string"> <VALUE>0xFFCE0000-0xFFCFFFFF</VALUE> </PROPERTY> - <PROPERTY NAME="EndingAddress" TYPE="uint64"> <VALUE>4291821567</VALUE> </PROPERTY> - <PROPERTY NAME="StartingAddress" TYPE="uint64"> <VALUE>4291690496</VALUE> </PROPERTY> - <PROPERTY NAME="Change" TYPE="string"> <VALUE>Delete</VALUE> </PROPERTY> </INSTANCE> </VALUE.OBJECTWITHPATH> </DECLGROUP.WITHPATH> </DECLARATION> </CIM>