I have tried the differentiation of an integral below with Mathematica and it gives me the following solution:
$$\frac{d}{dc}\int_{z^{-1}(c)}^{1}z(x)dx = -\frac{c}{z'(z^{-1}(c))}$$
I am not quite sure where it gets it from...I think it can be separated and with differentiation the first part will be zero:
$$\frac{d}{dc}\int_{z^{-1}(c)}^{1} z(x)dx = \frac{d}{dc}\left(\int_{0}^{1} z(x)dx-\frac{d}{dc}\int_{0}^{z^{-1}(c)} z(x)dx\right)=$$ $$-\frac{d}{dc}\int_{0}^{z^{-1}(c)} z(x)dx$$
By the formula $\frac{d}{dc}z^{-1}(c) = \frac{1}{z'(z^{-1}(c))}$, so it definitely has to play a role here, but how? and where does $c$ come from? Do we need to somehow use chain rule here?
If the upper limit was just $c$ it would be easy to take it with a Leibniz rule:
$$−\frac{d}{dc}\int_0^cz(x)dx=z(c)$$
However, it seems that when one of the limits is an inverse function, there is something different at work which I have no understanding of and can't find an answer, so any help is appreciated!
UPDATE:
Thanks everyone for different approaches to this problem, I personally prefer the one with the fundamental theorem of calculus, but every approach has enriched my understanding of the problem!
I have to admit that it was just a private case with uniform distribution of a more general problem which Mathematica cannot do. Could anyone please confirm whether the fundamental theorem of calculus may also be applied to generic distribution functions under the integral, i.e. would the following general case be correct (where f and F - are correspondingly generic PDF and CDF)?
$$\frac{d}{dc}\int_{z^{-1}(c)}^{1}f(x)F(z(x))dx = -f(z^{-1}(c))F(z(z^{-1}(c))z'^{-1}(c) = -\frac{f(z^{-1}(c))F(c)}{z'(z^{-1}(c))}$$