Question
Let be the set of all strings, including the null string, that can be constructed by repeated application of the following rules: If , then and . If and , then .
Prove that if has equal number of 's and 's, then .
Solution
VerifiedStep 1
1 of 3Given:
=set of all strings including null string that can be constructed as follows:
If , then and (1)
If and , then (2)
To proof: If has an equal number of 's and 's, then .
Let be the statement "If has an equal number of 's and 's and of length , then ".
is the only string of length 0.
has an equal number of 's and 's (as it contains 0 's and 0 's).
However, by definition of and thus is true.
Let be true.
Create a free account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
Create a free account to view solutions
By signing up, you accept Quizlet's Terms of Service and Privacy Policy
Recommended textbook solutions

Discrete Mathematics and Its Applications
7th Edition•ISBN: 9780073383095 (8 more)Kenneth Rosen4,283 solutions


Discrete Mathematics and Its Applications
8th Edition•ISBN: 9781259676512 (3 more)Kenneth Rosen4,397 solutions

More related questions
- calculus
1/4
- calculus
1/7