Planning as model constructionin linear temporal logic