Namely, for regular languages L1. Concatenation. Regular Languages. Star operation L 1. Complement. For regular language L the complement L is regular

Similar documents
Applications of Regular Closure

CD5080 AUBER RECAPITULATION. Context-Free Languages. Models of Computation, Languages and Automata. S asb. S bsb

Formal Languages The Pumping Lemma for CFLs

Content. Languages, Alphabets and Strings. Operations on Strings. a ab abba baba. aaabbbaaba b 5. Languages. A language is a set of strings

Positive Properties of Context-Free languages

If a is any non zero real or imaginary number and m is the positive integer, then a...

Name: Period: Date: 2.1 Rules of Exponents

ALGEBRA II CHAPTER 7 NOTES. Name

Hypergeometric Functions and Lucas Numbers

EXPONENTS AND LOGARITHMS

( ) 2 3 ( ) I. Order of operations II. Scientific Notation. Simplify. Write answers in scientific notation. III.

Northwest High School s Algebra 2

Data Compression Techniques (Spring 2012) Model Solutions for Exercise 4

Thomas Whitham Sixth Form

Course Material. CS Lecture 1 Deterministic Finite Automata. Grading and Policies. Workload. Website:

Introduction to Matrix Algebra

Accuplacer Elementary Algebra Study Guide

* power rule: * fraction raised to negative exponent: * expanded power rule:

Discrete Mathematics I Tutorial 12

1 Tangent Line Problem

M098 Carson Elementary and Intermediate Algebra 3e Section 10.2

Taylor series expansion of nonlinear integrodifferential equations

Westchester Community College Elementary Algebra Study Guide for the ACCUPLACER

Definition Integral. over[ ab, ] the sum of the form. 2. Definite Integral

Infinite Series Sequences: terms nth term Listing Terms of a Sequence 2 n recursively defined n+1 Pattern Recognition for Sequences Ex:

07 - SEQUENCES AND SERIES Page 1 ( Answers at he end of all questions ) b, z = n

Connectivity in Graphs. CS311H: Discrete Mathematics. Graph Theory II. Example. Paths. Connectedness. Example

Limits and an Introduction to Calculus

MATH 104: INTRODUCTORY ANALYSIS SPRING 2008/09 PROBLEM SET 10 SOLUTIONS. f m. and. f m = 0. and x i = a + i. a + i. a + n 2. n(n + 1) = a(b a) +

82A Engineering Mathematics

Assessment Center Elementary Algebra Study Guide for the ACCUPLACER (CPT)

CH 45 INTRO TO FRACTIONS

ON n-fold FILTERS IN BL-ALGEBRAS

Section The Precise Definition Of A Limit

Chapter 5. Integration

Math 201 (Introduction to Analysis) Fall

12.2 The Definite Integrals (5.2)

RULES FOR MANIPULATING SURDS b. This is the addition law of surds with the same radicals. (ii)

Unit 1. Extending the Number System. 2 Jordan School District

Math 153: Lecture Notes For Chapter 1

Intermediate Arithmetic

Modified Farey Trees and Pythagorean Triples

Orthogonality, orthogonalization, least squares

a f(x)dx is divergent.

Running an NFA & the subset algorithm (NFA->DFA) CS 350 Fall 2018 gilray.org/classes/fall2018/cs350/

Graphing Review Part 3: Polynomials

FREE Download Study Package from website: &

PhysicsAndMathsTutor.com

B. Examples 1. Finite Sums finite sums are an example of Riemann Sums in which each subinterval has the same length and the same x i

Addendum. Addendum. Vector Review. Department of Computer Science and Engineering 1-1

Mathematical Induction (selected questions)

FOURIER SERIES PART I: DEFINITIONS AND EXAMPLES. To a 2π-periodic function f(x) we will associate a trigonometric series. a n cos(nx) + b n sin(nx),

LAWS OF INDICES M.K. HOME TUITION. Mathematics Revision Guides Level: GCSE Higher Tier

