I would like to derive a rule for differentiating maps of the form $h(f(\bullet),g(\bullet))$ on smooth manifolds which is equivalent to partial differentials of multi-variable functions on $\mathbb R$.
Let $A,B,C,D$ some smooth manifolds and $$ f:A\to B\\ g:A\to C\\ h:B\times C\to D $$ now we can construct a map $F:A\to D$ in the following way: $$ A\ni p\mapsto F(p)=h(f(A),g(A))\in D $$ From the question "Differential of a multi-variable map" we know that the differential of $F$ is given by $$ D_pF.X_p = D_{f(p),g(p)}h.(D_pf.X_p,D_pg.X_p) $$ Question: is it legitimate to rewrite it as follows: $$ D_pF.X_p = D_{f(p)}h(\bullet,g(p)).D_pf.X_p + D_{g(p)}h(f(p),\bullet).D_pg.X_p\,? $$ And how to come up with this form without using the intuition and analogy to regular functions as in the following example: let $f(x)$, $g(x)$ and $h(y_1,y_2)$ $\mathbb R$-valued functions on $\mathbb R$, then (with some obvious abuse of notation): $$ \partial_xh(f(x),g(x)) = \partial_{y_1}h(f(x),g(x))\partial_xf(x) + \partial_{y_2}h(f(x),g(x))\partial_xg(x) $$