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.RingTheory.IsTensorProduct

95 declarations. Mathlib docs · Source

The characteristic predicate of tensor product

Main definitions

  • IsTensorProduct: A predicate on f : M₁ →ₗ[R] M₂ →ₗ[R] M expressing that f realizes M as the tensor product of M₁ ⊗[R] M₂. This is defined by requiring the lift M₁ ⊗[R] M₂ → M to be bijective.
  • IsBaseChange: A predicate on an R-algebra S and a map f : M →ₗ[R] N with N being an S-module, expressing that f realizes N as the base change of M along R → S.
  • Algebra.IsPushout: A predicate on the following diagram of scalar towers
      R  →  S
      ↓     ↓
      R' →  S'
    
    asserting that is a pushout diagram (i.e. S' = S ⊗[R] R')

Main results

  • TensorProduct.isBaseChange: S ⊗[R] M is the base change of M along R → S.

theorem Algebra.IsPushout.cancelBaseChange.congr_simp E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (M : Type u_10) [inst_12 : AddCommGroup M] [inst_13 : Module R M]
  [inst_14 : Module A M] [inst_15 : IsScalarTower R A M],
  Algebra.IsPushout.cancelBaseChange R S A B M = Algebra.IsPushout.cancelBaseChange R S A B M

theorem IsTensorProduct.equiv.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f f_1 : M₁ →ₗ[R] M₂ →ₗ[R] M} (e_f : f = f_1) (h : IsTensorProduct f), h.equiv = ⋯.equiv

theorem Algebra.IsPushout.equiv.congr_simp E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [h : Algebra.IsPushout R S R' S'], Algebra.IsPushout.equiv R S R' S' = Algebra.IsPushout.equiv R S R' S'

theorem Algebra.pushoutDesc.congr_simp E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [H : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_11 : Semiring A] [inst_12 : Algebra R A] (f f_1 : S →ₐ[R] A)
  (e_f : f = f_1) (g g_1 : R' →ₐ[R] A) (e_g : g = g_1) (hf : ∀ (x : S) (y : R'), f x * g y = g y * f x),
  Algebra.pushoutDesc S' f g hf = Algebra.pushoutDesc S' f_1 g_1 ⋯

theorem Algebra.IsPushout.cancelBaseChangeAux.congr_simp E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (M : Type u_10) [inst_12 : AddCommGroup M] [inst_13 : Module R M]
  [inst_14 : Module A M] [inst_15 : IsScalarTower R A M],
  Algebra.IsPushout.cancelBaseChangeAux R S A B M = Algebra.IsPushout.cancelBaseChangeAux R S A B M

theorem IsBaseChange.lift.congr_simp E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f f_1 : M →ₗ[R] N} (e_f : f = f_1) (h : IsBaseChange S f)
  {Q : Type u_3} [inst_9 : AddCommMonoid Q] [inst_10 : Module S Q] [inst_11 : Module R Q]
  [inst_12 : IsScalarTower R S Q] (g g_1 : M →ₗ[R] Q), g = g_1 → h.lift g = ⋯.lift g_1

theorem Algebra.IsPushout.cancelBaseChangeAlg.congr_simp E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (C : Type u_11) [inst_12 : CommRing C] [inst_13 : Algebra R C]
  [inst_14 : Algebra A C] [inst_15 : IsScalarTower R A C],
  Algebra.IsPushout.cancelBaseChangeAlg R S A B C = Algebra.IsPushout.cancelBaseChangeAlg R S A B C

theorem IsBaseChange.equiv.congr_simp E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f f_1 : M →ₗ[R] N} (e_f : f = f_1) (h : IsBaseChange S f),
  h.equiv = ⋯.equiv

theorem IsTensorProduct.map.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f f_1 : M₁ →ₗ[R] M₂ →ₗ[R] M} (e_f : f = f_1) {N₁ : Type u_6} {N₂ : Type u_7} {N : Type u_8}
  [inst_7 : AddCommMonoid N₁] [inst_8 : AddCommMonoid N₂] [inst_9 : AddCommMonoid N] [inst_10 : Module R N₁]
  [inst_11 : Module R N₂] [inst_12 : Module R N] {g g_1 : N₁ →ₗ[R] N₂ →ₗ[R] N} (e_g : g = g_1) (hf : IsTensorProduct f)
  (hg : IsTensorProduct g) (i₁ i₁_1 : M₁ →ₗ[R] N₁),
  i₁ = i₁_1 → ∀ (i₂ i₂_1 : M₂ →ₗ[R] N₂), i₂ = i₂_1 → hf.map hg i₁ i₂ = ⋯.map ⋯ i₁_1 i₂_1

def IsTensorProduct E3 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M₁ : Type u_2} →
      {M₂ : Type u_3} →
        {M : Type u_4} →
          [inst_1 : AddCommMonoid M₁] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : Module R M₁] → [inst_5 : Module R M₂] → [inst_6 : Module R M] → (M₁ →ₗ[R] M₂ →ₗ[R] M) → Prop

Given a bilinear map f : M₁ →ₗ[R] M₂ →ₗ[R] M, IsTensorProduct f means that M is the tensor product of M₁ and M₂ via f. This is defined by requiring the lift M₁ ⊗[R] M₂ → M to be bijective.

theorem TensorProduct.isTensorProduct E1 #

∀ (R : Type u_1) [inst : CommSemiring R] (M : Type u_4) [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (N : Type u_8)
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N], IsTensorProduct (TensorProduct.mk R M N)

def IsTensorProduct.equiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M₁ : Type u_2} →
      {M₂ : Type u_3} →
        {M : Type u_4} →
          [inst_1 : AddCommMonoid M₁] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : Module R M₁] →
                  [inst_5 : Module R M₂] →
                    [inst_6 : Module R M] →
                      {f : M₁ →ₗ[R] M₂ →ₗ[R] M} → IsTensorProduct f → TensorProduct R M₁ M₂ ≃ₗ[R] M

If M is the tensor product of M₁ and M₂, it is linearly equivalent to M₁ ⊗[R] M₂.

theorem IsTensorProduct.equiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (h : IsTensorProduct f) (x : TensorProduct R M₁ M₂),
  h.equiv x = (TensorProduct.lift f) x

theorem IsTensorProduct.equiv_toLinearMap E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (h : IsTensorProduct f), ↑h.equiv = TensorProduct.lift f

theorem IsTensorProduct.equiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (h : IsTensorProduct f) (x₁ : M₁) (x₂ : M₂),
  h.equiv.symm ((f x₁) x₂) = x₁ ⊗ₜ[R] x₂

