The tensor product of R-algebras #
This file provides results about the multiplicative structure on A ⊗[R] B
when R
is a
commutative (semi)ring and A
and B
are both R
-algebras. On these tensor products,
multiplication is characterized by (a₁ ⊗ₜ b₁) * (a₂ ⊗ₜ b₂) = (a₁ * a₂) ⊗ₜ (b₁ * b₂)
.
Main declarations #
LinearMap.baseChange A f
is theA
-linear mapA ⊗ f
, for anR
-linear mapf
.Algebra.TensorProduct.semiring
: the ring structure onA ⊗[R] B
for twoR
-algebrasA
,B
.Algebra.TensorProduct.leftAlgebra
: theS
-algebra structure onA ⊗[R] B
, for whenA
is additionally anS
algebra.- the structure isomorphisms
Algebra.TensorProduct.lid : R ⊗[R] A ≃ₐ[R] A
Algebra.TensorProduct.rid : A ⊗[R] R ≃ₐ[S] A
(usually used withS = R
orS = A
)Algebra.TensorProduct.comm : A ⊗[R] B ≃ₐ[R] B ⊗[R] A
Algebra.TensorProduct.assoc : ((A ⊗[R] B) ⊗[R] C) ≃ₐ[R] (A ⊗[R] (B ⊗[R] C))
Algebra.TensorProduct.liftEquiv
: a universal property for the tensor product of algebras.
References #
- [C. Kassel, Quantum Groups (§II.4)][kasselTensorProducts1995]
The base-change of a linear map of R
-modules to a linear map of A
-modules #
baseChange A f
for f : M →ₗ[R] N
is the A
-linear map A ⊗[R] M →ₗ[A] A ⊗[R] N
.
This "base change" operation is also known as "extension of scalars".
Equations
- LinearMap.baseChange A f = TensorProduct.AlgebraTensorModule.map LinearMap.id f
Instances For
baseChange
as a linear map.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The R
-algebra structure on A ⊗[R] B
#
Equations
- Algebra.TensorProduct.instAddCommMonoidWithOne = AddCommMonoidWithOne.mk (_ : ∀ (a b : TensorProduct R A B), a + b = b + a)
(Implementation detail)
The multiplication map on A ⊗[R] B
,
for a fixed pure tensor in the first argument,
as an R
-linear map.
Equations
- Algebra.TensorProduct.mulAux a₁ b₁ = TensorProduct.map (LinearMap.mulLeft R a₁) (LinearMap.mulLeft R b₁)
Instances For
(Implementation detail)
The multiplication map on A ⊗[R] B
,
as an R
-bilinear map.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Algebra.TensorProduct.instMul = { mul := fun (a b : TensorProduct R A B) => (Algebra.TensorProduct.mul a) b }
Equations
- One or more equations did not get rendered due to their size.
Equations
- (_ : IsScalarTower S (TensorProduct R A B) (TensorProduct R A B)) = (_ : IsScalarTower S (TensorProduct R A B) (TensorProduct R A B))
Equations
- (_ : SMulCommClass S (TensorProduct R A B) (TensorProduct R A B)) = (_ : SMulCommClass S (TensorProduct R A B) (TensorProduct R A B))
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
The ring morphism A →+* A ⊗[R] B
sending a
to a ⊗ₜ 1
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
The tensor product of two R
-algebras is an R
-algebra.
Equations
- Algebra.TensorProduct.instAlgebra = inferInstance
The R
-algebra morphism A →ₐ[R] A ⊗[R] B
sending a
to a ⊗ₜ 1
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The algebra morphism B →ₐ[R] A ⊗[R] B
sending b
to 1 ⊗ₜ b
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A version of TensorProduct.ext
for AlgHom
.
Using this as the @[ext]
lemma instead of Algebra.TensorProduct.ext'
allows ext
to apply
lemmas specific to A →ₐ[S] _
and B →ₐ[R] _
; notably this allows recursion into nested tensor
products of algebras.
See note [partially-applied ext lemmas].
Equations
- Algebra.TensorProduct.instAddCommGroupWithOne = let src := Algebra.TensorProduct.instAddCommMonoidWithOne; AddCommGroupWithOne.mk
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- Algebra.TensorProduct.instNonUnitalRing = let src := Algebra.TensorProduct.instNonUnitalSemiring; NonUnitalRing.mk (_ : ∀ (a b c : TensorProduct R A B), a * b * c = a * (b * c))
Equations
- Algebra.TensorProduct.instCommSemiring = CommSemiring.mk (_ : ∀ (x y : TensorProduct R A B), x * y = y * x)
Equations
- Algebra.TensorProduct.instCommRing = CommRing.mk (_ : ∀ (a b : TensorProduct R A B), a * b = b * a)
S ⊗[R] T
has a T
-algebra structure. This is not a global instance or else the action of
S
on S ⊗[R] S
would be ambiguous.
Equations
- Algebra.TensorProduct.rightAlgebra = RingHom.toAlgebra ↑Algebra.TensorProduct.includeRight
Instances For
Equations
- (_ : IsScalarTower R B (TensorProduct R A B)) = (_ : IsScalarTower R B (TensorProduct R A B))
We now build the structure maps for the symmetric monoidal category of R
-algebras.
Build an algebra morphism from a linear map out of a tensor product, and evidence that on pure tensors, it preserves multiplication and the identity.
Note that we state h_one
using 1 ⊗ₜ[R] 1
instead of 1
so that lemmas about f
applied to pure
tensors can be directly applied by the caller (without needing TensorProduct.one_def
).
Equations
- Algebra.TensorProduct.algHomOfLinearMapTensorProduct f h_mul h_one = AlgHom.ofLinearMap f h_one (_ : ∀ (x y : TensorProduct R A B), f (x * y) = f x * f y)
Instances For
Build an algebra equivalence from a linear equivalence out of a tensor product, and evidence that on pure tensors, it preserves multiplication and the identity.
Note that we state h_one
using 1 ⊗ₜ[R] 1
instead of 1
so that lemmas about f
applied to pure
tensors can be directly applied by the caller (without needing TensorProduct.one_def
).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Build an algebra equivalence from a linear equivalence out of a triple tensor product, and evidence of multiplicativity on pure tensors.
Equations
- Algebra.TensorProduct.algEquivOfLinearEquivTripleTensorProduct f h_mul h_one = AlgEquiv.ofLinearEquiv f h_one (_ : ∀ (x y : TensorProduct R (TensorProduct R A B) C), ↑f (x * y) = ↑f x * ↑f y)
Instances For
The forward direction of the universal property of tensor products of algebras; any algebra morphism from the tensor product can be factored as the product of two algebra morphisms that commute.
See Algebra.TensorProduct.liftEquiv
for the fact that every morphism factors this way.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The universal property of the tensor product of algebras.
Pairs of algebra morphisms that commute are equivalent to algebra morphisms from the tensor product.
This is Algebra.TensorProduct.lift
as an equivalence.
See also GradedTensorProduct.liftEquiv
for an alternative commutativity requirement for graded
algebra.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The base ring is a left identity for the tensor product of algebra, up to algebra isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The base ring is a right identity for the tensor product of algebra, up to algebra isomorphism.
Note that if A
is commutative this can be instantiated with S = A
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The tensor product of R-algebras is commutative, up to algebra isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The associator for tensor product of R-algebras, as an algebra isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The tensor product of a pair of algebra morphisms.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct an isomorphism between tensor products of an S-algebra with an R-algebra from S- and R- isomorphisms between the tensor factors.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If A
, B
, C
are R
-algebras, A
and C
are also S
-algebras (forming a tower as
·/S/R
), then the product map of f : A →ₐ[S] C
and g : B →ₐ[R] C
is an S
-algebra
homomorphism.
This is just a special case of Algebra.TensorProduct.lift
for when C
is commutative.
Equations
- Algebra.TensorProduct.productLeftAlgHom f g = Algebra.TensorProduct.lift f g (_ : ∀ (x : A) (x_1 : B), Commute (f x) (g x_1))
Instances For
LinearMap.mul'
is an AlgHom
on commutative rings.
Equations
- Algebra.TensorProduct.lmul' R = Algebra.TensorProduct.algHomOfLinearMapTensorProduct (LinearMap.mul' R S) (_ : ∀ (a₁ a₂ b₁ b₂ : S), a₁ * a₂ * (b₁ * b₂) = a₁ * b₁ * (a₂ * b₂)) (_ : 1 * 1 = 1)
Instances For
If S
is commutative, for a pair of morphisms f : A →ₐ[R] S
, g : B →ₐ[R] S
,
We obtain a map A ⊗[R] B →ₐ[R] S
that commutes with f
, g
via a ⊗ b ↦ f(a) * g(b)
.
This is a special case of Algebra.TensorProduct.productLeftAlgHom
for when the two base rings are
the same.
Equations
Instances For
Given an R
-algebra A
and an R
-basis of M
, this is an R
-linear isomorphism
A ⊗[R] M ≃ (ι →₀ A)
(which is in fact A
-linear).
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a R
-algebra A
, this is the A
-basis of A ⊗[R] M
induced by a R
-basis of M
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The algebra homomorphism from End M ⊗ End N
to End (M ⊗ N)
sending f ⊗ₜ g
to
the TensorProduct.map f g
, the tensor product of the two maps.
This is an AlgHom
version of TensorProduct.AlgebraTensorModule.homTensorHomMap
. Like that
definition, this is generalized across many different rings; namely a tower of algebras A/S/R
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
An auxiliary definition, used for constructing the Module (A ⊗[R] B) M
in
TensorProduct.Algebra.module
below.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If M
is a representation of two different R
-algebras A
and B
whose actions commute,
then it is a representation the R
-algebra A ⊗[R] B
.
An important example arises from a semiring S
; allowing S
to act on itself via left and right
multiplication, the roles of R
, A
, B
, M
are played by ℕ
, S
, Sᵐᵒᵖ
, S
. This example
is important because a submodule of S
as a Module
over S ⊗[ℕ] Sᵐᵒᵖ
is a two-sided ideal.
NB: This is not an instance because in the case B = A
and M = A ⊗[R] A
we would have a diamond
of smul
actions. Furthermore, this would not be a mere definitional diamond but a true
mathematical diamond in which A ⊗[R] A
had two distinct scalar actions on itself: one from its
multiplication, and one from this would-be instance. Arguably we could live with this but in any
case the real fix is to address the ambiguity in notation, probably along the lines outlined here:
https://leanprover.zulipchat.com/#narrow/stream/144837-PR-reviews/topic/.234773.20base.20change/near/240929258
Equations
- One or more equations did not get rendered due to their size.