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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Ideal.IsPrincipal

28 declarations. Mathlib docs · Source

Principal Ideals

This file deals with the set of principal ideals of a CommRing R.

Main definitions and results

  • Ideal.isPrincipalSubmonoid: the submonoid of Ideal R formed by the principal ideals of R.

  • Ideal.isPrincipalNonZeroDivisorsSubmonoid: the submonoid of (Ideal R)⁰ formed by the non-zero-divisors principal ideals of R.

  • Ideal.associatesMulEquivIsPrincipal: the MulEquiv between the monoid of Associates R and the submonoid of principal ideals of R.

  • Ideal.associatesNonZeroDivisorsMulEquivIsPrincipal: the MulEquiv between the monoid of Associates R⁰ and the submonoid of non-zero-divisors principal ideals of R.

theorem Ideal.associatesNonZeroDivisorsEquivIsPrincipal.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R],
  Ideal.associatesNonZeroDivisorsEquivIsPrincipal R = Ideal.associatesNonZeroDivisorsEquivIsPrincipal R

theorem Ideal.associatesEquivIsPrincipal.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R],
  Ideal.associatesEquivIsPrincipal R = Ideal.associatesEquivIsPrincipal R

theorem Ideal.isoBaseOfIsPrincipal.congr_simp E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] {I : Ideal R} [hprinc : Submodule.IsPrincipal I]
  (hI : I ≠ ⊥), Ideal.isoBaseOfIsPrincipal hI = Ideal.isoBaseOfIsPrincipal hI

def Ideal.spanSubmonoid E1 #

{R : Type u_1} → [inst : CommRing R] → Submonoid R → Submonoid (Ideal R)

The principal ideals generated by an element of a submonoid S of R form a submonoid of Ideal R.

theorem Ideal.mem_spanSubmonoid_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] (S : Submonoid R) {I : Ideal R},
  I ∈ Ideal.spanSubmonoid S ↔ ∃ x, I = Ideal.span {↑x}

theorem Ideal.span_singleton_mem_spanSubmonoid E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Submonoid R} {a : R}, a ∈ S → Ideal.span {a} ∈ Ideal.spanSubmonoid S

def Ideal.isPrincipalSubmonoid E1 #

(R : Type u_1) → [inst : CommRing R] → Submonoid (Ideal R)

The principal ideals of R form a submonoid of Ideal R.

theorem Ideal.mem_isPrincipalSubmonoid_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] {I : Ideal R}, I ∈ Ideal.isPrincipalSubmonoid R ↔ Submodule.IsPrincipal I

theorem Ideal.span_singleton_mem_isPrincipalSubmonoid E1 #

∀ {R : Type u_1} [inst : CommRing R] (a : R), Ideal.span {a} ∈ Ideal.isPrincipalSubmonoid R

theorem Ideal.spanSubmonoid_le_isPrincipalSubmonoid E1 #

∀ {R : Type u_1} [inst : CommRing R] (S : Submonoid R), Ideal.spanSubmonoid S ≤ Ideal.isPrincipalSubmonoid R

theorem Ideal.spanSubmonoid_top E0 #

∀ {R : Type u_1} [inst : CommRing R], Ideal.spanSubmonoid ⊤ = Ideal.isPrincipalSubmonoid R

def Ideal.isPrincipalNonZeroDivisorsSubmonoid E1 #

(R : Type u_1) → [inst : CommRing R] → Submonoid ↥(nonZeroDivisors (Ideal R))

The non-zero-divisors principal ideals of R form a submonoid of (Ideal R)⁰.

def Ideal.associatesEquivIsPrincipal E1 #

(R : Type u_1) → [inst : CommRing R] → [IsDomain R] → Associates R ≃ { I // Submodule.IsPrincipal I }

The equivalence between Associates R and the principal ideals of R defined by sending the class of x to the principal ideal generated by x.

theorem Ideal.associatesEquivIsPrincipal_apply E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] (x : R),
  ↑((Ideal.associatesEquivIsPrincipal R) (Associates.mk x)) = Ideal.span {x}

