Coq model and extension