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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Algebra.Basic

79 declarations. Mathlib docs · Source

Further basic results about Algebra.

This file could usefully be split further.

instance PUnit.algebra E0 #

{R : Type u_1} → [inst : CommSemiring R] → Algebra R PUnit.{v + 1}

theorem Algebra.algebraMap_pUnit E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (r : R), (algebraMap R PUnit.{u_4 + 1}) r = PUnit.unit

instance ULift.algebra E0 #

{R : Type u_1} →
  {A : Type u_2} → [inst : CommSemiring R] → [inst_1 : Semiring A] → [Algebra R A] → Algebra R (ULift.{u_4, u_2} A)

theorem ULift.algebraMap_eq E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (r : R),
  (algebraMap R (ULift.{u_4, u_2} A)) r = { down := (algebraMap R A) r }

theorem ULift.down_algebraMap E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (r : R),
  ((algebraMap R (ULift.{u_4, u_2} A)) r).down = (algebraMap R A) r

def ULift.algebra' E1 #

(R : Type u_1) →
  (A : Type u_2) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [Algebra R A] → Algebra (ULift.{u, u_1} R) A

If A is an R-algebra, it is also a ULift R-algebra. In particular, Ulift A is a ULift R algebra. This is not an instance, because it causes a non-reducible diamond in the case where A = Ulift R.

theorem ULift.algebraMap_apply' E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  (r : ULift.{u_4, u_1} R), (algebraMap (ULift.{u_4, u_1} R) A) r = (algebraMap R A) r.down

This references the ULift.algebra' instance.

instance Algebra.ofSubsemiring E0 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [Algebra R A] →
          {C : Type u_4} → [inst_3 : SetLike C R] → [inst_4 : SubsemiringClass C R] → (S : C) → Algebra (↥S) A

Algebra over a subsemiring. This builds upon Subsemiring.module.

theorem Algebra.algebraMap_ofSubsemiring E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Subsemiring R), algebraMap (↥S) R = S.subtype

theorem Algebra.coe_algebraMap_ofSubsemiring E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {C : Type u_4} [inst_1 : SetLike C R] [inst_2 : SubsemiringClass C R] (S : C),
  ⇑(algebraMap (↥S) R) = Subtype.val

theorem Algebra.algebraMap_ofSubsemiring_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {C : Type u_4} [inst_1 : SetLike C R] [inst_2 : SubsemiringClass C R] (S : C)
  (x : ↥S), (algebraMap (↥S) R) x = ↑x

theorem Algebra.algebraMap_ofSubring E1 #

∀ {R : Type u_5} [inst : CommRing R] (S : Subring R), algebraMap (↥S) R = S.subtype

def Algebra.algebraMapSubmonoid E1 #

{R : Type u_1} →
  [inst : CommSemiring R] → (S : Type u_4) → [inst_1 : Semiring S] → [Algebra R S] → Submonoid R → Submonoid S

Explicit characterization of the submonoid map in the case of an algebra. S is made explicit to help with type inference

theorem Algebra.mem_algebraMapSubmonoid_of_mem E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_4} [inst_1 : Semiring S] [inst_2 : Algebra R S] {M : Submonoid R}
  (x : ↥M), (algebraMap R S) ↑x ∈ Algebra.algebraMapSubmonoid S M

theorem Algebra.algebraMapSubmonoid_self E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (M : Submonoid R), Algebra.algebraMapSubmonoid R M = M

theorem Algebra.algebraMapSubmonoid_powers E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_4} [inst_1 : Semiring S] [inst_2 : Algebra R S] (r : R),
  Algebra.algebraMapSubmonoid S (Submonoid.powers r) = Submonoid.powers ((algebraMap R S) r)

theorem Algebra.algebraMapSubmonoid_isUnit_le E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_4} [inst_1 : Semiring S] [inst_2 : Algebra R S],
  Algebra.algebraMapSubmonoid S (IsUnit.submonoid R) ≤ IsUnit.submonoid S

theorem Algebra.mul_sub_algebraMap_commutes E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Ring A] [inst_2 : Algebra R A] (x : A) (r : R),
  x * (x - (algebraMap R A) r) = (x - (algebraMap R A) r) * x

