I have trouble with these proofs that seem almost trivially obvious.
For instance, in the inductive case if I assume the property in the title and I want to show:
length (h'::h::l) = 1 + length (h::l)
Where do I go from here? It is so obviously true but I don't know what steps I can take without proving some kind of lemma. For instance I could say
length ([h']@(h::l)) = 1 + length (h::l)
But now I have to prove something along the lines of
length (l1@l2) = length l1 + length l2
I'm having trouble understanding when I need to prove lemmas, especially in the proofs that seem almost trivial.