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

216 declarations and 4 deprecated aliases. Mathlib docs · Source

More operations on modules and ideals

theorem Submodule.coe_span_smul E0 #

∀ {R' : Type u_1} {M' : Type u_2} [inst : CommSemiring R'] [inst_1 : AddCommMonoid M'] [inst_2 : Module R' M']
  (s : Set R') (N : Submodule R' M'), ↑(Ideal.span s) • N = s • N

theorem Submodule.span_singleton_toAddSubgroup_eq_zmultiples E1 #

∀ {M : Type u_1} [inst : AddCommGroup M] (a : M), (ℤ ∙ a).toAddSubgroup = AddSubgroup.zmultiples a

theorem Ideal.span_singleton_toAddSubgroup_eq_zmultiples E0 #

∀ (a : ℤ), Submodule.toAddSubgroup (Ideal.span {a}) = AddSubgroup.zmultiples a

theorem Ideal.smul_eq_mul E1 #

∀ {R : Type u} [inst : Semiring R] (I J : Ideal R), I • J = I * J

This duplicates the global smul_eq_mul, but doesn't have to unfold anywhere near as much to apply.

theorem Submodule.smul_le_right E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {I : Ideal R}
  {N : Submodule R M}, I • N ≤ N

theorem Submodule.map_le_smul_top E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I : Ideal R)
  (f : R →ₗ[R] M), Submodule.map f I ≤ I • ⊤

theorem Submodule.top_smul E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (N : Submodule R M),
  ⊤ • N = N

theorem Submodule.mul_smul E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I J : Ideal R)
  (N : Submodule R M), (I * J) • N = I • J • N

theorem Submodule.mem_of_span_top_of_smul_mem E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (M' : Submodule R M)
  (s : Set R), Ideal.span s = ⊤ → ∀ (x : M), (∀ (r : ↑s), ↑r • x ∈ M') → x ∈ M'

theorem Submodule.map_smul'' E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I : Ideal R)
  (N : Submodule R M) {M' : Type w} [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (f : M →ₗ[R] M'),
  Submodule.map f (I • N) = I • Submodule.map f N

theorem Submodule.mem_smul_top_iff E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I : Ideal R)
  (N : Submodule R M) (x : ↥N), x ∈ I • ⊤ ↔ ↑x ∈ I • N

theorem Submodule.smul_comap_le_comap_smul E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type w}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (f : M →ₗ[R] M') (S : Submodule R M') (I : Ideal R),
  I • Submodule.comap f S ≤ Submodule.comap f (I • S)

theorem Submodule.comap_smul'' E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M' : Type w}
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] {f : M →ₗ[R] M'},
  Function.Injective ⇑f →
    ∀ {p : Submodule R M'}, p ≤ f.range → ∀ {I : Ideal R}, Submodule.comap f (I • p) = I • Submodule.comap f p

theorem Submodule.mem_smul_span_singleton E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {I : Ideal R}
  [I.IsTwoSided] {m x : M}, x ∈ I • (R ∙ m) ↔ ∃ y ∈ I, y • m = x

theorem Submodule.span_smul_span E1 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Set R) (T : Set M)
  [(Ideal.span S).IsTwoSided], Ideal.span S • Submodule.span R T = Submodule.span R (S • T)

theorem Submodule.mem_smul_span E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {I : Ideal R}
  [I.IsTwoSided] {s : Set M} {x : M}, x ∈ I • Submodule.span R s ↔ x ∈ Submodule.span R (↑I • s)

theorem Submodule.mem_ideal_smul_span_iff_exists_sum E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I : Ideal R)
  [I.IsTwoSided] {ι : Type u_4} (f : ι → M) (x : M),
  x ∈ I • Submodule.span R (Set.range f) ↔ ∃ a, ∃ (_ : ∀ (i : ι), a i ∈ I), (a.sum fun i c ↦ c • f i) = x

If x is an I-multiple of the submodule spanned by f '' s, then we can write x as an I-linear combination of the elements of f '' s.

theorem Submodule.mem_ideal_smul_span_iff_exists_sum' E0 #

∀ {R : Type u} {M : Type v} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (I : Ideal R)
  [I.IsTwoSided] {ι : Type u_4} (s : Set ι) (f : ι → M) (x : M),
  x ∈ I • Submodule.span R (f '' s) ↔ ∃ a, ∃ (_ : ∀ (i : ↑s), a i ∈ I), (a.sum fun i c ↦ c • f ↑i) = x

theorem Submodule.smul_eq_map₂ E1 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {I : Ideal R}
  {N : Submodule R M}, I • N = Submodule.map₂ (LinearMap.lsmul R M) I N

theorem Submodule.ideal_span_singleton_smul E1 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (r : R)
  (N : Submodule R M), Ideal.span {r} • N = r • N

theorem Submodule.mem_of_span_eq_top_of_smul_pow_mem E0 #

∀ {R : Type u} {M : Type v} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (M' : Submodule R M) (s : Set R), Ideal.span s = ⊤ → ∀ (x : M), (∀ (r : ↑s), ∃ n, ↑r ^ n • x ∈ M') → x ∈ M'

Given s, a generating set of R, to check that an x : M falls in a submodule M' of x, we only need to show that r ^ n • x ∈ M' for some n for each r : s.

theorem Submodule.map_pointwise_smul E0 #

∀ {R : Type u} {M : Type v} {M' : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (r : R) (N : Submodule R M) (f : M →ₗ[R] M'),
  Submodule.map f (r • N) = r • Submodule.map f N

theorem Ideal.add_eq_sup E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, I + J = I ⊔ J

theorem Ideal.zero_eq_bot E0 #

∀ {R : Type u} [inst : Semiring R], 0 = ⊥

theorem Ideal.sum_eq_sup E0 #

