Let $A$ be the set of all real-valued functions having their domain a subset of $\Bbb R$ which are at least differentiable on an open set, and for $f \in A$, let $U_f$ be the largest open set on which $f$ is differentiable. Let $B = \{ f \in A: \text{ Domain}(f) = U_f\}$, $C$ be the set of all real-valued functions having their domain a subset of $\Bbb R$, and $D: B \to C$ be given by $Df= f'$ (i.e. the derivative map of $f$).
Let $T: B \to C$ be a non-zero linear mapping which satisfies:
If $g(U_g) \subset U_f$, then $T(f \circ g) = (Tf \circ g) Tg$
$T(fg) = (Tf)g + f(Tg)$
Is it true that $T = D$?
From the assumptions on $T$, we can prove that for any polynomial $p$, $Tp = Dp$, and consequently that for any rational function $q$, $Tq = Dq$. I don't know what can be done at this point. If we were considering the maps $T$ and $D$ as maps from $C^1(\Bbb R)$ to $C(\Bbb R)$, for instance, then we could've concluded that $T = D$ using density and continuity.