Dependent equality

Thanks to Adam Chlipala for teaching me how to prove vec2list2vec . It means that converting a dependently typed vector to an ordinary list and back yields the same vector intact. But surely there is a simpler way?