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 / V07. Linear algebra

Mathlib.Algebra.Module.Projective

30 declarations. Mathlib docs · Source

Projective modules

This file contains a definition of a projective module, the proof that our definition is equivalent to a lifting property, and the proof that all free modules are projective.

Main definitions

Let R be a ring (or a semiring) and let M be an R-module.

  • Module.Projective R M : the proposition saying that M is a projective R-module.

Main theorems

  • Module.projective_lifting_property : a map from a projective module can be lifted along a surjection.

  • Module.Projective.of_lifting_property : If for all R-module surjections A →ₗ B, all maps M →ₗ B lift to M →ₗ A, then M is projective.

  • Module.Projective.of_free : Free modules are projective

Implementation notes

The actual definition of projective we use is that the natural R-module map from the free R-module on the type M down to M splits. This is more convenient than certain other definitions which involve quantifying over universes, and also universe-polymorphic (the ring and module can be in different universes).

References

https://en.wikipedia.org/wiki/Projective_module

Tags

projective module

class Module.Projective E1 #

(R : Type u_1) → [inst : Semiring R] → (P : Type u_2) → [inst_1 : AddCommMonoid P] → [Module R P] → Prop

An R-module is projective if it is a direct summand of a free module, or equivalently if maps from the module lift along surjections. There are several other equivalent definitions.

ctor Module.Projective.mk E0 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P],
  (∃ s, Function.LeftInverse ⇑(Finsupp.linearCombination R id) ⇑s) → Module.Projective R P

theorem Module.Projective.out E1 #

∀ {R : Type u_1} {inst : Semiring R} {P : Type u_2} {inst_1 : AddCommMonoid P} {inst_2 : Module R P}
  [self : Module.Projective R P], ∃ s, Function.LeftInverse ⇑(Finsupp.linearCombination R id) ⇑s

theorem Module.projective_def E0 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P],
  Module.Projective R P ↔ ∃ s, Function.LeftInverse ⇑(Finsupp.linearCombination R id) ⇑s

theorem Module.projective_def' E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P],
  Module.Projective R P ↔ ∃ s, Finsupp.linearCombination R id ∘ₗ s = LinearMap.id

theorem Module.projective_lifting_property E3 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] {N : Type u_4} [inst_5 : AddCommMonoid N] [inst_6 : Module R N]
  [h : Module.Projective R P] (f : M →ₗ[R] N) (g : P →ₗ[R] N), Function.Surjective ⇑f → ∃ h, f ∘ₗ h = g

A projective R-module has the property that maps from it lift along surjections.

theorem LinearMap.exists_rightInverse_of_surjective E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Projective R P] (f : M →ₗ[R] P),
  f.range = ⊤ → ∃ g, f ∘ₗ g = LinearMap.id

theorem Function.Surjective.surjective_linearMapComp_left E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] {N : Type u_4} [inst_5 : AddCommMonoid N] [inst_6 : Module R N]
  [Module.Projective R P] {f : M →ₗ[R] P}, Function.Surjective ⇑f → Function.Surjective fun g ↦ f ∘ₗ g

theorem Module.Projective.of_lifting_property'' E1 #

∀ {R : Type u} [inst : Semiring R] {P : Type v} [inst_1 : AddCommMonoid P] [inst_2 : Module R P],
  (∀ (f : (P →₀ R) →ₗ[R] P), Function.Surjective ⇑f → ∃ h, f ∘ₗ h = LinearMap.id) → Module.Projective R P

A module which satisfies the universal property is projective: If all surjections of R-modules (P →₀ R) →ₗ[R] P have R-linear left inverse maps, then P is projective.

instance Module.instProjectiveProd E0 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {Q : Type u_5}
  [inst_3 : AddCommMonoid Q] [inst_4 : Module R Q] [Module.Projective R P] [Module.Projective R Q],
  Module.Projective R (P × Q)

instance Module.instProjectiveDFinsupp E0 #

∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_6} (A : ι → Type u_7) [inst_1 : (i : ι) → AddCommMonoid (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [h : ∀ (i : ι), Module.Projective R (A i)], Module.Projective R (Π₀ (i : ι), A i)

theorem Module.Projective.of_basis E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {ι : Type u_6}
  (b : Module.Basis ι R P), Module.Projective R P

Free modules are projective.

instance Module.Projective.of_free E3 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] [Module.Free R P],
  Module.Projective R P

theorem Module.Projective.of_split E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Projective R M] (i : P →ₗ[R] M) (s : M →ₗ[R] P),
  s ∘ₗ i = LinearMap.id → Module.Projective R P

A direct summand of a projective module is projective.

theorem Module.Projective.of_equiv E1 #

