Let $B\in B(H)$ be self-adjoint and let $A$ be a densely defined symmetric (and closed if needed) operator such that $A^2$ is densely defined. If $BA^2\subset A^2B$ say, is there a result which gives $BA\subset AB$? We may add positivity to $A$ to avoid trivialities.
Notice that I already have a counterexample when $A^2$ is not densely defined.
Cheers,
Hichem