Interchanging higher derivatives and pullbacks #
For a C^(n+1) function, differentiating a fixed n-th directional derivative and
performing those derivatives on its FrΓ©chet derivative give the same linear map. Over real
Hilbert spaces this also identifies the corresponding adjoint maps, which is the calculus
step needed when training on derivatives. The results do not assume tensor shapes or a graph.
A fixed directional derivative commutes with n further derivatives of a C^(n+1) map.
The directions can repeat. The induction uses symmetry of the second derivative, so no
analyticity assumption or permutation of a formal power series is needed.
Taking the FrΓ©chet derivative commutes with a fixed tuple of higher derivative directions.
Higher derivatives of a real pullback equal the pullback of the higher derivative. The cotangent and direction tuple are held constant; allowing them to vary would add terms.