∀ {R : Type u} [inst : Semiring R] {ι : Type u_1} (s : Finset ι) (f : ι → Ideal R), s.sum f = s.sup f

theorem Ideal.one_eq_top E0 #

∀ {R : Type u} [inst : Semiring R], 1 = ⊤

theorem Ideal.add_eq_one_iff E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, I + J = 1 ↔ ∃ i ∈ I, ∃ j ∈ J, i + j = 1

theorem Ideal.mul_mem_mul E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} {r s : R}, r ∈ I → s ∈ J → r * s ∈ I * J

theorem Ideal.bot_pow E1 #

∀ {R : Type u} [inst : Semiring R] {n : ℕ}, n ≠ 0 → ⊥ ^ n = ⊥

theorem Ideal.pow_mem_pow E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {x : R}, x ∈ I → ∀ (n : ℕ), x ^ n ∈ I ^ n

theorem Ideal.mul_le E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R}, I * J ≤ K ↔ ∀ r ∈ I, ∀ s ∈ J, r * s ∈ K

theorem Ideal.mul_le_right E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, I * J ≤ J

theorem Ideal.sup_mul_left_self E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, I ⊔ J * I = I

theorem Ideal.mul_left_self_sup E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, J * I ⊔ I = I

theorem Ideal.mul_le_left E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided], I * J ≤ I

theorem Ideal.sup_mul_right_self E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided], I ⊔ I * J = I

theorem Ideal.mul_right_self_sup E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided], I * J ⊔ I = I

theorem Ideal.mul_assoc E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R}, I * J * K = I * (J * K)

theorem Ideal.mul_bot E1 #

∀ {R : Type u} [inst : Semiring R] (I : Ideal R), I * ⊥ = ⊥

theorem Ideal.bot_mul E1 #

∀ {R : Type u} [inst : Semiring R] (I : Ideal R), ⊥ * I = ⊥

theorem Ideal.top_mul E0 #

∀ {R : Type u} [inst : Semiring R] (I : Ideal R), ⊤ * I = I

theorem Ideal.mul_mono E1 #

∀ {R : Type u} [inst : Semiring R] {I J K L : Ideal R}, I ≤ K → J ≤ L → I * J ≤ K * L

theorem Ideal.mul_mono_left E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R}, I ≤ J → I * K ≤ J * K

theorem Ideal.mul_mono_right E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R}, J ≤ K → I * J ≤ I * K

theorem Ideal.mul_sup E1 #

∀ {R : Type u} [inst : Semiring R] (I J K : Ideal R), I * (J ⊔ K) = I * J ⊔ I * K

theorem Ideal.sup_mul E1 #

∀ {R : Type u} [inst : Semiring R] (I J K : Ideal R), (I ⊔ J) * K = I * K ⊔ J * K

theorem Ideal.mul_iSup E1 #

∀ {R : Type u} [inst : Semiring R] (I : Ideal R) {ι : Sort u_1} (J : ι → Ideal R), I * ⨆ i, J i = ⨆ i, I * J i

theorem Ideal.iSup_mul E1 #

∀ {R : Type u} [inst : Semiring R] {ι : Sort u_1} (J : ι → Ideal R) (I : Ideal R), (⨆ i, J i) * I = ⨆ i, J i * I

theorem Ideal.pow_le_pow_right E2 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {m n : ℕ}, m ≤ n → I ^ n ≤ I ^ m

theorem Ideal.pow_le_self E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {n : ℕ}, n ≠ 0 → I ^ n ≤ I

theorem Ideal.pow_right_mono E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R}, I ≤ J → ∀ (n : ℕ), I ^ n ≤ J ^ n

instance Ideal.IsTwoSided.instHMul E0 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [J.IsTwoSided], (I * J).IsTwoSided

instance Ideal.IsTwoSided.instHPowNat E0 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} [I.IsTwoSided] (n : ℕ), (I ^ n).IsTwoSided

theorem Ideal.IsTwoSided.mul_one E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} [I.IsTwoSided], I * 1 = I

theorem Ideal.IsTwoSided.pow_add E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} [I.IsTwoSided] (m n : ℕ), I ^ (m + n) = I ^ m * I ^ n

theorem Ideal.IsTwoSided.pow_succ E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} [I.IsTwoSided] (n : ℕ), I ^ (n + 1) = I * I ^ n

theorem Ideal.mul_eq_bot E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [NoZeroDivisors R], I * J = ⊥ ↔ I = ⊥ ∨ J = ⊥

theorem Ideal.pow_eq_bot E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} [IsReduced R] {n : ℕ}, n ≠ 0 → (I ^ n = ⊥ ↔ I = ⊥)

instance Ideal.instIsTorsionFreeSubtypeMemSubmodule E0 #

∀ {R : Type u} [inst : Semiring R] {S : Type u_1} {A : Type u_2} [inst_1 : Semiring S] [inst_2 : SMul R S]
  [inst_3 : AddCommMonoid A] [inst_4 : Module R A] [inst_5 : Module S A] [inst_6 : IsScalarTower R S A]
  [Module.IsTorsionFree R A] {I : Submodule S A}, Module.IsTorsionFree R ↥I

theorem Ideal.span_mul_span E1 #

∀ {R : Type u} [inst : Semiring R] (S T : Set R) [(Ideal.span S).IsTwoSided],
  Ideal.span S * Ideal.span T = Ideal.span (S * T)

theorem Ideal.span_singleton_mul_span_singleton E1 #

∀ {R : Type u} [inst : Semiring R] (r s : R) [(Ideal.span {r}).IsTwoSided],
  Ideal.span {r} * Ideal.span {s} = Ideal.span {r * s}

theorem Ideal.span_singleton_pow E1 #

