example of function not Lebesgue Measurable with measurable level sets
Consider as in Vitali’s theorem. Define the function by:
The level sets of will either be the empty set, or a singleton and thus measurable.
is not a measurable function since and is not a measurable set
.