Question: Using the method of Theorem 3 . 1 4 to prove of disprove each of the following statements about 3 . 4 . 7 The

Using the method of Theorem 3.14 to prove of disprove each of the following statements about3.4.7 The Test for a Regular-Expression Algebraic Law
Now, we can state and prove the test for whether or not a law of regular
expressions is truc. The test for whether E=F is truc, where E and F are
two regular expressions with the same set of variables, is:
Convert E and F to concrete regular expressions C and D, respectively,
by replacing each variable by a concrete symbol.
Test whether L(C)=L(D). If so, then E=F is a true law, and if not,
then the "law" is false. Note that we shall not see the test for whether two
regular expressions denote the same language until Section 4.4. However,
we can use ad-hoc means to decide the equality of the pairs of languages
that we actually care about. Recall that if thc languages are not the same,
than it is sufficient to provide one countercxample: a single string that is
in one language but not the other.
Theorem 3.14: The above test correctly identifies the true laws for regular
expressions.
regular expressions.
(a)R(S+T)=RS+RT.
(b)(R+S)**=(R**S**)**
(c)(R+S)**=R**+S**.
(d)(RS+R)**RS=(RR**S)**.
 Using the method of Theorem 3.14 to prove of disprove each

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!