∀ {R : Type u} [inst : Semiring R] (s : R) [(Ideal.span {s}).IsTwoSided] (n : ℕ),
  Ideal.span {s} ^ n = Ideal.span {s ^ n}

theorem Ideal.mem_mul_span_singleton E0 #

∀ {R : Type u} [inst : Semiring R] {x y : R} {I : Ideal R} [I.IsTwoSided], x ∈ I * Ideal.span {y} ↔ ∃ z ∈ I, z * y = x

theorem Ideal.span_singleton_mul_left_mono E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [IsDomain R] [I.IsTwoSided] [J.IsTwoSided] {x : R},
  x ≠ 0 → (I * Ideal.span {x} ≤ J * Ideal.span {x} ↔ I ≤ J)

theorem Ideal.span_singleton_mul_left_inj E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [IsDomain R] [I.IsTwoSided] [J.IsTwoSided] {x : R},
  x ≠ 0 → (I * Ideal.span {x} = J * Ideal.span {x} ↔ I = J)

theorem Ideal.mul_le_inf E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided], I * J ≤ I ⊓ J

theorem Ideal.inf_ne_bot_of_ne_bot E1 #

∀ {R : Type u} [inst : Semiring R] [NoZeroDivisors R] {I J : Ideal R} [I.IsTwoSided], I ≠ ⊥ → J ≠ ⊥ → I ⊓ J ≠ ⊥

theorem Ideal.sup_mul_eq_of_coprime_left E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R} [I.IsTwoSided], I ⊔ J = ⊤ → I ⊔ J * K = I ⊔ K

theorem Ideal.sup_mul_eq_of_coprime_right E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R} [J.IsTwoSided], I ⊔ K = ⊤ → I ⊔ J * K = I ⊔ J

theorem Ideal.mul_sup_eq_of_coprime_left E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R} [J.IsTwoSided], I ⊔ J = ⊤ → I * K ⊔ J = K ⊔ J

theorem Ideal.mul_sup_eq_of_coprime_right E1 #

∀ {R : Type u} [inst : Semiring R] {I J K : Ideal R} [I.IsTwoSided], K ⊔ J = ⊤ → I * K ⊔ J = I ⊔ J

theorem Ideal.sup_iInf_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {ι : Type u_1} {s : Finset ι} {J : ι → Ideal R}
  [∀ (i : ι), (J i).IsTwoSided], (∀ i ∈ s, I ⊔ J i = ⊤) → I ⊔ ⨅ i ∈ s, J i = ⊤

theorem Ideal.iInf_sup_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {ι : Type u_1} {s : Finset ι} {J : ι → Ideal R}
  [∀ (i : ι), (J i).IsTwoSided], (∀ i ∈ s, J i ⊔ I = ⊤) → (⨅ i ∈ s, J i) ⊔ I = ⊤

theorem Ideal.sup_pow_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided] {n : ℕ}, I ⊔ J = ⊤ → I ⊔ J ^ n = ⊤

theorem Ideal.sup_pow_eq_top' E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [J.IsTwoSided] {n : ℕ}, I ⊔ J = ⊤ → I ⊔ J ^ n = ⊤

theorem Ideal.pow_sup_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided] {n : ℕ}, I ⊔ J = ⊤ → I ^ n ⊔ J = ⊤

theorem Ideal.pow_sup_eq_top' E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [J.IsTwoSided] {n : ℕ}, I ⊔ J = ⊤ → I ^ n ⊔ J = ⊤

theorem Ideal.pow_sup_pow_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [I.IsTwoSided] {m n : ℕ}, I ⊔ J = ⊤ → I ^ m ⊔ J ^ n = ⊤

theorem Ideal.pow_sup_pow_eq_top' E1 #

∀ {R : Type u} [inst : Semiring R] {I J : Ideal R} [J.IsTwoSided] {m n : ℕ}, I ⊔ J = ⊤ → I ^ m ⊔ J ^ n = ⊤

theorem Ideal.mul_top E0 #

∀ {R : Type u} [inst : Semiring R] (I : Ideal R) [I.IsTwoSided], I * ⊤ = I

theorem Ideal.span_pair_mul_span_pair E1 #

∀ {R : Type u} [inst : Semiring R] (w x y z : R) [(Ideal.span {w, x}).IsTwoSided],
  Ideal.span {w, x} * Ideal.span {y, z} = Ideal.span {w * y, w * z, x * y, x * z}

theorem Ideal.top_pow E1 #

∀ (R : Type u) [inst : Semiring R] (n : ℕ), ⊤ ^ n = ⊤

theorem Ideal.pow_eq_top_iff E0 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {n : ℕ}, I ^ n = ⊤ ↔ I = ⊤ ∨ n = 0

theorem Ideal.natCast_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {n : ℕ}, n ≠ 0 → ↑n = ⊤

theorem Ideal.ofNat_eq_top E1 #

∀ {R : Type u} [inst : Semiring R] {n : ℕ} [inst_1 : n.AtLeastTwo], OfNat.ofNat n = ⊤

3 : Ideal R is not the ideal generated by 3 (which would be spelt Ideal.span {3}), it is simply 1 + 1 + 1 = ⊤.

theorem Ideal.pow_eq_zero_of_mem E1 #

∀ {R : Type u} [inst : Semiring R] {I : Ideal R} {n m : ℕ}, I ^ n = 0 → n ≤ m → ∀ {x : R}, x ∈ I → x ^ m = 0

theorem Ideal.mul_mem_mul_rev E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R} {r s : R}, r ∈ I → s ∈ J → s * r ∈ I * J

theorem Ideal.prod_mem_prod E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} {s : Finset ι} {I : ι → Ideal R} {x : ι → R},
  (∀ i ∈ s, x i ∈ I i) → ∏ i ∈ s, x i ∈ ∏ i ∈ s, I i