theorem Algebra.mul_sub_algebraMap_pow_commutes E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Ring A] [inst_2 : Algebra R A] (x : A) (r : R)
  (n : ℕ), x * (x - (algebraMap R A) r) ^ n = (x - (algebraMap R A) r) ^ n * x

abbrev Algebra.semiringToRing E1 #

{A : Type u_2} → (R : Type u_4) → [inst : CommRing R] → [inst_1 : Semiring A] → [Algebra R A] → Ring A

A Semiring that is an Algebra over a commutative ring carries a natural Ring structure. See note [reducible non-instances].

abbrev RingHom.commSemiringToCommRing E1 #

{R : Type u_4} → {A : Type u_5} → [inst : CommRing R] → [inst_1 : CommSemiring A] → (R →+* A) → CommRing A

The CommRing structure on a CommSemiring induced by a ring morphism from a CommRing.

instance Algebra.instSubtypeMemSubringCenter E0 #

{R : Type u_4} → [inst : Ring R] → Algebra (↥(Subring.center R)) R

instance Module.End.instAlgebra E3 #

(R : Type u) →
  (S : Type v) →
    (M : Type w) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring S] →
          [inst_2 : AddCommMonoid M] →
            [inst_3 : Module R M] →
              [inst_4 : Module S M] →
                [SMulCommClass S R M] → [inst_6 : SMul R S] → [IsScalarTower R S M] → Algebra R (Module.End S M)

theorem Module.algebraMap_end_eq_smul_id E1 #

∀ (R : Type u) (S : Type v) (M : Type w) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [inst_5 : SMulCommClass S R M] [inst_6 : SMul R S]
  [inst_7 : IsScalarTower R S M] (a : R), (algebraMap R (Module.End S M)) a = a • LinearMap.id

theorem Module.algebraMap_end_apply E0 #

∀ (R : Type u) (S : Type v) (M : Type w) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [inst_5 : SMulCommClass S R M] [inst_6 : SMul R S]
  [inst_7 : IsScalarTower R S M] (a : R) (m : M), ((algebraMap R (Module.End S M)) a) m = a • m

theorem Module.ker_algebraMap_end E0 #

∀ (K : Type u) (V : Type v) [inst : Semifield K] [inst_1 : AddCommMonoid V] [inst_2 : Module K V] (a : K),
  a ≠ 0 → LinearMap.ker ((algebraMap K (Module.End K V)) a) = ⊥

theorem Module.End.algebraMap_isUnit_inv_apply_eq_iff E0 #

∀ {R : Type u} (S : Type v) {M : Type w} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [inst_5 : SMulCommClass S R M] [inst_6 : SMul R S]
  [inst_7 : IsScalarTower R S M] {x : R} (h : IsUnit ((algebraMap R (Module.End S M)) x)) (m m' : M),
  ↑h.unit⁻¹ m = m' ↔ m = x • m'

theorem Module.End.algebraMap_isUnit_inv_apply_eq_iff' E1 #

∀ {R : Type u} (S : Type v) {M : Type w} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : AddCommMonoid M]
  [inst_3 : Module R M] [inst_4 : Module S M] [inst_5 : SMulCommClass S R M] [inst_6 : SMul R S]
  [inst_7 : IsScalarTower R S M] {x : R} (h : IsUnit ((algebraMap R (Module.End S M)) x)) (m m' : M),
  m' = ↑h.unit⁻¹ m ↔ m = x • m'

theorem LinearMap.map_algebraMap_mul E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A →ₗ[R] B) (a : A) (r : R),
  f ((algebraMap R A) r * a) = (algebraMap R B) r * f a

An alternate statement of LinearMap.map_smul for when algebraMap is more convenient to work with than •.

theorem LinearMap.map_mul_algebraMap E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A →ₗ[R] B) (a : A) (r : R),
  f (a * (algebraMap R A) r) = f a * (algebraMap R B) r

instance Semiring.toNatAlgebra E0 #

{R : Type u_1} → [inst : Semiring R] → Algebra ℕ R

Semiring ⥤ ℕ-Alg

instance nat_algebra_subsingleton E0 #

∀ {R : Type u_1} [inst : Semiring R], Subsingleton (Algebra ℕ R)

theorem algebraMap_comp_natCast E0 #