def IsTensorProduct.lift E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M₁ : Type u_2} →
      {M₂ : Type u_3} →
        {M : Type u_4} →
          {M' : Type u_5} →
            [inst_1 : AddCommMonoid M₁] →
              [inst_2 : AddCommMonoid M₂] →
                [inst_3 : AddCommMonoid M] →
                  [inst_4 : AddCommMonoid M'] →
                    [inst_5 : Module R M₁] →
                      [inst_6 : Module R M₂] →
                        [inst_7 : Module R M] →
                          [inst_8 : Module R M'] →
                            {f : M₁ →ₗ[R] M₂ →ₗ[R] M} → IsTensorProduct f → (M₁ →ₗ[R] M₂ →ₗ[R] M') → M →ₗ[R] M'

If M is the tensor product of M₁ and M₂, we may lift a bilinear map M₁ →ₗ[R] M₂ →ₗ[R] M' to a M →ₗ[R] M'.

theorem IsTensorProduct.lift_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} {M' : Type u_5}
  [inst_1 : AddCommMonoid M₁] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid M']
  [inst_5 : Module R M₁] [inst_6 : Module R M₂] [inst_7 : Module R M] [inst_8 : Module R M'] {f : M₁ →ₗ[R] M₂ →ₗ[R] M}
  (h : IsTensorProduct f) (f' : M₁ →ₗ[R] M₂ →ₗ[R] M') (x₁ : M₁) (x₂ : M₂), (h.lift f') ((f x₁) x₂) = (f' x₁) x₂

def IsTensorProduct.map E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M₁ : Type u_2} →
      {M₂ : Type u_3} →
        {M : Type u_4} →
          [inst_1 : AddCommMonoid M₁] →
            [inst_2 : AddCommMonoid M₂] →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : Module R M₁] →
                  [inst_5 : Module R M₂] →
                    [inst_6 : Module R M] →
                      {f : M₁ →ₗ[R] M₂ →ₗ[R] M} →
                        {N₁ : Type u_6} →
                          {N₂ : Type u_7} →
                            {N : Type u_8} →
                              [inst_7 : AddCommMonoid N₁] →
                                [inst_8 : AddCommMonoid N₂] →
                                  [inst_9 : AddCommMonoid N] →
                                    [inst_10 : Module R N₁] →
                                      [inst_11 : Module R N₂] →
                                        [inst_12 : Module R N] →
                                          {g : N₁ →ₗ[R] N₂ →ₗ[R] N} →
                                            IsTensorProduct f →
                                              IsTensorProduct g → (M₁ →ₗ[R] N₁) → (M₂ →ₗ[R] N₂) → M →ₗ[R] N

The tensor product of a pair of linear maps between modules.

theorem IsTensorProduct.map_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₁ : Type u_6} {N₂ : Type u_7} {N : Type u_8}
  [inst_7 : AddCommMonoid N₁] [inst_8 : AddCommMonoid N₂] [inst_9 : AddCommMonoid N] [inst_10 : Module R N₁]
  [inst_11 : Module R N₂] [inst_12 : Module R N] {g : N₁ →ₗ[R] N₂ →ₗ[R] N} (hf : IsTensorProduct f)
  (hg : IsTensorProduct g) (i₁ : M₁ →ₗ[R] N₁) (i₂ : M₂ →ₗ[R] N₂) (x₁ : M₁) (x₂ : M₂),
  (hf.map hg i₁ i₂) ((f x₁) x₂) = (g (i₁ x₁)) (i₂ x₂)

theorem IsTensorProduct.inductionOn E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M},
  IsTensorProduct f →
    ∀ {motive : M → Prop} (m : M),
      (∀ (x : M₁) (y : M₂), motive ((f x) y)) → (∀ (x y : M), motive x → motive y → motive (x + y)) → motive m

theorem IsTensorProduct.of_equiv E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (e : TensorProduct R M₁ M₂ ≃ₗ[R] M),
  (∀ (x : M₁) (y : M₂), e (x ⊗ₜ[R] y) = (f x) y) → IsTensorProduct f

theorem IsTensorProduct.map_comp E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₁ : Type u_6} {N₂ : Type u_7} {N : Type u_8}
  [inst_7 : AddCommMonoid N₁] [inst_8 : AddCommMonoid N₂] [inst_9 : AddCommMonoid N] [inst_10 : Module R N₁]
  [inst_11 : Module R N₂] [inst_12 : Module R N] {g : N₁ →ₗ[R] N₂ →ₗ[R] N} {P₁ : Type u_9} {P₂ : Type u_10}
  {P : Type u_11} [inst_13 : AddCommMonoid P₁] [inst_14 : AddCommMonoid P₂] [inst_15 : AddCommMonoid P]
  [inst_16 : Module R P₁] [inst_17 : Module R P₂] [inst_18 : Module R P] {p : P₁ →ₗ[R] P₂ →ₗ[R] P}
  (hf : IsTensorProduct f) (hg : IsTensorProduct g) (hp : IsTensorProduct p) (i₁ : N₁ →ₗ[R] P₁) (j₁ : M₁ →ₗ[R] N₁)
  (i₂ : N₂ →ₗ[R] P₂) (j₂ : M₂ →ₗ[R] N₂), hf.map hp (i₁ ∘ₗ j₁) (i₂ ∘ₗ j₂) = hg.map hp i₁ i₂ ∘ₗ hf.map hg j₁ j₂

theorem IsTensorProduct.map_map E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₁ : Type u_6} {N₂ : Type u_7} {N : Type u_8}
  [inst_7 : AddCommMonoid N₁] [inst_8 : AddCommMonoid N₂] [inst_9 : AddCommMonoid N] [inst_10 : Module R N₁]
  [inst_11 : Module R N₂] [inst_12 : Module R N] {g : N₁ →ₗ[R] N₂ →ₗ[R] N} {P₁ : Type u_9} {P₂ : Type u_10}
  {P : Type u_11} [inst_13 : AddCommMonoid P₁] [inst_14 : AddCommMonoid P₂] [inst_15 : AddCommMonoid P]
  [inst_16 : Module R P₁] [inst_17 : Module R P₂] [inst_18 : Module R P] {p : P₁ →ₗ[R] P₂ →ₗ[R] P}
  (hf : IsTensorProduct f) (hg : IsTensorProduct g) (hp : IsTensorProduct p) (i₁ : N₁ →ₗ[R] P₁) (j₁ : M₁ →ₗ[R] N₁)
  (i₂ : N₂ →ₗ[R] P₂) (j₂ : M₂ →ₗ[R] N₂) (x : M),
  (hg.map hp i₁ i₂) ((hf.map hg j₁ j₂) x) = (hf.map hp (i₁ ∘ₗ j₁) (i₂ ∘ₗ j₂)) x

theorem IsTensorProduct.map_id E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (hf : IsTensorProduct f),
  hf.map hf LinearMap.id LinearMap.id = LinearMap.id

theorem IsTensorProduct.map_one E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (hf : IsTensorProduct f), hf.map hf 1 1 = 1

theorem IsTensorProduct.map_mul E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (hf : IsTensorProduct f) (i₁ i₂ : M₁ →ₗ[R] M₁) (j₁ j₂ : M₂ →ₗ[R] M₂),
  hf.map hf (i₁ * i₂) (j₁ * j₂) = hf.map hf i₁ j₁ * hf.map hf i₂ j₂

theorem IsTensorProduct.map_pow E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} (hf : IsTensorProduct f) (i : M₁ →ₗ[R] M₁) (j : M₂ →ₗ[R] M₂) (n : ℕ),
  hf.map hf i j ^ n = hf.map hf (i ^ n) (j ^ n)

def IsTensorProduct.assoc E1 #