theorem Ideal.sup_pow_add_le_pow_sup_pow E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R} {n m : ℕ}, (I ⊔ J) ^ (n + m) ≤ I ^ n ⊔ J ^ m

theorem Ideal.mul_comm E1 #

∀ {R : Type u} [inst : CommSemiring R] (I J : Ideal R), I * J = J * I

theorem Ideal.mem_span_singleton_mul E0 #

∀ {R : Type u} [inst : CommSemiring R] {x y : R} {I : Ideal R}, x ∈ Ideal.span {y} * I ↔ ∃ z ∈ I, y * z = x

theorem Ideal.range_mul E0 #

∀ {R : Type u} [inst : CommSemiring R] (A : Type u_2) [inst_1 : CommSemiring A] [inst_2 : Module R A]
  [inst_3 : IsScalarTower R A A] (a : A), ((LinearMap.mul R A) a).range = Submodule.restrictScalars R (Ideal.span {a})

theorem Ideal.range_mul' E1 #

∀ {R : Type u} [inst : CommSemiring R] (a : R), ((LinearMap.mul R R) a).range = Ideal.span {a}

theorem Ideal.le_span_singleton_mul_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {x : R} {I J : Ideal R}, I ≤ Ideal.span {x} * J ↔ ∀ zI ∈ I, ∃ zJ ∈ J, x * zJ = zI

theorem Ideal.span_singleton_mul_le_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {x : R} {I J : Ideal R}, Ideal.span {x} * I ≤ J ↔ ∀ z ∈ I, x * z ∈ J

theorem Ideal.span_singleton_mul_le_span_singleton_mul E1 #

∀ {R : Type u} [inst : CommSemiring R] {x y : R} {I J : Ideal R},
  Ideal.span {x} * I ≤ Ideal.span {y} * J ↔ ∀ zI ∈ I, ∃ zJ ∈ J, x * zI = y * zJ

theorem Ideal.span_singleton_mul_right_mono E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R} [IsDomain R] {x : R},
  x ≠ 0 → (Ideal.span {x} * I ≤ Ideal.span {x} * J ↔ I ≤ J)

theorem Ideal.span_singleton_mul_right_inj E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R} [IsDomain R] {x : R},
  x ≠ 0 → (Ideal.span {x} * I = Ideal.span {x} * J ↔ I = J)

theorem Ideal.span_singleton_mul_right_injective E1 #

∀ {R : Type u} [inst : CommSemiring R] [IsDomain R] {x : R}, x ≠ 0 → Function.Injective fun x_1 ↦ Ideal.span {x} * x_1

theorem Ideal.span_singleton_mul_left_injective E1 #

∀ {R : Type u} [inst : CommSemiring R] [IsDomain R] {x : R}, x ≠ 0 → Function.Injective fun I ↦ I * Ideal.span {x}

theorem Ideal.span_singleton_mul_eq_span_singleton_mul E1 #

∀ {R : Type u} [inst : CommSemiring R] {x y : R} (I J : Ideal R),
  Ideal.span {x} * I = Ideal.span {y} * J ↔ (∀ zI ∈ I, ∃ zJ ∈ J, x * zI = y * zJ) ∧ ∀ zJ ∈ J, ∃ zI ∈ I, x * zI = y * zJ

theorem Ideal.prod_span E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} (s : Finset ι) (I : ι → Set R),
  ∏ i ∈ s, Ideal.span (I i) = Ideal.span (∏ i ∈ s, I i)

theorem Ideal.prod_span_singleton E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} (s : Finset ι) (I : ι → R),
  ∏ i ∈ s, Ideal.span {I i} = Ideal.span {∏ i ∈ s, I i}

theorem Ideal.multiset_prod_span_singleton E0 #

∀ {R : Type u} [inst : CommSemiring R] (m : Multiset R),
  (Multiset.map (fun x ↦ Ideal.span {x}) m).prod = Ideal.span {m.prod}

theorem Ideal.finset_inf_span_singleton E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} (s : Finset ι) (I : ι → R),
  (↑s).Pairwise (Function.onFun IsCoprime I) → (s.inf fun i ↦ Ideal.span {I i}) = Ideal.span {∏ i ∈ s, I i}

theorem Ideal.iInf_span_singleton E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} [inst_1 : Fintype ι] {I : ι → R},
  (∀ (i j : ι), i ≠ j → IsCoprime (I i) (I j)) → ⨅ i, Ideal.span {I i} = Ideal.span {∏ i, I i}

theorem Ideal.iInf_span_singleton_natCast E1 #

∀ {R : Type u_2} [inst : CommRing R] {ι : Type u_3} [inst_1 : Fintype ι] {I : ι → ℕ},
  (Pairwise fun i j ↦ (I i).Coprime (I j)) → ⨅ i, Ideal.span {↑(I i)} = Ideal.span {↑(∏ i, I i)}

theorem Ideal.sup_eq_top_iff_isCoprime E1 #

∀ {R : Type u_2} [inst : CommSemiring R] (x y : R), Ideal.span {x} ⊔ Ideal.span {y} = ⊤ ↔ IsCoprime x y

theorem Ideal.multiset_prod_le_inf E1 #

∀ {R : Type u} [inst : CommSemiring R] {s : Multiset (Ideal R)}, s.prod ≤ s.inf

theorem Ideal.prod_le_inf E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Finset ι} {f : ι → Ideal R}, s.prod f ≤ s.inf f

theorem Ideal.sup_prod_eq_top E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {I : Ideal R} {s : Finset ι} {J : ι → Ideal R},
  (∀ i ∈ s, I ⊔ J i = ⊤) → I ⊔ ∏ i ∈ s, J i = ⊤

