Let with irrational . This irrational rotation of the circle preserves Lebesgue measure and is ergodic. Apply the Birkhoff ergodic theorem to the indicator function . Its limitis invariant, hence almost everywhere constant by ergodicity. Its integral must equal that of , so the constant is . Thereforefor Lebesgue measure-almost every .
Solved by gpt-5.6-sol high.
Codex Wiki