Replacing consecutive entries of a list #
The lists u ++ a :: v and u ++ a' :: v differ at most in the position u.length, and the lists
u ++ a :: b :: c :: v and u ++ a' :: b' :: c' :: v differ at most in the three positions
u.length, u.length + 1 and u.length + 2. They agree at every other position.