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 / V26. Homological algebra

Mathlib.Algebra.Category.ModuleCat.Semi

90 declarations and 2 deprecated aliases. Mathlib docs · Source

The category of R-modules

If R is a semiring, SemimoduleCat.{v} R is the category of bundled R-semimodules with carrier in the universe v. We show that it is preadditive and show that being an isomorphism and monomorphism are equivalent to being a linear equivalence and an injective linear map respectively.

Implementation notes

To construct an object in the category of R-semimodules from a type M with an instance of the Module typeclass, write of R M. There is a coercion in the other direction. The roundtrip ↑(of R M) is definitionally equal to M itself (when M is a type with Module instance), and so is of R ↑M (when M : SemimoduleCat R M).

The morphisms are given their own type, not identified with LinearMap. There is a cast from morphisms in Module R to linear maps, written f.hom (SemimoduleCat.Hom.hom). To go from linear maps to morphisms in Module R, use SemimoduleCat.ofHom.

Similarly, given an isomorphism f : M ≅ N use f.toLinearEquiv and given a linear equiv f : M ≃ₗ[R] N, use f.toModuleIso.

The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.

@[simp] lemmas for LinearMap.comp and categorical identities.

theorem SemimoduleCat.Hom.mk.inj E1 #

∀ {R : Type u} {inst : Semiring R} {M N : SemimoduleCat R} {hom' hom'_1 : ↑M →ₗ[R] ↑N},
  { hom' := hom' } = { hom' := hom'_1 } → hom' = hom'_1

theorem SemimoduleCat.Hom.mk.injEq E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (hom' hom'_1 : ↑M →ₗ[R] ↑N),
  ({ hom' := hom' } = { hom' := hom'_1 }) = (hom' = hom'_1)

def SemimoduleCat.Hom.ctorIdx E1 #

{R : Type u} → {inst : Semiring R} → {M N : SemimoduleCat R} → M.Hom N → ℕ

def SemimoduleCat.ctorIdx E1 #

{R : Type u} → {inst : Semiring R} → SemimoduleCat R → ℕ

structure SemimoduleCat E1 #

(R : Type u) → [Semiring R] → Type (max u (v + 1))

The category of R-semimodules and their morphisms.

Note that in the case of R = ℕ, we can not impose here that the ℕ-multiplication field from the module structure is defeq to the one coming from the isAddCommMonoid structure (contrary to what we do for all module structures in mathlib), which creates some difficulties down the road.

abbrev SemimoduleCat.carrier E1 #

{R : Type u} → [inst : Semiring R] → SemimoduleCat R → Type v

the underlying type of an object in SemimoduleCat R

instance SemimoduleCat.isAddCommMonoid E0 #

{R : Type u} → [inst : Semiring R] → (self : SemimoduleCat R) → AddCommMonoid ↑self

instance SemimoduleCat.isModule E0 #

{R : Type u} → [inst : Semiring R] → (self : SemimoduleCat R) → Module R ↑self

instance SemimoduleCat.instCoeSortType E0 #

(R : Type u) → [inst : Semiring R] → CoeSort (SemimoduleCat R) (Type v)

abbrev SemimoduleCat.of E1 #

(R : Type u) → [inst : Semiring R] → (X : Type v) → [inst_1 : AddCommMonoid X] → [Module R X] → SemimoduleCat R

The object in the category of R-algebras associated to a type equipped with the appropriate typeclasses. This is the preferred way to construct a term of SemimoduleCat R.

def SemimoduleCat.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints SemimoduleCat.of R X as ↧X.

theorem SemimoduleCat.coe_of E0 #

∀ (R : Type u) [inst : Semiring R] (X : Type v) [inst_1 : Semiring X] [inst_2 : Module R X], ↑↧X = X

structure SemimoduleCat.Hom E1 #

{R : Type u} → [inst : Semiring R] → SemimoduleCat R → SemimoduleCat R → Type v

The type of morphisms in SemimoduleCat R.

theorem SemimoduleCat.Hom.ext_iff E0 #

∀ {R : Type u} {inst : Semiring R} {M N : SemimoduleCat R} {x y : M.Hom N}, x = y ↔ x.hom' = y.hom'

theorem SemimoduleCat.Hom.ext E1 #

