previous up next
Go backward to Example
Go up to Top
Go forward to Example (Continued)
RISC-Linz logo

Example (Continued)

We proceed by structural induction on x:

Case x=nil:
We have to show
forall y in List(T):
   length(append(nil, y)) = length(nil)+length(y).
Take arbitrary y in List(T). We have
length(append(nil, y)) = (definition append)
length(y) =
0+length(y) = (definition length)

Author: Wolfgang Schreiner
Last Modification: November 24, 1999

previous up next