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.FGModuleCat.Basic

48 declarations and 2 deprecated aliases. Mathlib docs · Source

def ModuleCat.isFG E1 #

(R : Type u) → [inst : Ring R] → CategoryTheory.ObjectProperty (ModuleCat R)

Finitely generated modules, as a property of objects of ModuleCat R.

theorem ModuleCat.isFG_iff E0 #

∀ {R : Type u} [inst : Ring R] (V : ModuleCat R), ModuleCat.isFG R V ↔ Module.Finite R ↑V

abbrev FGModuleCat E1 #

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

The category of finitely generated modules.

def FGModuleCat.carrier E1 #

{R : Type u} → [inst : Ring R] → FGModuleCat R → Type v

A synonym for M.obj.carrier, which we can mark with @[coe].

instance instCoeSortFGModuleCatType E0 #

{R : Type u} → [inst : Ring R] → CoeSort (FGModuleCat R) (Type v)

theorem FGModuleCat.obj_carrier E0 #

∀ {R : Type u} [inst : Ring R] (M : FGModuleCat R), ↑M.obj = ↑M

instance instFiniteCarrier E0 #

∀ {R : Type u} [inst : Ring R] (M : FGModuleCat R), Module.Finite R ↑M

theorem FGModuleCat.hom_hom_comp E0 #

∀ (R : Type u) [inst : Ring R] {A B C : FGModuleCat R} (f : A ⟶ B) (g : B ⟶ C),
  ModuleCat.Hom.hom (CategoryTheory.CategoryStruct.comp f g).hom = ModuleCat.Hom.hom g.hom ∘ₗ ModuleCat.Hom.hom f.hom

theorem FGModuleCat.hom_hom_id E0 #

∀ (R : Type u) [inst : Ring R] (A : FGModuleCat R),
  ModuleCat.Hom.hom (CategoryTheory.CategoryStruct.id A).hom = LinearMap.id

instance FGModuleCat.instInhabited E0 #

(R : Type u) → [inst : Ring R] → Inhabited (FGModuleCat R)

abbrev FGModuleCat.of E1 #

(R : Type u) →
  [inst : Ring R] →
    (V : Type v) → [inst_1 : AddCommGroup V] → [inst_2 : Module R V] → [Module.Finite R V] → FGModuleCat R

Lift an unbundled finitely generated module to FGModuleCat R.

def FGModuleCat.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints FGModuleCat.of R X as ↧X.

theorem FGModuleCat.of_carrier E0 #

∀ (R : Type u) [inst : Ring R] (V : Type v) [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : Module.Finite R V], ↑↧V = V

abbrev FGModuleCat.ofHom E1 #

{R : Type u} →
  [inst : Ring R] →
    {V W : Type v} →
      [inst_1 : AddCommGroup V] →
        [inst_2 : Module R V] →
          [inst_3 : Module.Finite R V] →
            [inst_4 : AddCommGroup W] → [inst_5 : Module R W] → [inst_6 : Module.Finite R W] → (V →ₗ[R] W) → (↧V ⟶ ↧W)

Lift a linear map between finitely generated modules to FGModuleCat R.

theorem FGModuleCat.hom_ext E1 #

∀ {R : Type u} [inst : Ring R] {V W : FGModuleCat R} {f g : V ⟶ W},
  ModuleCat.Hom.hom f.hom = ModuleCat.Hom.hom g.hom → f = g

theorem FGModuleCat.hom_ext_iff E0 #

∀ {R : Type u} [inst : Ring R] {V W : FGModuleCat R} {f g : V ⟶ W},
  f = g ↔ ModuleCat.Hom.hom f.hom = ModuleCat.Hom.hom g.hom

instance FGModuleCat.instFiniteCarrier E0 #

∀ (R : Type u) [inst : Ring R] (V : FGModuleCat R), Module.Finite R ↑V

instance FGModuleCat.instFullModuleCatForget₂LinearMapIdCarrierObjIsFG E0 #

∀ (R : Type u) [inst : Ring R], (CategoryTheory.forget₂ (FGModuleCat R) (ModuleCat R)).Full

def FGModuleCat.isoToLinearEquiv E1 #

{R : Type u} → [inst : Ring R] → {V W : FGModuleCat R} → (V ≅ W) → ↑V ≃ₗ[R] ↑W

Converts an isomorphism in the category FGModuleCat R to a LinearEquiv between the underlying modules.

def LinearEquiv.toFGModuleCatIso E1 #