∀ {R : Type u} {inst : Semiring R} {M N : SemimoduleCat R} {x y : M.Hom N}, x.hom' = y.hom' → x = y

ctor SemimoduleCat.Hom.mk E0 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → (↑M →ₗ[R] ↑N) → M.Hom N

abbrev SemimoduleCat.Hom.hom' E1 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → M.Hom N → ↑M →ₗ[R] ↑N

The underlying linear map.

instance SemimoduleCat.moduleCategory E0 #

(R : Type u) → [inst : Semiring R] → CategoryTheory.Category.{v, max (v + 1) u} (SemimoduleCat R)

instance SemimoduleCat.instConcreteCategoryLinearMapIdCarrier E0 #

(R : Type u) → [inst : Semiring R] → CategoryTheory.ConcreteCategory (SemimoduleCat R) fun x1 x2 ↦ ↑x1 →ₗ[R] ↑x2

abbrev SemimoduleCat.Hom.hom E1 #

{R : Type u} → [inst : Semiring R] → {A B : SemimoduleCat R} → A.Hom B → ↑A →ₗ[R] ↑B

Turn a morphism in SemimoduleCat back into a LinearMap.

abbrev SemimoduleCat.ofHom E1 #

{R : Type u} →
  [inst : Semiring R] →
    {X Y : Type v} →
      [inst_1 : AddCommMonoid X] →
        [inst_2 : Module R X] → [inst_3 : AddCommMonoid Y] → [inst_4 : Module R Y] → (X →ₗ[R] Y) → (↧X ⟶ ↧Y)

Typecheck a LinearMap as a morphism in SemimoduleCat.

def SemimoduleCat.Hom.Simps.hom E1 #

{R : Type u} → [inst : Semiring R] → (A B : SemimoduleCat R) → A.Hom B → ↑A →ₗ[R] ↑B

Use the ConcreteCategory.hom projection for @[simps] lemmas.

theorem SemimoduleCat.hom_id E0 #

∀ {R : Type u} [inst : Semiring R] {M : SemimoduleCat R},
  SemimoduleCat.Hom.hom (CategoryTheory.CategoryStruct.id M) = LinearMap.id

theorem SemimoduleCat.id_apply E0 #

∀ {R : Type u} [inst : Semiring R] (M : SemimoduleCat R) (x : ↑M),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id M)) x = x

theorem SemimoduleCat.hom_comp E0 #

∀ {R : Type u} [inst : Semiring R] {M N O : SemimoduleCat R} (f : M ⟶ N) (g : N ⟶ O),
  SemimoduleCat.Hom.hom (CategoryTheory.CategoryStruct.comp f g) = SemimoduleCat.Hom.hom g ∘ₗ SemimoduleCat.Hom.hom f

theorem SemimoduleCat.comp_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N O : SemimoduleCat R} (f : M ⟶ N) (g : N ⟶ O) (x : ↑M),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.comp f g)) x =
    (CategoryTheory.ConcreteCategory.hom g) ((CategoryTheory.ConcreteCategory.hom f) x)

theorem SemimoduleCat.hom_ext_iff E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {f g : M ⟶ N},
  f = g ↔ SemimoduleCat.Hom.hom f = SemimoduleCat.Hom.hom g

theorem SemimoduleCat.hom_ext E1 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {f g : M ⟶ N},
  SemimoduleCat.Hom.hom f = SemimoduleCat.Hom.hom g → f = g

theorem SemimoduleCat.hom_bijective E1 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R}, Function.Bijective SemimoduleCat.Hom.hom

theorem SemimoduleCat.hom_injective E1 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R}, Function.Injective SemimoduleCat.Hom.hom

Convenience shortcut for SemimoduleCat.hom_bijective.injective.

theorem SemimoduleCat.hom_surjective E1 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R}, Function.Surjective SemimoduleCat.Hom.hom

Convenience shortcut for SemimoduleCat.hom_bijective.surjective.

theorem SemimoduleCat.hom_ofHom E0 #

∀ {R : Type u} [inst : Semiring R] {X Y : Type v} [inst_1 : AddCommMonoid X] [inst_2 : Module R X]
  [inst_3 : AddCommMonoid Y] [inst_4 : Module R Y] (f : X →ₗ[R] Y), SemimoduleCat.Hom.hom (SemimoduleCat.ofHom f) = f

