Fiberwise differential identities #
The finite tensor pairing makes push and pull adjoint. General fiberwise directional derivatives and reverse maps are likewise adjoint when each local fiber rule satisfies the corresponding scalar identity.
Stacking and leading-axis slicing are adjoint for the finite tensor pairing.
The pairing of a stacked family with a tensor is the sum of the pairings with each corresponding leading-axis slice.
Reindexing and inverse reindexing are adjoint for the finite tensor pairing.
The proof changes the finite summation index along the coordinate equivalence; it does not require an ordering or positivity assumption on shape dimensions.
Lift a local differential/VJP adjunction on each reduction fiber to the corresponding tensor-level adjunction.
The two operators are ordinary dependent functions rather than a certificate
structure. fiberDifferential receives the primal values and tangent values
in one output fiber. fiberVjp receives the same primal values and one output
cotangent, and returns one cotangent for every input in that fiber. The
fiber_adjoint hypothesis is the complete local proof obligation.
This theorem deliberately does not claim that fiberDifferential is the
derivative of a particular aggregate. A custom reducer establishes that fact
separately using the derivative notion appropriate to its scalar domain, then
uses this theorem to obtain the global VJP law. No permutation order is chosen:
both local functions act directly on the finite fiber.