Structural Induction for Lists
l
Let P be a property of (open) lists
l
l
To show
(
"
L)
P(L)
l
it is sufficient to show:
l
P([])
// Basis
l
(
"
L)
(
"
A)
P(L) => P([A | L])
// Induction step