∀ (R : Type u_2) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  ⇑(algebraMap R A) ∘ Nat.cast = Nat.cast

instance Ring.toIntAlgebra E0 #

(R : Type u_1) → [inst : Ring R] → Algebra ℤ R

Ring ⥤ ℤ-Alg

theorem algebraMap_int_eq E0 #

∀ (R : Type u_1) [inst : Ring R], algebraMap ℤ R = Int.castRingHom R

A special case of eq_intCast' that happens to be true definitionally

instance int_algebra_subsingleton E0 #

∀ {R : Type u_1} [inst : Ring R], Subsingleton (Algebra ℤ R)

theorem algebraMap_comp_intCast E0 #

∀ (R : Type u_2) (A : Type u_3) [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A],
  ⇑(algebraMap R A) ∘ Int.cast = Int.cast

theorem NeZero.of_faithfulSMul E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A] [IsScalarTower R A A]
  [FaithfulSMul R A] (n : ℕ) [NeZero ↑n], NeZero ↑n

theorem faithfulSMul_iff_algebraMap_injective E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  FaithfulSMul R A ↔ Function.Injective ⇑(algebraMap R A)

theorem FaithfulSMul.algebraMap_injective E2 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A],
  Function.Injective ⇑(algebraMap R A)

theorem FaithfulSMul.algebraMap_eq_zero_iff E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  {r : R}, (algebraMap R A) r = 0 ↔ r = 0

theorem FaithfulSMul.algebraMap_eq_one_iff E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  {r : R}, (algebraMap R A) r = 1 ↔ r = 1

def mulSemiringActionOfSmulDistribClass E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] →
          [FaithfulSMul R A] →
            (G : Type u_3) →
              [inst_4 : Monoid G] →
                [inst_5 : MulSemiringAction G A] →
                  [inst_6 : SMul G R] → [SMulDistribClass G R A] → MulSemiringAction G R

If R embeds faithfully into A and G satisfies SMulDistribClass G R A, then the SMul of G on R extends to a MulSemiringAction.

theorem algebraMap.coe_inj E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  {a b : R}, ↑a = ↑b ↔ a = b

theorem algebraMap.coe_eq_zero_iff E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  (a : R), ↑a = 0 ↔ a = 0

theorem Algebra.charZero_of_charZero E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  [CharZero R], CharZero A

instance instFaithfulSMulNatOfCharZero E0 #

∀ (R : Type u_1) [inst : CommSemiring R] [CharZero R], FaithfulSMul ℕ R

instance instFaithfulSMulIntOfCharZero E0 #

∀ (R : Type u_3) [inst : Ring R] [CharZero R], FaithfulSMul ℤ R

theorem algebra_compatible_smul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (A : Type u_2) [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M] (r : R) (m : M),
  r • m = (algebraMap R A) r • m

theorem algebraMap_smul E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (A : Type u_2) [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M] (r : R) (m : M),
  (algebraMap R A) r • m = r • m

theorem isSMulRegular_algebraMap_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (A : Type u_2) [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M] {r : R},
  IsSMulRegular M ((algebraMap R A) r) ↔ IsSMulRegular M r

instance IsScalarTower.to_smulCommClass E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_2} [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M], SMulCommClass R A M

instance IsScalarTower.to_smulCommClass' E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_2} [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M], SMulCommClass A R M

instance Algebra.to_smulCommClass E0 #

∀ {R : Type u_4} {A : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  SMulCommClass R A A

This has high priority because it is almost always the right instance when it applies.

instance instSMulCommClass E0 #

∀ {R : Type u_4} {S : Type u_5} {A : Type u_6} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Semiring A]
  [inst_3 : Algebra R A] [inst_4 : Algebra S A], SMulCommClass R S A

theorem smul_algebra_smul_comm E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_2} [inst_1 : Semiring A] [inst_2 : Algebra R A] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module A M] [inst_5 : Module R M] [IsScalarTower R A M] (r : R) (a : A) (m : M),
  a • r • m = r • a • m

theorem NoZeroDivisors.of_faithfulSMul E1 #

∀ (R : Type u_1) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  [NoZeroDivisors A], NoZeroDivisors R

theorem IsCancelMulZero.of_faithfulSMul E1 #

