An exact multiple-time-step variational formulation for the committor and the transition rate