theorem SemimoduleCat.ofHom_hom E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (f : M ⟶ N),
  SemimoduleCat.ofHom (SemimoduleCat.Hom.hom f) = f

theorem SemimoduleCat.ofHom_id E0 #

∀ {R : Type u} [inst : Semiring R] {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  SemimoduleCat.ofHom LinearMap.id = CategoryTheory.CategoryStruct.id ↧M

theorem SemimoduleCat.ofHom_comp E0 #

∀ {R : Type u} [inst : Semiring R] {M N O : Type v} [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : AddCommMonoid O] [inst_4 : Module R M] [inst_5 : Module R N] [inst_6 : Module R O] (f : M →ₗ[R] N)
  (g : N →ₗ[R] O),
  SemimoduleCat.ofHom (g ∘ₗ f) = CategoryTheory.CategoryStruct.comp (SemimoduleCat.ofHom f) (SemimoduleCat.ofHom g)

theorem SemimoduleCat.ofHom_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : Type v} [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (f : M →ₗ[R] N) (x : M),
  (CategoryTheory.ConcreteCategory.hom (SemimoduleCat.ofHom f)) x = f x

theorem SemimoduleCat.inv_hom_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (e : M ≅ N) (x : ↑M),
  (CategoryTheory.ConcreteCategory.hom e.inv) ((CategoryTheory.ConcreteCategory.hom e.hom) x) = x

theorem SemimoduleCat.hom_inv_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (e : M ≅ N) (x : ↑N),
  (CategoryTheory.ConcreteCategory.hom e.hom) ((CategoryTheory.ConcreteCategory.hom e.inv) x) = x

def SemimoduleCat.homEquiv E1 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → (M ⟶ N) ≃ (↑M →ₗ[R] ↑N)

SemimoduleCat.Hom.hom bundled as an Equiv.

theorem SemimoduleCat.forget_obj E1 #

∀ (R : Type u) [inst : Semiring R] {M : SemimoduleCat R}, (CategoryTheory.forget (SemimoduleCat R)).obj M = ↑M

instance SemimoduleCat.hasForgetToAddCommMonoid E0 #

(R : Type u) → [inst : Semiring R] → CategoryTheory.HasForget₂ (SemimoduleCat R) AddCommMonCat

theorem SemimoduleCat.forget₂_obj E0 #

∀ (R : Type u) [inst : Semiring R] (X : SemimoduleCat R),
  (CategoryTheory.forget₂ (SemimoduleCat R) AddCommMonCat).obj X = ↧↑X

theorem SemimoduleCat.forget₂_obj_moduleCat_of E1 #

∀ (R : Type u) [inst : Semiring R] (X : Type v) [inst_1 : AddCommMonoid X] [inst_2 : Module R X],
  (CategoryTheory.forget₂ (SemimoduleCat R) AddCommMonCat).obj ↧X = ↧X

theorem SemimoduleCat.forget₂_map E0 #

∀ (R : Type u) [inst : Semiring R] (X Y : SemimoduleCat R) (f : X ⟶ Y),
  (CategoryTheory.forget₂ (SemimoduleCat R) AddCommMonCat).map f = AddCommMonCat.ofHom ↑(SemimoduleCat.Hom.hom f)

instance SemimoduleCat.instInhabited E0 #

(R : Type u) → [inst : Semiring R] → Inhabited (SemimoduleCat R)

theorem SemimoduleCat.of_coe E0 #

∀ (R : Type u) [inst : Semiring R] (X : SemimoduleCat R), ↧↑X = X

theorem SemimoduleCat.isZero_of_subsingleton E1 #

∀ {R : Type u} [inst : Semiring R] (M : SemimoduleCat R) [Subsingleton ↑M], CategoryTheory.Limits.IsZero M

instance SemimoduleCat.instHasZeroObject E0 #

∀ {R : Type u} [inst : Semiring R], CategoryTheory.Limits.HasZeroObject (SemimoduleCat R)

def SemimoduleCat.«term↟_» E1 #

Lean.ParserDescr

Reinterpreting a linear map in the category of R-modules

def LinearEquiv.toModuleIsoₛ E1 #

{R : Type u} →
  [inst : Semiring R] →
    {X₁ X₂ : Type v} →
      {g₁ : AddCommMonoid X₁} →
        {g₂ : AddCommMonoid X₂} → {m₁ : Module R X₁} → {m₂ : Module R X₂} → (X₁ ≃ₗ[R] X₂) → (↧X₁ ≅ ↧X₂)

Build an isomorphism in the category Module R from a LinearEquiv between Modules.

theorem LinearEquiv.toModuleIsoₛ_hom E0 #

∀ {R : Type u} [inst : Semiring R] {X₁ X₂ : Type v} {g₁ : AddCommMonoid X₁} {g₂ : AddCommMonoid X₂} {m₁ : Module R X₁}
  {m₂ : Module R X₂} (e : X₁ ≃ₗ[R] X₂), e.toModuleIsoₛ.hom = SemimoduleCat.ofHom ↑e

theorem LinearEquiv.toModuleIsoₛ_inv E0 #

∀ {R : Type u} [inst : Semiring R] {X₁ X₂ : Type v} {g₁ : AddCommMonoid X₁} {g₂ : AddCommMonoid X₂} {m₁ : Module R X₁}
  {m₂ : Module R X₂} (e : X₁ ≃ₗ[R] X₂), e.toModuleIsoₛ.inv = SemimoduleCat.ofHom ↑e.symm

def CategoryTheory.Iso.toLinearEquivₛ E1 #

{R : Type u} → [inst : Semiring R] → {X Y : SemimoduleCat R} → (X ≅ Y) → ↑X ≃ₗ[R] ↑Y

Build a LinearEquiv from an isomorphism in the category SemimoduleCat R.

def linearEquivIsoModuleIsoₛ E1 #

{R : Type u} →
  [inst : Semiring R] →
    {X Y : Type u} →
      [inst_1 : AddCommMonoid X] →
        [inst_2 : AddCommMonoid Y] → [inst_3 : Module R X] → [inst_4 : Module R Y] → (X ≃ₗ[R] Y) ≅ ↧X ≅ ↧Y

linear equivalences between Modules are the same as (isomorphic to) isomorphisms in SemimoduleCat

theorem linearEquivIsoModuleIsoₛ_hom E0 #

∀ {R : Type u} [inst : Semiring R] {X Y : Type u} [inst_1 : AddCommMonoid X] [inst_2 : AddCommMonoid Y]
  [inst_3 : Module R X] [inst_4 : Module R Y], linearEquivIsoModuleIsoₛ.hom = TypeCat.ofHom fun e ↦ e.toModuleIsoₛ

theorem linearEquivIsoModuleIsoₛ_inv E0 #

∀ {R : Type u} [inst : Semiring R] {X Y : Type u} [inst_1 : AddCommMonoid X] [inst_2 : AddCommMonoid Y]
  [inst_3 : Module R X] [inst_4 : Module R Y], linearEquivIsoModuleIsoₛ.inv = TypeCat.ofHom fun i ↦ i.toLinearEquivₛ

instance SemimoduleCat.instAddHom E0 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → Add (M ⟶ N)

theorem SemimoduleCat.hom_add E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (f g : M ⟶ N),
  SemimoduleCat.Hom.hom (f + g) = SemimoduleCat.Hom.hom f + SemimoduleCat.Hom.hom g

instance SemimoduleCat.instZeroHom E0 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → Zero (M ⟶ N)

theorem SemimoduleCat.hom_zero E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R}, SemimoduleCat.Hom.hom 0 = 0

