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.Bilinear

30 declarations. Mathlib docs · Source

theorem LinearMap.ofClass.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_5} {M : Type u_8} {M₃ : Type u_11} {F : Type u_14} [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₃] [inst_4 : Module R M]
  [inst_5 : Module S M₃] {σ : R →+* S} (f f_1 : F),
  f = f_1 → ∀ [inst_6 : FunLike F M M₃] [inst_7 : SemilinearMapClass F σ M M₃], ↑f = ↑f_1

theorem LinearMap.mul.congr_simp E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A], LinearMap.mul R A = LinearMap.mul R A

theorem LinearMap.mul'.congr_simp E1 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A], LinearMap.mul' R A = LinearMap.mul' R A

def LinearMap.mul E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : NonUnitalNonAssocSemiring A] →
        [inst_2 : Module R A] → [SMulCommClass R A A] → [IsScalarTower R A A] → A →ₗ[R] A →ₗ[R] A

The multiplication in a non-unital non-associative algebra is a bilinear map.

A weaker version of this for semirings exists as AddMonoidHom.mul.

theorem LinearMap.mul_apply_apply E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (m x2 : A), ((LinearMap.mul R A) m) x2 = m * x2

def LinearMap.mul' E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : NonUnitalNonAssocSemiring A] →
        [inst_2 : Module R A] → [SMulCommClass R A A] → [IsScalarTower R A A] → TensorProduct R A A →ₗ[R] A

The multiplication map on a non-unital algebra, as an R-linear map from A ⊗[R] A to A.

def RingTheory.LinearMap.termμ E1 #

Lean.ParserDescr

The multiplication map on a non-unital algebra, as an R-linear map from A ⊗[R] A to A.

def RingTheory.LinearMap.«termμ[_]» E1 #

Lean.ParserDescr

The multiplication map on a non-unital algebra, as an R-linear map from A ⊗[R] A to A.

theorem LinearMap.mul_apply' E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (a b : A), ((LinearMap.mul R A) a) b = a * b

theorem LinearMap.mul'_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] {a b : A}, (LinearMap.mul' R A) (a ⊗ₜ[R] b) = a * b

theorem LinearMap.restrictScalars_mul E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] {S : Type u_4} [inst_5 : CommSemiring S]
  [inst_6 : Module S A] [inst_7 : SMulCommClass S A A] [inst_8 : IsScalarTower S A A]
  [inst_9 : LinearMap.CompatibleSMul A A R S] (a : A), ↑R ((LinearMap.mul S A) a) = (LinearMap.mul R A) a

theorem LinearMap.lift_lsmul_mul_eq_lsmul_lift_lsmul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_4} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {r : R},
  TensorProduct.lift (LinearMap.lsmul R M ∘ₗ (LinearMap.mul R R) r) =
    (LinearMap.lsmul R M) r ∘ₗ TensorProduct.lift (LinearMap.lsmul R M)

def NonUnitalAlgHom.lmul E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] →
      [inst_1 : NonUnitalSemiring A] →
        [inst_2 : Module R A] → [SMulCommClass R A A] → [IsScalarTower R A A] → A →ₙₐ[R] Module.End R A

The multiplication in a non-unital algebra is a bilinear map.

A weaker version of this for non-unital non-associative algebras exists as LinearMap.mul.

theorem NonUnitalAlgHom.coe_lmul_eq_mul E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A], ⇑(NonUnitalAlgHom.lmul R A) = ⇑(LinearMap.mul R A)

theorem LinearMap.commute_mulLeft_right E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (a b : A),
  Commute (LinearMap.mulLeft R a) (LinearMap.mulRight R b)

theorem LinearMap.map_mul_iff E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : NonUnitalSemiring A]
  [inst_2 : NonUnitalSemiring B] [inst_3 : Module R B] [inst_4 : Module R A] [inst_5 : SMulCommClass R A A]
  [inst_6 : IsScalarTower R A A] [inst_7 : SMulCommClass R B B] [inst_8 : IsScalarTower R B B] (f : A →ₗ[R] B),
  (∀ (x y : A), f (x * y) = f x * f y) ↔ (LinearMap.mul R A).compr₂ f = (LinearMap.mul R B ∘ₗ f).compl₂ f

A LinearMap preserves multiplication if pre- and post- composition with LinearMap.mul are equivalent. By converting the statement into an equality of LinearMaps, this lemma allows various specialized ext lemmas about →ₗ[R] to then be applied.

This is the LinearMap version of AddMonoidHom.map_mul_iff.

theorem LinearMap.pow_mulLeft E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] (a : A) (n : ℕ), LinearMap.mulLeft R a ^ n = LinearMap.mulLeft R (a ^ n)

theorem LinearMap.pow_mulRight E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] (a : A) (n : ℕ), LinearMap.mulRight R a ^ n = LinearMap.mulRight R (a ^ n)

def Algebra.lmul E1 #

(R : Type u_1) →
  (A : Type u_2) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → A →ₐ[R] Module.End R A

The multiplication in an algebra is an algebra homomorphism into the endomorphisms on the algebra.

A weaker version of this for non-unital algebras exists as NonUnitalAlgHom.lmul.

theorem Algebra.coe_lmul_eq_mul E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  ⇑(Algebra.lmul R A) = ⇑(LinearMap.mul R A)

theorem Algebra.lmul_injective E1 #

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

theorem Algebra.lmul_isUnit_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] {x : A},
  IsUnit ((Algebra.lmul R A) x) ↔ IsUnit x

theorem LinearMap.toSpanSingleton_one_eq_algebraLinearMap E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A],
  LinearMap.toSpanSingleton R A 1 = Algebra.linearMap R A

def LinearMap.mul'' E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → TensorProduct R A A →ₗ[A] A

The multiplication map on an R-algebra, as an A-linear map from A ⊗[R] A to A.

theorem LinearMap.mul''_apply E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  (a : TensorProduct R A A), (LinearMap.mul'' R A) a = (TensorProduct.liftAux (LinearMap.mul R A)) a

theorem LinearMap.flip_mul E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocCommSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A], (LinearMap.mul R A).flip = LinearMap.mul R A

theorem LinearMap.mul'_comp_comm E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocCommSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A],
  LinearMap.mul' R A ∘ₗ ↑(TensorProduct.comm R A A) = LinearMap.mul' R A

theorem LinearMap.mul'_comm E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocCommSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (x : TensorProduct R A A),
  (LinearMap.mul' R A) ((TensorProduct.comm R A A) x) = (LinearMap.mul' R A) x

theorem NonUnitalAlgHom.comp_mul' E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : Module R A] [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A]
  [inst_5 : NonUnitalNonAssocSemiring B] [inst_6 : Module R B] [inst_7 : SMulCommClass R B B]
  [inst_8 : IsScalarTower R B B] (f : A →ₙₐ[R] B),
  ↑f ∘ₗ LinearMap.mul' R A = LinearMap.mul' R B ∘ₗ TensorProduct.map ↑f ↑f

theorem AlgHom.comp_mul' 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.toLinearMap ∘ₗ LinearMap.mul' R A = LinearMap.mul' R B ∘ₗ TensorProduct.map f.toLinearMap f.toLinearMap