, we would have a series, designated as + j 1

Société de Calcul Mathématique SA Mathematical Modelling Company, Corp.

Section 2.2. Matrix Multiplication

National Quali cations AHEXEMPLAR PAPER ONLY

Worksheet #2 Math 285 Name: 1. Solve the following systems of linear equations. The prove that the solutions forms a subspace of

Approximate Integration

Student Success Center Elementary Algebra Study Guide for the ACCUPLACER (CPT)

19 Fourier Series and Practical Harmonic Analysis

Viscosity Solutions with Asymptotic Behavior of Hessian Quotient Equations. Limei Dai +

a) Read over steps (1)- (4) below and sketch the path of the cycle on a P V plot on the graph below. Label all appropriate points.

INMO-2018 problems and solutions

Here are some examples of algebras: F α = A(G). Also, if A, B A(G) then A, B F α. F α = A(G). In other words, A(G)

Kp for a Wall with Friction with Exact Slip Surface

Algebra 2 Readiness Summer Packet El Segundo High School

( ) dx ; f ( x ) is height and Δx is

SCHOOL OF MATHEMATICS AND STATISTICS. Mathematics II (Materials)

Math 152 Intermediate Algebra

Geometric Sequences. Geometric Sequence. Geometric sequences have a common ratio.

Dynamics of Structures

degree non-homogeneous Diophantine equation in six unknowns represented by x y 2z

NOP 10 * * * * + NOP NOP + < TIME 1 TIME 2 TIME 3 TIME 4 NOP

AP Calculus AB AP Review

The Definite Riemann Integral

MTH 146 Class 16 Notes

Chapter 2. LOGARITHMS

10.5 Power Series. In this section, we are going to start talking about power series. A power series is a series of the form

Summer Math Requirement Algebra II Review For students entering Pre- Calculus Theory or Pre- Calculus Honors

Taylor Polynomials. The Tangent Line. (a, f (a)) and has the same slope as the curve y = f (x) at that point. It is the best

Algebra 2 Important Things to Know Chapters bx c can be factored into... y x 5x. 2 8x. x = a then the solutions to the equation are given by

STK4011 and STK9011 Autumn 2016

0 otherwise. sin( nx)sin( kx) 0 otherwise. cos( nx) sin( kx) dx 0 for all integers n, k.

Lincoln Land Community College Placement and Testing Office

