Hamiltonian Derivations of the Generalized Jarzynski Equalities under Feedback Control