Suppose F=R and E⊆L(V). Prove that there is an orthonormal basis of V with respect to which every element of E has a diagonal matrix if and only if S and T are commuting self-adjoint operators for all S,T∈E.
This exercise extends the real spectral theorem to the context of a collection of commuting self-adjoint operators.