Mathematics
Mathematics, 02.12.2019 21:31, darius12318

Characterizing the strings in a recursively defined set.
the recursive definition given below defines a set s of strings over the alphabet {a, b}:
base case: ฮป โˆˆ s and a โˆˆ s

recursive rule: if x โˆˆ s then,
xb โˆˆ s (rule 1)
xba โˆˆ s (rule 2)
(a) use structural induction to prove that if a string x โˆˆ s, then x does not have two or more consecutive a's.
(b) use strong induction on the length of a string x to show that if x does not have two or more consecutive a's, then x โˆˆ s. specifically, prove the following statement parameterized by n:

for any n โ‰ฅ 0, let x be a string of length n over the alphabet {a, b} that does not have two or more consecutive a's, then x โˆˆ s.

answer
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 15:10, Remba
5x + 2 = 12 solve the following equation. then place the correct number in the box provided.
Answers: 2
image
Mathematics, 21.06.2019 20:30, angellll4455
Secant be and cf intersect at point d inside a what is the measure of cde
Answers: 1
image
Mathematics, 21.06.2019 23:00, koryhudson8124
How many heads would you expect if you flipped a coin twice? first, fill in the table below with the correct probabilities. hint: the sample space for flipping a coin twice is {hh, ht, th, tt}. a = b = c = f
Answers: 1
image
Mathematics, 22.06.2019 01:30, Queenempress9380
A23 โ€“ year โ€“ old male buys 100/300/100 liability insurance, collision insurance with a $100 deductible, and comprehensive insurance with a $250 deductible? what is his total annual premium? (a) $1142.00 (b) $1765.45 (c) $1770.10 (d) $1785.25
Answers: 2
Do you know the correct answer?
Characterizing the strings in a recursively defined set.
the recursive definition given below...

Questions in other subjects: