The formal analysis of a functional animation system