{R : Type u_9} →
  {S : Type u_10} →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {M₁ : Type u_11} →
            {M₂ : Type u_12} →
              {M₃ : Type u_13} →
                {M₁₂ : Type u_14} →
                  {M₂₃ : Type u_15} →
                    [inst_3 : AddCommMonoid M₁] →
                      [inst_4 : AddCommMonoid M₂] →
                        [inst_5 : AddCommMonoid M₃] →
                          [inst_6 : AddCommMonoid M₁₂] →
                            [inst_7 : AddCommMonoid M₂₃] →
                              [inst_8 : Module R M₁] →
                                [inst_9 : Module R M₂] →
                                  [inst_10 : Module S M₂] →
                                    [inst_11 : IsScalarTower R S M₂] →
                                      [inst_12 : Module R M₃] →
                                        [inst_13 : Module S M₃] →
                                          [IsScalarTower R S M₃] →
                                            [inst_15 : Module R M₁₂] →
                                              [inst_16 : Module S M₁₂] →
                                                [inst_17 : IsScalarTower R S M₁₂] →
                                                  [inst_18 : Module R M₂₃] →
                                                    [inst_19 : Module S M₂₃] →
                                                      [IsScalarTower R S M₂₃] →
                                                        {T : Type u_16} →
                                                          [inst_21 : CommSemiring T] →
                                                            [inst_22 : Algebra R T] →
                                                              [inst_23 : Module T M₁] →
                                                                [inst_24 : IsScalarTower R T M₁] →
                                                                  [inst_25 : Module T M₁₂] →
                                                                    [inst_26 : SMulCommClass S T M₁₂] →
                                                                      [inst_27 : IsScalarTower R T M₁₂] →
                                                                        (f : M₁ →ₗ[T] M₂ →ₗ[S] M₁₂) →
                                                                          IsTensorProduct
                                                                              (LinearMap.restrictScalars₁₂ R R f) →
                                                                            (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃) →
                                                                              IsTensorProduct g →
                                                                                TensorProduct S M₁₂ M₃ ≃ₗ[T]
                                                                                  TensorProduct R M₁ M₂₃

This is the canonical isomorphism (M₁ ⊗[R] M₂) ⊗[S] M₃ ≃ₗ[T] M₁ ⊗[R] (M₂ ⊗[S] M₃). We state this for a general M₁₂ = M₁ ⊗[R] M₂ and M₂₃ = M₂ ⊗[R] M₃. For the version where R and S are flipped, see TensorProduct.AlgebraTensorModule.assoc.

theorem IsTensorProduct.assoc_tmul E0 #

