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

Another question on Mathematics

question
Mathematics, 21.06.2019 14:50
Question 101 points)which equation in slope-intercept form represents the line that passes through (5, 1) and(-4,7)
Answers: 1
question
Mathematics, 21.06.2019 23:30
Adele is five years older than timothy. in three years, timothy will be 2/3 of adele’s age. what is adele‘s current age?
Answers: 1
question
Mathematics, 21.06.2019 23:40
30 ! the graph shows the number of siblings different students have. select from the drop-down menus to correctly complete the statement.
Answers: 1
question
Mathematics, 22.06.2019 01:00
Given that δabc is similar to δdef, which is a possible trigonometric ratio for ∠d? a) tan d = 24 30 b) tan d = 30 24 c) tan d = 18 24 d) tan d = 24 18
Answers: 2
You know the right answer?
Characterizing the strings in a recursively defined set.
the recursive definition given below...
Questions
question
English, 02.02.2020 06:40