The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.LinearAlgebra.TensorProduct.Vanishing

12 declarations. Mathlib docs · Source

Vanishing of elements in a tensor product of two modules

Let $M$ and $N$ be modules over a commutative ring $R$. Recall that every element of $M \otimes N$ can be written as a finite sum $\sum_{i} m_i \otimes n_i$ of pure tensors (TensorProduct.exists_finset). We would like to determine under what circumstances such an expression vanishes.

Let us say that an expression $\sum_{i \in \iota} m_i \otimes n_i$ in $M \otimes N$ vanishes trivially (TensorProduct.VanishesTrivially) if there exist a finite index type $\kappa$ = Fin k, elements $(y_j){j \in \kappa}$ of $N$, and elements $(a{ij}){i \in \iota, j \in \kappa}$ of $R$ such that for all $i$, $$n_i = \sum_j a{ij} y_j$$ and for all $j$, $$\sum_i a_{ij} m_i = 0.$$ (The terminology "trivial" comes from Stacks 00HK.) It is not difficult to show (TensorProduct.sum_tmul_eq_zero_of_vanishesTrivially) that if $\sum_i m_i \otimes n_i$ vanishes trivially, then it vanishes; that is, $\sum_i m_i \otimes n_i = 0$.

The equational criterion for vanishing (TensorProduct.vanishesTrivially_iff_sum_tmul_eq_zero), which appears as [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term], states that if the elements $m_i$ generate the module $M$, then $\sum_i m_i \otimes n_i = 0$ if and only if the expression $\sum_i m_i \otimes n_i$ vanishes trivially.

We also prove the following generalization (TensorProduct.vanishesTrivially_iff_sum_tmul_eq_zero_of_rTensor_injective). If the submodule $M' \subseteq M$ generated by the $m_i$ satisfies the property that the induced map $M' \otimes N \to M \otimes N$ is injective, then $\sum_i m_i \otimes n_i = 0$ if and only if the expression $\sum_i m_i \otimes n_i$ vanishes trivially. (In the case that $M = R$, this yields the equational criterion for flatness Module.Flat.iff_forall_isTrivialRelation.)

Conversely (TensorProduct.rTensor_injective_of_forall_vanishesTrivially), suppose that for every equation $\sum_i m_i \otimes n_i = 0$, the expression $\sum_i m_i \otimes n_i$ vanishes trivially. Then the induced map $M' \otimes N \to M \otimes N$ is injective for every submodule $M' \subseteq M$.

References

  • [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term]

TODO

  • Prove the same theorems with $M$ and $N$ swapped.

abbrev TensorProduct.VanishesTrivially E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    {M : Type u_2} →
      [inst_1 : AddCommGroup M] →
        [Module R M] →
          {N : Type u_3} →
            [inst_3 : AddCommGroup N] → [Module R N] → {ι : Type u_4} → [Fintype ι] → (ι → M) → (ι → N) → Prop

An expression $\sum_i m_i \otimes n_i$ in $M \otimes N$ vanishes trivially if there exist a finite index type $\kappa$ = Fin k, elements $(y_j){j \in \kappa}$ of $N$, and elements $(a{ij}){i \in \iota, j \in \kappa}$ of $R$ such that for all $i$, $$n_i = \sum_j a{ij} y_j$$ and for all $j$, $$\sum_i a_{ij} m_i = 0.$$ Note that this condition is not symmetric in $M$ and $N$. (The terminology "trivial" comes from Stacks 00HK.)

theorem TensorProduct.VanishesTrivially.of_fintype E1 #

∀ {R : Type u_1} [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N}
  {κ : Type u_5} [inst_6 : Fintype κ] (a : ι → κ → R) (y : κ → N),
  (∀ (i : ι), n i = ∑ j, a i j • y j) → (∀ (j : κ), ∑ i, a i j • m i = 0) → TensorProduct.VanishesTrivially R m n

theorem Equiv.vanishesTrivially_comp E1 #

∀ {R : Type u_1} [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N}
  {κ : Type u_5} [inst_6 : Fintype κ] (e : κ ≃ ι),
  TensorProduct.VanishesTrivially R (m ∘ ⇑e) (n ∘ ⇑e) ↔ TensorProduct.VanishesTrivially R m n

theorem TensorProduct.sum_tmul_eq_zero_of_vanishesTrivially E2 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N},
  TensorProduct.VanishesTrivially R m n → ∑ i, m i ⊗ₜ[R] n i = 0

Equational criterion for vanishing [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term], backward direction.

If the expression $\sum_i m_i \otimes n_i$ vanishes trivially, then it vanishes. That is, $\sum_i m_i \otimes n_i = 0$.

theorem TensorProduct.vanishesTrivially_of_sum_tmul_eq_zero E2 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N},
  Submodule.span R (Set.range m) = ⊤ → ∑ i, m i ⊗ₜ[R] n i = 0 → TensorProduct.VanishesTrivially R m n

