Multiplying pure tensors in A ⊗[K] B #
Two formulas for multiplication by a pure tensor a ⊗ₜ 1 in an algebra tensor product, one on
each side, and two criteria for pure tensors to anticommute. All are general facts about
A ⊗[K] B over a commutative semiring: none needs A or B to be central, simple, or even a
ring.
Main results #
Algebra.TensorProduct.tmul_one_mul_eq_smul: multiplying on the left bya ⊗ₜ 1is the leftA-module action onA ⊗[K] B.Algebra.TensorProduct.basis_repr_mul_tmul_one: multiplying on the right bya ⊗ₜ 1multiplies each coordinate againstAlgebra.TensorProduct.basisbyaon the right.
All are declared into Mathlib's root Algebra.TensorProduct namespace, which houses the algebra
tensor product's multiplicative API, rather than into a TauCeti.-prefixed copy of it. (The
underlying type is the root TensorProduct; Algebra.TensorProduct is where its algebra
structure and the lemmas about it live.)
Left multiplication by a ⊗ₜ 1 on A ⊗[K] B is the left A-module action, the one that
Algebra.TensorProduct.basis is a basis for.
This is Mathlib's smul_one_mul, available because Algebra.TensorProduct.isScalarTower_right
makes A ⊗[K] B a scalar tower over A; all this adds is the identification of a • 1 with
a ⊗ₜ 1. (Algebra.smul_def is not available here: A is not assumed commutative, so there is no
Algebra A (A ⊗[K] B) instance.)
Pure tensors anticommute when their left factors anticommute and right factors commute.
Pure tensors anticommute when their left factors commute and right factors anticommute.
Multiplying by a ⊗ₜ 1 on the right multiplies each coordinate of x by a on the right.
Unlike the left-handed Algebra.TensorProduct.tmul_one_mul_eq_smul this is not an instance of the
generic scalar-action API, since right multiplication is not the module action
Algebra.TensorProduct.basis is a basis for.