1 / 5

Regular Languages

Regular Languages. Definitions Review of RE, RL, and Kleen’s Theorem Properties of RL. Definitions Review. RE : 1. ,  , and a   are RE’s. 2. If r 1 and r 2 are regular expressions, so are r 1 + r 2 , r 1 • r 2 , r 1 * , and (r 1 ). 3. Those are the only RE’s.

Download Presentation

Regular Languages

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Regular Languages Definitions Review of RE, RL, and Kleen’s Theorem Properties of RL

  2. Definitions Review • RE : • 1. ,  , and a  are RE’s. • 2. If r1 and r2 are regular expressions, so are r1 + r2 , r1 • r2 , r1* , and (r1). • 3. Those are the only RE’s. • Kleen’s Theorem: L(FA) = L(TG) = L(RE) • RL: A language that can be defined by a RE

  3. Theorem 10 • If L1 and L2 are RL’s, then L1+ L2, L1 L2, and L1* are also RL’s. • Proof: (outline) L1+ L2 : r1 + r2 L1 L2 : r1 • r2 L1* : r1*

  4. Theorem 11 • If L is a RL, then L’ is also a RL. • Proof: (outline) Change all final states --> nonfinal states & change all nonfinal states --> final states

  5. Theorem 12 • If L1 and L2 are RL’s, then L1 L2 is also RL. • Proof: (outline) L1 L2 = (L1’ + L2’)’

More Related