Editor Anirban DasGupta writes:

Well done to Promit Ghosal (pictured below), at Columbia University, who sent a careful answer to this problem.

Promit Ghosal
Promit Ghosal

The problem asked was the following. Take an integrable function f on the unit interval, and for x in the interval [j/2n,(j+1)/2n), define fn(x) to be the average of f over [j/2n,(j+1)/2n).
Then, fn converges pointwise to f for almost all x, and also converges to f almost uniformly.

First, the specific partition [j/2n,(j+1)/2n),j=0,1,,2n1 does not have much to do with the pointwise convergence; neither does the unit interval. We can conclude from real analysis that for any f which is merely locally integrable, for almost all x, limh012hxhx+h|f(t)f(x)|dt0 as h0. A point x satisfying this property is what analysts call a Lebesgue point of f. Almost all points x are Lebesgue points for a locally integrable function. The result generalizes to higher dimensions, and to well shaped shrinking neighborhoods.

Now, how does one prove this probabilistically? Consider the family of sets An={[j/2n,(j+1)/2n),j=0,1,,2n1}, and consider Fn, the sigma-algebra generated by An. Fix an x. Then in the probability space ([0,1],B,P), where P is Lebesgue measure on [0,1], the sequence fn(x) is a martingale for the filtration Fn. This is a straight verification. It therefore follows from Doob’s martingale convergence theorem that fn(x)a.s.Pf(x). Moreover, the convergence is almost uniform by Egoroff’s theorem.