The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.BilinearForm.TensorProduct
20 declarations. Mathlib docs · Source
The bilinear form on a tensor product
Main definitions
LinearMap.BilinMap.tensorDistrib (B₁ ⊗ₜ B₂): the bilinear form onM₁ ⊗ M₂constructed by applyingB₁onM₁andB₂onM₂.LinearMap.BilinMap.tensorDistribEquiv:BilinForm.tensorDistribas an equivalence on finite free modules.
def LinearMap.BilinMap.tensorDistrib E1 #
(R : Type uR) →
(A : Type uA) →
{M₁ : Type uM₁} →
{M₂ : Type uM₂} →
{N₁ : Type uN₁} →
{N₂ : Type uN₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₁] →
[inst_3 : AddCommMonoid M₂] →
[inst_4 : AddCommMonoid N₁] →
[inst_5 : AddCommMonoid N₂] →
[inst_6 : Algebra R A] →
[inst_7 : Module R M₁] →
[inst_8 : Module A M₁] →
[inst_9 : Module R N₁] →
[inst_10 : Module A N₁] →
[inst_11 : IsScalarTower R A M₁] →
[inst_12 : IsScalarTower R A N₁] →
[inst_13 : Module R M₂] →
[inst_14 : Module R N₂] →
TensorProduct R (LinearMap.BilinMap A M₁ N₁)
(LinearMap.BilinMap R M₂ N₂) →ₗ[A]
LinearMap.BilinMap A (TensorProduct R M₁ M₂) (TensorProduct R N₁ N₂)
The tensor product of two bilinear maps injects into bilinear maps on tensor products.
Note this is heterobasic; the bilinear map on the left can take values in a module over a (commutative) algebra over the ring of the module in which the right bilinear map is valued.
theorem LinearMap.BilinMap.tensorDistrib_tmul E0 #
∀ {R : Type uR} {A : Type uA} {M₁ : Type uM₁} {M₂ : Type uM₂} {N₁ : Type uN₁} {N₂ : Type uN₂} [inst : CommSemiring R]
[inst_1 : CommSemiring A] [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N₁]
[inst_5 : AddCommMonoid N₂] [inst_6 : Algebra R A] [inst_7 : Module R M₁] [inst_8 : Module A M₁]
[inst_9 : Module R N₁] [inst_10 : Module A N₁] [inst_11 : IsScalarTower R A M₁] [inst_12 : IsScalarTower R A N₁]
[inst_13 : Module R M₂] [inst_14 : Module R N₂] (B₁ : LinearMap.BilinMap A M₁ N₁) (B₂ : LinearMap.BilinMap R M₂ N₂)
(m₁ : M₁) (m₂ : M₂) (m₁' : M₁) (m₂' : M₂),
(((LinearMap.BilinMap.tensorDistrib R A) (B₁ ⊗ₜ[R] B₂)) (m₁ ⊗ₜ[R] m₂)) (m₁' ⊗ₜ[R] m₂') = (B₁ m₁) m₁' ⊗ₜ[R] (B₂ m₂) m₂'
abbrev LinearMap.BilinMap.tmul E1 #
{R : Type uR} →
{A : Type uA} →
{M₁ : Type uM₁} →
{M₂ : Type uM₂} →
{N₁ : Type uN₁} →
{N₂ : Type uN₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₁] →
[inst_3 : AddCommMonoid M₂] →
[inst_4 : AddCommMonoid N₁] →
[inst_5 : AddCommMonoid N₂] →
[inst_6 : Algebra R A] →
[inst_7 : Module R M₁] →
[inst_8 : Module A M₁] →
[inst_9 : Module R N₁] →
[inst_10 : Module A N₁] →
[inst_11 : IsScalarTower R A M₁] →
[inst_12 : IsScalarTower R A N₁] →
[inst_13 : Module R M₂] →
[inst_14 : Module R N₂] →
LinearMap.BilinMap A M₁ N₁ →
LinearMap.BilinMap R M₂ N₂ →
LinearMap.BilinMap A (TensorProduct R M₁ M₂) (TensorProduct R N₁ N₂)
The tensor product of two bilinear forms, a shorthand for dot notation.
theorem LinearMap.BilinMap.tmul_isSymm E1 #
∀ {R : Type uR} {A : Type uA} {M₁ : Type uM₁} {M₂ : Type uM₂} {N₁ : Type uN₁} {N₂ : Type uN₂} [inst : CommSemiring R]
[inst_1 : CommSemiring A] [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : AddCommMonoid N₁]
[inst_5 : AddCommMonoid N₂] [inst_6 : Algebra R A] [inst_7 : Module R M₁] [inst_8 : Module A M₁]
[inst_9 : Module R N₁] [inst_10 : Module A N₁] [inst_11 : IsScalarTower R A M₁] [inst_12 : IsScalarTower R A N₁]
[inst_13 : Module R M₂] [inst_14 : Module R N₂] {B₁ : LinearMap.BilinMap A M₁ N₁} {B₂ : LinearMap.BilinMap R M₂ N₂},
(∀ (x y : M₁), (B₁ x) y = (B₁ y) x) →
(∀ (x y : M₂), (B₂ x) y = (B₂ y) x) → ∀ (x y : TensorProduct R M₁ M₂), ((B₁.tmul B₂) x) y = ((B₁.tmul B₂) y) x
A tensor product of symmetric bilinear maps is symmetric.
def LinearMap.BilinMap.baseChange E1 #
{R : Type uR} →
(A : Type uA) →
{M₂ : Type uM₂} →
{N₂ : Type uN₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : AddCommMonoid N₂] →
[inst_4 : Algebra R A] →
[inst_5 : Module R M₂] →
[inst_6 : Module R N₂] →
LinearMap.BilinMap R M₂ N₂ → LinearMap.BilinMap A (TensorProduct R A M₂) (TensorProduct R A N₂)
The base change of a bilinear map (also known as "extension of scalars").
theorem LinearMap.BilinMap.baseChange_tmul E0 #
∀ {R : Type uR} {A : Type uA} {M₂ : Type uM₂} {N₂ : Type uN₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N₂] [inst_4 : Algebra R A] [inst_5 : Module R M₂]
[inst_6 : Module R N₂] (B₂ : LinearMap.BilinMap R M₂ N₂) (a : A) (m₂ : M₂) (a' : A) (m₂' : M₂),
((LinearMap.BilinMap.baseChange A B₂) (a ⊗ₜ[R] m₂)) (a' ⊗ₜ[R] m₂') = (a * a') ⊗ₜ[R] (B₂ m₂) m₂'
theorem LinearMap.BilinMap.baseChange_isSymm E1 #
∀ {R : Type uR} {A : Type uA} {M₂ : Type uM₂} {N₂ : Type uN₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid N₂] [inst_4 : Algebra R A] [inst_5 : Module R M₂]
[inst_6 : Module R N₂] {B₂ : LinearMap.BilinMap R M₂ N₂},
(∀ (x y : M₂), (B₂ x) y = (B₂ y) x) →
∀ (x y : TensorProduct R A M₂),
((LinearMap.BilinMap.baseChange A B₂) x) y = ((LinearMap.BilinMap.baseChange A B₂) y) x
def LinearMap.BilinForm.tensorDistrib E3 #
(R : Type uR) →
(A : Type uA) →
{M₁ : Type uM₁} →
{M₂ : Type uM₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₁] →
[inst_3 : AddCommMonoid M₂] →
[inst_4 : Algebra R A] →
[inst_5 : Module R M₁] →
[inst_6 : Module A M₁] →
[inst_7 : IsScalarTower R A M₁] →
[inst_8 : Module R M₂] →
TensorProduct R (LinearMap.BilinForm A M₁) (LinearMap.BilinForm R M₂) →ₗ[A]
LinearMap.BilinForm A (TensorProduct R M₁ M₂)
The tensor product of two bilinear forms injects into bilinear forms on tensor products.
Note this is heterobasic; the bilinear form on the left can take values in an (commutative) algebra over the ring in which the right bilinear form is valued.
theorem LinearMap.BilinForm.tensorDistrib_tmul E0 #
∀ (R : Type uR) (A : Type uA) {M₁ : Type uM₁} {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Algebra R A] [inst_5 : Module R M₁]
[inst_6 : Module A M₁] [inst_7 : IsScalarTower R A M₁] [inst_8 : Module R M₂] (B₁ : LinearMap.BilinForm A M₁)
(B₂ : LinearMap.BilinForm R M₂) (m₁ : M₁) (m₂ : M₂) (m₁' : M₁) (m₂' : M₂),
(((LinearMap.BilinForm.tensorDistrib R A) (B₁ ⊗ₜ[R] B₂)) (m₁ ⊗ₜ[R] m₂)) (m₁' ⊗ₜ[R] m₂') = (B₂ m₂) m₂' • (B₁ m₁) m₁'
abbrev LinearMap.BilinForm.tmul E1 #
{R : Type uR} →
{A : Type uA} →
{M₁ : Type uM₁} →
{M₂ : Type uM₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₁] →
[inst_3 : AddCommMonoid M₂] →
[inst_4 : Algebra R A] →
[inst_5 : Module R M₁] →
[inst_6 : Module A M₁] →
[inst_7 : IsScalarTower R A M₁] →
[inst_8 : Module R M₂] →
LinearMap.BilinForm A M₁ →
LinearMap.BilinMap R M₂ R → LinearMap.BilinMap A (TensorProduct R M₁ M₂) A
The tensor product of two bilinear forms, a shorthand for dot notation.
theorem LinearMap.IsSymm.tmul E1 #
∀ {R : Type uR} {A : Type uA} {M₁ : Type uM₁} {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Algebra R A] [inst_5 : Module R M₁]
[inst_6 : Module A M₁] [inst_7 : IsScalarTower R A M₁] [inst_8 : Module R M₂] {B₁ : LinearMap.BilinForm A M₁}
{B₂ : LinearMap.BilinForm R M₂}, LinearMap.IsSymm B₁ → LinearMap.IsSymm B₂ → LinearMap.IsSymm (B₁.tmul B₂)
A tensor product of symmetric bilinear forms is symmetric.
def LinearMap.BilinForm.baseChange E1 #
{R : Type uR} →
(A : Type uA) →
{M₂ : Type uM₂} →
[inst : CommSemiring R] →
[inst_1 : CommSemiring A] →
[inst_2 : AddCommMonoid M₂] →
[inst_3 : Algebra R A] →
[inst_4 : Module R M₂] → LinearMap.BilinForm R M₂ → LinearMap.BilinForm A (TensorProduct R A M₂)
The base change of a bilinear form.
theorem LinearMap.BilinForm.baseChange_tmul E0 #
∀ {R : Type uR} {A : Type uA} {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : Algebra R A] [inst_4 : Module R M₂] (B₂ : LinearMap.BilinForm R M₂) (a : A)
(m₂ : M₂) (a' : A) (m₂' : M₂),
((LinearMap.BilinForm.baseChange A B₂) (a ⊗ₜ[R] m₂)) (a' ⊗ₜ[R] m₂') = (B₂ m₂) m₂' • (a * a')
theorem LinearMap.BilinForm.baseChange_zero E0 #
∀ {R : Type uR} {A : Type uA} {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : Algebra R A] [inst_4 : Module R M₂], LinearMap.BilinForm.baseChange A 0 = 0
theorem LinearMap.BilinForm.baseChange_eq_zero_iff E0 #
∀ {R : Type uR} {A : Type uA} {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : Algebra R A] [inst_4 : Module R M₂] [FaithfulSMul R A]
(B : LinearMap.BilinForm R M₂), LinearMap.BilinForm.baseChange A B = 0 ↔ B = 0
theorem LinearMap.BilinForm.IsSymm.baseChange E1 #
∀ {R : Type uR} (A : Type uA) {M₂ : Type uM₂} [inst : CommSemiring R] [inst_1 : CommSemiring A]
[inst_2 : AddCommMonoid M₂] [inst_3 : Algebra R A] [inst_4 : Module R M₂] {B₂ : LinearMap.BilinForm R M₂},
LinearMap.IsSymm B₂ → LinearMap.IsSymm (LinearMap.BilinForm.baseChange A B₂)
The base change of a symmetric bilinear form is symmetric.
def LinearMap.BilinForm.tensorDistribEquiv E1 #
(R : Type uR) →
{M₁ : Type uM₁} →
{M₂ : Type uM₂} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M₁] →
[inst_2 : AddCommGroup M₂] →
[inst_3 : Module R M₁] →
[inst_4 : Module R M₂] →
[Module.Projective R M₁] →
[Module.Finite R M₁] →
[Module.Projective R M₂] →
[Module.Finite R M₂] →
TensorProduct R (LinearMap.BilinForm R M₁) (LinearMap.BilinForm R M₂) ≃ₗ[R]
LinearMap.BilinForm R (TensorProduct R M₁ M₂)
tensorDistrib as an equivalence.
theorem LinearMap.BilinForm.tensorDistribEquiv_tmul E0 #
∀ {R : Type uR} {M₁ : Type uM₁} {M₂ : Type uM₂} [inst : CommRing R] [inst_1 : AddCommGroup M₁]
[inst_2 : AddCommGroup M₂] [inst_3 : Module R M₁] [inst_4 : Module R M₂] [inst_5 : Module.Projective R M₁]
[inst_6 : Module.Finite R M₁] [inst_7 : Module.Projective R M₂] [inst_8 : Module.Finite R M₂]
(B₁ : LinearMap.BilinForm R M₁) (B₂ : LinearMap.BilinForm R M₂) (m₁ : M₁) (m₂ : M₂) (m₁' : M₁) (m₂' : M₂),
(((LinearMap.BilinForm.tensorDistribEquiv R) (B₁ ⊗ₜ[R] B₂)) (m₁ ⊗ₜ[R] m₂)) (m₁' ⊗ₜ[R] m₂') = (B₂ m₂) m₂' * (B₁ m₁) m₁'
theorem LinearMap.BilinForm.tensorDistribEquiv_toLinearMap E0 #
∀ (R : Type uR) (M₁ : Type uM₁) (M₂ : Type uM₂) [inst : CommRing R] [inst_1 : AddCommGroup M₁]
[inst_2 : AddCommGroup M₂] [inst_3 : Module R M₁] [inst_4 : Module R M₂] [inst_5 : Module.Projective R M₁]
[inst_6 : Module.Finite R M₁] [inst_7 : Module.Projective R M₂] [inst_8 : Module.Finite R M₂],
↑(LinearMap.BilinForm.tensorDistribEquiv R) = LinearMap.BilinForm.tensorDistrib R R
theorem LinearMap.BilinForm.tensorDistribEquiv_apply E0 #
∀ {R : Type uR} {M₁ : Type uM₁} {M₂ : Type uM₂} [inst : CommRing R] [inst_1 : AddCommGroup M₁]
[inst_2 : AddCommGroup M₂] [inst_3 : Module R M₁] [inst_4 : Module R M₂] [inst_5 : Module.Projective R M₁]
[inst_6 : Module.Finite R M₁] [inst_7 : Module.Projective R M₂] [inst_8 : Module.Finite R M₂]
(B : TensorProduct R (LinearMap.BilinForm R M₁) (LinearMap.BilinForm R M₂)),
(LinearMap.BilinForm.tensorDistribEquiv R) B = (LinearMap.BilinForm.tensorDistrib R R) B