i couldn't find a way to show this function is measurable.

if and if where F is the Cantor Set.

i will be appreciate for any help.

edit: i defined a function over the interval [0,1] but i am not sure about because f takes value 1 for some points in [0,1] so there will be discontinuity