Solution.
We will first prove the following covering lemma: let C={B(xα,rα)}α∈I be a collection of open balls in R with {rα}α bounded, where I is some indexing set. Then there exists a pairwise disjoint subcollection D⊆C such that for any B(xα,rα)∈C, there exists B(xβ,rβ)∈D such that
B(xα,rα)⊆5B(xβ,rβ):=B(xβ,5rβ).
To prove it, let R=supα∈Irα, which is finite by assumption. Partition C into {Cn}n, where Cn contains all balls B(xα,rα)∈C with radius rα∈(2n+1R,2nR].
We pick Dn as follows: let U0=C0, and let D0 be a maximal disjoint subcollection of U0, which exists by, say, Zorn's lemma. Now suppose we have chosen D0,…,Dn along with U0,…,Un. Let
Un+1={B∈Cn+1∣B∩C=∅ for all C∈D0∪⋯∪Dn},
and let Dn+1 be a maximal disjoint subcollection of Un+1. Set D=⋃n=0∞Dn. We claim that this has the desired properties.
Let B=C∈D. Then there exist nB and nC such that B∈DnB and C∈DnC. If n0:=nB=nC, then by construction, B∩C=∅ since Dn0 was chosen to be a disjoint subcollection of Un0. Otherwise, suppose without loss of generality that nB<nC. By construction, C∈UnC which was chosen to be disjoint from any ball in D1∪⋯∪DnC−1⊇DnB∋B, so B∩C=∅, so D is a pairwise disjoint subcollection of C.
As for the intersection property, let B=B(xα,rα)∈C, so there exists n such that B∈Cn, since we had a partition. If B∈Un, then B intersects a ball C∈Dn, since Dn was a maximal disjoint subcollection of Un. Otherwise, by definition of Un, there exists C∈D0∪⋯∪Dn−1 such that B∩C=∅. In either case, B intersects some ball B(xβ,rβ)∈D0∪⋯∪Dn, so there exists y∈B(xα,rα)∩B(xβ,rβ). By construction, rβ>2n+1R and rα≤2nR, so 2rβ≥rα. For any x∈B(xα,rα), the triangle inequality gives
∣x−xβ∣≤∣x−xα∣+∣xα−y∣+∣y−xβ∣<rα+rα+rβ≤5rβ.
Thus, B(xα,rα)⊆B(xβ,5rβ), as desired.
Notice that D is at most countable: by density of Q, each Bα∈D contains some qα∈Q. Since D is a pairwise disjoint collection, it follows that Bα↦qα is an injective map, so D injects into Q, hence countable.
We now prove the Hardy-Littlewood maximal inequality. By definition, for any x∈E:={(Mf)(x)>λ}, there exists hx>0 such that
λ<2hx1∫x−hxx+hx∣f(y)∣dy≤2hx1∥f∥L1⟹m(Ix)≤λ1∫Ix∣f(y)∣dy,(1)
where Ix=(x−hx,x+hx) and m denotes the Lebesgue measure. By our covering lemma, there exists {xn}n such that {Ixn}n is a countable disjoint collection of intervals and such that for any x∈E, there exists xn0 with Ix⊆5Ixn0, which implies m(Ix)≤5m(Ixn0). Thus,
m(E)≤m(x∈E⋃Ix)≤m(n=1⋃∞5Ixn)=5m(n=1⋃∞Ixn)=5n=1∑∞m(Ixn)≤5n=1∑∞λ1∫Ixn∣f(y)∣dy=λ5∫⋃nIxn∣f(y)∣dy≤λ5∥f∥L1,(countable additivity of m)(by (1) above)(the intervals are pairwise disjoint)
which completes the proof.