 In single support, no work is done since the ground reaction force is perpendicular to the COM motion.In double support, the trailing leg works in conjunction with the leading leg to redirect the COM motion upward.During this step-to-step transition period, the trailing leg exerts positive mechanical work on the COM while the leading leg exerts negative mechanical work on the COM.