Gromov–Witten theory and Donaldson–Thomas theory, I | Synapse