58
1 Computer Sciences Department

INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

  • Upload
    others

  • View
    22

  • Download
    0

Embed Size (px)

Citation preview

Page 1: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

1 Computer Sciences Department

Page 2: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference
Page 3: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Book: INTRODUCTION TO THE THEORY OF

COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER

Reference

3 Computer Sciences Department

Page 4: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Finite automaton

Infinite automaton

Formal definition

State diagram

Regular and Non-regular languages

The regular operations

Regular expression

Non determinism/ determinism

Equivalence of NFAS and DFAS

Equivalence of regular expression with finite automata

Computer Sciences Department 4

objectives

Page 5: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

REGULAR LANGUAGES

5 Computer Sciences Department

Page 6: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FINITE AUTOMATA

Finite automata are good models for computers with an extremely limited amount of memory.

The controller for an automatic door is one example of such a device.

The controller is in either of two states: "OPEN" or "CLOSED,"

6 Computer Sciences Department

Page 7: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

7

State transition table ?

N F R B

Closed

Open

Computer Sciences Department

Page 8: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Shapes “Figures ”

State

End state

arrow

8

State transition table ?

State

input

Computer Sciences Department 8

Page 9: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Finite automaton

9

It has three states, labeled ql, q2, and q3. The start state, q1, is indicated by the arrow pointing at it from nowhere. The accept state, q2, is the one with a double circle. The arrows going from one state to another are called transitions.

Computer Sciences Department

Page 10: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

10

For example, when we feed the input string 1101 to the machine (state diagram), the processing proceeds as follows.

Start in state q1. 2. Read 1, follow transition from q1 to q2. 3. Read 1, follow transition from q2 to q2. 4. Read 0, follow transition from q2 to q3. 5. Read 1, follow transition from q3 to q2- 6. Accept because Machine is in an accept state q2 at the end of the input.

Computer Sciences Department

Page 11: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FORMAL DEFINITION OF A FINITE AUTOMATON

11 Computer Sciences Department

Page 12: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

12 Computer Sciences Department

Page 13: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

13

Case M1

Computer Sciences Department

…………………..100

Page 14: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

EXAMPLES OF FINITE AUTOMATA

14 Computer Sciences Department

Page 15: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

EXAMPLES OF FINITE AUTOMATA

15 Computer Sciences Department

Page 16: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 16

Page 17: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

17 Computer Sciences Department

Page 18: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

REGULAR LANGUAGES

18 Computer Sciences Department

Page 19: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

DESIGNING FINITE AUTOMATA

you want to construct a finite automaton to recognize (the/a) language.

you have determined the necessary information

For example, suppose that the alphabet is { 0,1 } and that the language consists of all strings with an odd number of 1’s. You want to construct a finite automaton E1 to recognize this language.

19 Computer Sciences Department

Page 20: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

1’s (even or odd)?

20

Formal description????? Final state??????

Computer Sciences Department

Page 21: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 21

Page 22: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

THE REGULAR OPERATIONS

22

In arithmetic, the basic objects are numbers and the tools are operations for manipulating them, such as + and x. In the theory of computation the objects are languages and the tools include operations specifically designed for manipulating them.

Computer Sciences Department

Page 23: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

THE REGULAR OPERATIONS (cont.)

23 Computer Sciences Department

Page 24: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Concatenation aabaab = aabaab

Union aa | baab = aa and baab

Closure ab*a = aa and abbba

Parentheses a(a|b)aab = aaaab and abaab

(0* U 1*)??????????????

Computer Sciences Department 24

Examples

Page 25: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

NON DETERMINISM/ DETERMINISM

In a nondeterministic machine, several choices may exist for the next state at any point.

Nondeterminism is a generalization of determinism.

Deterministic computation - when the machine is in a given state and reads the next input symbol, we know what the next state will be-it is determined.

25 Computer Sciences Department

Page 26: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

NON DETERMINISM/ DETERMINISM (cont.)

The difference between a deterministic finite automaton, abbreviated DFA, and a nondeterministic finite automaton NFA:

1. State: every state of a DFA always has exactly one exiting transition arrow for each symbol in the alphabet.

2. Transition arrow’s Label: in a DFA, labels on the transition arrows are symbols from the alphabet. This NFA has an arrow with the label ɛ.

3. Nondeterminism may be viewed as a kind of parallel computation.

26 Computer Sciences Department

Page 27: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

NON DETERMINISM/ DETERMINISM (cont.)

If a state with an ɛ symbol on an exiting arrow is encountered, something similar happens. Without reading any input, the machine splits into multiple copies, one following each of the exiting є -labeled arrows and one staying at the current state.

27 Computer Sciences Department

Page 28: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

28 Computer Sciences Department

Page 29: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

The nondeterministic finite automaton

29 Computer Sciences Department

State q1 has one exiting arrow for 0, but it has two for 1 = NDFA

Page 30: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

The computation

of input 010110

30 Computer Sciences Department

Page 31: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

31 Computer Sciences Department

Page 32: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FORMAL DEFINITION OF A NONDETERMINISTIC FINITE

AUTOMATON

32 Computer Sciences Department

Page 33: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FORMAL DEFINITION OF A NONDETERMINISTIC FINITE AUTOMATON

33 Computer Sciences Department

Page 34: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FORMAL DEFINITION OF A NONDETERMINISTIC FINITE AUTOMATON

34

The following example explains a NFA M, with a binary alphabet, which determines if the input contains an even number of 0s or an even number of 1s. (Note that 0 occurrences is an even number of occurrences as well.) -Let M = (Q, Σ, T, s0, F). -Describe the formal description? -Describe state transition table? -Describe the state diagram?

