(a) Let D=(Q,Σ,δ,q0,F) be a deterministic finite-state automaton. Define the extended transition function δ^:Q×Σ∗→Q, and the language accepted by D, denoted L(D). Let u,v∈Σ∗, and p∈Q. Prove that δ^(p,uv)=δ^(δ^(p,u),v).
(b) Let σ1,σ2,…,σk∈Σ where k⩾∣Q∣, and let p∈Q.
(i) Show that there exist 0⩽i<j⩽k such that δ^(p,σ1⋯σi)=δ^(p,σ1⋯σj), where we interpret σ1⋯σi as ϵ if i=0.
(ii) Show that δ^(p,σ1⋯σiσj+1⋯σk)=δ^(p,σ1⋯σk).
(iii) Show that δ^(p,σ1⋯σi(σi+1⋯σj)tσj+1⋯σk)=δ^(p,σ1⋯σk) for all t⩾1.
(c) Prove the following version of the pumping lemma. Suppose w∈L(D), with ∣w∣⩾∣Q∣. Then w can be broken up into three words w=xyz such that y=ϵ,∣xy∣⩽∣Q∣, and for all t⩾0, the word xytz is also in L(D).
(d) Hence show that
(i) if L(D) contains a word of length at least ∣Q∣, then it contains infinitely many words;
(ii) if L(D)=∅, then it contains a word of length less than ∣Q∣;
(iii) if L(D) contains all words in Σ∗ of length less than ∣Q∣, then L(D)=Σ∗.