Maps between tensor products of algebras #
The base change Algebra.TensorProduct.map (AlgHom.id R S) f : S ⊗[R] B → S ⊗[R] C of an
algebra map f : B →ₐ[R] C agrees with LinearMap.lTensor S applied to the underlying
linear map of f, and similarly on the right with LinearMap.rTensor S. This lets results
about base change of linear maps, such as flatness preserving injectivity and exactness, be
applied to base change of algebra maps.
For an S-algebra B over R which need not be commutative, the multiplication maps
S ⊗[R] B → B and B ⊗[R] S → B are S-algebra maps, because S acts through its central
image in B. Mathlib's Algebra.TensorProduct.lmul'' and Algebra.TensorProduct.productMap
require a commutative target.
For commutative R-algebras A and B, the tensor product A ⊗[R] B is the pushout of
A ← R → B in commutative semirings. Mathlib's Algebra.TensorProduct.productMap expresses this
universal property for algebra homomorphisms into an R-algebra, and
Algebra.TensorProduct.ringHom_ext is its uniqueness half for ring homomorphisms.
Algebra.TensorProduct.liftRingHom is the existence half for ring homomorphisms: ring
homomorphisms x : A →+* T and y : B →+* T into a commutative semiring T which agree on R
induce a ⊗ b ↦ x a * y b, even for noncommutative A and B, with no R-algebra structure
on T involved. This is the form needed when T already carries an R-algebra structure which
x and y do not respect, for instance when T is itself a tensor product over R and x
twists the first factor by a ring automorphism.
Mathlib's LinearMap.tensorProduct and LinearMap.tensorProductEnd send a ⊗ f to a times the
base change of f, but their generated computation lemmas unfold to TensorProduct.liftAux; this
file records their values on pure tensors as simp lemmas of higher priority than the generated
ones, so the public LinearMap.baseChange API applies.
Main declarations #
Subalgebra.toSubmodule_baseChange: the underlying submodule ofC.baseChange Tis(Subalgebra.toSubmodule C).baseChange T.AlgHom.lTensor_toLinearMap_apply:f.toLinearMap.lTensor SisAlgebra.TensorProduct.map (AlgHom.id R S) f.AlgHom.rTensor_toLinearMap_apply:f.toLinearMap.rTensor SisAlgebra.TensorProduct.map f (AlgHom.id R S).AlgHom.lTensor_rTensor_comm: scalar extension of an algebra map commutes with changing the coefficient algebra.LinearMap.tensorProduct_tmul,LinearMap.tensorProductEnd_tmul: the extension of linear maps and of endomorphisms sendsa ⊗ ftoa • f.baseChange A.Algebra.TensorProduct.mulLeft,Algebra.TensorProduct.mulRight: the multiplication mapss ⊗ b ↦ s • bandb ⊗ t ↦ b * t.Algebra.TensorProduct.liftRingHom x y h: the ring homomorphisma ⊗ b ↦ x a * y b.Algebra.TensorProduct.map_productMap_eq_zero_of_comp_eq: ifp : T → Uequalizesf, g : S → T, thenpkillsproductMap f g e(s ⊗ t ↦ f s * g t) for everyein the kernel of multiplicationS ⊗[R] S → S.Algebra.TensorProduct.productMap_mem_of_comp_eq: iff, gagree modulo an idealJofT, thenproductMap f g e ∈ Jfor every suche.AlgHom.comp_productMap,AlgHom.productMap_comp_includeLeft_includeRight: post-composition distributes overproductMap, and an algebra mapgout ofH₁ ⊗[R] H₂is theproductMapof its restrictions along the two canonical inclusions;H₁andH₂need not be commutative.Algebra.TensorProduct.mulLeft_map,Algebra.TensorProduct.mulLeft_map_includeRight: naturality of tensor multiplication and cancellation of an inserted middle factor1.Algebra.TensorProduct.map_rTensor_eq_rTensor_lTensor:g ⊗ φafterf ⊗ idis(g ∘ f) ⊗ idafterid ⊗ φ, for algebra mapsg, φand a linear mapf.Algebra.TensorProduct.map_assoc_tmul_one: applyingf : B ⊗[R] C → Dafter reassociatingy ⊗ 1is the base change ofb ↦ f (b ⊗ 1).Algebra.TensorProduct.assoc_comp_includeLeft_comp_includeLeft,Algebra.TensorProduct.assoc_comp_includeLeft_comp_includeRight,Algebra.TensorProduct.assoc_comp_includeRight: the associator restricted to each of the three tensor factors.Algebra.TensorProduct.mapRingHom_id_eq_map,Algebra.TensorProduct.mapRingHom_id_surjective,Algebra.TensorProduct.ker_mapRingHom_id: over the identity of the base,mapRingHomisAlgebra.TensorProduct.map; for surjective maps it is surjective, and its kernel is generated by the two kernels.AlgHom.sectionBaseChange: the base changeT ⊗[A] B →ₐ[T] Tof anA-algebra maps : B →ₐ[A] A, that is, the pullback toSpec Tof the section ofSpec B → Spec Agiven bys, with its valueAlgHom.sectionBaseChange_sum_tmulon sums of pure tensors, its naturalityAlgHom.sectionBaseChange_rTensorinT, and its transitivityAlgHom.sectionBaseChange_sectionBaseChangealongA → A' → T.AlgHom.semilinearTwist y σ φ hφ: the twist(σ⁻¹ ⊗ T) ∘ y ∘ φof an algebra mapy : D →ₐ[C] C ⊗[A] Tby a ring homomorphismφsemilinear over an automorphismσofC.
The underlying submodule of a base-changed subalgebra is the base change of its underlying submodule.
Base change of the underlying linear map of an algebra map is the base change of the algebra map.
Right base change of the underlying linear map of an algebra map is the right base change of the algebra map.
The natural map A ⊗[R] (M →ₗ[R] N) → (A ⊗[R] M →ₗ[A] A ⊗[R] N) sends a ⊗ f to
a • f.baseChange A, so that LinearMap.baseChange_tmul computes its values on pure tensors.
The natural algebra map A ⊗[R] Module.End R M → Module.End A (A ⊗[R] M) sends a ⊗ f to
a • f.baseChange A.
Extension of scalars of an algebra map commutes with changing the coefficient algebra.
The ring homomorphism A ⊗[R] B →+* T, a ⊗ b ↦ x a * y b, induced by ring homomorphisms
x : A →+* T and y : B →+* T which agree on R. The sources A and B need not be
commutative, and no R-algebra structure on T is involved.
Instances For
Reassociating y ⊗ 1 ∈ (A ⊗[R] B) ⊗[R] C and applying f : B ⊗[R] C → D to the last two
factors is the base change of b ↦ f (b ⊗ 1).
Applying g ⊗ φ after f ⊗ id, for algebra maps g, φ and a linear map f into the source
of g, is applying id ⊗ φ and then (g ∘ f) ⊗ id. For g the identity this lets tensor
constructions on the image of f pass through a change of the coefficient algebra.
Restricting the associator (A ⊗[R] B) ⊗[R] C ≃ A ⊗[R] (B ⊗[R] C) to the left factor A
gives the inclusion of the left factor.
Restricting the associator (A ⊗[R] B) ⊗[R] C ≃ A ⊗[R] (B ⊗[R] C) to the middle factor B
gives the inclusion of B into the left factor of B ⊗[R] C.
Restricting the associator (A ⊗[R] B) ⊗[R] C ≃ A ⊗[R] (B ⊗[R] C) to the right factor C
gives the inclusion of C into the right factor of B ⊗[R] C.
The image of S in the right factor is central in A ⊗[R] B.
The multiplication map S ⊗[R] B →ₐ[S] B, s ⊗ b ↦ s • b, for an S-algebra B which
need not be commutative.
Instances For
Tensor multiplication commutes with an algebra map over S.
Multiplying the first two factors cancels insertion of 1 in the middle factor.
The multiplication map B ⊗[R] S →ₐ[S] B, b ⊗ t ↦ b * t, for an S-algebra B which
need not be commutative.
Instances For
Multiplication on a self-tensor product is surjective.
Multiplication on a self-tensor product is natural in the algebra.
If two algebra maps f, g : S → T agree after composing with p : T → U, then p kills
productMap f g e (the map s ⊗ t ↦ f s * g t applied to e) for every element e of the
kernel of multiplication S ⊗[R] S → S.
If two algebra maps f, g : S → T agree modulo an ideal J of T, then productMap f g
(the map s ⊗ t ↦ f s * g t) sends every element of the kernel of multiplication
S ⊗[R] S → S into J.
Over the identity of R, the ring homomorphism mapRingHom of ring homomorphisms commuting
with the structure maps is Algebra.TensorProduct.map of the corresponding R-algebra maps.
mapRingHom of surjective ring homomorphisms over the identity of R is surjective.
Right exactness of the tensor product for ring homomorphisms. The kernel of mapRingHom
of surjective ring homomorphisms fS, fT over the identity of R is generated by the images of
ker fS and ker fT (Algebra.TensorProduct.map_ker).
Post-composition distributes over the tensor-product map induced by a pair of algebra maps.
An algebra map out of a tensor product is recovered from its two restrictions.
The base change T ⊗[A] B →ₐ[T] T, t ⊗ b ↦ t * s b, of an A-algebra map
s : B →ₐ[A] A. Geometrically, s is a section of Spec B → Spec A, and this is its pullback
along Spec T → Spec A.
Instances For
The base change of a section s takes ∑ j ∈ u, tⱼ ⊗ bⱼ to ∑ j ∈ u, s(bⱼ) • tⱼ; for
tⱼ = Xⱼ and a basis b, the generic element goes to the linear form with coefficients
s(bⱼ).
The base change of a section is natural in the base: it commutes with
Algebra.TensorProduct.rTensor B φ for an A-algebra map φ : T →ₐ[A] T'.
Base change of a section is transitive: along A → A' → T, base changing s to A' and
then to T is base changing s to T, through the identification
T ⊗[A'] (A' ⊗[A] B) ≃ T ⊗[A] B.
The semilinear twist of an algebra map y : D →ₐ[C] C ⊗[A] T, where C is a commutative
A-algebra, by a ring homomorphism φ : E →+* D semilinear over an A-algebra automorphism
σ of C, in the sense that φ (c • e) = σ c • φ e: the composite (σ⁻¹ ⊗ T) ∘ y ∘ φ. Neither
y ∘ φ nor σ⁻¹ ⊗ T is C-linear, but their composite is.