9/17, 9/19 - Regular Expressions and Finite Automata 2.8 Flashcards

1
Q

Theorem 2.8.1

A

Let L be a language. Then L is regular if and only if there exists a regular expression that describes L. (knowing the proof to this is important)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Lemma 2.8.2

A
Let Σ be an alphabet, and let B, C, and L be languages in
Σ^∗ such that Ee ̸∈ B and 
L = BL ∪ C. 
Then,
L = B^∗C.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Lemma 2.8.3

A

Let n≥1 be an integer and, for 1 ≤ i ≤ n and 1 ≤ j ≤ n, let B_ij and C_i be regular expressions such that Ee ̸∈ B_ij. Let L_1, L_2, … ,L_n be languages that satisfy
L_i = (^nU_j=1 B_ijL_j) ∪ C_i for 1 ≤ i ≤ n.
Then L1 can be expressed as a regular expression only involving the regular
expressions B_ij and C_i.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Two parts of proving “Let L be a language. Then L is regular if and only if there exists a regular expression that describes L.”

A
  • In Section 2.8.1, we will prove that every regular expression describes a regular language.
  • In Section 2.8.2, we will prove that every DFA M can be converted to a regular expression that describes the language L(M).

These two results will prove Theorem 2.8.1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

For L = BL ∪ C.

A

This process hopefully convinces you that any string u in L can be written as the concatenation of zero or more strings in B, followed by one string in C. In fact, L consists of exactly those strings having this property:
Let Σ be an alphabet, and let B, C, and L be languages in
Σ^∗ such that Ee ̸∈ B and Then
L = BL ∪ C. L = B^∗C.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly