Structural Induction Proof: Basis
l
To show P([]):
(
"
M)
length(append([], M)) = length([]) + length(M)
l
We know from the definition of append that
append([], M) == M.
l
We also know that
length([]) == 0.
l
So the thing to be shown reduces to:
(
"
M)
length(M) == 0 + length(M)
which is true since the equation reduces to an identity.