theorem Ideal.sup_multiset_prod_eq_top E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} {s : Multiset (Ideal R)}, (∀ p ∈ s, I ⊔ p = ⊤) → I ⊔ s.prod = ⊤

theorem Ideal.prod_sup_eq_top E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {I : Ideal R} {s : Finset ι} {J : ι → Ideal R},
  (∀ i ∈ s, J i ⊔ I = ⊤) → (∏ i ∈ s, J i) ⊔ I = ⊤

theorem Ideal.multiset_prod_eq_bot E0 #

∀ {R : Type u_2} [inst : CommSemiring R] [IsDomain R] {s : Multiset (Ideal R)}, s.prod = ⊥ ↔ ⊥ ∈ s

A product of ideals in an integral domain is zero if and only if one of the terms is zero.

theorem Ideal.isCoprime_iff_codisjoint E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J ↔ Codisjoint I J

theorem Ideal.isCoprime_of_isMaximal E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R} [I.IsMaximal] [J.IsMaximal], I ≠ J → IsCoprime I J

theorem Ideal.isCoprime_iff_add E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J ↔ I + J = 1

theorem Ideal.isCoprime_iff_exists E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J ↔ ∃ i ∈ I, ∃ j ∈ J, i + j = 1

theorem Ideal.isCoprime_iff_sup_eq E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J ↔ I ⊔ J = ⊤

theorem Ideal.coprime_of_no_prime_ge E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, (∀ (P : Ideal R), I ≤ P → J ≤ P → ¬P.IsPrime) → IsCoprime I J

theorem Ideal.isCoprime_tfae E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R},
  [IsCoprime I J, Codisjoint I J, I + J = 1, ∃ i ∈ I, ∃ j ∈ J, i + j = 1, I ⊔ J = ⊤].TFAE

theorem IsCoprime.codisjoint E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J → Codisjoint I J

theorem IsCoprime.add_eq E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J → I + J = 1

theorem IsCoprime.exists E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J → ∃ i ∈ I, ∃ j ∈ J, i + j = 1

theorem IsCoprime.sup_eq E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J → I ⊔ J = ⊤

theorem Ideal.isCoprime_span_singleton_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] (x y : R), IsCoprime (Ideal.span {x}) (Ideal.span {y}) ↔ IsCoprime x y

theorem Ideal.isCoprime_biInf E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {I : Ideal R} {J : ι → Ideal R} {s : Finset ι},
  (∀ j ∈ s, IsCoprime I (J j)) → IsCoprime I (⨅ j ∈ s, J j)

theorem Ideal.mul_eq_inf_of_isCoprime E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, IsCoprime I J → I * J = I ⊓ J

theorem Ideal.prod_eq_iInf_of_pairwise_isCoprime E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Finset ι} {J : ι → Ideal R},
  (↑s).Pairwise (Function.onFun IsCoprime J) → ∏ i ∈ s, J i = ⨅ i ∈ s, J i

def Ideal.radical E1 #

{R : Type u} → [inst : CommSemiring R] → Ideal R → Ideal R

The radical of an ideal I consists of the elements r such that r ^ n ∈ I for some n.

theorem Ideal.mem_radical_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} {r : R}, r ∈ I.radical ↔ ∃ n, r ^ n ∈ I

def Ideal.IsRadical E1 #

{R : Type u} → [inst : CommSemiring R] → Ideal R → Prop

An ideal is radical if it contains its radical.

theorem Ideal.le_radical E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I ≤ I.radical

theorem Ideal.radical_eq_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.radical = I ↔ I.IsRadical

An ideal is radical iff it is equal to its radical.

theorem Ideal.IsRadical.radical E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.IsRadical → I.radical = I

Alias of the reverse direction of Ideal.radical_eq_iff.


An ideal is radical iff it is equal to its radical.

theorem Ideal.isRadical_iff_pow_one_lt E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} (k : ℕ), 1 < k → (I.IsRadical ↔ ∀ (r : R), r ^ k ∈ I → r ∈ I)

theorem Ideal.radical_top E1 #

∀ (R : Type u) [inst : CommSemiring R], ⊤.radical = ⊤

theorem Ideal.radical_mono E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, I ≤ J → I.radical ≤ J.radical

theorem Ideal.radical_isRadical E1 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R), I.radical.IsRadical

theorem Ideal.radical_idem E0 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R), I.radical.radical = I.radical

theorem Ideal.IsRadical.radical_le_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, J.IsRadical → (I.radical ≤ J ↔ I ≤ J)

theorem Ideal.radical_le_radical_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, I.radical ≤ J.radical ↔ I ≤ J.radical

theorem Ideal.radical_eq_top E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.radical = ⊤ ↔ I = ⊤

theorem Ideal.IsPrime.isRadical E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.IsPrime → I.IsRadical

theorem Ideal.IsPrime.radical E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.IsPrime → I.radical = I

theorem Ideal.mem_radical_of_pow_mem E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} {x : R} {m : ℕ}, x ^ m ∈ I.radical → x ∈ I.radical

theorem Ideal.disjoint_powers_iff_notMem E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} (y : R), I.IsRadical → (Disjoint ↑(Submonoid.powers y) ↑I ↔ y ∉ I)

theorem Ideal.disjoint_powers_iff_notMem_of_isPrime E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} [I.IsPrime] (y : R), Disjoint ↑(Submonoid.powers y) ↑I ↔ y ∉ I

theorem Ideal.radical_sup E1 #

∀ {R : Type u} [inst : CommSemiring R] (I J : Ideal R), (I ⊔ J).radical = (I.radical ⊔ J.radical).radical

theorem Ideal.radical_inf E1 #

∀ {R : Type u} [inst : CommSemiring R] (I J : Ideal R), (I ⊓ J).radical = I.radical ⊓ J.radical

