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

5 declarations. Mathlib docs · Source

Ideals in free modules over PIDs

Main results

  • Ideal.quotientEquivPiSpan: S ⧸ I, if S is finite free as a module over a PID R, can be written as a product of quotients of R by principal ideals.

def Ideal.quotientEquivPiSpan E3 #

{ι : Type u_1} →
  {R : Type u_2} →
    {S : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : CommRing S] →
          [inst_2 : Algebra R S] →
            [inst_3 : IsDomain R] →
              [inst_4 : IsPrincipalIdealRing R] →
                [inst_5 : IsDomain S] →
                  [inst_6 : Finite ι] →
                    (I : Ideal S) →
                      (b : Module.Basis ι R S) →
                        (hI : I ≠ ⊥) → (S ⧸ I) ≃ₗ[R] (i : ι) → R ⧸ Ideal.span {Ideal.smithCoeffs b I hI i}

We can write the quotient of an ideal over a PID as a product of quotients by principal ideals.

def Ideal.quotientEquivPiZMod E1 #

{ι : Type u_1} →
  {S : Type u_3} →
    [inst : CommRing S] →
      [inst_1 : IsDomain S] →
        [inst_2 : Finite ι] →
          (I : Ideal S) →
            (b : Module.Basis ι ℤ S) → (hI : I ≠ ⊥) → S ⧸ I ≃+ ((i : ι) → ZMod (Ideal.smithCoeffs b I hI i).natAbs)

Ideal quotients over a free finite extension of ℤ are isomorphic to a direct product of ZMod.

theorem Ideal.finiteQuotientOfFreeOfNeBot E1 #

∀ {S : Type u_3} [inst : CommRing S] [IsDomain S] [Module.Free ℤ S] [Module.Finite ℤ S] (I : Ideal S),
  I ≠ ⊥ → Finite (S ⧸ I)

A nonzero ideal over a free finite extension of ℤ has a finite quotient. It can't be an instance because of the side condition I ≠ ⊥.

def Ideal.quotientEquivDirectSum E1 #

{ι : Type u_1} →
  {R : Type u_2} →
    {S : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : CommRing S] →
          [inst_2 : Algebra R S] →
            [inst_3 : IsDomain R] →
              [inst_4 : IsPrincipalIdealRing R] →
                [inst_5 : IsDomain S] →
                  [inst_6 : Finite ι] →
                    (F : Type u_4) →
                      [inst_7 : CommRing F] →
                        [inst_8 : Algebra F R] →
                          [inst_9 : Algebra F S] →
                            [IsScalarTower F R S] →
                              (b : Module.Basis ι R S) →
                                {I : Ideal S} →
                                  (hI : I ≠ ⊥) →
                                    (S ⧸ I) ≃ₗ[F] DirectSum ι fun i ↦ R ⧸ Ideal.span {Ideal.smithCoeffs b I hI i}

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

theorem Ideal.finrank_quotient_eq_sum E1 #

∀ {R : Type u_2} {S : Type u_3} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : IsDomain R]
  [inst_4 : IsPrincipalIdealRing R] [inst_5 : IsDomain S] (F : Type u_4) [inst_6 : CommRing F] [inst_7 : Algebra F R]
  [inst_8 : Algebra F S] [IsScalarTower F R S] {I : Ideal S} (hI : I ≠ ⊥) {ι : Type u_5} [inst_10 : Fintype ι]
  (b : Module.Basis ι R S) [Nontrivial F] [∀ (i : ι), Module.Free F (R ⧸ Ideal.span {Ideal.smithCoeffs b I hI i})]
  [∀ (i : ι), Module.Finite F (R ⧸ Ideal.span {Ideal.smithCoeffs b I hI i})],
  Module.finrank F (S ⧸ I) = ∑ i, Module.finrank F (R ⧸ Ideal.span {Ideal.smithCoeffs b I hI i})