{R : Type u} →
  [inst : Ring R] →
    {V W : Type v} →
      [inst_1 : AddCommGroup V] →
        [inst_2 : Module R V] →
          [inst_3 : Module.Finite R V] →
            [inst_4 : AddCommGroup W] → [inst_5 : Module R W] → [inst_6 : Module.Finite R W] → (V ≃ₗ[R] W) → (↧V ≅ ↧W)

Converts a LinearEquiv to an isomorphism in the category FGModuleCat R.

theorem LinearEquiv.toFGModuleCatIso_hom E0 #

∀ {R : Type u} [inst : Ring R] {V W : Type v} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : Module.Finite R V] [inst_4 : AddCommGroup W] [inst_5 : Module R W] [inst_6 : Module.Finite R W]
  (e : V ≃ₗ[R] W), e.toFGModuleCatIso.hom = CategoryTheory.ConcreteCategory.ofHom ↑e

theorem LinearEquiv.toFGModuleCatIso_inv E0 #

∀ {R : Type u} [inst : Ring R] {V W : Type v} [inst_1 : AddCommGroup V] [inst_2 : Module R V]
  [inst_3 : Module.Finite R V] [inst_4 : AddCommGroup W] [inst_5 : Module R W] [inst_6 : Module.Finite R W]
  (e : V ≃ₗ[R] W), e.toFGModuleCatIso.inv = CategoryTheory.ConcreteCategory.ofHom ↑e.symm

def FGModuleCat.ulift E1 #

(R : Type u) → [inst : Ring R] → CategoryTheory.Functor (FGModuleCat R) (FGModuleCat R)

Universe lifting as a functor on FGModuleCat.

def FGModuleCat.fullyFaithfulULift E1 #

(R : Type u) → [inst : Ring R] → (FGModuleCat.ulift R).FullyFaithful

Universe lifting is fully faithful.

instance FGModuleCat.instFaithfulUlift E0 #

∀ (R : Type u) [inst : Ring R], (FGModuleCat.ulift R).Faithful

instance FGModuleCat.instFullUlift E0 #

∀ (R : Type u) [inst : Ring R], (FGModuleCat.ulift R).Full

instance FGModuleCat.instIsMonoidalModuleCatIsFG E0 #

∀ (R : Type u) [inst : CommRing R], (ModuleCat.isFG R).IsMonoidal

theorem FGModuleCat.tensorUnit_obj E0 #

∀ (R : Type u) [inst : CommRing R],
  (CategoryTheory.MonoidalCategoryStruct.tensorUnit (FGModuleCat R)).obj =
    CategoryTheory.MonoidalCategoryStruct.tensorUnit (ModuleCat R)

theorem FGModuleCat.tensorObj_obj E0 #

∀ (R : Type u) [inst : CommRing R] (M N : FGModuleCat R),
  (CategoryTheory.MonoidalCategoryStruct.tensorObj M N).obj =
    CategoryTheory.MonoidalCategoryStruct.tensorObj M.obj N.obj

instance FGModuleCat.instAdditiveModuleCatForget₂LinearMapIdCarrierObjIsFG E0 #

∀ (R : Type u) [inst : CommRing R], (CategoryTheory.forget₂ (FGModuleCat R) (ModuleCat R)).Additive

instance FGModuleCat.instLinearModuleCatForget₂LinearMapIdCarrierObjIsFG E0 #

∀ (R : Type u) [inst : CommRing R],
  CategoryTheory.Functor.Linear R (CategoryTheory.forget₂ (FGModuleCat R) (ModuleCat R))

theorem FGModuleCat.Iso.conj_eq_conj E1 #

∀ (R : Type u) [inst : CommRing R] {V W : FGModuleCat R} (i : V ≅ W) (f : CategoryTheory.End V),
  i.conj f = { asHom := FGModuleCat.ofHom ((FGModuleCat.isoToLinearEquiv i).conj (ModuleCat.Hom.hom f.asHom.hom)) }

theorem FGModuleCat.Iso.conj_hom_eq_conj E1 #

∀ (R : Type u) [inst : CommRing R] {V W : FGModuleCat R} (i : V ≅ W) (f : CategoryTheory.End V),
  ModuleCat.Hom.hom (i.conj f).asHom.hom = (FGModuleCat.isoToLinearEquiv i).conj (ModuleCat.Hom.hom f.asHom.hom)

instance FGModuleCat.instFiniteHomModuleCatObjIsFG E0 #