∀ (R : Type u_1) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  [IsCancelMulZero A], IsCancelMulZero R

theorem IsDomain.of_faithfulSMul E1 #

∀ (R : Type u_1) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  [IsDomain A], IsDomain R

theorem Module.IsTorsionFree.of_faithfulSMul E1 #

∀ (R : Type u_1) (S : Type u_2) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [FaithfulSMul R A] [inst_4 : Semiring S] [inst_5 : Module S R] [inst_6 : Module S A] [IsScalarTower S R A]
  [Module.IsTorsionFree S A], Module.IsTorsionFree S R

theorem Module.IsTorsionFree.trans_faithfulSMul E1 #

∀ (R : Type u_1) (A : Type u_3) (M : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [FaithfulSMul R A] [Nontrivial R] [IsCancelMulZero A] [inst_6 : AddCommMonoid M] [inst_7 : Module A M]
  [inst_8 : Module R M] [Module.IsTorsionFree A M] [IsScalarTower R A M], Module.IsTorsionFree R M

instance FaithfulSMul.to_isTorsionFree E0 #

∀ (R : Type u_1) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [FaithfulSMul R A]
  [Nontrivial R] [IsCancelMulZero A], Module.IsTorsionFree R A

instance Module.IsTorsionFree.to_faithfulSMul E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] [IsCancelMulZero R]
  [Nontrivial A] [Module.IsTorsionFree R A], FaithfulSMul R A

theorem Module.isTorsionFree_iff_faithfulSMul E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] [IsDomain R] [IsDomain A],
  Module.IsTorsionFree R A ↔ FaithfulSMul R A

theorem Module.isTorsionFree_iff_algebraMap_injective E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : Ring A] [inst_2 : Algebra R A] [IsDomain R] [IsDomain A],
  Module.IsTorsionFree R A ↔ Function.Injective ⇑(algebraMap R A)

abbrev Invertible.algebraMapOfInvertibleAlgebraMap E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R B] →
                (f : A →ₗ[R] B) → f 1 = 1 → {r : R} → Invertible ((algebraMap R A) r) → Invertible ((algebraMap R B) r)

If there is a linear map f : A →ₗ[R] B that preserves 1, then algebraMap R B r is invertible when algebraMap R A r is.

theorem IsUnit.algebraMap_of_algebraMap E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A →ₗ[R] B),
  f 1 = 1 → ∀ {r : R}, IsUnit ((algebraMap R A) r) → IsUnit ((algebraMap R B) r)

If there is a linear map f : A →ₗ[R] B that preserves 1, then algebraMap R B r is a unit when algebraMap R A r is.

theorem injective_algebraMap_of_linearMap E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : CommSemiring F] [inst_1 : Semiring E] [inst_2 : Algebra F E] (b : F →ₗ[F] E),
  Function.Injective ⇑b → Function.Injective ⇑(algebraMap F E)

If E is an F-algebra, and there exists an injective F-linear map from F to E, then the algebra map from F to E is also injective.

theorem surjective_algebraMap_of_linearMap E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : CommSemiring F] [inst_1 : Semiring E] [inst_2 : Algebra F E] (b : F →ₗ[F] E),
  Function.Surjective ⇑b → Function.Surjective ⇑(algebraMap F E)

If E is an F-algebra, and there exists a surjective F-linear map from F to E, then the algebra map from F to E is also surjective.

theorem bijective_algebraMap_of_linearMap E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : CommSemiring F] [inst_1 : Semiring E] [inst_2 : Algebra F E] (b : F →ₗ[F] E),
  Function.Bijective ⇑b → Function.Bijective ⇑(algebraMap F E)

If E is an F-algebra, and there exists a bijective F-linear map from F to E, then the algebra map from F to E is also bijective.

NOTE: The same result can also be obtained if there are two F-linear maps from F to E, one is injective, the other one is surjective. In this case, use injective_algebraMap_of_linearMap and surjective_algebraMap_of_linearMap separately.

theorem bijective_algebraMap_of_linearEquiv E1 #

∀ {F : Type u_1} {E : Type u_2} [inst : CommSemiring F] [inst_1 : Semiring E] [inst_2 : Algebra F E] (b : F ≃ₗ[F] E),
  Function.Bijective ⇑(algebraMap F E)

