Extracting outer factors from a balanced tensor product #
For a right A-module M, a left A-module N, and ground-ring modules L, P,
there is a canonical identification
(M ⊗[k] L) ⊗[A] (N ⊗[k] P) ≃ (M ⊗[A] N) ⊗[k] (L ⊗[k] P).
Here the displayed A-tensor products mean BalancedTensorProduct. The A actions
on the ground-ring tensor products act on their first factors, as in Mathlib.
The identification isolates the middle balanced factor in compositions of bimodules
of the form L ⊗[k] M and N ⊗[k] P: first commute the factors of the first
ground-ring tensor product. In particular, a vanishing middle factor makes the
whole tensor product vanish.
We descend Mathlib's TensorProduct.tensorTensorTensorComm using the balanced
universal property. This is an ordinary module identification, with no flatness
assumption; it does not assert a derived tensor comparison. The tensor composition
convention follows Keller, Deriving DG categories, Section 6.1.
Extract the two ground-ring factors on which the balancing algebra does not act.
The actions on M ⊗ L and N ⊗ P are Mathlib's first-factor actions.
Instances For
On pure tensors, outerFactors separates the balanced factors m, n from
the ground-ring factors l, p.
On pure tensors, the inverse of outerFactors reinserts the ground-ring factors
l, p into the two arguments of the balanced tensor product.
Extracting outer factors commutes with tensoring equivariant maps in the acted factors and arbitrary linear maps in the two ground-ring factors.