∀ {R : Type u_9} {S : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  {M₁ : Type u_11} {M₂ : Type u_12} {M₃ : Type u_13} {M₁₂ : Type u_14} {M₂₃ : Type u_15} [inst_3 : AddCommMonoid M₁]
  [inst_4 : AddCommMonoid M₂] [inst_5 : AddCommMonoid M₃] [inst_6 : AddCommMonoid M₁₂] [inst_7 : AddCommMonoid M₂₃]
  [inst_8 : Module R M₁] [inst_9 : Module R M₂] [inst_10 : Module S M₂] [inst_11 : IsScalarTower R S M₂]
  [inst_12 : Module R M₃] [inst_13 : Module S M₃] [inst_14 : IsScalarTower R S M₃] [inst_15 : Module R M₁₂]
  [inst_16 : Module S M₁₂] [inst_17 : IsScalarTower R S M₁₂] [inst_18 : Module R M₂₃] [inst_19 : Module S M₂₃]
  [inst_20 : IsScalarTower R S M₂₃] {T : Type u_16} [inst_21 : CommSemiring T] [inst_22 : Algebra R T]
  [inst_23 : Module T M₁] [inst_24 : IsScalarTower R T M₁] [inst_25 : Module T M₁₂] [inst_26 : SMulCommClass S T M₁₂]
  [inst_27 : IsScalarTower R T M₁₂] (f : M₁ →ₗ[T] M₂ →ₗ[S] M₁₂)
  (hf : IsTensorProduct (LinearMap.restrictScalars₁₂ R R f)) (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃) (hg : IsTensorProduct g)
  (x₁ : M₁) (x₂ : M₂) (x₃ : M₃), (IsTensorProduct.assoc f hf g hg) ((f x₁) x₂ ⊗ₜ[S] x₃) = x₁ ⊗ₜ[R] (g x₂) x₃

theorem IsTensorProduct.assoc_symm_tmul E0 #

∀ {R : Type u_9} {S : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  {M₁ : Type u_11} {M₂ : Type u_12} {M₃ : Type u_13} {M₁₂ : Type u_14} {M₂₃ : Type u_15} [inst_3 : AddCommMonoid M₁]
  [inst_4 : AddCommMonoid M₂] [inst_5 : AddCommMonoid M₃] [inst_6 : AddCommMonoid M₁₂] [inst_7 : AddCommMonoid M₂₃]
  [inst_8 : Module R M₁] [inst_9 : Module R M₂] [inst_10 : Module S M₂] [inst_11 : IsScalarTower R S M₂]
  [inst_12 : Module R M₃] [inst_13 : Module S M₃] [inst_14 : IsScalarTower R S M₃] [inst_15 : Module R M₁₂]
  [inst_16 : Module S M₁₂] [inst_17 : IsScalarTower R S M₁₂] [inst_18 : Module R M₂₃] [inst_19 : Module S M₂₃]
  [inst_20 : IsScalarTower R S M₂₃] {T : Type u_16} [inst_21 : CommSemiring T] [inst_22 : Algebra R T]
  [inst_23 : Module T M₁] [inst_24 : IsScalarTower R T M₁] [inst_25 : Module T M₁₂] [inst_26 : SMulCommClass S T M₁₂]
  [inst_27 : IsScalarTower R T M₁₂] (f : M₁ →ₗ[T] M₂ →ₗ[S] M₁₂)
  (hf : IsTensorProduct (LinearMap.restrictScalars₁₂ R R f)) (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃) (hg : IsTensorProduct g)
  (x₁ : M₁) (x₂ : M₂) (x₃ : M₃), (IsTensorProduct.assoc f hf g hg).symm (x₁ ⊗ₜ[R] (g x₂) x₃) = (f x₁) x₂ ⊗ₜ[S] x₃

def IsTensorProduct.assocOfMapSMul E1 #

{R : Type u_9} →
  {S : Type u_10} →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {M₁ : Type u_11} →
            {M₂ : Type u_12} →
              {M₃ : Type u_13} →
                {M₁₂ : Type u_14} →
                  {M₂₃ : Type u_15} →
                    [inst_3 : AddCommMonoid M₁] →
                      [inst_4 : AddCommMonoid M₂] →
                        [inst_5 : AddCommMonoid M₃] →
                          [inst_6 : AddCommMonoid M₁₂] →
                            [inst_7 : AddCommMonoid M₂₃] →
                              [inst_8 : Module R M₁] →
                                [inst_9 : Module R M₂] →
                                  [inst_10 : Module S M₂] →
                                    [IsScalarTower R S M₂] →
                                      [inst_12 : Module R M₃] →
                                        [inst_13 : Module S M₃] →
                                          [IsScalarTower R S M₃] →
                                            [inst_15 : Module R M₁₂] →
                                              [inst_16 : Module S M₁₂] →
                                                [IsScalarTower R S M₁₂] →
                                                  [inst_18 : Module R M₂₃] →
                                                    [inst_19 : Module S M₂₃] →
                                                      [IsScalarTower R S M₂₃] →
                                                        {T : Type u_16} →
                                                          [inst_21 : CommSemiring T] →
                                                            [inst_22 : Algebra R T] →
                                                              [inst_23 : Module T M₁] →
                                                                [inst_24 : IsScalarTower R T M₁] →
                                                                  [inst_25 : Module T M₁₂] →
                                                                    [inst_26 : SMulCommClass S T M₁₂] →
                                                                      [IsScalarTower R T M₁₂] →
                                                                        (f : M₁ →ₗ[R] M₂ →ₗ[R] M₁₂) →
                                                                          IsTensorProduct f →
                                                                            (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃) →
                                                                              IsTensorProduct g →
                                                                                (∀ (t : T) (x : M₁) (y : M₂),
                                                                                    (f (t • x)) y = t • (f x) y) →
                                                                                  (∀ (s : S) (x : M₁) (y : M₂),
                                                                                      (f x) (s • y) = s • (f x) y) →
                                                                                    TensorProduct S M₁₂ M₃ ≃ₗ[T]
                                                                                      TensorProduct R M₁ M₂₃

Variant of IsTensorProduct.assoc taking an R-bilinear map f and proofs that f is T linear in the first and S-linear in the second argument.

theorem IsTensorProduct.assocOfMapSMul_tmul E0 #

∀ {R : Type u_9} {S : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  {M₁ : Type u_11} {M₂ : Type u_12} {M₃ : Type u_13} {M₁₂ : Type u_14} {M₂₃ : Type u_15} [inst_3 : AddCommMonoid M₁]
  [inst_4 : AddCommMonoid M₂] [inst_5 : AddCommMonoid M₃] [inst_6 : AddCommMonoid M₁₂] [inst_7 : AddCommMonoid M₂₃]
  [inst_8 : Module R M₁] [inst_9 : Module R M₂] [inst_10 : Module S M₂] [inst_11 : IsScalarTower R S M₂]
  [inst_12 : Module R M₃] [inst_13 : Module S M₃] [inst_14 : IsScalarTower R S M₃] [inst_15 : Module R M₁₂]
  [inst_16 : Module S M₁₂] [inst_17 : IsScalarTower R S M₁₂] [inst_18 : Module R M₂₃] [inst_19 : Module S M₂₃]
  [inst_20 : IsScalarTower R S M₂₃] {T : Type u_16} [inst_21 : CommSemiring T] [inst_22 : Algebra R T]
  [inst_23 : Module T M₁] [inst_24 : IsScalarTower R T M₁] [inst_25 : Module T M₁₂] [inst_26 : SMulCommClass S T M₁₂]
  [inst_27 : IsScalarTower R T M₁₂] (f : M₁ →ₗ[R] M₂ →ₗ[R] M₁₂) (hf : IsTensorProduct f) (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃)
  (hg : IsTensorProduct g) (h₁ : ∀ (t : T) (x : M₁) (y : M₂), (f (t • x)) y = t • (f x) y)
  (h₂ : ∀ (s : S) (x : M₁) (y : M₂), (f x) (s • y) = s • (f x) y) (x₁ : M₁) (x₂ : M₂) (x₃ : M₃),
  (IsTensorProduct.assocOfMapSMul f hf g hg h₁ h₂) ((f x₁) x₂ ⊗ₜ[S] x₃) = x₁ ⊗ₜ[R] (g x₂) x₃

theorem IsTensorProduct.assocOfMapSMul_symm_tmul E0 #

∀ {R : Type u_9} {S : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  {M₁ : Type u_11} {M₂ : Type u_12} {M₃ : Type u_13} {M₁₂ : Type u_14} {M₂₃ : Type u_15} [inst_3 : AddCommMonoid M₁]
  [inst_4 : AddCommMonoid M₂] [inst_5 : AddCommMonoid M₃] [inst_6 : AddCommMonoid M₁₂] [inst_7 : AddCommMonoid M₂₃]
  [inst_8 : Module R M₁] [inst_9 : Module R M₂] [inst_10 : Module S M₂] [inst_11 : IsScalarTower R S M₂]
  [inst_12 : Module R M₃] [inst_13 : Module S M₃] [inst_14 : IsScalarTower R S M₃] [inst_15 : Module R M₁₂]
  [inst_16 : Module S M₁₂] [inst_17 : IsScalarTower R S M₁₂] [inst_18 : Module R M₂₃] [inst_19 : Module S M₂₃]
  [inst_20 : IsScalarTower R S M₂₃] {T : Type u_16} [inst_21 : CommSemiring T] [inst_22 : Algebra R T]
  [inst_23 : Module T M₁] [inst_24 : IsScalarTower R T M₁] [inst_25 : Module T M₁₂] [inst_26 : SMulCommClass S T M₁₂]
  [inst_27 : IsScalarTower R T M₁₂] (f : M₁ →ₗ[R] M₂ →ₗ[R] M₁₂) (hf : IsTensorProduct f) (g : M₂ →ₗ[S] M₃ →ₗ[S] M₂₃)
  (hg : IsTensorProduct g) (h₁ : ∀ (t : T) (x : M₁) (y : M₂), (f (t • x)) y = t • (f x) y)
  (h₂ : ∀ (s : S) (x : M₁) (y : M₂), (f x) (s • y) = s • (f x) y) (x₁ : M₁) (x₂ : M₂) (x₃ : M₃),
  (IsTensorProduct.assocOfMapSMul f hf g hg h₁ h₂).symm (x₁ ⊗ₜ[R] (g x₂) x₃) = (f x₁) x₂ ⊗ₜ[S] x₃

theorem IsTensorProduct.compr₂_linearEquiv E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} {M' : Type u_5}
  [inst_1 : AddCommMonoid M₁] [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid M']
  [inst_5 : Module R M₁] [inst_6 : Module R M₂] [inst_7 : Module R M] [inst_8 : Module R M'] {f : M₁ →ₗ[R] M₂ →ₗ[R] M},
  IsTensorProduct f → ∀ (e : M ≃ₗ[R] M'), IsTensorProduct (f.compr₂ ↑e)

theorem IsTensorProduct.compl₂_comp_linearEquiv E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₁ : Type u_6} {N₂ : Type u_7} [inst_7 : AddCommMonoid N₁]
  [inst_8 : AddCommMonoid N₂] [inst_9 : Module R N₁] [inst_10 : Module R N₂],
  IsTensorProduct f → ∀ (e₁ : N₁ ≃ₗ[R] M₁) (e₂ : N₂ ≃ₗ[R] M₂), IsTensorProduct ((f ∘ₗ ↑e₁).compl₂ ↑e₂)

theorem IsTensorProduct.comp_linearEquiv E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₁ : Type u_6} [inst_7 : AddCommMonoid N₁] [inst_8 : Module R N₁],
  IsTensorProduct f → ∀ (e₁ : N₁ ≃ₗ[R] M₁), IsTensorProduct (f ∘ₗ ↑e₁)

theorem IsTensorProduct.compl₂_linearEquiv E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M₁ : Type u_2} {M₂ : Type u_3} {M : Type u_4} [inst_1 : AddCommMonoid M₁]
  [inst_2 : AddCommMonoid M₂] [inst_3 : AddCommMonoid M] [inst_4 : Module R M₁] [inst_5 : Module R M₂]
  [inst_6 : Module R M] {f : M₁ →ₗ[R] M₂ →ₗ[R] M} {N₂ : Type u_7} [inst_7 : AddCommMonoid N₂] [inst_8 : Module R N₂],
  IsTensorProduct f → ∀ (e₂ : N₂ ≃ₗ[R] M₂), IsTensorProduct (f.compl₂ ↑e₂)

def IsBaseChange E3 #

{R : Type u_1} →
  {M : Type v₁} →
    {N : Type v₂} →
      (S : Type v₃) →
        [inst : AddCommMonoid M] →
          [inst_1 : AddCommMonoid N] →
            [inst_2 : CommSemiring R] →
              [inst_3 : CommSemiring S] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module R N] → [inst_7 : Module S N] → [IsScalarTower R S N] → (M →ₗ[R] N) → Prop

Given an R-algebra S and an R-module M, an S-module N together with a map f : M →ₗ[R] N is the base change of M to S if the map S × M → N, (s, m) ↦ s • f m is the tensor product.

def IsBaseChange.lift E1 #

{R : Type u_1} →
  {M : Type v₁} →
    {N : Type v₂} →
      {S : Type v₃} →
        [inst : AddCommMonoid M] →
          [inst_1 : AddCommMonoid N] →
            [inst_2 : CommSemiring R] →
              [inst_3 : CommSemiring S] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module R N] →
                      [inst_7 : Module S N] →
                        [inst_8 : IsScalarTower R S N] →
                          {f : M →ₗ[R] N} →
                            IsBaseChange S f →
                              {Q : Type u_3} →
                                [inst_9 : AddCommMonoid Q] →
                                  [inst_10 : Module S Q] →
                                    [inst_11 : Module R Q] → [IsScalarTower R S Q] → (M →ₗ[R] Q) → N →ₗ[S] Q

Suppose f : M →ₗ[R] N is the base change of M along R → S. Then any R-linear map from M to an S-module factors through f.

theorem IsBaseChange.lift_eq E0 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (h : IsBaseChange S f) {Q : Type u_3}
  [inst_9 : AddCommMonoid Q] [inst_10 : Module S Q] [inst_11 : Module R Q] [inst_12 : IsScalarTower R S Q]
  (g : M →ₗ[R] Q) (x : M), (h.lift g) (f x) = g x

theorem IsBaseChange.lift_comp E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (h : IsBaseChange S f) {Q : Type u_3}
  [inst_9 : AddCommMonoid Q] [inst_10 : Module S Q] [inst_11 : Module R Q] [inst_12 : IsScalarTower R S Q]
  (g : M →ₗ[R] Q), ↑R (h.lift g) ∘ₗ f = g

theorem IsBaseChange.inductionOn E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N},
  IsBaseChange S f →
    ∀ (x : N) {motive : N → Prop},
      (∀ (m : M), motive (f m)) →
        (∀ (s : S) (n : N), motive n → motive (s • n)) →
          (∀ (n₁ n₂ : N), motive n₁ → motive n₂ → motive (n₁ + n₂)) → motive x

theorem IsBaseChange.algHom_ext E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N},
  IsBaseChange S f →
    ∀ {Q : Type u_3} [inst_9 : AddCommMonoid Q] [inst_10 : Module S Q] (g₁ g₂ : N →ₗ[S] Q),
      (∀ (x : M), g₁ (f x) = g₂ (f x)) → g₁ = g₂

