I want an example of a measurable function $f:[0,1]\rightarrow [0,1]$ such that
$(1)$ $f$ is strictly increasing almost every where,
$(2)$ Upper Riemann integral of $f$is $1$,
$(3)$ Lower Riemann integral of $f$ is $0$
$(4)$ $0<\int_{[0,1]}fdm <1 $ where $m$ is Lebesgue measure. Can any one give Hints?