Automatic planning of fine motions: Correctness and completeness | Synapse