This function was defined by Cantor using his middle-thirds set, now known as the Cantor set, and serves as a counterexample to what might have been a certain natural extension of the fundamental theorem of calculus, since it is a continuous function from the unit interval to itself, which has a zero derivative at almost every point with respect to the Lebesgue measure, yet it rises from 0 to 1 during the interval. This is how the Devil ascends from 0 to 1 while remaining almost always motionless.

