Planning as model construction in linear temporal logic