Discrete Mathematics and Its Applications, Seventh Edition

Published by McGraw-Hill Education
ISBN 10: 0073383090
ISBN 13: 978-0-07338-309-5

Chapter 13 - Section 13.3 - Finite-State Machines with No Output - Exercises - Page 876: 15

Answer

$f (s,xy) = f (f (s,x), y)$ for all states s ∈ S and all strings $x ∈ I ^∗$ and $y ∈ I^∗$.

Work Step by Step

Using a deterministic finite-state automaton M = $(S, I, f, s_0, F)$, using structural induction and the recursive definition of the extended transition function f for proving that $f (s,xy) = f (f (s,x), y)$ for all states s ∈ S and all strings $x ∈ I ^∗$ and $y ∈ I^∗$. We use structural induction on the input string y. -The basis step considers $y = λ,$ and for the inductive step we write $ y = wa,$ where $w ∈ I^*$ and $a ∈ I$ . - For the basis step, we have xy = x, so we must show that $f (s,x) = f (f (s,x), λ).$ -But part (i) of the definition of the extended transition function says that this is true. - We then assume the inductive hypothesis that the equation holds for w and -prove that $f (s, xwa) = f (f (s, x), wa)$. By part (ii) of the definition, -the left-hand side of this equation equals $f (f (s, xw), a).$ -By the inductive hypothesis, $f (s, xw) = f (f (s, x), w),$ so - f (f (s, xw), a) = f (f (f (s, x), w), a). -The righthand side of our desired equality is, by part (ii) of the definition, also equal to f (f (f (s, x), w), a), as desired.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.