subject
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.

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 20.06.2019 18:04, jeronimo18
Pls super important solve the botton one
Answers: 1
image
Mathematics, 21.06.2019 19:30, auviannadority13
Equation for the calculation double 2 and then add 5
Answers: 1
image
Mathematics, 21.06.2019 19:30, estherstlouis7812
1. find the area of the unshaded square 2. find the area of the large square 3. what is the area of the frame represented by the shaded region show
Answers: 1
image
Mathematics, 21.06.2019 20:50, tra10money
An object is translated by (x + 4, y - 2). if one point in the image has the coordinates (5, -3), what would be the coordinates of its pre-image? (9, -5) (1, -5) (9, -1) (1, -1)
Answers: 1
You know the right answer?
Characterizing the strings in a recursively defined set.
the recursive definition given below...

Questions in other subjects: