Let $f^{-1}$ be the generalized inverse of a decreasing right-continuous function $f:(0, \infty)\to [0, \infty)$ defined by $$f^{-1}(y)=\sup\{x>0:f(x)>y\}.$$ I can prove that $f^{-1}$ is then decreasing and right-continuous. Assuming that $\lim_{t\to \infty}f(t)=0$ why does it hold that $$\int_{0}^{\infty}{f(t)dt}=\int_{0}^{\infty}{f^{-1}(t)dt}?$$ Here it is claimed (for increasing $f$) that $$v f^{-1}(v) + \int_{f^{-1}(v)}^{\infty} f(u) \: \mathrm{d}u = \int_{0}^{v} f^{-1}(u) \: \mathrm{d}u.$$ Hence, is it clear that we have $$v f^{-1}(v)=0\quad \text{as}~ v\to \infty$$ or is there another way to prove the above?
Thanks in advance!