Even with the knowledge of $E^h=e^{hD}$ as per previous discussion, it is still not helping. It is easy to prove $[E^{\frac{1}{2}},P(x)]\implies [E,P(x)]$ but to prove the converse, currently I am kinda out of ideas except trying to brute force it by computing $e^{hD}P(x)Q(x)$, $P(x)e^{hD}Q(x)$
and trying to match up coefficients of what exactly is the explicit form of the polynomial $P(x)$ has to be in order for it to commute with $e^D$. While for RHS it is still ok as what happens is that Q(x) is effectively differentiated n times and thus $e^DQ(x)=\sum_{k=0}^{n}\frac{1}{k!}Q^{(k)}(x)$ w…