Physical origins of entropy production, free energy dissipation, and their mathematical representations | Synapse