∀ (K : Type u) [inst : Field K] (V W : FGModuleCat K), Module.Finite K (V.obj ⟶ W.obj)

instance FGModuleCat.instFiniteHom E0 #

∀ (K : Type u) [inst : Field K] (V W : FGModuleCat K), Module.Finite K (V ⟶ W)

instance FGModuleCat.instIsMonoidalClosedModuleCatIsFG E0 #

∀ (K : Type u) [inst : Field K], (ModuleCat.isFG K).IsMonoidalClosed

theorem FGModuleCat.ihom_obj E0 #

∀ (K : Type u) [inst : Field K] (V W : FGModuleCat K), (V ⟹ W) = ↧(V.obj ⟶ W.obj)

def FGModuleCat.FGModuleCatDual E1 #

(K : Type u) → [inst : Field K] → FGModuleCat K → FGModuleCat K

The dual module is the dual in the rigid monoidal category FGModuleCat K.

theorem FGModuleCat.FGModuleCatDual_obj E0 #

∀ (K : Type u) [inst : Field K] (V : FGModuleCat K), (FGModuleCat.FGModuleCatDual K V).obj = ↧(Module.Dual K ↑V)

theorem FGModuleCat.FGModuleCatDual_coe E0 #

∀ (K : Type u) [inst : Field K] (V : FGModuleCat K), ↑(FGModuleCat.FGModuleCatDual K V) = Module.Dual K ↑V

def FGModuleCat.FGModuleCatCoevaluation E1 #

(K : Type u) →
  [inst : Field K] →
    (V : FGModuleCat K) →
      CategoryTheory.MonoidalCategoryStruct.tensorUnit (FGModuleCat K) ⟶
        CategoryTheory.MonoidalCategoryStruct.tensorObj V (FGModuleCat.FGModuleCatDual K V)

The coevaluation map is defined in LinearAlgebra.coevaluation.

theorem FGModuleCat.FGModuleCatCoevaluation_apply_one E1 #

∀ (K : Type u) [inst : Field K] (V : FGModuleCat K),
  (CategoryTheory.ConcreteCategory.hom (FGModuleCat.FGModuleCatCoevaluation K V).hom) 1 =
    ∑ i, (Module.Basis.ofVectorSpace K ↑V) i ⊗ₜ[K] (Module.Basis.ofVectorSpace K ↑V).coord i

def FGModuleCat.FGModuleCatEvaluation E1 #

(K : Type u) →
  [inst : Field K] →
    (V : FGModuleCat K) →
      CategoryTheory.MonoidalCategoryStruct.tensorObj (FGModuleCat.FGModuleCatDual K V) V ⟶
        CategoryTheory.MonoidalCategoryStruct.tensorUnit (FGModuleCat K)

The evaluation morphism is given by the contraction map.

theorem FGModuleCat.FGModuleCatEvaluation_apply E0 #

∀ (K : Type u) [inst : Field K] (V : FGModuleCat K) (f : ↑(FGModuleCat.FGModuleCatDual K V)) (x : ↑V),
  (CategoryTheory.ConcreteCategory.hom (FGModuleCat.FGModuleCatEvaluation K V).hom) (f ⊗ₜ[K] x) = f.toFun x

theorem FGModuleCat.FGModuleCatEvaluation_apply' E0 #

∀ (K : Type u) [inst : Field K] (V : FGModuleCat K) (f : ↑(FGModuleCat.FGModuleCatDual K V)) (x : ↑V),
  (ModuleCat.Hom.hom (FGModuleCat.FGModuleCatEvaluation K V).hom) (f ⊗ₜ[K] x) = f.toFun x

@[simp]-normal form of FGModuleCatEvaluation_apply, where the carriers have been unfolded.

instance FGModuleCat.exactPairing E0 #

(K : Type u) → [inst : Field K] → (V : FGModuleCat K) → CategoryTheory.ExactPairing V (FGModuleCat.FGModuleCatDual K V)

instance FGModuleCat.rightDual E0 #

(K : Type u) → [inst : Field K] → (V : FGModuleCat K) → CategoryTheory.HasRightDual V

instance FGModuleCat.rightRigidCategory E0 #

(K : Type u) → [inst : Field K] → CategoryTheory.RightRigidCategory (FGModuleCat K)

Deprecated aliases

NameNew nameSince
LinearMap.comp_id_fgModuleCat2026-10-06
LinearMap.id_fgModuleCat_comp2026-10-06