Jacobi symbols. p 1. Note: The Jacobi symbol does not necessarily distinguish between quadratic residues and nonresidues. That is, we could have ( a

Advanced Calculus Test File Spring Test 1

CS 573 Automata Theory and Formal Languages

Deriving Euler s identity and Kummer s series of Gauss s hypergeometric functions using the symmetries of Wigner d-matrix

Solutions to RSPL/1. log 3. When x = 1, t = 0 and when x = 3, t = log 3 = sin(log 3) 4. Given planes are 2x + y + 2z 8 = 0, i.e.

Some Properties of Brzozowski Derivatives of Regular Expressions

Let. Then. k n. And. Φ npq. npq. ε 2. Φ npq npq. npq. = ε. k will be very close to p. If n is large enough, the ratio n

,... are the terms of the sequence. If the domain consists of the first n positive integers only, the sequence is a finite sequence.

Introduction of Fourier Series to First Year Undergraduate Engineering Students

4. When is the particle speeding up? Why? 5. When is the particle slowing down? Why?

Prefix-Free Regular-Expression Matching

THE INTEGRAL TEST AND ESTIMATES OF SUMS

SM2H. Unit 2 Polynomials, Exponents, Radicals & Complex Numbers Notes. 3.1 Number Theory

18.S34 (FALL, 2007) GREATEST INTEGER PROBLEMS. n + n + 1 = 4n + 2.

Fourier Series and Applications

Transcription:

CD5560 FABER For guges, Autot d Modes of Coputtio eture 5 Märde Uiversit 2003 Cotet More Properties of Regur guges (R) Stdrd Represettios of R Eeetr Questios out R No-Regur guges The Pigeohoe Priipe The Pupig e Appitios of the Pupig e More Properties of Regur guges 1 2 3 We hve prove Regur guges re osed uder Uio Cotetio Str opertio Ne, for regur guges 1 d 2 : Uio Cotetio Str opertio 1 2 1 2 1 Regur guges We i prove Regur guges re so osed uder Copeet Itersetio Reverse Reverse R 1 4 5 6 Ne, for regur guges 1 d 2 : Copeet Itersetio 1 1 2 Regur guges Theore Copeet For regur guge the opeet is regur Te tht epts d hge: ofi sttes fi sttes (o-eptig sttes eptig sttes) Epe = ( * ),, q0 q1 q2 = ( + ( + )( + ), ) Resutig epts, q0 q1 q2 7 8 9

Itersetio 1, 2 regur Theore For regur guges 1 d 2 the itersetio 1 2 is regur App DeMorg s : = 1 2 1 2 1, 2 1 2 1 2 1 2 regur regur regur regur Stdrd Represettios of Regur guges 10 11 12 Stdrd Represettios of Regur guges Meership Questio Regur guges Regur Epressios s NFAs Regur Grrs 13 Eeetr Questios out Regur guges 14 Questio: Aser: Give regur guge d strig ho e he if? Te the tht epts d he if is epted 15 Questio: Give regur guge ho e he if is ept:? ( = ) Aser: Te the tht epts Che if there is pth fro the iiti stte to fi stte = 16 17 18

Questio: Give regur guge ho e he if is fiite? is ifiite Questio: Give regur guges 1 d 2 ho e he if 1 = 2? Aser: Te the tht epts Che if there is ith e fro the iiti stte to fi stte is fiite Aser: Fid if ( 1 2 1 2 ) ( ) = 19 20 21 ( 1 2 1 2 ) ( ) = ( 1 2 1 2 ) ( ) 1 2 1 = d 1 2 = 2 2 2 1 1 1 2 2 1 1 2 1 or 1 2 2 2 1 1 2 2 1 No-Regur guges 1 = 2 22 1 2 23 24 No-regur guges Regur guges??? * * + + ( + )* et... Ho e prove tht guge is ot regur? Prove tht there is o tht epts Proe: this is ot es to prove Soutio: the Pupig e! The Pigeohoe Priipe 25 26 27

4 pigeos A pigeohoe ust oti t est to pigeos The Pigeohoe Priipe (Postfpriipe eer Brevduvepriipe?) 3 Pigeohoes (eer postf) 28 29 30 The Pigeohoe Priipe pigeos pigeos pigeohoes... > pigeohoes > There is pigeohoe ith t est 2 pigeos The Pigeohoe Priipe d s...... 31 32 33 ith 4 sttes I s of strigs: o stte is repeted I s of strigs:... stte is repeted q 1 q 2 q3 q 4 q 1 q 2 q3 q 4 q 1 q 2 q3 q 4 34 35 36

4 If the of strig hs egth the stte is repeted q 1 q 2 q 3 q 4 Pigeohoe priipe for : If i of strig trsitios sttes of the stte is repeted I other ords for strig trsitios re pigeos q sttes re pigeohoes 37 38 39 I geer A strig hs egth uer of sttes A stte q ust e repeted i the of of The Pupig e for Regur guges Te ifiite regur guge tht epts sttes 40 41 42 Te strig ith = + 1 If strig hs egth ( uer of sttes) the, fro the pigeohoe priipe: Write = There is ith e stte q is repeted i the... 43 44 45

egths: (fro pigeo priipe, s q is the first repetitio i sequee) 1 (there is i the grph) Oservtio The strig is epted Oservtio The strig is epted 46 47 48 Oservtio The strig is epted Geer The strig i = 0,1, 2,... i is epted The Pupig e Give ifiite regur guge there eists iteger for strig ith egth 49 50 e rite = 1 ith d suh tht: i i = 0,1, 2,... 51 Appitios of the Pupig e Theore The guge = { : 0} is ot regur Use the Pupig e! = { : 0} Assue for otrditio tht is regur guge Sie is ifiite e pp the Pupig e 52 53 54

= { : 0} et e the iteger i the Pupig e Pi strig suh tht: e.g. pi egth = Write: = Fro the Pupig e it ust e tht: egth =, 1, 1 =............ We hve: = Fro the Pupig e: We hoose = i = 0 =, 1 i i = 0,1, 2,... 55 56 CONTRADICTION! 57 Our ssuptio tht is regur guge is ot true No-regur guges { : 0} Theore The guge R = { : Σ*} Σ = {, } Cousio is ot regur guge Regur guges * * + + ( + )* et... is ot regur Use the Pupig e! END OF PROOF 58 59 60 R = { : Σ*} Assue for otrditio tht is regur guge Sie is ifiite e pp the Pupig e et e the iteger i the Pupig e Pi strig suh tht: egth pi = { : Σ*} = R Write it ust e tht egth Fro the Pupig e =, 1 =, 1 =.................. 61 62 63

=, 1 =.................. We hoose i = 0 So e get s o the eft, hie is o the right CONTRADICTION! 64 Our ssuptio tht is regur guge is ot true Cousio is ot regur guge No-regur guges { : 0} { R : Σ*} Regur guges * * + + ( + )* et... END OF PROOF 65 66 Theore The guge + = { :, 0} + = { :, 0} + = { :, 0} is ot regur Use the Pupig e Assue for otrditio tht is regur guge Sie is ifiite e pp the Pupig e et e the iteger i the Pupig e Pi strig suh tht: pi egth = 2 67 68 69 Write 2 it ust e tht egth 2 Fro the Pupig e =, 1 =, 1 2 =.................. We hve: Fro the Pupig e Thus: 0 i i = 0,1, 2,... 0 = = = 2 =, 1 2 BUT: 2 + 2 CONTRADICTION! = { :, 0} 70 71 72

Our ssuptio tht is regur guge is ot true Cousio is ot regur guge No-regur guges { R : Σ*} { : 0 } + { :, 0} Regur guges Theore The guge = {! : 0} is ot regur! = 1 2 ( 1) Use the Pupig e END OF PROOF 73 74 75 = {! : 0} Assue for otrditio tht is regur guge Sie is ifiite e pp the Pupig e et e the iteger i the Pupig e Pi strig suh tht: pi = {! : 0} egth! = Write! = Fro the Pupig e it ust e tht egth, 1! =............... =, 1! 76 77 78 We hve: =! =, 1 Fro the Pupig e: Ad sie:!+ 1 = {! : 0} Hoever for > 1! +!+!+! <! +! =! ( + 1) = ( +1)! i i = 0,1, 2,... Thus: 2 2 = =!+ There is p! + = p! 1! + < ( + 1)!! + p! for p 79 80 81

BUT:!+ = {! : 0} d 1 Our ssuptio tht is regur guge is ot true + No-regur guges { R : Σ*} { : 0} { :, 0} {! : 0}!+ Cousio is ot regur guge Regur guges CONTRADICTION! END OF PROOF 82 83 84 Theore The guge i = { : i prie} is ot regur Use the Pupig e 85 i = { : i prie} Assue for otrditio tht is regur guge Sie is ifiite e pp the Pupig e 86 Fro the Pupig e it ust e tht egth, 1 Fro the Pupig e: i i = 0,1, 2,... The egth of egth + 1 = ust e prie for eh > strig of. 87 But egth( + 1 ) = egth( = egth( ) + egth( hih is ot prie! ) ) = = + ( egth( )) = (1 + egth( )) Our ssuptio tht is regur guge is ot true Cousio is ot regur guge + No-regur guges { R : Σ*} { : 0} { :, 0} {! : 0} Regur guges Thus: CONTRADICTION! 88 END OF PROOF 89 i = { : i prie} 90