Prove simple list head (not ready for review)

create a pull request so that @andreistefanescu can take a look and fix a problem related to pattern expansion