If E is an F-algebra, there exists an F-linear isomorphism from F to E (namely, E is a free F-module of rank one), then the algebra map from F to E is bijective.

def LinearMap.extendScalarsOfSurjectiveEquiv E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] →
        [inst_2 : Algebra R S] →
          {M : Type u_3} →
            {N : Type u_4} →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : AddCommMonoid N] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module S M] →
                      [IsScalarTower R S M] →
                        [inst_8 : Module R N] →
                          [inst_9 : Module S N] →
                            [inst_10 : IsScalarTower R S N] →
                              Function.Surjective ⇑(algebraMap R S) → (M →ₗ[R] N) ≃ₗ[R] M →ₗ[S] N

If R →+* S is surjective, then S-linear maps between modules are exactly R-linear maps.

abbrev LinearMap.extendScalarsOfSurjective E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] →
        [inst_2 : Algebra R S] →
          {M : Type u_3} →
            {N : Type u_4} →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : AddCommMonoid N] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module S M] →
                      [IsScalarTower R S M] →
                        [inst_8 : Module R N] →
                          [inst_9 : Module S N] →
                            [IsScalarTower R S N] → Function.Surjective ⇑(algebraMap R S) → (M →ₗ[R] N) → M →ₗ[S] N

If R →+* S is surjective, then R-linear maps are also S-linear.

def LinearEquiv.extendScalarsOfSurjective E1 #

{R : Type u_1} →
  {S : Type u_2} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring S] →
        [inst_2 : Algebra R S] →
          {M : Type u_3} →
            {N : Type u_4} →
              [inst_3 : AddCommMonoid M] →
                [inst_4 : AddCommMonoid N] →
                  [inst_5 : Module R M] →
                    [inst_6 : Module S M] →
                      [IsScalarTower R S M] →
                        [inst_8 : Module R N] →
                          [inst_9 : Module S N] →
                            [IsScalarTower R S N] → Function.Surjective ⇑(algebraMap R S) → (M ≃ₗ[R] N) → M ≃ₗ[S] N

If R →+* S is surjective, then R-linear isomorphisms are also S-linear.

theorem LinearMap.extendScalarsOfSurjective_apply E0 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {M : Type u_2}
  {N : Type u_3} [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N] [inst_5 : Module R M] [inst_6 : Module S M]
  [inst_7 : IsScalarTower R S M] [inst_8 : Module R N] [inst_9 : Module S N] [inst_10 : IsScalarTower R S N]
  (h : Function.Surjective ⇑(algebraMap R S)) (l : M →ₗ[R] N) (x : M), (LinearMap.extendScalarsOfSurjective h l) x = l x

theorem LinearEquiv.extendScalarsOfSurjective_apply E0 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {M : Type u_2}
  {N : Type u_3} [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N] [inst_5 : Module R M] [inst_6 : Module S M]
  [inst_7 : IsScalarTower R S M] [inst_8 : Module R N] [inst_9 : Module S N] [inst_10 : IsScalarTower R S N]
  (h : Function.Surjective ⇑(algebraMap R S)) (f : M ≃ₗ[R] N) (x : M),
  (LinearEquiv.extendScalarsOfSurjective h f) x = f x

theorem LinearEquiv.extendScalarsOfSurjective_symm E0 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] {M : Type u_2}
  {N : Type u_3} [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N] [inst_5 : Module R M] [inst_6 : Module S M]
  [inst_7 : IsScalarTower R S M] [inst_8 : Module R N] [inst_9 : Module S N] [inst_10 : IsScalarTower R S N]
  (h : Function.Surjective ⇑(algebraMap R S)) (f : M ≃ₗ[R] N),
  (LinearEquiv.extendScalarsOfSurjective h f).symm = LinearEquiv.extendScalarsOfSurjective h f.symm

theorem algebraMap.coe_prod E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {ι : Type u_3}
  {s : Finset ι} (a : ι → R), ↑(∏ i ∈ s, a i) = ∏ i ∈ s, ↑(a i)

theorem algebraMap.coe_sum E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {ι : Type u_3}
  {s : Finset ι} (a : ι → R), ↑(∑ i ∈ s, a i) = ∑ i ∈ s, ↑(a i)