Examples - PowerPoint PPT Presentation

About This Presentation
Title:

Examples

Description:

Title: PowerPoint Presentation Last modified by: Prasad Created Date: 1/1/1601 12:00:00 AM Document presentation format: On-screen Show (4:3) Other titles – PowerPoint PPT presentation

Number of Views:9
Avg rating:3.0/5.0
Slides: 9
Provided by: wrightEdu
Learn more at: http://cecs.wright.edu
Category:

less

Transcript and Presenter's Notes

Title: Examples


1
Examples
  • Applying Pumping Lemma

2
  • Proof by contradiction
  • Let be accepted by a k-state DFA.
  • Choose
  • For all prefixes of length
  • show there exists such that
  • i.e.,

3
  • Choose
  • (For this specific problem happens to
    be independent of j, but that need not always be
    the case.)
  • is non-regular because it violates the
    necessary condition.

4
  • Proof (For this example, choice of initial
    string is crucial.)
  • For this choice of s, the pumping lemma cannot
    generate a contradiction!
  • However, let instead.

5
  • For
  • Thus, by pumping the substring containing as 0
    times (effectively deleting it), the number of
    as can be made smaller than the number of bs.
  • So, by pumping lemma, L is non-regular.

6
  • Proof by contradiction
  • If is regular, then so is ,
    the complement of
  • But which is known to be
    non-regular.
  • So, cannot be regular.
  • Proving to be non-regular using pumping
    lemma may be difficult/impossible.

7
Source of the problem?
Regular (ultimately periodic)
Prime (sparse)

Composite(dense)

8
Summary of Proof Techniques Employed
  • Counter Examples
  • Constructions/Simulations
  • Induction Proofs
  • Impossibility Proofs
  • Proofs by Contradiction
  • Reduction Proofs Closure Properties
Write a Comment
User Comments (0)
About PowerShow.com