Algebra equivalences for indexed tensor products #
The linear equivalences for reindexing, removing an empty index set, and splitting off one factor preserve the algebra structures on indexed tensor products. Their algebra versions allow algebraic properties stable under binary tensor products to be proved by induction on a finite index type.
These constructions upgrade Mathlib's PiTensorProduct.reindex and
PiTensorProduct.isEmptyEquiv, and PiTensorProduct.optionEquiv. Reindexing along permutations
gives the action of Equiv.Perm ι on a tensor power by algebra automorphisms
(PiTensorProduct.permAlgEquiv).
For finite index types, the tensor product of the split algebras κ i → R is the split algebra
of functions on Π i, κ i (PiTensorProduct.piScalarAlgEquiv), built from Mathlib's
PiTensorProduct.ofFinsuppEquiv'. On a tensor power of κ → R, permuting the factors becomes
precomposition on functions on ι → κ.
Reindexing an indexed tensor product of algebras as an algebra equivalence.
Instances For
The underlying linear equivalence of algebra reindexing is tensor reindexing.
Reindexing preserves the labels of the entries of a pure tensor.
Reattaching the original index labels recovers the original pure tensor.
Reindexing along e moves the factor inclusion at i to the factor inclusion at e i. It is
a pre-simp lemma since singleAlgHom_apply would otherwise rewrite the factor inclusion first.
The permutations of ι act on the tensor power ⨂[R] _ : ι, A by algebra automorphisms:
σ moves the factor in slot i to slot σ i. This is PiTensorProduct.reindexAlgEquiv along
σ, made multiplicative in σ.
Instances For
The underlying linear equivalence of a permutation of the factors is tensor reindexing.
A permutation σ sends the pure tensor ⨂ₜ xᵢ to the pure tensor with x (σ⁻¹ j) in
slot j.
A permutation σ moves the factor inclusion at i to the factor inclusion at σ i.
The tensor product over an empty family of algebras is the base algebra.
Instances For
The empty-family algebra equivalence has the usual empty-family linear equivalence.
An empty pure tensor is the multiplicative unit.
The inverse empty-family equivalence sends a scalar to that scalar times the empty tensor.
Splitting off the factor at none of an indexed tensor product of algebras.
Instances For
The underlying linear equivalence splits off the same factor at none.
Splitting off a factor of a pure tensor separates the some entries from the none entry.
For finite index types, the tensor product of the function algebras κ i → R is the algebra
of functions on the product Π i, κ i: the pure tensor ⨂ₜ fᵢ is the function
p ↦ ∏ i, fᵢ (p i). In particular, a tensor power of a split algebra κ → R is split.
Instances For
PiTensorProduct.piScalarAlgEquiv sends ⨂ₜ fᵢ to p ↦ ∏ i, fᵢ (p i).
PiTensorProduct.piScalarAlgEquiv sends the function f placed in slot i to
p ↦ f (p i). It is a pre-simp lemma since singleAlgHom_apply would otherwise rewrite the
factor inclusion first.
Permuting the tensor factors of a tensor power of a function algebra by σ becomes
precomposition with σ on functions on ι → κ.