theorem Ideal.IsRadical.inf E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, I.IsRadical → J.IsRadical → (I ⊓ J).IsRadical

theorem Ideal.isRadical_bot_iff E0 #

∀ {R : Type u} [inst : CommSemiring R], ⊥.IsRadical ↔ IsReduced R

theorem Ideal.isRadical_bot E1 #

∀ {R : Type u} [inst : CommSemiring R] [IsReduced R], ⊥.IsRadical

def Ideal.radicalInfTopHom E1 #

{R : Type u} → [inst : CommSemiring R] → InfTopHom (Ideal R) (Ideal R)

Ideal.radical as an InfTopHom, bundling in that it distributes over inf.

theorem Ideal.radicalInfTopHom_apply E0 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R), Ideal.radicalInfTopHom I = I.radical

theorem Ideal.radical_finset_inf E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_2} {s : Finset ι} {f : ι → Ideal R} {i : ι},
  i ∈ s → (∀ ⦃y : ι⦄, y ∈ s → (f y).radical = (f i).radical) → (s.inf f).radical = (f i).radical

theorem Ideal.radical_iInf_le E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Sort u_2} (I : ι → Ideal R), (⨅ i, I i).radical ≤ ⨅ i, (I i).radical

The reverse inclusion does not hold for e.g. I := fun n : ℕ ↦ Ideal.span {(2 ^ n : ℤ)}.

theorem Ideal.isRadical_iInf E1 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Sort u_2} (I : ι → Ideal R),
  (∀ (i : ι), (I i).IsRadical) → (⨅ i, I i).IsRadical

theorem Ideal.radical_mul E1 #

∀ {R : Type u} [inst : CommSemiring R] (I J : Ideal R), (I * J).radical = I.radical ⊓ J.radical

theorem Ideal.IsPrime.radical_le_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, J.IsPrime → (I.radical ≤ J ↔ I ≤ J)

theorem Ideal.radical_eq_sInf E1 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R), I.radical = sInf {J | I ≤ J ∧ J.IsPrime}

theorem Ideal.radical_bot_of_isReduced E0 #

∀ {R : Type u} [inst : CommSemiring R] [IsReduced R], ⊥.radical = ⊥

instance Ideal.instIdemCommSemiring E0 #

{R : Type u} → [inst : CommSemiring R] → IdemCommSemiring (Ideal R)

theorem Ideal.radical_pow E1 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R) {n : ℕ}, n ≠ 0 → (I ^ n).radical = I.radical

theorem Ideal.IsPrime.mul_le E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J P : Ideal R}, P.IsPrime → (I * J ≤ P ↔ I ≤ P ∨ J ≤ P)

theorem Ideal.IsPrime.inf_le E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J P : Ideal R}, P.IsPrime → (I ⊓ J ≤ P ↔ I ≤ P ∨ J ≤ P)

theorem Ideal.IsPrime.multiset_prod_le E1 #

∀ {R : Type u} [inst : CommSemiring R] {s : Multiset (Ideal R)} {P : Ideal R}, P.IsPrime → (s.prod ≤ P ↔ ∃ I ∈ s, I ≤ P)

theorem Ideal.IsPrime.multiset_prod_map_le E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Multiset ι} (f : ι → Ideal R) {P : Ideal R},
  P.IsPrime → ((Multiset.map f s).prod ≤ P ↔ ∃ i ∈ s, f i ≤ P)

theorem Ideal.IsPrime.multiset_prod_mem_iff_exists_mem E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.IsPrime → ∀ (s : Multiset R), s.prod ∈ I ↔ ∃ p ∈ s, p ∈ I

theorem Ideal.IsPrime.pow_le_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I P : Ideal R} [hP : P.IsPrime] {n : ℕ}, n ≠ 0 → (I ^ n ≤ P ↔ I ≤ P)

theorem Ideal.IsPrime.le_of_pow_le E1 #

∀ {R : Type u} [inst : CommSemiring R] {I P : Ideal R} [hP : P.IsPrime] {n : ℕ}, I ^ n ≤ P → I ≤ P

theorem Ideal.IsPrime.prod_le E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Finset ι} {f : ι → Ideal R} {P : Ideal R},
  P.IsPrime → (s.prod f ≤ P ↔ ∃ i ∈ s, f i ≤ P)

theorem Ideal.IsPrime.prod_mem_iff E0 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Finset ι} {x : ι → R} {p : Ideal R} [hp : p.IsPrime],
  ∏ i ∈ s, x i ∈ p ↔ ∃ i ∈ s, x i ∈ p

The product of a finite number of elements in the commutative semiring R lies in the prime ideal p if and only if at least one of those elements is in p.

theorem Ideal.IsPrime.prod_mem_iff_exists_mem E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I.IsPrime → ∀ (s : Finset R), ∏ x ∈ s, x ∈ I ↔ ∃ p ∈ s, p ∈ I

theorem Ideal.IsPrime.inf_le' E1 #

∀ {R : Type u} {ι : Type u_1} [inst : CommSemiring R] {s : Finset ι} {f : ι → Ideal R} {P : Ideal R},
  P.IsPrime → (s.inf f ≤ P ↔ ∃ i ∈ s, f i ≤ P)

theorem Ideal.IsPrime.notMem_of_isCoprime_of_mem E1 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R} [I.IsPrime] {x y : R}, IsCoprime x y → x ∈ I → y ∉ I

theorem Ideal.subset_union E1 #

∀ {R : Type u} [inst : Ring R] {I J K : Ideal R}, ↑I ⊆ ↑J ∪ ↑K ↔ I ≤ J ∨ I ≤ K

theorem Ideal.subset_union_prime E1 #