theorem IsBaseChange.algHom_ext' E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N},
  IsBaseChange S f →
    ∀ {Q : Type u_3} [inst_9 : AddCommMonoid Q] [inst_10 : Module S Q] [inst_11 : Module R Q]
      [inst_12 : IsScalarTower R S Q] (g₁ g₂ : N →ₗ[S] Q), ↑R g₁ ∘ₗ f = ↑R g₂ ∘ₗ f → g₁ = g₂

theorem TensorProduct.isBaseChange E3 #

∀ (R : Type u_1) (M : Type v₁) (S : Type v₃) [inst : AddCommMonoid M] [inst_1 : CommSemiring R]
  [inst_2 : CommSemiring S] [inst_3 : Algebra R S] [inst_4 : Module R M], IsBaseChange S ((TensorProduct.mk R S M) 1)

def IsBaseChange.equiv E1 #

{R : Type u_1} →
  {M : Type v₁} →
    {N : Type v₂} →
      {S : Type v₃} →
        [inst : AddCommMonoid M] →
          [inst_1 : AddCommMonoid N] →
            [inst_2 : CommSemiring R] →
              [inst_3 : CommSemiring S] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module R N] →
                      [inst_7 : Module S N] →
                        [inst_8 : IsScalarTower R S N] →
                          {f : M →ₗ[R] N} → IsBaseChange S f → TensorProduct R S M ≃ₗ[S] N

The base change of M along R → S is linearly equivalent to S ⊗[R] M.

theorem IsBaseChange.equiv_tmul E0 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (h : IsBaseChange S f) (s : S) (m : M),
  h.equiv (s ⊗ₜ[R] m) = s • f m

theorem IsBaseChange.equiv_symm_apply E0 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (h : IsBaseChange S f) (m : M),
  h.equiv.symm (f m) = 1 ⊗ₜ[R] m

theorem IsBaseChange.of_equiv E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (e : TensorProduct R S M ≃ₗ[S] N),
  (∀ (x : M), e (1 ⊗ₜ[R] x) = f x) → IsBaseChange S f

theorem IsBaseChange.linearMap E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  IsBaseChange S (Algebra.linearMap R S)

theorem IsBaseChange.iff_of_equiv_comm E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} {P : Type u_2} {Q : Type u_3}
  [inst_9 : AddCommMonoid P] [inst_10 : Module R P] [inst_11 : AddCommMonoid Q] [inst_12 : Module S Q]
  [inst_13 : Module R Q] [inst_14 : IsScalarTower R S Q] {f' : P →ₗ[R] Q} (eM : M ≃ₗ[R] P) (eN : N ≃ₗ[S] Q),
  f' ∘ₗ ↑eM = ↑(LinearEquiv.restrictScalars R eN) ∘ₗ f → (IsBaseChange S f ↔ IsBaseChange S f')

theorem IsBaseChange.comp_equiv E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {P : Type u_2} [inst_9 : AddCommMonoid P] [inst_10 : Module R P]
  (e : M ≃ₗ[R] P) (f : P →ₗ[R] N), IsBaseChange S f → IsBaseChange S (f ∘ₗ ↑e)

theorem isBaseChange_tensorProduct_map E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {P : Type u_2} [inst_9 : AddCommMonoid P] [inst_10 : Module R P]
  (A : Type u_4) [inst_11 : CommSemiring A] [inst_12 : Algebra R A] [inst_13 : Algebra S A] [IsScalarTower R S A]
  [inst_15 : Module S M] [inst_16 : IsScalarTower R S M] [inst_17 : Module A N] [inst_18 : IsScalarTower S A N]
  [inst_19 : IsScalarTower R A N] {f : M →ₗ[S] N},
  IsBaseChange A f → IsBaseChange A (TensorProduct.AlgebraTensorModule.map f LinearMap.id)

If N is the base change of M to A, then N ⊗[R] P is the base change of M ⊗[R] P to A. This is simply the isomorphism A ⊗[S] (M ⊗[R] P) ≃ₗ[A] (A ⊗[S] M) ⊗[R] P.

theorem IsBaseChange.of_lift_unique E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] (f : M →ₗ[R] N),
  (∀ (Q : Type (max v₁ v₂ v₃)) [inst_9 : AddCommMonoid Q] [inst_10 : Module R Q] [inst_11 : Module S Q]
      [inst_12 : IsScalarTower R S Q] (g : M →ₗ[R] Q), ∃! g', ↑R g' ∘ₗ f = g) →
    IsBaseChange S f

theorem IsBaseChange.iff_lift_unique E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N},
  IsBaseChange S f ↔
    ∀ (Q : Type (max v₁ v₂ v₃)) [inst_9 : AddCommMonoid Q] [inst_10 : Module R Q] [inst_11 : Module S Q]
      [inst_12 : IsScalarTower R S Q] (g : M →ₗ[R] Q), ∃! g', ↑R g' ∘ₗ f = g

theorem IsBaseChange.ofEquiv E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : Module R M] [inst_4 : Module R N] (e : M ≃ₗ[R] N), IsBaseChange R ↑e

