Small fixes
Small fixes
Details of implementation TODOed into existence
Fixed coq code