pumping Lemma

# pumping Lemma - S tandard Re se pre ntations of Re gular...

This preview shows pages 1–13. Sign up to view the full content.

Fall 2004-2005 CSI 301 1 Standard Representations of Regular Languages Regular Languages DFAs NFAs Regular Expressions Grammars

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 2 When we say: We are given a Regular Language We mean: L Language is in a standard representation L
Fall 2004-2005 CSI 301 3 Elementary Questions about Regular Languages

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 4 Membership Question Question: Given regular language and string how can we check if ? L L w w Answer: Take the DFA that accepts and check if is accepted L w
CSI 301 5 DFA L w L w w w

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 6 Given regular language how can we check if is empty: ? L L Take the DFA that accepts Check if there is any path from the initial state to a final state L ) ( = L Question: Answer:
CSI 301 7 DFA L = L

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 8 Given regular language how can we check if is finite? L L Take the DFA that accepts Check if there is a walk with cycle from the initial state to a final state L Question: Answer:
Fall 2004-2005 CSI 301 9 DFA L is infinite L is finite

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 10 Given regular languages and how can we check if ? 1 L 2 L 2 1 L L = Question: = ) ( ) ( 2 1 2 1 L L L L Find if Answer:
Fall 2004-2005 CSI 301 11 = ) ( ) ( 2 1 2 1 L L L L = 2 1 L L = 2 1 L L and 2 1 L L = 1 L 2 L 1 L 2 L 2 1 L L 1 2 L L 2 L 1 L

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Fall 2004-2005 CSI 301 12
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/25/2011 for the course CSI 301 taught by Professor Mr.elienasr during the Spring '10 term at American University of Science & Tech.

### Page1 / 51

pumping Lemma - S tandard Re se pre ntations of Re gular...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online