I have to prove this equation:
foldr f a (xs ++ ys) = foldr f (foldr f a xs) ys
I tried with induction but I couldn't manage to prove it.
I have to prove this equation:
foldr f a (xs ++ ys) = foldr f (foldr f a xs) ys
I tried with induction but I couldn't manage to prove it.