4. The cooled gas is now compressed by the flywheel momentum. This takes less energy since when it cooled its pressure also dropped.
Click this LINK to visit the original image and attribution information. Right click on the image to save the 800px teaching JPEG.