instance SemimoduleCat.instSMulNatHom E0 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → SMul ℕ (M ⟶ N)

theorem SemimoduleCat.hom_nsmul E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (n : ℕ) (f : M ⟶ N),
  SemimoduleCat.Hom.hom (n • f) = n • SemimoduleCat.Hom.hom f

instance SemimoduleCat.instAddCommMonoidHom E0 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → AddCommMonoid (M ⟶ N)

theorem SemimoduleCat.hom_sum E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {ι : Type u_1} (f : ι → (M ⟶ N)) (s : Finset ι),
  SemimoduleCat.Hom.hom (∑ i ∈ s, f i) = ∑ i ∈ s, SemimoduleCat.Hom.hom (f i)

instance SemimoduleCat.instHasZeroMorphisms E0 #

{R : Type u} → [inst : Semiring R] → CategoryTheory.Limits.HasZeroMorphisms (SemimoduleCat R)

def SemimoduleCat.homAddEquiv E1 #

{R : Type u} → [inst : Semiring R] → {M N : SemimoduleCat R} → (M ⟶ N) ≃+ (↑M →ₗ[R] ↑N)

SemimoduleCat.Hom.hom bundled as an additive equivalence.

theorem SemimoduleCat.homAddEquiv_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (f : M.Hom N), SemimoduleCat.homAddEquiv f = f.hom

