Title: A proof and generalization of the principle of minimum dissipation