Computer Sciences Department

Page 35: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

FORMAL DEFINITION OF A NONDETERMINISTIC FINITE AUTOMATON

35

Formal description: Σ = {0, 1}, Q = {s0, s1, s2, s3, s4}, E({s0}) = { s0, s1, s3 } F = {s1, s3}, and The transition function T can be defined by this state transition table.

Computer Sciences Department

Page 36: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

state diagram 1

36

The input contains an even number of 0s

Computer Sciences Department

Page 37: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

state diagram 2

37

The input contains an even number of 1s

Computer Sciences Department

Page 38: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

state diagram 1+2

38 Computer Sciences Department

Page 39: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

state diagram 1+2

39 Computer Sciences Department

Page 40: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

40

NFA

• An NFA for a language can be smaller and easier to construct than a DFA

• Strings whose next-to-last symbol is 1:

DFA:

NFA:

0

0 0

1

1

1 1

0

0,1

0,1

1

Computer Sciences Department

Page 41: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

EQUIVALENCE OF NFAS AND DFAS

NFAS AND DFAS machines are equivalent if they recognize the same language.

THEOREM 1.39

Every nondeterministic finite automaton has an equivalent deterministic finite automaton

41 Computer Sciences Department

Page 42: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

PROOF IDEA

How would you simulate the NFA if you were pretending to be a DFA?

What do you need to keep track of as the input string is processed? In the examples of NFAs you kept track of the various branches

of the computation by placing a finger on each state that could be active at given points in the input.

You updated the simulation by moving, adding, and removing fingers according to the way the NFA operates.

All you needed to keep track (the set of states having fingers on them).

42 Computer Sciences Department

Page 43: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Regular Expressions and Non-regular Languages

Computer Sciences Department 43

Page 44: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

REGULAR EXPRESSIONS

In arithmetic, we can use the operations + and x to build up expressions such as (5 + 3) x 4.

Similarly, we can use the regular operations to build up expressions describing languages, which are called regular expressions. An example is: (O U 1)0*.

44 Computer Sciences Department

Page 45: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 45

Page 46: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

46

Computer Sciences Department

Page 47: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Fact: Regular expressions and finite automata are equivalent in their descriptive power.

Any regular expression can be converted into a finite automaton that recognizes the language it describes, and vice versa.

Computer Sciences Department 47

EQUIVALENCE WITH FINITE AUTOMATA

Page 48: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 48

Page 49: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 49

Page 50: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 50

Page 51: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

Computer Sciences Department 51

Page 52: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

52

Non-regularity

regular. whilenonregular be out to turn will and

}.substrings as 10 and 01

of soccurrence ofnumber equalan has |{

1s} and 0s ofnumber equalan has |{

}0|10{

them.recognize to

states ofnumber infinite with machines require toseem and ,,

DCB

wwD

wwC

nnnB

DCB

Computer Sciences Department

Page 53: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

53

Theorem - Pumping Lemma

.|| 3.

and ,0|| 2.

,,0each for 1.

:conditions following thesatisfying ,

pieces, threeinto divided becan then

,|| with if where,length) pumping (the

number a is e then therlanguage,regular a is If

pxy

y

Azxyi

xyzs

s

psAs

pA

i

Computer Sciences Department

Page 54: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

54

Proof of Th 1.37

state. acceptingan is where

))()((

21

21

21

a

nlk

akk

nlk

q

xyzsssss

qqqqq

ssssss

Computer Sciences Department

Page 55: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

55

Example

)2( ion.contradict toleads

which, that seeeazily can wecase,each In ., nonzero

somefor ,1 and ,10,0 cases threebecan There

.0any for and ,1|| with as

decomposed becan 10 Then, length. pumping thebe Let

regular. is hat contrary t theAssume

}0|10{

n

Bzxylk

yyy

nBzxyyxyzs

sp

B

regular. not isnB

n

llkk

n

pp

nn

Proof.

:Claim

Computer Sciences Department

Page 56: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

56

Example

.assumption thescontradict which , that seeeazily can We

. nonzero somefor 0 havemust Then we

.0any for and ,|| and 1|| with as

decomposed becan 10 Then, length. pumping thebe Let

regular. is hat contrary t theAssume

}1s and 0s ofnumber equalan has |{

Czxy

ky

nCzxypxyyxyzs

sp

C

regular. not is

wwC

n

k

n

pp

Proof.

:Claim

Computer Sciences Department

Page 57: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

57

Example

.assumption thescontradict which , that seeeazily can We

. nonzero somefor 0 havemust Then we

.0any for and ,|| and 1|| with like pieces into

split becan This .1100let andlength pumping thebe Let

regular. is hat contrary t theAssume

}}1,0{|{ *

Fzxy

ky

nFzxypxyyxyzs

sFsp

F

regular. not iswwwF

n

k

n

pp

Proof.

:Claim

Computer Sciences Department

Page 58: INTRODUCTION TO THE THEORY OFcs322d.yolasite.com/resources/2 - Automata and Languages.pdfBook: INTRODUCTION TO THE THEORY OF COMPUTATION, SECOND EDITION, by: MICHAEL SIPSER Reference

58

Example - Pumping Down

.assumption thescontradict which , that seeeazily can We

. nonzero somefor 0 havemust Then we

.0any for and ,|| and 1|| with into

split becan This .10let andlength pumping thebe Let

regular. is hat contrary t theAssume

}|10{

0

1

Exzzxy

ky

nEzxypxyyxyzs

ssp

E

regular. not isjiE

k

n

pp

ji

Proof.

:Claim

Computer Sciences Department