∀ {ι : Type u_1} {R : Type u} [inst : CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι),
  (∀ i ∈ s, i ≠ a → i ≠ b → (f i).IsPrime) → ∀ {I : Ideal R}, ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) ↔ ∃ i ∈ s, I ≤ f i

Prime avoidance: if an ideal I is contained in a finite union of ideals f i, all of which are prime except possibly f a and f b, then I is contained in one of them.

Atiyah-Macdonald 1.11, Eisenbud 3.3, Matsumura Ex.1.6.

theorem Ideal.subset_union_prime' E1 #

∀ {ι : Type u_1} {R : Type u} [inst : CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι},
  (∀ i ∈ s, (f i).IsPrime) →
    ∀ {I : Ideal R}, ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i

Prime avoidance, with the two possibly non-prime ideals f a, f b written separately.

theorem Ideal.subset_union_prime_finite E1 #

∀ {R : Type u_2} {ι : Type u_3} [inst : CommRing R] {s : Set ι},
  s.Finite →
    ∀ {f : ι → Ideal R} (a b : ι),
      (∀ i ∈ s, i ≠ a → i ≠ b → (f i).IsPrime) → ∀ {I : Ideal R}, ↑I ⊆ ⋃ i ∈ s, ↑(f i) ↔ ∃ i ∈ s, I ≤ f i

Another version of prime avoidance using Set.Finite instead of Finset.

theorem Ideal.subset_iUnion_iff_mem_of_isMaximal_of_finite E1 #

∀ {R : Type u_2} [inst : CommRing R] {M : Ideal R} [M.IsMaximal] {S : Set (Ideal R)},
  S.Finite → ∀ (a b : Ideal R), (∀ I ∈ S, I ≠ a → I ≠ b → I.IsPrime) → a ≠ ⊤ → b ≠ ⊤ → (↑M ⊆ ⋃ I ∈ S, ↑I ↔ M ∈ S)

theorem Ideal.IsMaximal.exists_inv_pow E1 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R) [I.IsMaximal] {x : R},
  x ∉ I → ∀ (n : ℕ), ∃ y, ∃ i ∈ I ^ n, y * x + i = 1

Generalize Ideal.IsMaximal.exists_inv to power of maximal ideals.

theorem Ideal.IsMaximal.mul_mem_pow E1 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R) [I.IsMaximal] {a b : R} {n : ℕ}, a * b ∈ I ^ n → a ∈ I ∨ b ∈ I ^ n

See also Ideal.IsPrime.mul_mem_pow for prime ideal in Dedekind domain.

theorem Ideal.IsMaximal.mem_pow_mul E0 #

∀ {R : Type u_2} [inst : CommSemiring R] (I : Ideal R) [I.IsMaximal] {a b : R} {n : ℕ},
  a * b ∈ I ^ n → a ∈ I ^ n ∨ b ∈ I

See also Ideal.IsPrime.mem_pow_mul for prime ideal in Dedekind domain.

theorem Ideal.le_of_dvd E1 #

∀ {R : Type u} [inst : CommSemiring R] {I J : Ideal R}, I ∣ J → J ≤ I

If I divides J, then I contains J.

In a Dedekind domain, to divide and contain are equivalent, see Ideal.dvd_iff_le.

theorem Ideal.dvd_bot E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, I ∣ ⊥

theorem Ideal.isUnit_iff E0 #

∀ {R : Type u} [inst : CommSemiring R] {I : Ideal R}, IsUnit I ↔ I = ⊤

See also isUnit_iff_eq_one.

instance Ideal.uniqueUnits E0 #

{R : Type u} → [inst : CommSemiring R] → Unique (Ideal R)ˣ

theorem Ideal.span_singleton_dvd_span_singleton_iff_dvd E1 #

∀ {R : Type u} [inst : CommSemiring R] {a b : R}, Ideal.span {a} ∣ Ideal.span {b} ↔ a ∣ b

span {a} divides span {b} if and only if a divides b.

theorem Ideal.multiplicity_top_right E0 #

∀ {R : Type u} [inst : CommSemiring R] (I : Ideal R), multiplicity I ⊤ = 0

Every ideal has multiplicity 0 in ⊤, the unit ideal.

def Ideal.finsuppTotal E1 #

(ι : Type u_1) →
  (M : Type u_2) →
    [inst : AddCommGroup M] →
      {R : Type u_3} → [inst_1 : CommRing R] → [inst_2 : Module R M] → (I : Ideal R) → (ι → M) → (ι →₀ ↥I) →ₗ[R] M

A variant of Finsupp.linearCombination that takes in vectors valued in I.

theorem Ideal.finsuppTotal_apply E0 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommGroup M] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Module R M]
  (I : Ideal R) {v : ι → M} (f : ι →₀ ↥I), (Ideal.finsuppTotal ι M I v) f = f.sum fun i x ↦ ↑x • v i

theorem Ideal.finsuppTotal_apply_eq_of_fintype E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommGroup M] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Module R M]
  (I : Ideal R) {v : ι → M} [inst_3 : Fintype ι] (f : ι →₀ ↥I), (Ideal.finsuppTotal ι M I v) f = ∑ i, ↑(f i) • v i

theorem Ideal.range_finsuppTotal E1 #

∀ {ι : Type u_1} {M : Type u_2} [inst : AddCommGroup M] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Module R M]
  (I : Ideal R) {v : ι → M}, (Ideal.finsuppTotal ι M I v).range = I • Submodule.span R (Set.range v)

instance Ideal.instDecidableEqAssociates E0 #

{R : Type u_1} → [inst : CommSemiring R] → DecidableEq (Associates (Ideal R))

Associates (Ideal R) almost never has decidable equality. We add a global instance that Associates (Ideal R) has decidable equality, coming from the choice axiom, so that we don't have to provide [DecidableEq (Associates (Ideal R))] arguments in lemma statements.