theorem Ideal.associatesEquivIsPrincipal_symm_apply E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] {I : Ideal R} (hI : Submodule.IsPrincipal I),
  (Ideal.associatesEquivIsPrincipal R).symm ⟨I, hI⟩ = Associates.mk (Submodule.IsPrincipal.generator I)

theorem Ideal.associatesEquivIsPrincipal_mul E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] (x y : Associates R),
  ↑((Ideal.associatesEquivIsPrincipal R) (x * y)) =
    ↑((Ideal.associatesEquivIsPrincipal R) x) * ↑((Ideal.associatesEquivIsPrincipal R) y)

theorem Ideal.associatesEquivIsPrincipal_map_zero E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R], ↑((Ideal.associatesEquivIsPrincipal R) 0) = 0

theorem Ideal.associatesEquivIsPrincipal_map_one E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R], ↑((Ideal.associatesEquivIsPrincipal R) 1) = 1

def Ideal.associatesMulEquivIsPrincipal E1 #

(R : Type u_1) → [inst : CommRing R] → [IsDomain R] → Associates R ≃* ↥(Ideal.isPrincipalSubmonoid R)

The MulEquiv version of Ideal.associatesEquivIsPrincipal.

def Ideal.associatesNonZeroDivisorsEquivIsPrincipal E1 #

(R : Type u_1) →
  [inst : CommRing R] → [IsDomain R] → Associates ↥(nonZeroDivisors R) ≃ { I // Submodule.IsPrincipal ↑I }

A version of Ideal.associatesEquivIsPrincipal for non-zero-divisors generators.

theorem Ideal.associatesNonZeroDivisorsEquivIsPrincipal_apply E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] (x : ↥(nonZeroDivisors R)),
  ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) (Associates.mk x)) = Ideal.span {↑x}

theorem Ideal.associatesNonZeroDivisorsEquivIsPrincipal_coe E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] (x : Associates ↥(nonZeroDivisors R)),
  ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) x) =
    ↑((Ideal.associatesEquivIsPrincipal R) ↑(associatesNonZeroDivisorsEquiv.symm x))

theorem Ideal.associatesNonZeroDivisorsEquivIsPrincipal_mul E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] (x y : Associates ↥(nonZeroDivisors R)),
  ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) (x * y)) =
    ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) x) *
      ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) y)

theorem Ideal.associatesNonZeroDivisorsEquivIsPrincipal_map_one E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R],
  ↑↑((Ideal.associatesNonZeroDivisorsEquivIsPrincipal R) 1) = 1

def Ideal.associatesNonZeroDivisorsMulEquivIsPrincipal E1 #

(R : Type u_1) →
  [inst : CommRing R] → [IsDomain R] → Associates ↥(nonZeroDivisors R) ≃* ↥(Ideal.isPrincipalNonZeroDivisorsSubmonoid R)

The MulEquiv version of Ideal.associatesNonZeroDivisorsEquivIsPrincipal.

def Ideal.isoBaseOfIsPrincipal E1 #

{R : Type u_1} →
  [inst : CommRing R] → [IsDomain R] → {I : Ideal R} → [hprinc : Submodule.IsPrincipal I] → I ≠ ⊥ → R ≃ₗ[R] ↥I

A nonzero principal ideal in an integral domain R is isomorphic to R as a module. The isomorphism we choose here sends 1 to the generator chosen by Ideal.generator.

theorem Ideal.isoBaseOfIsPrincipal_apply E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] {I : Ideal R} [hprinc : Submodule.IsPrincipal I] (hI : I ≠ ⊥)
  (x : R), ↑((Ideal.isoBaseOfIsPrincipal hI) x) = x * Submodule.IsPrincipal.generator I

theorem Ideal.subtype_isoBaseOfIsPrincipal_eq_mul E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] {I : Ideal R} [hprinc : Submodule.IsPrincipal I] (h : I ≠ ⊥),
  Submodule.subtype I ∘ₗ ↑(Ideal.isoBaseOfIsPrincipal h) = (LinearMap.mul R R) (Submodule.IsPrincipal.generator I)