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.LinearAlgebra.FreeModule.Finite.Quotient

6 declarations. Mathlib docs · Source

Quotient of submodules of full rank in free finite modules over PIDs

Main results

  • Submodule.quotientEquivPiSpan: M ⧸ N, if M is free finite module over a PID R and N is a submodule of full rank, can be written as a product of quotients of R by principal ideals.

def Submodule.quotientEquivPiSpan E3 #

{ι : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : AddCommGroup M] →
          [inst_2 : Module R M] →
            [inst_3 : IsDomain R] →
              [inst_4 : IsPrincipalIdealRing R] →
                [inst_5 : Finite ι] →
                  (N : Submodule R M) →
                    (b : Module.Basis ι R M) →
                      (h : Module.finrank R ↥N = Module.finrank R M) →
                        (M ⧸ N) ≃ₗ[R] (i : ι) → R ⧸ Ideal.span {Submodule.smithNormalFormCoeffs b h i}

We can write the quotient by a submodule of full rank over a PID as a product of quotients by principal ideals.

def Submodule.quotientEquivPiZMod E1 #

{ι : Type u_1} →
  {M : Type u_3} →
    [inst : AddCommGroup M] →
      [inst_1 : Finite ι] →
        (N : Submodule ℤ M) →
          (b : Module.Basis ι ℤ M) →
            (h : Module.finrank ℤ ↥N = Module.finrank ℤ M) →
              M ⧸ N ≃+ ((i : ι) → ZMod (Submodule.smithNormalFormCoeffs b h i).natAbs)

Quotients by submodules of full rank of free finite ℤ-modules are isomorphic to a direct product of ZMod.

theorem Submodule.finiteQuotientOfFreeOfRankEq E1 #

∀ {M : Type u_3} [inst : AddCommGroup M] [Module.Free ℤ M] [Module.Finite ℤ M] (N : Submodule ℤ M),
  Module.finrank ℤ ↥N = Module.finrank ℤ M → Finite (M ⧸ N)

A submodule of full rank of a free finite ℤ-module has a finite quotient. It can't be an instance because of the side condition Module.finrank ℤ N = Module.finrank ℤ M.

theorem Submodule.finiteQuotient_iff E0 #

∀ {M : Type u_3} [inst : AddCommGroup M] [Module.Free ℤ M] [Module.Finite ℤ M] (N : Submodule ℤ M),
  Finite (M ⧸ N) ↔ Module.finrank ℤ ↥N = Module.finrank ℤ M

def Submodule.quotientEquivDirectSum E1 #

{ι : Type u_1} →
  {R : Type u_2} →
    {M : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : AddCommGroup M] →
          [inst_2 : Module R M] →
            [inst_3 : IsDomain R] →
              [inst_4 : IsPrincipalIdealRing R] →
                [inst_5 : Finite ι] →
                  (F : Type u_4) →
                    [inst_6 : CommRing F] →
                      [inst_7 : Algebra F R] →
                        [inst_8 : Module F M] →
                          [inst_9 : IsScalarTower F R M] →
                            (b : Module.Basis ι R M) →
                              {N : Submodule R M} →
                                (h : Module.finrank R ↥N = Module.finrank R M) →
                                  (M ⧸ N) ≃ₗ[F]
                                    DirectSum ι fun i ↦ R ⧸ Ideal.span {Submodule.smithNormalFormCoeffs b h i}

Decompose M⧸N as a direct sum of cyclic R-modules (quotients by the ideals generated by Smith coefficients of N).

theorem Submodule.finrank_quotient_eq_sum E1 #

∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsDomain R] [inst_4 : IsPrincipalIdealRing R] (F : Type u_4) [inst_5 : CommRing F] [inst_6 : Algebra F R]
  [inst_7 : Module F M] [inst_8 : IsScalarTower F R M] {N : Submodule R M} {ι : Type u_5} [inst_9 : Fintype ι]
  (b : Module.Basis ι R M) [Nontrivial F] (h : Module.finrank R ↥N = Module.finrank R M)
  [∀ (i : ι), Module.Free F (R ⧸ Ideal.span {Submodule.smithNormalFormCoeffs b h i})]
  [∀ (i : ι), Module.Finite F (R ⧸ Ideal.span {Submodule.smithNormalFormCoeffs b h i})],
  Module.finrank F (M ⧸ N) = ∑ i, Module.finrank F (R ⧸ Ideal.span {Submodule.smithNormalFormCoeffs b h i})