I'm making all these numbers up: say the bullet leaving the chamber carries 10 force. 2 force are exerted on the barrel itself, not the bolt, so that force goes through the gun into the shooter. Then the bolt pushes back on the hydraulic, and 1 force bleeds from the system through the gun into the shooter. The hydraulic compresses a spring for 6 force.
The 5 forces remaining are forward forces then cancel most of the remaining backward force, so instead of 10 forces being passed through the gun into the shooter, you only get 3. The spring pushes back, and drives the bolt back forward, for a…