∀ {R : Type u_8} {S : Type u_9} [inst : Semiring R] [inst_1 : Semiring S] {M : Type u_10} {N : Type u_11}
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid N] [inst_4 : Module R M] [inst_5 : Module S N] {σ : R →+* S}
  {σ' : S →+* R} [inst_6 : RingHomInvPair σ σ'] [inst_7 : RingHomInvPair σ' σ] (e₂ : M ≃ₛₗ[σ] N)
  [Module.Projective R M], Module.Projective S N

theorem Module.Projective.of_equiv' E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Projective R M] (e : M ≃ₗ[R] P), Module.Projective R P

instance Module.instProjectiveFinsupp E0 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {ι : Type u_6}
  [Module.Projective R M], Module.Projective R (ι →₀ M)

instance Module.instProjectiveForallOfFinite E0 #

∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_6} (A : ι → Type u_7) [inst_1 : (i : ι) → AddCommMonoid (A i)]
  [inst_2 : (i : ι) → Module R (A i)] [Finite ι] [∀ (i : ι), Module.Projective R (A i)],
  Module.Projective R ((i : ι) → A i)

instance Module.instProjectiveULift E0 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Projective R M], Module.Projective R (ULift.{w, u_3} M)

theorem Module.Projective.of_ulift E1 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [Module.Projective R (ULift.{w, u_3} M)], Module.Projective R M

instance Module.instProjectiveShrink E0 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Small.{w, u_3} M] [Module.Projective R M], Module.Projective R (Shrink.{w, u_3} M)

theorem Module.Projective.of_shrink E1 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : Small.{w, u_3} M] [Module.Projective R (Shrink.{w, u_3} M)], Module.Projective R M

theorem Module.Projective.iff_split_of_projective E1 #

∀ {R : Type u_1} [inst : Semiring R] {P : Type u_2} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] {M : Type u_3}
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Projective R M] (s : M →ₗ[R] P),
  Function.Surjective ⇑s → (Module.Projective R P ↔ ∃ i, s ∘ₗ i = LinearMap.id)

A quotient of a projective module is projective iff it is a direct summand.

theorem Module.Projective.iff_split' E1 #

∀ {R : Type u} [inst : Semiring R] {P : Type v} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] [Small.{w, u} R]
  [Small.{w, v} P], Module.Projective R P ↔ ∃ M x x_1, ∃ (_ : Module.Free R M), ∃ i s, s ∘ₗ i = LinearMap.id

A variant of Projective.iff_split allowing for a more flexible selection of the universe for the free module M.

theorem Module.Projective.iff_split E1 #

∀ {R : Type u} [inst : Semiring R] {P : Type v} [inst_1 : AddCommMonoid P] [inst_2 : Module R P],
  Module.Projective R P ↔ ∃ M x x_1, ∃ (_ : Module.Free R M), ∃ i s, s ∘ₗ i = LinearMap.id

A module is projective iff it is the direct summand of a free module.

theorem Module.Projective.of_lifting_property' E1 #

∀ {R : Type u} [inst : Semiring R] {P : Type v} [inst_1 : AddCommMonoid P] [inst_2 : Module R P] [Small.{v, u} R],
  (∀ {M N : Type v} [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid N] [inst_6 : Module R M] [inst_7 : Module R N]
      (f : M →ₗ[R] N) (g : P →ₗ[R] N), Function.Surjective ⇑f → ∃ h, f ∘ₗ h = g) →
    Module.Projective R P

A module which satisfies the universal property is projective.

theorem Module.Projective.of_lifting_property E3 #

∀ {R : Type u} [inst : Ring R] {P : Type v} [inst_1 : AddCommGroup P] [inst_2 : Module R P] [Small.{v, u} R],
  (∀ {M N : Type v} [inst_4 : AddCommGroup M] [inst_5 : AddCommGroup N] [inst_6 : Module R M] [inst_7 : Module R N]
      (f : M →ₗ[R] N) (g : P →ₗ[R] N), Function.Surjective ⇑f → ∃ h, f ∘ₗ h = g) →
    Module.Projective R P

A variant of of_lifting_property' when we're working over a [Ring R], which only requires quantifying over modules with an AddCommGroup instance.

theorem Module.Projective.directSum_iff E0 #

∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)],
  Module.Projective R (DirectSum ι fun i ↦ M i) ↔ ∀ (i : ι), Module.Projective R (M i)

instance Module.Projective.directSum E0 #

∀ {R : Type u} [inst : Semiring R] {ι : Type v} {M : ι → Type w} [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)] [∀ (i : ι), Module.Projective R (M i)],
  Module.Projective R (DirectSum ι fun i ↦ M i)

theorem Module.Projective.trans E1 #

∀ (R : Type u_1) (S : Type u_2) (M : Type u_3) [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Module R S]
  [IsScalarTower R S S] [inst_4 : AddCommMonoid M] [inst_5 : Module R M] [inst_6 : Module S M] [IsScalarTower R S M]
  [Module.Projective R S] [Module.Projective S M], Module.Projective R M

Projectivity is transitive along a scalar tower.