theorem IsBaseChange.comp E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {T : Type u_4} {O : Type u_5} [inst_9 : CommSemiring T]
  [inst_10 : Algebra R T] [inst_11 : Algebra S T] [IsScalarTower R S T] [inst_13 : AddCommMonoid O]
  [inst_14 : Module R O] [inst_15 : Module S O] [inst_16 : Module T O] [inst_17 : IsScalarTower S T O]
  [inst_18 : IsScalarTower R S O] [inst_19 : IsScalarTower R T O] {f : M →ₗ[R] N},
  IsBaseChange S f → ∀ {g : N →ₗ[S] O}, IsBaseChange T g → IsBaseChange T (↑R g ∘ₗ f)

theorem IsBaseChange.of_comp E1 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {T : Type u_4} {O : Type u_5} [inst_9 : CommSemiring T]
  [inst_10 : Algebra R T] [inst_11 : Algebra S T] [IsScalarTower R S T] [inst_13 : AddCommMonoid O]
  [inst_14 : Module R O] [inst_15 : Module S O] [inst_16 : Module T O] [inst_17 : IsScalarTower S T O]
  [inst_18 : IsScalarTower R S O] [inst_19 : IsScalarTower R T O] {f : M →ₗ[R] N},
  IsBaseChange S f → ∀ {h : N →ₗ[S] O}, IsBaseChange T (↑R h ∘ₗ f) → IsBaseChange T h

If N is the base change of M to S and O the base change of M to T, then O is the base change of N to T.

theorem IsBaseChange.comp_iff E0 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {T : Type u_4} {O : Type u_5} [inst_9 : CommSemiring T]
  [inst_10 : Algebra R T] [inst_11 : Algebra S T] [IsScalarTower R S T] [inst_13 : AddCommMonoid O]
  [inst_14 : Module R O] [inst_15 : Module S O] [inst_16 : Module T O] [inst_17 : IsScalarTower S T O]
  [inst_18 : IsScalarTower R S O] [inst_19 : IsScalarTower R T O] {f : M →ₗ[R] N},
  IsBaseChange S f → ∀ {h : N →ₗ[S] O}, IsBaseChange T (↑R h ∘ₗ f) ↔ IsBaseChange T h

If N is the base change M to S, then O is the base change of M to T if and only if O is the base change of N to T.

def IsBaseChange.tensorEquiv E1 #

{R : Type u_1} →
  {M : Type v₁} →
    {N : Type v₂} →
      {S : Type v₃} →
        [inst : AddCommMonoid M] →
          [inst_1 : AddCommMonoid N] →
            [inst_2 : CommSemiring R] →
              [inst_3 : CommSemiring S] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module R N] →
                      [inst_7 : Module S N] →
                        [inst_8 : IsScalarTower R S N] →
                          {f : M →ₗ[R] N} →
                            IsBaseChange S f →
                              (P : Type u_6) →
                                [inst_9 : AddCommGroup P] →
                                  [inst_10 : Module R P] →
                                    [inst_11 : Module S P] →
                                      [inst_12 : IsScalarTower R S P] → TensorProduct S P N ≃ₗ[S] TensorProduct R P M

Let R be a commutative ring, S be an R-algebra, M be an R-module, P be an S module, N be the base change of M to S, then P ⊗[S] N is isomorphic to P ⊗[R] M as S-modules.

theorem IsBaseChange.map_id_lsmul_eq_lsmul_algebraMap E0 #

∀ {R : Type u_1} {M : Type v₁} {N : Type v₂} {S : Type v₃} [inst : AddCommMonoid M] [inst_1 : AddCommMonoid N]
  [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Algebra R S] [inst_5 : Module R M] [inst_6 : Module R N]
  [inst_7 : Module S N] [inst_8 : IsScalarTower R S N] {f : M →ₗ[R] N} (hf : IsBaseChange S f) (x : R),
  IsTensorProduct.map hf hf LinearMap.id ((LinearMap.lsmul R M) x) = ↑R ((LinearMap.lsmul S N) ((algebraMap R S) x))

class Algebra.IsPushout E3 #

