I am stuck with a problem, as my proving skills aren't good(trying to improve). Prob: Given a State Table of DFA, decribe what language is accepted, and prove by induction it accepts that language, use induction on length of string.
| 0 1
->A | B A
B | C A
*C | C C
As it accepts language, stings with at least one 00 in them. Basis: let w be the string, s.t w = 00 dlt-hat(A,w) = C as C is accepting state
What would be Inductive Hypothesis, i know there will be cases like w = za, where z could be sting with not containing 00, or containg last symbol as 0 and a could be 0 or 1.
@copper.hat,
Let w = x00y such that x cannot contain 00 and it ends with 1 and y can be any things {0,1}*
Basis: For basis clause let x and y be empty (e)
1: del-hat(A,e) = A
2: del-hat(A,00) = C
3: del-hat(C, e) = C
Induction:
1) Let x=z1 and Inductive hypothesis(IH) be del-hat(A,z) = A.
del-hat(A,x) = del-hat(A,z1) = del-hat(del-hat(A,z),1) = del-hat(A,1) {from IH}
And del-hat(A,1)=A.
2) del-hat(A,00) = A, as basis clause.
3) let y = za where a can be {0,1}* and Inductive hypothesis be del-hat(C,z) = C
del-hat(C,za) = del-hat(del-hat(C,z),a) = del-hat(C,a) [from IH] which is C.
Hence all three cases have been shown.
Thanx for help, i have edited the post and posed solution, would you please take a look and kindly suggest me if i am wrong. – greendragons Apr 10 '13 at 23:22