theorem SemimoduleCat.homAddEquiv_symm_apply_hom E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} (f : ↑M →ₗ[R] ↑N),
  SemimoduleCat.Hom.hom (SemimoduleCat.homAddEquiv.symm f) = f

theorem SemimoduleCat.subsingleton_of_isZero E1 #

∀ {R : Type u} [inst : Semiring R] {M : SemimoduleCat R}, CategoryTheory.Limits.IsZero M → Subsingleton ↑M

theorem SemimoduleCat.isZero_iff_subsingleton E1 #

∀ {R : Type u} [inst : Semiring R] {M : SemimoduleCat R}, CategoryTheory.Limits.IsZero M ↔ Subsingleton ↑M

theorem SemimoduleCat.isZero_of_iff_subsingleton E0 #

∀ {R : Type u} [inst : Semiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  CategoryTheory.Limits.IsZero ↧M ↔ Subsingleton M

instance SemimoduleCat.instSMulHom E0 #

{R : Type u} →
  [inst : Semiring R] →
    {M N : SemimoduleCat R} →
      {S : Type u_1} → [inst_1 : Monoid S] → [inst_2 : DistribMulAction S ↑N] → [SMulCommClass R S ↑N] → SMul S (M ⟶ N)

theorem SemimoduleCat.hom_smul E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {S : Type u_1} [inst_1 : Monoid S]
  [inst_2 : DistribMulAction S ↑N] [inst_3 : SMulCommClass R S ↑N] (s : S) (f : M ⟶ N),
  SemimoduleCat.Hom.hom (s • f) = s • SemimoduleCat.Hom.hom f

instance SemimoduleCat.Hom.instModule E0 #

{R : Type u} →
  [inst : Semiring R] →
    {M N : SemimoduleCat R} →
      {S : Type u_1} → [inst_1 : Semiring S] → [inst_2 : Module S ↑N] → [SMulCommClass R S ↑N] → Module S (M ⟶ N)

def SemimoduleCat.homLinearEquiv E1 #

{R : Type u} →
  [inst : Semiring R] →
    {M N : SemimoduleCat R} →
      {S : Type u_1} →
        [inst_1 : Semiring S] → [inst_2 : Module S ↑N] → [inst_3 : SMulCommClass R S ↑N] → (M ⟶ N) ≃ₗ[S] ↑M →ₗ[R] ↑N

SemimoduleCat.Hom.hom bundled as a linear equivalence.

theorem SemimoduleCat.homLinearEquiv_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {S : Type u_1} [inst_1 : Semiring S] [inst_2 : Module S ↑N]
  [inst_3 : SMulCommClass R S ↑N] (a : M ⟶ N), SemimoduleCat.homLinearEquiv a = SemimoduleCat.homAddEquiv.toFun a

theorem SemimoduleCat.homLinearEquiv_symm_apply E0 #

∀ {R : Type u} [inst : Semiring R] {M N : SemimoduleCat R} {S : Type u_1} [inst_1 : Semiring S] [inst_2 : Module S ↑N]
  [inst_3 : SMulCommClass R S ↑N] (a : ↑M →ₗ[R] ↑N),
  SemimoduleCat.homLinearEquiv.symm a = SemimoduleCat.homAddEquiv.invFun a

def SemimoduleCat.Algebra.instModuleCarrier E1 #

{S₀ : Type u₀} →
  [inst : CommSemiring S₀] →
    {S : Type u} → [inst_1 : Semiring S] → [Algebra S₀ S] → {M : SemimoduleCat S} → Module S₀ ↑M

Let S be an S₀-algebra. Then S-modules are modules over S₀.

theorem SemimoduleCat.Algebra.instIsScalarTowerCarrier E1 #

∀ {S₀ : Type u₀} [inst : CommSemiring S₀] {S : Type u} [inst_1 : Semiring S] [inst_2 : Algebra S₀ S]
  {M : SemimoduleCat S}, IsScalarTower S₀ S ↑M

theorem SemimoduleCat.Algebra.instSMulCommClassCarrier E1 #

∀ {S₀ : Type u₀} [inst : CommSemiring S₀] {S : Type u} [inst_1 : Semiring S] [inst_2 : Algebra S₀ S]
  {M : SemimoduleCat S}, SMulCommClass S S₀ ↑M

theorem SemimoduleCat.Iso.homCongr_eq_arrowCongr E1 #

∀ {S : Type u} [inst : CommSemiring S] {X Y X' Y' : SemimoduleCat S} (i : X ≅ X') (j : Y ≅ Y') (f : X ⟶ Y),
  (i.homCongr j) f = { hom' := (i.toLinearEquivₛ.arrowCongr j.toLinearEquivₛ) (SemimoduleCat.Hom.hom f) }

theorem SemimoduleCat.Iso.conj_eq_conj E1 #

∀ {S : Type u} [inst : CommSemiring S] {X X' : SemimoduleCat S} (i : X ≅ X') (f : CategoryTheory.End X),
  i.conj f = { asHom := { hom' := i.toLinearEquivₛ.conj (SemimoduleCat.Hom.hom f.asHom) } }

instance SemimoduleCat.instReflectsIsomorphismsForgetLinearMapIdCarrier E0 #

∀ {R : Type u} [inst : Semiring R], (CategoryTheory.forget (SemimoduleCat R)).ReflectsIsomorphisms

instance SemimoduleCat.instReflectsIsomorphismsAddCommMonCatForget₂LinearMapIdCarrierAddMonoidHomCarrier E0 #

∀ {R : Type u} [inst : Semiring R], (CategoryTheory.forget₂ (SemimoduleCat R) AddCommMonCat).ReflectsIsomorphisms

def SemimoduleCat.ofHom₂ E1 #

{R : Type u_1} → [inst : CommSemiring R] → {M N P : SemimoduleCat R} → (↑M →ₗ[R] ↑N →ₗ[R] ↑P) → (M ⟶ ↧(N ⟶ P))

Turn a bilinear map into a homomorphism.

theorem SemimoduleCat.ofHom₂_hom_apply_hom E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M N P : SemimoduleCat R} (f : ↑M →ₗ[R] ↑N →ₗ[R] ↑P) (x : ↑M),
  SemimoduleCat.Hom.hom ((SemimoduleCat.Hom.hom (SemimoduleCat.ofHom₂ f)) x) = f x

def SemimoduleCat.Hom.hom₂ E1 #

{R : Type u_1} → [inst : CommSemiring R] → {M N P : SemimoduleCat R} → (M ⟶ ↧(N ⟶ P)) → ↑M →ₗ[R] ↑N →ₗ[R] ↑P

Turn a homomorphism into a bilinear map.

theorem SemimoduleCat.Hom.hom₂_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M N P : SemimoduleCat R} (f : M ⟶ ↧(N ⟶ P)) (x : ↑M),
  (SemimoduleCat.Hom.hom₂ f) x = (SemimoduleCat.ofHom ↑SemimoduleCat.homLinearEquiv).hom' (f.hom' x)

theorem SemimoduleCat.Hom.hom₂_ofHom₂ E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M N P : SemimoduleCat R} (f : ↑M →ₗ[R] ↑N →ₗ[R] ↑P),
  SemimoduleCat.Hom.hom₂ (SemimoduleCat.ofHom₂ f) = f

theorem SemimoduleCat.ofHom₂_hom₂ E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M N P : SemimoduleCat R} (f : M ⟶ ↧(N ⟶ P)),
  SemimoduleCat.ofHom₂ (SemimoduleCat.Hom.hom₂ f) = f

Deprecated aliases

NameNew nameSince
LinearMap.comp_id_semiModuleCat2026-10-06
LinearMap.id_semiModuleCat_comp2026-10-06