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 to prove of disprove each of the following statements about The Test for a RegularExpression 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 is truc, where and are
two regular expressions with the same set of variables, is:
Convert and to concrete regular expressions and respectively,
by replacing each variable by a concrete symbol.
Test whether If so then 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 However,
we can use adhoc 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 : The above test correctly identifies the true laws for regular
expressions.
regular expressions.
a
b
c
d
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
