Skip to content

Commit

Permalink
Split off a Ideal/BigOperators.lean file to avoid increasing import…
Browse files Browse the repository at this point in the history
… count too much.
  • Loading branch information
Vierkantor committed Oct 31, 2024
1 parent 272748f commit f65306b
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Mathlib/Algebra/MonoidAlgebra/Ideal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Eric Wieser
-/
import Mathlib.Algebra.MonoidAlgebra.Defs
import Mathlib.RingTheory.Ideal.Basic
import Mathlib.RingTheory.Ideal.BigOperators
import Mathlib.RingTheory.Ideal.Span

/-!
# Lemmas about ideals of `MonoidAlgebra` and `AddMonoidAlgebra`
Expand Down
1 change: 1 addition & 0 deletions Mathlib/RingTheory/Coprime/Ideal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Pierre-Alexandre Bazin
-/
import Mathlib.LinearAlgebra.DFinsupp
import Mathlib.RingTheory.Ideal.BigOperators
import Mathlib.RingTheory.Ideal.Operations

/-!
Expand Down
1 change: 1 addition & 0 deletions Mathlib/RingTheory/GradedAlgebra/HomogeneousIdeal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jujian Zhang, Eric Wieser
-/
import Mathlib.RingTheory.Ideal.Basic
import Mathlib.RingTheory.Ideal.BigOperators
import Mathlib.RingTheory.Ideal.Maps
import Mathlib.LinearAlgebra.Finsupp
import Mathlib.RingTheory.GradedAlgebra.Basic
Expand Down
4 changes: 0 additions & 4 deletions Mathlib/RingTheory/Ideal/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ namespace Ideal

variable [Semiring α] (I : Ideal α) {a b : α}

theorem sum_mem (I : Ideal α) {ι : Type*} {t : Finset ι} {f : ι → α} :
(∀ c ∈ t, f c ∈ I) → (∑ i ∈ t, f i) ∈ I :=
Submodule.sum_mem I

section Pi

variable (ι : Type v)
Expand Down
30 changes: 30 additions & 0 deletions Mathlib/RingTheory/Ideal/BigOperators.lean
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/-
Copyright (c) 2018 Kenny Lau. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Kenny Lau, Chris Hughes, Mario Carneiro
-/
import Mathlib.Algebra.Module.Submodule.Basic
import Mathlib.RingTheory.Ideal.Defs

/-!
# Big operators for ideals
This contains some results on the big operators `∑` and `∏` interacting with the `Ideal` type.
-/


universe u v w

variable {α : Type u} {β : Type v} {F : Type w}

namespace Ideal

variable [Semiring α] (I : Ideal α) {a b : α}

theorem sum_mem (I : Ideal α) {ι : Type*} {t : Finset ι} {f : ι → α} :
(∀ c ∈ t, f c ∈ I) → (∑ i ∈ t, f i) ∈ I :=
Submodule.sum_mem I

end Ideal

1 change: 1 addition & 0 deletions Mathlib/RingTheory/ReesAlgebra.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Copyright (c) 2022 Andrew Yang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Andrew Yang
-/
import Mathlib.RingTheory.Ideal.BigOperators
import Mathlib.RingTheory.FiniteType

/-!
Expand Down

0 comments on commit f65306b

Please sign in to comment.