Equational criterion for vanishing [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term], forward direction.

Assume that the $m_i$ generate $M$. If the expression $\sum_i m_i \otimes n_i$ vanishes, then it vanishes trivially.

theorem TensorProduct.vanishesTrivially_iff_sum_tmul_eq_zero E2 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N},
  Submodule.span R (Set.range m) = ⊤ → (TensorProduct.VanishesTrivially R m n ↔ ∑ i, m i ⊗ₜ[R] n i = 0)

Equational criterion for vanishing [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term].

Assume that the $m_i$ generate $M$. Then the expression $\sum_i m_i \otimes n_i$ vanishes trivially if and only if it vanishes.

theorem TensorProduct.vanishesTrivially_of_sum_tmul_eq_zero_of_rTensor_injective E2 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N},
  Function.Injective ⇑(LinearMap.rTensor N (Submodule.span R (Set.range m)).subtype) →
    ∑ i, m i ⊗ₜ[R] n i = 0 → TensorProduct.VanishesTrivially R m n

Equational criterion for vanishing [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term], forward direction, generalization.

Assume that the submodule $M' \subseteq M$ generated by the $m_i$ satisfies the property that the map $M' \otimes N \to M \otimes N$ is injective. If the expression $\sum_i m_i \otimes n_i$ vanishes, then it vanishes trivially.

theorem TensorProduct.vanishesTrivially_iff_sum_tmul_eq_zero_of_rTensor_injective E2 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N] {ι : Type u_4} [inst_5 : Fintype ι] {m : ι → M} {n : ι → N},
  Function.Injective ⇑(LinearMap.rTensor N (Submodule.span R (Set.range m)).subtype) →
    (TensorProduct.VanishesTrivially R m n ↔ ∑ i, m i ⊗ₜ[R] n i = 0)

Equational criterion for vanishing [A. Altman and S. Kleiman, A term of commutative algebra (Lemma 8.16)][altman2021term], generalization.

Assume that the submodule $M' \subseteq M$ generated by the $m_i$ satisfies the property that the map $M' \otimes N \to M \otimes N$ is injective. Then the expression $\sum_i m_i \otimes n_i$ vanishes trivially if and only if it vanishes.

theorem TensorProduct.rTensor_injective_of_forall_vanishesTrivially E1 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N],
  (∀ {l : ℕ} {m : Fin l → M} {n : Fin l → N}, ∑ i, m i ⊗ₜ[R] n i = 0 → TensorProduct.VanishesTrivially R m n) →
    ∀ (M' : Submodule R M), Function.Injective ⇑(LinearMap.rTensor N M'.subtype)

Converse of TensorProduct.vanishesTrivially_of_sum_tmul_eq_zero_of_rTensor_injective.

Assume that every expression $\sum_i m_i \otimes n_i$ which vanishes also vanishes trivially. Then, for every submodule $M' \subseteq M$, the map $M' \otimes N \to M \otimes N$ is injective.

theorem TensorProduct.forall_vanishesTrivially_iff_forall_rTensor_injective E1 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N],
  (∀ {l : ℕ} {m : Fin l → M} {n : Fin l → N}, ∑ i, m i ⊗ₜ[R] n i = 0 → TensorProduct.VanishesTrivially R m n) ↔
    ∀ (M' : Submodule R M), Function.Injective ⇑(LinearMap.rTensor N M'.subtype)

Every expression $\sum_i m_i \otimes n_i$ which vanishes also vanishes trivially if and only if for every submodule $M' \subseteq M$, the map $M' \otimes N \to M \otimes N$ is injective.

theorem TensorProduct.forall_vanishesTrivially_iff_forall_fg_rTensor_injective E1 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N],
  (∀ {l : ℕ} {m : Fin l → M} {n : Fin l → N}, ∑ i, m i ⊗ₜ[R] n i = 0 → TensorProduct.VanishesTrivially R m n) ↔
    ∀ (M' : Submodule R M), M'.FG → Function.Injective ⇑(LinearMap.rTensor N M'.subtype)

Every expression $\sum_i m_i \otimes n_i$ which vanishes also vanishes trivially if and only if for every finitely generated submodule $M' \subseteq M$, the map $M' \otimes N \to M \otimes N$ is injective.

theorem TensorProduct.rTensor_injective_of_forall_fg_rTensor_injective E1 #

∀ (R : Type u_1) [inst : CommRing R] {M : Type u_2} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_3}
  [inst_3 : AddCommGroup N] [inst_4 : Module R N],
  (∀ (M' : Submodule R M), M'.FG → Function.Injective ⇑(LinearMap.rTensor N M'.subtype)) →
    ∀ (M' : Submodule R M), Function.Injective ⇑(LinearMap.rTensor N M'.subtype)

If the map $M' \otimes N \to M \otimes N$ is injective for every finitely generated submodule $M' \subseteq M$, then it is in fact injective for every submodule $M' \subseteq M$.