I have an indicator function of the form $I\{a<t<b\}$ and I need the antiderivative of it with respect to $t$.
I believe I can't use the fundamental theorem of calculus to simply write it as $\int_0^t I\{a<s<b\} ds$ (which would be very convenient) since it's not a continuous function.
It's not clear to me whether such a function even exists or how I would write it.
There does not exists a function $f$ defined on an open interval properly containing $(a,b)$ and such that $f'(x)=I\{a<x<b\}(x)$. The reason is that derivatives have the intermediate value property, but the indicator function doesn't.