11.5: Activities
( \newcommand{\kernel}{\mathrm{null}\,}\)
Develop an inductive definition of the set of words Σ∗ from the alphabet Σ={a,b,c}.
Then verify that the word ccababb is in the set by tracing it back to the base clause.
- Hint.
-
Steps:
- Think of a simple way to form new words from old (inductive clause).
- Then think about the basic words you need to get the process started (base clause).
- Finally, decide whether you are certain you can form every possible word in a finite number steps starting at some base word.
Let Σ={a,z}. Write an inductive definition for the set of words in Σ∗ that have the same number of a letters as z letters.