The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.TensorProduct.Defs
69 declarations and 1 deprecated aliases. Mathlib docs · Source
Tensor product of modules over commutative semirings
This file constructs the tensor product of modules over commutative semirings. Given a semiring R
and modules over it M and N, the standard construction of the tensor product is
TensorProduct R M N. It is also a module over R.
It comes with a canonical bilinear map
TensorProduct.mk R M N : M →ₗ[R] N →ₗ[R] TensorProduct R M N.
Notation
- This file introduces the notation
M ⊗ NandM ⊗[R] Nfor the tensor product spaceTensorProduct R M N. - It introduces the notation
m ⊗ₜ nandm ⊗ₜ[R] nfor the tensor product of two elements, otherwise written asTensorProduct.tmul R m n.
Tags
bilinear, tensor, tensor product
inductive TensorProduct.Eqv E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(M : Type u_5) →
(N : Type u_6) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[Module R M] → [Module R N] → FreeAddMonoid (M × N) → FreeAddMonoid (M × N) → Prop
The relation on FreeAddMonoid (M × N) that generates a congruence whose quotient is
the tensor product.
ctor TensorProduct.Eqv.of_zero_left E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (n : N),
TensorProduct.Eqv R M N (FreeAddMonoid.of (0, n)) 0
ctor TensorProduct.Eqv.of_zero_right E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M),
TensorProduct.Eqv R M N (FreeAddMonoid.of (m, 0)) 0
ctor TensorProduct.Eqv.of_add_left E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m₁ m₂ : M) (n : N),
TensorProduct.Eqv R M N (FreeAddMonoid.of (m₁, n) + FreeAddMonoid.of (m₂, n)) (FreeAddMonoid.of (m₁ + m₂, n))
ctor TensorProduct.Eqv.of_add_right E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M) (n₁ n₂ : N),
TensorProduct.Eqv R M N (FreeAddMonoid.of (m, n₁) + FreeAddMonoid.of (m, n₂)) (FreeAddMonoid.of (m, n₁ + n₂))
ctor TensorProduct.Eqv.of_smul E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (r : R) (m : M) (n : N),
TensorProduct.Eqv R M N (FreeAddMonoid.of (r • m, n)) (FreeAddMonoid.of (m, r • n))
ctor TensorProduct.Eqv.add_comm E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (x y : FreeAddMonoid (M × N)),
TensorProduct.Eqv R M N (x + y) (y + x)
def TensorProduct E3 #
(R : Type u_1) →
[inst : CommSemiring R] →
(M : Type u_5) →
(N : Type u_6) →
[inst_1 : AddCommMonoid M] → [inst_2 : AddCommMonoid N] → [Module R M] → [Module R N] → Type (max u_5 u_6)
The tensor product of two modules M and N over the same commutative semiring R.
The localized notations are M ⊗ N and M ⊗[R] N, accessed by open scoped TensorProduct.
instance instAddSemigroupTensorProduct E0 #
(R : Type u_3) →
[inst : CommSemiring R] →
(M : Type u_1) →
(N : Type u_2) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → AddSemigroup (TensorProduct R M N)
instance instZeroTensorProduct E0 #
(R : Type u_3) →
[inst : CommSemiring R] →
(M : Type u_1) →
(N : Type u_2) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → Zero (TensorProduct R M N)
instance instAddZeroClassTensorProduct E0 #
(R : Type u_3) →
[inst : CommSemiring R] →
(M : Type u_1) →
(N : Type u_2) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → AddZeroClass (TensorProduct R M N)
instance instAddTensorProduct E0 #
(R : Type u_3) →
[inst : CommSemiring R] →
(M : Type u_1) →
(N : Type u_2) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → Add (TensorProduct R M N)
def TensorProduct.«term_⊗_» E1 #
Lean.TrailingParserDescr
The tensor product of two modules M and N over the same commutative semiring R.
The localized notations are M ⊗ N and M ⊗[R] N, accessed by open scoped TensorProduct.
def TensorProduct.«term_⊗[_]_» E1 #
Lean.TrailingParserDescr
The tensor product of two modules M and N over the same commutative semiring R.
The localized notations are M ⊗ N and M ⊗[R] N, accessed by open scoped TensorProduct.
instance TensorProduct.addCommSemigroup E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
(M : Type u_5) →
(N : Type u_6) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → AddCommSemigroup (TensorProduct R M N)
instance TensorProduct.instInhabited E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
(M : Type u_5) →
(N : Type u_6) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → Inhabited (TensorProduct R M N)
def TensorProduct.tmul E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → M → N → TensorProduct R M N
The canonical function M → N → M ⊗ N. The localized notations are m ⊗ₜ n and m ⊗ₜ[R] n,
accessed by open scoped TensorProduct.
def TensorProduct.«term_⊗ₜ_» E1 #
Lean.TrailingParserDescr
The canonical function M → N → M ⊗ N.
def TensorProduct.«term_⊗ₜ[_]_» E1 #
Lean.TrailingParserDescr
The canonical function M → N → M ⊗ N.
instance TensorProduct.instRepr E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → [Repr M] → [Repr N] → Repr (TensorProduct R M N)
Produces an arbitrary representation of the form mₒ ⊗ₜ n₀ + ....
theorem TensorProduct.zero_tmul E0 #
∀ {R : Type u_1} [inst : CommSemiring R] (M : Type u_5) {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (n : N), 0 ⊗ₜ[R] n = 0
theorem TensorProduct.add_tmul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m₁ m₂ : M) (n : N),
(m₁ + m₂) ⊗ₜ[R] n = m₁ ⊗ₜ[R] n + m₂ ⊗ₜ[R] n
theorem TensorProduct.tmul_zero E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} (N : Type u_6) [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M), m ⊗ₜ[R] 0 = 0
theorem TensorProduct.tmul_add E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M) (n₁ n₂ : N),
m ⊗ₜ[R] (n₁ + n₂) = m ⊗ₜ[R] n₁ + m ⊗ₜ[R] n₂
theorem TensorProduct.inductionOn E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {motive : TensorProduct R M N → Prop}
(z : TensorProduct R M N),
(∀ (x : M) (y : N), motive (x ⊗ₜ[R] y)) →
(∀ (x y : TensorProduct R M N), motive x → motive y → motive (x + y)) → motive z
instance TensorProduct.uniqueLeft E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → [Subsingleton M] → Unique (TensorProduct R M N)
instance TensorProduct.uniqueRight E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → [Subsingleton N] → Unique (TensorProduct R M N)
class TensorProduct.CompatibleSMul E1 #
(R : Type u_1) →
(R' : Type u_2) →
[inst : CommSemiring R] →
[inst_1 : Monoid R'] →
(M : Type u_5) →
(N : Type u_6) →
[inst_2 : AddCommMonoid M] →
[inst_3 : AddCommMonoid N] →
[DistribMulAction R' M] → [Module R M] → [Module R N] → [DistribMulAction R' N] → Prop
A typeclass for SMul structures which can be moved across a tensor product.
This typeclass is generated automatically from an IsScalarTower instance, but exists so that
we can also add an instance for AddCommGroup.toIntModule, allowing z • to be moved even if
R does not support negation.
Note that Module R' (M ⊗[R] N) is available even without this typeclass on R'; it's only
needed if TensorProduct.smul_tmul, TensorProduct.smul_tmul', or TensorProduct.tmul_smul is
used.
ctor TensorProduct.CompatibleSMul.mk E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : DistribMulAction R' N],
(∀ (r : R') (m : M) (n : N), (r • m) ⊗ₜ[R] n = m ⊗ₜ[R] (r • n)) → TensorProduct.CompatibleSMul R R' M N
theorem TensorProduct.CompatibleSMul.smul_tmul E1 #
∀ {R : Type u_1} {R' : Type u_2} {inst : CommSemiring R} {inst_1 : Monoid R'} {M : Type u_5} {N : Type u_6}
{inst_2 : AddCommMonoid M} {inst_3 : AddCommMonoid N} {inst_4 : DistribMulAction R' M} {inst_5 : Module R M}
{inst_6 : Module R N} {inst_7 : DistribMulAction R' N} [self : TensorProduct.CompatibleSMul R R' M N] (r : R') (m : M)
(n : N), (r • m) ⊗ₜ[R] n = m ⊗ₜ[R] (r • n)
instance TensorProduct.CompatibleSMul.isScalarTower E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMul R' R] [IsScalarTower R' R M] [inst_9 : DistribMulAction R' N]
[IsScalarTower R' R N], TensorProduct.CompatibleSMul R R' M N
Note that this provides the default CompatibleSMul R R M N instance through
IsScalarTower.left.
theorem TensorProduct.smul_tmul E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : DistribMulAction R' N] [TensorProduct.CompatibleSMul R R' M N] (r : R') (m : M)
(n : N), (r • m) ⊗ₜ[R] n = m ⊗ₜ[R] (r • n)
smul can be moved from one side of the product to the other .
def TensorProduct.SMul.aux E1 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] →
[inst_4 : Module R N] → {R' : Type u_9} → [SMul R' M] → R' → FreeAddMonoid (M × N) →+ TensorProduct R M N
Auxiliary function to defining scalar multiplication on tensor product.
theorem TensorProduct.SMul.aux_of E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {R' : Type u_9} [inst_5 : SMul R' M] (r : R')
(m : M) (n : N), (TensorProduct.SMul.aux r) (FreeAddMonoid.of (m, n)) = (r • m) ⊗ₜ[R] n
instance TensorProduct.leftHasSMul E0 #
{R : Type u_1} →
{R' : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Monoid R'] →
{M : Type u_5} →
{N : Type u_6} →
[inst_2 : AddCommMonoid M] →
[inst_3 : AddCommMonoid N] →
[inst_4 : DistribMulAction R' M] →
[inst_5 : Module R M] → [inst_6 : Module R N] → [SMulCommClass R R' M] → SMul R' (TensorProduct R M N)
Given two modules over a commutative semiring R, if one of the factors carries a
(distributive) action of a second type of scalars R', which commutes with the action of R, then
the tensor product (over R) carries an action of R'.
This instance defines this R' action in the case that it is the left module which has the R'
action. Two natural ways in which this situation arises are:
- Extension of scalars
- A tensor product of a group representation with a module not carrying an action
Note that in the special case that R = R', since R is commutative, we just get the usual scalar
action on a tensor product of two modules. This special case is important enough that, for
performance reasons, we define it explicitly below.
instance TensorProduct.instSMul E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → SMul R (TensorProduct R M N)
theorem TensorProduct.smul_zero E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] (r : R'), r • 0 = 0
theorem TensorProduct.smul_add E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] (r : R') (x y : TensorProduct R M N),
r • (x + y) = r • x + r • y
theorem TensorProduct.zero_smul E1 #
∀ {R : Type u_1} {R'' : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring R''] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module R'' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R'' M] (x : TensorProduct R M N), 0 • x = 0
theorem TensorProduct.one_smul E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] (x : TensorProduct R M N), 1 • x = x
theorem TensorProduct.add_smul E1 #
∀ {R : Type u_1} {R'' : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring R''] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module R'' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R'' M] (r s : R'') (x : TensorProduct R M N),
(r + s) • x = r • x + s • x
instance TensorProduct.addMonoid E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → AddMonoid (TensorProduct R M N)
instance TensorProduct.addCommMonoid E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → AddCommMonoid (TensorProduct R M N)
theorem IsAddUnit.tmul_left E1 #
∀ (R : Type u_1) [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {n : N},
IsAddUnit n → ∀ (m : M), IsAddUnit (m ⊗ₜ[R] n)
theorem IsAddUnit.tmul_right E1 #
∀ (R : Type u_1) [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {m : M},
IsAddUnit m → ∀ (n : N), IsAddUnit (m ⊗ₜ[R] n)
instance TensorProduct.leftDistribMulAction E0 #
{R : Type u_1} →
{R' : Type u_2} →
[inst : CommSemiring R] →
[inst_1 : Monoid R'] →
{M : Type u_5} →
{N : Type u_6} →
[inst_2 : AddCommMonoid M] →
[inst_3 : AddCommMonoid N] →
[inst_4 : DistribMulAction R' M] →
[inst_5 : Module R M] →
[inst_6 : Module R N] → [SMulCommClass R R' M] → DistribMulAction R' (TensorProduct R M N)
instance TensorProduct.instDistribMulAction E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → DistribMulAction R (TensorProduct R M N)
theorem TensorProduct.smul_tmul' E1 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] (r : R') (m : M) (n : N), r • m ⊗ₜ[R] n = (r • m) ⊗ₜ[R] n
theorem TensorProduct.tmul_smul E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] [inst_8 : DistribMulAction R' N]
[TensorProduct.CompatibleSMul R R' M N] (r : R') (x : M) (y : N), x ⊗ₜ[R] (r • y) = r • x ⊗ₜ[R] y
theorem TensorProduct.smul_tmul_smul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (r s : R) (m : M) (n : N),
(r • m) ⊗ₜ[R] (s • n) = (r * s) • m ⊗ₜ[R] n
theorem TensorProduct.tmul_eq_smul_one_tmul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type u_9}
[inst_3 : Semiring S] [inst_4 : Module R S] [inst_5 : SMulCommClass R S S] (s : S) (m : M), s ⊗ₜ[R] m = s • 1 ⊗ₜ[R] m
instance TensorProduct.leftModule E0 #
{R : Type u_1} →
{R'' : Type u_3} →
[inst : CommSemiring R] →
[inst_1 : Semiring R''] →
{M : Type u_5} →
{N : Type u_6} →
[inst_2 : AddCommMonoid M] →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R'' M] →
[inst_5 : Module R M] →
[inst_6 : Module R N] → [SMulCommClass R R'' M] → Module R'' (TensorProduct R M N)
instance TensorProduct.instModule E0 #
{R : Type u_1} →
[inst : CommSemiring R] →
{M : Type u_5} →
{N : Type u_6} →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] → [inst_3 : Module R M] → [inst_4 : Module R N] → Module R (TensorProduct R M N)
instance TensorProduct.instIsCentralScalar E0 #
∀ {R : Type u_1} {R'' : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring R''] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module R'' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R'' M] [inst_8 : Module R''ᵐᵒᵖ M] [inst_9 : IsCentralScalar R'' M],
IsCentralScalar R'' (TensorProduct R M N)
instance TensorProduct.smulCommClass_left E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] {R'₂ : Type u_9} [inst_8 : Monoid R'₂]
[inst_9 : DistribMulAction R'₂ M] [inst_10 : SMulCommClass R R'₂ M] [SMulCommClass R' R'₂ M],
SMulCommClass R' R'₂ (TensorProduct R M N)
SMulCommClass R' R'₂ M implies SMulCommClass R' R'₂ (M ⊗[R] N)
instance TensorProduct.isScalarTower_left E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] {R'₂ : Type u_9} [inst_8 : Monoid R'₂]
[inst_9 : DistribMulAction R'₂ M] [inst_10 : SMulCommClass R R'₂ M] [inst_11 : SMul R'₂ R'] [IsScalarTower R'₂ R' M],
IsScalarTower R'₂ R' (TensorProduct R M N)
IsScalarTower R'₂ R' M implies IsScalarTower R'₂ R' (M ⊗[R] N)
instance TensorProduct.isScalarTower_right E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] {R'₂ : Type u_9} [inst_8 : Monoid R'₂]
[inst_9 : DistribMulAction R'₂ M] [inst_10 : SMulCommClass R R'₂ M] [inst_11 : SMul R'₂ R']
[inst_12 : DistribMulAction R'₂ N] [inst_13 : DistribMulAction R' N] [TensorProduct.CompatibleSMul R R'₂ M N]
[TensorProduct.CompatibleSMul R R' M N] [IsScalarTower R'₂ R' N], IsScalarTower R'₂ R' (TensorProduct R M N)
IsScalarTower R'₂ R' N implies IsScalarTower R'₂ R' (M ⊗[R] N)
instance TensorProduct.isScalarTower E0 #
∀ {R : Type u_1} {R' : Type u_2} [inst : CommSemiring R] [inst_1 : Monoid R'] {M : Type u_5} {N : Type u_6}
[inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : DistribMulAction R' M] [inst_5 : Module R M]
[inst_6 : Module R N] [inst_7 : SMulCommClass R R' M] [inst_8 : SMul R' R] [IsScalarTower R' R M],
IsScalarTower R' R (TensorProduct R M N)
A short-cut instance for the common case, where the requirements for the compatible_smul
instances are sufficient.
def TensorProduct.mk E1 #
(R : Type u_1) →
[inst : CommSemiring R] →
(M : Type u_5) →
(N : Type u_6) →
[inst_1 : AddCommMonoid M] →
[inst_2 : AddCommMonoid N] →
[inst_3 : Module R M] → [inst_4 : Module R N] → M →ₗ[R] N →ₗ[R] TensorProduct R M N
The canonical bilinear map M → N → M ⊗[R] N.
theorem TensorProduct.mk_apply E0 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M) (n : N),
((TensorProduct.mk R M N) m) n = m ⊗ₜ[R] n
theorem TensorProduct.ite_tmul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (x₁ : M) (x₂ : N) (P : Prop)
[inst_5 : Decidable P], (if P then x₁ else 0) ⊗ₜ[R] x₂ = if P then x₁ ⊗ₜ[R] x₂ else 0
theorem TensorProduct.tmul_ite E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (x₁ : M) (x₂ : N) (P : Prop)
[inst_5 : Decidable P], (x₁ ⊗ₜ[R] if P then x₂ else 0) = if P then x₁ ⊗ₜ[R] x₂ else 0
theorem TensorProduct.tmul_single E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {N : Type u_6} [inst_1 : AddCommMonoid N] [inst_2 : Module R N] {ι : Type u_9}
[inst_3 : DecidableEq ι] {M : ι → Type u_10} [inst_4 : (i : ι) → AddCommMonoid (M i)]
[inst_5 : (i : ι) → Module R (M i)] (i : ι) (x : N) (m : M i) (j : ι),
x ⊗ₜ[R] Pi.single i m j = Pi.single i (x ⊗ₜ[R] m) j
theorem TensorProduct.single_tmul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {N : Type u_6} [inst_1 : AddCommMonoid N] [inst_2 : Module R N] {ι : Type u_9}
[inst_3 : DecidableEq ι] {M : ι → Type u_10} [inst_4 : (i : ι) → AddCommMonoid (M i)]
[inst_5 : (i : ι) → Module R (M i)] (i : ι) (x : N) (m : M i) (j : ι),
Pi.single i m j ⊗ₜ[R] x = Pi.single i (m ⊗ₜ[R] x) j
theorem TensorProduct.sum_tmul E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] {α : Type u_9} (s : Finset α) (m : α → M)
(n : N), (∑ a ∈ s, m a) ⊗ₜ[R] n = ∑ a ∈ s, m a ⊗ₜ[R] n
theorem TensorProduct.tmul_sum E1 #
∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_5} {N : Type u_6} [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (m : M) {α : Type u_9} (s : Finset α)
(n : α → N), m ⊗ₜ[R] ∑ a ∈ s, n a = ∑ a ∈ s, m ⊗ₜ[R] n a
theorem TensorProduct.span_tmul_eq_top E1 #
∀ (R : Type u_1) [inst : CommSemiring R] (M : Type u_5) (N : Type u_6) [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N],
Submodule.span R {t | ∃ m n, m ⊗ₜ[R] n = t} = ⊤
The simple (aka pure) elements span the tensor product.
theorem TensorProduct.map₂_mk_top_top_eq_top E0 #
∀ (R : Type u_1) [inst : CommSemiring R] (M : Type u_5) (N : Type u_6) [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N],
Submodule.map₂ (TensorProduct.mk R M N) ⊤ ⊤ = ⊤
theorem TensorProduct.exists_eq_tmul_of_forall E1 #
∀ (R : Type u_1) [inst : CommSemiring R] (M : Type u_5) (N : Type u_6) [inst_1 : AddCommMonoid M]
[inst_2 : AddCommMonoid N] [inst_3 : Module R M] [inst_4 : Module R N] (x : TensorProduct R M N),
(∀ (m₁ m₂ : M) (n₁ n₂ : N), ∃ m n, m₁ ⊗ₜ[R] n₁ + m₂ ⊗ₜ[R] n₂ = m ⊗ₜ[R] n) → ∃ m n, x = m ⊗ₜ[R] n
Deprecated aliases
| Name | New name | Since |
|---|---|---|
TensorProduct.induction_on | TensorProduct.inductionOn | 2026-09-07 |