(R : Type u_1) →
  (S : Type v₃) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (R' : Type u_6) →
            (S' : Type u_7) →
              [inst_3 : CommSemiring R'] →
                [inst_4 : CommSemiring S'] →
                  [inst_5 : Algebra R R'] →
                    [inst_6 : Algebra S S'] →
                      [inst_7 : Algebra R' S'] →
                        [inst_8 : Algebra R S'] → [IsScalarTower R R' S'] → [IsScalarTower R S S'] → Prop

A type-class stating that the following diagram of scalar towers

R  →  S
↓     ↓
R' →  S'

is a pushout diagram (i.e. S' = S ⊗[R] R')

theorem Algebra.isPushout_iff E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S'],
  Algebra.IsPushout R S R' S' ↔ IsBaseChange S (IsScalarTower.toAlgHom R R' S').toLinearMap

ctor Algebra.IsPushout.mk E0 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  {S' : Type u_7} [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S'],
  IsBaseChange S (IsScalarTower.toAlgHom R R' S').toLinearMap → Algebra.IsPushout R S R' S'

theorem Algebra.IsPushout.out E1 #

∀ {R : Type u_1} {S : Type v₃} {inst : CommSemiring R} {inst_1 : CommSemiring S} {inst_2 : Algebra R S} {R' : Type u_6}
  {S' : Type u_7} {inst_3 : CommSemiring R'} {inst_4 : CommSemiring S'} {inst_5 : Algebra R R'} {inst_6 : Algebra S S'}
  {inst_7 : Algebra R' S'} {inst_8 : Algebra R S'} {inst_9 : IsScalarTower R R' S'} {inst_10 : IsScalarTower R S S'}
  [self : Algebra.IsPushout R S R' S'], IsBaseChange S (IsScalarTower.toAlgHom R R' S').toLinearMap

def Algebra.IsPushout.equiv E1 #

(R : Type u_1) →
  (S : Type v₃) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (R' : Type u_6) →
            (S' : Type u_7) →
              [inst_3 : CommSemiring R'] →
                [inst_4 : CommSemiring S'] →
                  [inst_5 : Algebra R R'] →
                    [inst_6 : Algebra S S'] →
                      [inst_7 : Algebra R' S'] →
                        [inst_8 : Algebra R S'] →
                          [inst_9 : IsScalarTower R R' S'] →
                            [inst_10 : IsScalarTower R S S'] →
                              [h : Algebra.IsPushout R S R' S'] → TensorProduct R S R' ≃ₐ[S] S'

The isomorphism S' ≃ S ⊗[R] R given Algebra.IsPushout R S R' S'.

theorem Algebra.IsPushout.equiv_tmul E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [h : Algebra.IsPushout R S R' S'] (a : S) (b : R'),
  (Algebra.IsPushout.equiv R S R' S') (a ⊗ₜ[R] b) = (algebraMap S S') a * (algebraMap R' S') b

theorem Algebra.IsPushout.equiv_symm_algebraMap_left E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] (a : S),
  (Algebra.IsPushout.equiv R S R' S').symm ((algebraMap S S') a) = a ⊗ₜ[R] 1

theorem Algebra.IsPushout.equiv_symm_algebraMap_right E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] (a : R'),
  (Algebra.IsPushout.equiv R S R' S').symm ((algebraMap R' S') a) = 1 ⊗ₜ[R] a

theorem Algebra.IsPushout.symm E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  {S' : Type u_7} [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S'],
  Algebra.IsPushout R S R' S' → Algebra.IsPushout R R' S S'

theorem Algebra.IsPushout.comm E1 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (R' : Type u_6)
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S'],
  Algebra.IsPushout R S R' S' ↔ Algebra.IsPushout R R' S S'

instance instIsPushout E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  Algebra.IsPushout R R S S

instance instIsPushout_1 E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S],
  Algebra.IsPushout R S R S

instance TensorProduct.isPushout E0 #

∀ {R : Type u_8} {S : Type u_9} {T : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T], Algebra.IsPushout R S T (TensorProduct R S T)

instance TensorProduct.isPushout' E0 #

∀ {R : Type u_8} {S : Type u_9} {T : Type u_10} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring T] [inst_3 : Algebra R S] [inst_4 : Algebra R T], Algebra.IsPushout R T S (TensorProduct R S T)

theorem Algebra.IsPushout.tensorProduct_tensorProduct E1 #

∀ (R : Type u_8) (S : Type u_9) (A : Type u_10) (B : Type u_11) [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : CommSemiring A] [inst_3 : CommSemiring B] [inst_4 : Algebra R A] [inst_5 : Algebra R B]
  [inst_6 : Algebra A B] [inst_7 : IsScalarTower R A B] [inst_8 : Algebra R S]
  {x : Algebra (TensorProduct R A S) (TensorProduct R B S)}
  {x_1 : IsScalarTower A (TensorProduct R A S) (TensorProduct R B S)},
  (algebraMap (TensorProduct R A S) (TensorProduct R B S)).comp Algebra.TensorProduct.includeRight.toRingHom =
      Algebra.TensorProduct.includeRight.toRingHom →
    Algebra.IsPushout A B (TensorProduct R A S) (TensorProduct R B S)

def Algebra.pushoutDesc E1 #

{R : Type u_1} →
  {S : Type v₃} →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          {R' : Type u_6} →
            (S' : Type u_7) →
              [inst_3 : CommSemiring R'] →
                [inst_4 : CommSemiring S'] →
                  [inst_5 : Algebra R R'] →
                    [inst_6 : Algebra S S'] →
                      [inst_7 : Algebra R' S'] →
                        [inst_8 : Algebra R S'] →
                          [inst_9 : IsScalarTower R R' S'] →
                            [inst_10 : IsScalarTower R S S'] →
                              [H : Algebra.IsPushout R S R' S'] →
                                {A : Type u_8} →
                                  [inst_11 : Semiring A] →
                                    [inst_12 : Algebra R A] →
                                      (f : S →ₐ[R] A) →
                                        (g : R' →ₐ[R] A) → (∀ (x : S) (y : R'), f x * g y = g y * f x) → S' →ₐ[R] A

If S' = S ⊗[R] R', then any pair of R-algebra homomorphisms f : S → A and g : R' → A such that f x and g y commutes for all x, y descends to a (unique) homomorphism S' → A.

theorem Algebra.pushoutDesc_apply E0 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [H : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_11 : Semiring A] [inst_12 : Algebra R A] (f : S →ₐ[R] A)
  (g : R' →ₐ[R] A) (hf : ∀ (x : S) (y : R'), f x * g y = g y * f x) (x : S'),
  (Algebra.pushoutDesc S' f g hf) x = (Algebra.TensorProduct.lift f g hf) ((Algebra.IsPushout.equiv R S R' S').symm x)

theorem Algebra.pushoutDesc_left E0 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_12 : Semiring A] [inst_13 : Algebra R A] (f : S →ₐ[R] A)
  (g : R' →ₐ[R] A) (H : ∀ (x : S) (y : R'), f x * g y = g y * f x) (x : S),
  (Algebra.pushoutDesc S' f g H) ((algebraMap S S') x) = f x

theorem Algebra.lift_algHom_comp_left E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_12 : Semiring A] [inst_13 : Algebra R A] (f : S →ₐ[R] A)
  (g : R' →ₐ[R] A) (H : ∀ (x : S) (y : R'), f x * g y = g y * f x),
  (Algebra.pushoutDesc S' f g H).comp (IsScalarTower.toAlgHom R S S') = f

theorem Algebra.pushoutDesc_right E0 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_12 : Semiring A] [inst_13 : Algebra R A] (f : S →ₐ[R] A)
  (g : R' →ₐ[R] A) (H : ∀ (x : S) (y : R'), f x * g y = g y * f x) (x : R'),
  (Algebra.pushoutDesc S' f g H) ((algebraMap R' S') x) = g x

theorem Algebra.lift_algHom_comp_right E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [inst_11 : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_12 : Semiring A] [inst_13 : Algebra R A] (f : S →ₐ[R] A)
  (g : R' →ₐ[R] A) (H : ∀ (x : S) (y : R'), f x * g y = g y * f x),
  (Algebra.pushoutDesc S' f g H).comp (IsScalarTower.toAlgHom R R' S') = g

theorem Algebra.IsPushout.algHom_ext E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  (S' : Type u_7) [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [H : Algebra.IsPushout R S R' S'] {A : Type u_8} [inst_11 : Semiring A] [inst_12 : Algebra R A] {f g : S' →ₐ[R] A},
  f.comp (IsScalarTower.toAlgHom R R' S') = g.comp (IsScalarTower.toAlgHom R R' S') →
    f.comp (IsScalarTower.toAlgHom R S S') = g.comp (IsScalarTower.toAlgHom R S S') → f = g

theorem Algebra.IsPushout.comp_iff E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {T : Type u_4}
  [inst_3 : CommSemiring T] [inst_4 : Algebra R T] [inst_5 : Algebra S T] [IsScalarTower R S T] (R' : Type u_6)
  (S' : Type u_7) [inst_7 : CommSemiring R'] [inst_8 : CommSemiring S'] [inst_9 : Algebra R R'] [inst_10 : Algebra S S']
  [inst_11 : Algebra R' S'] [inst_12 : Algebra R S'] [inst_13 : IsScalarTower R R' S'] [inst_14 : IsScalarTower R S S']
  {T' : Type u_8} [inst_15 : CommSemiring T'] [inst_16 : Algebra R T'] [inst_17 : Algebra S' T']
  [inst_18 : Algebra S T'] [inst_19 : Algebra T T'] [inst_20 : Algebra R' T'] [inst_21 : IsScalarTower R T T']
  [inst_22 : IsScalarTower S T T'] [inst_23 : IsScalarTower S S' T'] [inst_24 : IsScalarTower R R' T']
  [IsScalarTower R S' T'] [IsScalarTower R' S' T'] [Algebra.IsPushout R S R' S'],
  Algebra.IsPushout R T R' T' ↔ Algebra.IsPushout S T S' T'

Let the following be a commutative diagram of rings

  R  →  S  →  T
  ↓     ↓     ↓
  R' →  S' →  T'

where the left-hand square is a pushout. Then the following are equivalent:

  • the big rectangle is a pushout.
  • the right-hand square is a pushout.

Note that this is essentially the isomorphism T ⊗[S] (S ⊗[R] R') ≃ₐ[T] T ⊗[R] R'.

theorem Algebra.IsPushout.of_equiv E1 #

∀ {R : Type u_1} {S : Type v₃} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {R' : Type u_6}
  {S' : Type u_7} [inst_3 : CommSemiring R'] [inst_4 : CommSemiring S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [h : Algebra.IsPushout R R' S S'] {T : Type u_8} [inst_11 : CommSemiring T] [inst_12 : Algebra R' T]
  [inst_13 : Algebra S T] [inst_14 : Algebra R T] [inst_15 : IsScalarTower R S T] [inst_16 : IsScalarTower R R' T]
  (e : S' ≃ₐ[R'] T), e.toRingEquiv.toRingHom.comp (algebraMap S S') = algebraMap S T → Algebra.IsPushout R R' S T

def Algebra.IsPushout.cancelBaseChangeAux E0 #

(R : Type u_1) →
  (S : Type v₃) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (A : Type u_8) →
            (B : Type u_9) →
              [inst_3 : CommRing A] →
                [inst_4 : CommRing B] →
                  [inst_5 : Algebra R A] →
                    [inst_6 : Algebra R B] →
                      [inst_7 : Algebra A B] →
                        [inst_8 : Algebra S B] →
                          [inst_9 : IsScalarTower R A B] →
                            [inst_10 : IsScalarTower R S B] →
                              [Algebra.IsPushout R S A B] →
                                (M : Type u_10) →
                                  [inst_12 : AddCommGroup M] →
                                    [inst_13 : Module R M] →
                                      [inst_14 : Module A M] →
                                        [IsScalarTower R A M] → TensorProduct A B M ≃ₗ[R] TensorProduct R S M

(Implementation) If B = S ⊗[R] A, this is the canonical R-isomorphism: B ⊗[A] M ≃ₗ[S] S ⊗[R] M. See IsPushout.cancelBaseChange for the S-linear version.

theorem Algebra.IsPushout.cancelBaseChangeAux_symm_tmul E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (M : Type u_10) [inst_12 : AddCommGroup M] [inst_13 : Module R M]
  [inst_14 : Module A M] [inst_15 : IsScalarTower R A M] (s : S) (m : M),
  (Algebra.IsPushout.cancelBaseChangeAux R S A B M).symm (s ⊗ₜ[R] m) = (algebraMap S B) s ⊗ₜ[A] m

def Algebra.IsPushout.cancelBaseChange E1 #

(R : Type u_1) →
  (S : Type v₃) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (A : Type u_8) →
            (B : Type u_9) →
              [inst_3 : CommRing A] →
                [inst_4 : CommRing B] →
                  [inst_5 : Algebra R A] →
                    [inst_6 : Algebra R B] →
                      [inst_7 : Algebra A B] →
                        [inst_8 : Algebra S B] →
                          [inst_9 : IsScalarTower R A B] →
                            [inst_10 : IsScalarTower R S B] →
                              [Algebra.IsPushout R S A B] →
                                (M : Type u_10) →
                                  [inst_12 : AddCommGroup M] →
                                    [inst_13 : Module R M] →
                                      [inst_14 : Module A M] →
                                        [IsScalarTower R A M] → TensorProduct A B M ≃ₗ[S] TensorProduct R S M

If B = S ⊗[R] A, this is the canonical S-isomorphism: B ⊗[A] M ≃ₗ[S] S ⊗[R] M. This is the cancelling on the left version of TensorProduct.AlgebraTensorModule.cancelBaseChange.

theorem Algebra.IsPushout.cancelBaseChange_tmul E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (M : Type u_10) [inst_12 : AddCommGroup M] [inst_13 : Module R M]
  [inst_14 : Module A M] [inst_15 : IsScalarTower R A M] (m : M),
  (Algebra.IsPushout.cancelBaseChange R S A B M) (1 ⊗ₜ[A] m) = 1 ⊗ₜ[R] m

theorem Algebra.IsPushout.cancelBaseChange_symm_tmul E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (M : Type u_10) [inst_12 : AddCommGroup M] [inst_13 : Module R M]
  [inst_14 : Module A M] [inst_15 : IsScalarTower R A M] (s : S) (m : M),
  (Algebra.IsPushout.cancelBaseChange R S A B M).symm (s ⊗ₜ[R] m) = (algebraMap S B) s ⊗ₜ[A] m

def Algebra.IsPushout.cancelBaseChangeAlg E1 #

(R : Type u_1) →
  (S : Type v₃) →
    [inst : CommSemiring R] →
      [inst_1 : CommSemiring S] →
        [inst_2 : Algebra R S] →
          (A : Type u_8) →
            (B : Type u_9) →
              [inst_3 : CommRing A] →
                [inst_4 : CommRing B] →
                  [inst_5 : Algebra R A] →
                    [inst_6 : Algebra R B] →
                      [inst_7 : Algebra A B] →
                        [inst_8 : Algebra S B] →
                          [inst_9 : IsScalarTower R A B] →
                            [inst_10 : IsScalarTower R S B] →
                              [Algebra.IsPushout R S A B] →
                                (C : Type u_11) →
                                  [inst_12 : CommRing C] →
                                    [inst_13 : Algebra R C] →
                                      [inst_14 : Algebra A C] →
                                        [IsScalarTower R A C] → TensorProduct A B C ≃ₐ[S] TensorProduct R S C

Algebra version of IsPushout.cancelBaseChange.

theorem Algebra.IsPushout.toLinearEquiv_cancelBaseChangeAlg E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (C : Type u_11) [inst_12 : CommRing C] [inst_13 : Algebra R C]
  [inst_14 : Algebra A C] [inst_15 : IsScalarTower R A C],
  ↑(Algebra.IsPushout.cancelBaseChangeAlg R S A B C) = Algebra.IsPushout.cancelBaseChange R S A B C

theorem Algebra.IsPushout.cancelBaseChangeAlg_tmul E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (C : Type u_11) [inst_12 : CommRing C] [inst_13 : Algebra R C]
  [inst_14 : Algebra A C] [inst_15 : IsScalarTower R A C] (c : C),
  (Algebra.IsPushout.cancelBaseChangeAlg R S A B C) (1 ⊗ₜ[A] c) = 1 ⊗ₜ[R] c

theorem Algebra.IsPushout.cancelBaseChangeAlg_symm_tmul E0 #

∀ (R : Type u_1) (S : Type v₃) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (A : Type u_8)
  (B : Type u_9) [inst_3 : CommRing A] [inst_4 : CommRing B] [inst_5 : Algebra R A] [inst_6 : Algebra R B]
  [inst_7 : Algebra A B] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R A B] [inst_10 : IsScalarTower R S B]
  [inst_11 : Algebra.IsPushout R S A B] (C : Type u_11) [inst_12 : CommRing C] [inst_13 : Algebra R C]
  [inst_14 : Algebra A C] [inst_15 : IsScalarTower R A C] (s : S) (c : C),
  (Algebra.IsPushout.cancelBaseChangeAlg R S A B C).symm (s ⊗ₜ[R] c) = (algebraMap S B) s ⊗ₜ[A] c

theorem Algebra.IsPushout.cancelBaseChange_symm_comp_lTensor E1 #

∀ (R : Type u_1) [inst : CommSemiring R] (A : Type u_8) [inst_1 : CommRing A] [inst_2 : Algebra R A] (C : Type u_11)
  [inst_3 : CommRing C] [inst_4 : Algebra R C] [inst_5 : Algebra A C] [inst_6 : IsScalarTower R A C] (S : Type u_12)
  [inst_7 : CommRing S] [inst_8 : Algebra R S],
  (↑(Algebra.IsPushout.cancelBaseChangeAlg R S A (TensorProduct R S A) C).symm).comp
      (Algebra.TensorProduct.lTensor S (IsScalarTower.toAlgHom R A C)) =
    Algebra.TensorProduct.includeLeft