00:01
We're given a deterministic finite state automaton and we're asked the structural induction and the recursive definition of the extended transition function to prove that the extended transition function of f of s xy is equal to the extended transition function f of sxy are all states s and all states.
00:33
Strings x and y.
00:40
First of all, let n be a deterministic finite state automaton.
01:20
And let f be an extended transition function.
01:57
Now, we'll prove the statement by structural induction.
02:04
So we want to prove the f of s, x, y is equal to f of f of s x, y.
02:10
So first of all, we'll let s be a state, and y be a string.
02:39
For the base step, let's suppose that y is equal to lambda, the empty string.
02:50
In this case, we have that f of s xy is going to be equal to f of s x, lambda, which of course is equal to f of s x, x.
03:07
And this is going to be equal to f of f of s x lambda because we have that by the definition of an extended transition function, f of s lambda equals s.
03:49
And therefore we have this is equal to f of f of s x y.
03:57
So you've shown the statement is true in the case where y is the empty string.
04:01
Now for the inductive step, let's suppose that y is the string, which is the concatenation of w and a, where w is a string and a is a letter.
04:38
Now, we're going to assume the statement is true for w as part of the inductive step...