instance Ideal.instDecidableIrreducibleAssociates E0 #

{R : Type u_1} → [inst : CommSemiring R] → (I : Associates (Ideal R)) → Decidable (Irreducible I)

Associates (Ideal R) almost never has a decidable reducibility check. We add a global instance that members of Associates (Ideal R) have decidable reducibility, coming from the choice axiom, so that we don't have to provide this as an arguments in lemma statements.

theorem Finsupp.mem_ideal_span_range_iff_exists_finsupp E0 #

∀ {α : Type u_1} {R : Type u_2} [inst : Semiring R] {x : R} {v : α → R},
  x ∈ Ideal.span (Set.range v) ↔ ∃ c, (c.sum fun i a ↦ a * v i) = x

theorem Ideal.mem_span_range_iff_exists_fun E0 #

∀ {α : Type u_1} {R : Type u_2} [inst : Semiring R] [inst_1 : Fintype α] {x : R} {v : α → R},
  x ∈ Ideal.span (Set.range v) ↔ ∃ c, ∑ i, c i * v i = x

An element x lies in the span of v iff it can be written as sum ∑ cᵢ • vᵢ = x.

theorem Associates.mk_ne_zero' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {r : R}, Associates.mk (Ideal.span {r}) ≠ 0 ↔ r ≠ 0

theorem Ideal.span_singleton_nonZeroDivisors E1 #

∀ {R : Type u_1} [inst : CommSemiring R] [NoZeroDivisors R] {r : R},
  Ideal.span {r} ∈ nonZeroDivisors (Ideal R) ↔ r ∈ nonZeroDivisors R

theorem Ideal.primeCompl_le_nonZeroDivisors E2 #

∀ {R : Type u_1} [inst : CommSemiring R] [NoZeroDivisors R] (P : Ideal R) [inst_2 : P.IsPrime],
  P.primeCompl ≤ nonZeroDivisors R

instance Submodule.moduleSubmodule E0 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M : Type u_2} → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → Module (Ideal R) (Submodule R M)

theorem Submodule.span_smul_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (s : Set R)
  (N : Submodule R M), Ideal.span s • N = s • N

theorem Submodule.set_smul_top_eq_span E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (s : Set R), s • ⊤ = Ideal.span s

theorem Submodule.smul_le_span E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (s : Set R) (I : Ideal R), s • I ≤ Ideal.span s

instance Submodule.algebraIdeal E0 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {A : Type u_3} → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Algebra (Ideal R) (Submodule R A)

def Submodule.mapAlgHom E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] → [inst_4 : Algebra R B] → (A →ₐ[R] B) → Submodule R A →ₐ[Ideal R] Submodule R B

Submonoid.map as an AlgHom, when applied to an AlgHom.

theorem Submodule.coe_mapAlgHom_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_3} {B : Type u_4} [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A →ₐ[R] B) (p : Submodule R A),
  ↑((Submodule.mapAlgHom f) p) = ⇑f '' ↑p

def Submodule.mapAlgEquiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst_1 : Semiring A] →
          [inst_2 : Semiring B] →
            [inst_3 : Algebra R A] → [inst_4 : Algebra R B] → (A ≃ₐ[R] B) → Submodule R A ≃ₐ[Ideal R] Submodule R B

Submonoid.map as an AlgEquiv, when applied to an AlgEquiv.

theorem Submodule.coe_mapAlgEquiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_3} {B : Type u_4} [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A ≃ₐ[R] B) (a : Submodule R B),
  ↑((Submodule.mapAlgEquiv f).symm a) = ⇑f.symm '' ↑a

theorem Submodule.coe_mapAlgEquiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_3} {B : Type u_4} [inst_1 : Semiring A] [inst_2 : Semiring B]
  [inst_3 : Algebra R A] [inst_4 : Algebra R B] (f : A ≃ₐ[R] B) (a : Submodule R A),
  ↑((Submodule.mapAlgEquiv f) a) = ⇑f '' ↑a

theorem Submodule.smul_top_le_comap_smul_top E1 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_2} {N : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid N]
  [inst_3 : Module R M] [inst_4 : Module R N] (I : Ideal R) (f : M →ₗ[R] N), I • ⊤ ≤ Submodule.comap f (I • ⊤)

theorem Submodule.comap_smul_top_of_surjective E1 #

∀ {R : Type u_1} [inst : Semiring R] {M : Type u_2} {N : Type u_3} [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] (I : Ideal R) (f : M →ₗ[R] N),
  Function.Surjective ⇑f → Submodule.comap f (I • ⊤) = I • ⊤ ⊔ f.ker

instance instNonUnitalSubsemiringClassIdeal E0 #

∀ {R : Type u_1} [inst : Semiring R], NonUnitalSubsemiringClass (Ideal R) R

instance instNonUnitalSubringClassIdeal E0 #

∀ {R : Type u_1} [inst : Ring R], NonUnitalSubringClass (Ideal R) R

theorem Ideal.exists_subset_radical_span_sup_of_subset_radical_sup E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (s : Set R) (I J : Ideal R),
  s ⊆ ↑(I ⊔ J).radical → ∃ t, Set.range t ⊆ ↑I ∧ s ⊆ ↑(Ideal.span (Set.range t) ⊔ J).radical

Deprecated aliases

NameNew nameSince
Ideal.isRadical_bot_of_noZeroDivisorsIdeal.isRadical_bot2026-08-03
Ideal.mul_eq_inf_of_coprimeIdeal.mul_eq_inf_of_isCoprime2026-10-08
Ideal.radical_bot_of_noZeroDivisorsIdeal.radical_bot_of_isReduced2026-08-03
Ideal.span_mul_span'Ideal.span_mul_span2026-08-14