Let $p(x)$ and $f(x)$ be sufficiently smooth functions and $D=\frac{d}{dx}$. It is easy to show that $$e^{p(x)D}f(x)=f(e^{p(x)D}x).\tag{1}$$
If $p(x)=a \in \mathbb{R}$ , we have the shift operator as $e^{aD}f(x)=f(x+a)$.
I appreciate it if you could help me to get answers for the following questions:
First, if $p=D$, can we say that $$e^{DD}f(x)=f(x+D)~?\tag{2}$$
Update: The first question is answered below. No, LHS is a function and RHS is an operator.
Second, what is the relationship between $e^{p(x+D)D}f(x)$ and $e^{p(x)D}f(x)$? For instance:
$$e^{p(x+D)D}f(x)-e^{p(x)D}f(x)=(e^{p(x+D)D}-e^{p(x)D})f(x)= \qquad ?\tag{3}$$
$$\frac{e^{p(x+D)D}}{e^{p(x)D}}=e^{p(x+D)D} e^{-p(x)D}=\qquad ?\tag{4}$$
or is it possible to somehow simplify $e^{p(x+D)D}f(x)$?
Update: The problem above seems to be ambiguious. I decided to rephrase it as follows:
Assume that $p(x)$ ($p:\mathbb{R} \to \mathbb{R}$) in known numerically, is it possible to find a matrix representation of operator $p(x+D)D$? or is it possible to define $p(x+D)D$ at all?