state
stringlengths
0
159k
srcUpToTactic
stringlengths
387
167k
nextTactic
stringlengths
3
9k
declUpToTactic
stringlengths
22
11.5k
declId
stringlengths
38
95
decl
stringlengths
16
1.89k
file_tag
stringlengths
17
73
case pos R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i a b i ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
specialize ih hp.2 hn HI
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht : ¬∃ j ∈ t, f...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rcases ih with (ih | ih | ⟨k, hkt, ih⟩)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht : ¬∃ j ∈ ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
left
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inl.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht : ¬∃ j ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact ih
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht : ¬∃ ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
right
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inl.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht : ¬...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
left
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inl.h.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f x) Ht :...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact ih
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inr.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime (f...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
right
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inr.intro.intro.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrime ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
right
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.inr.inr.intro.intro.h.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ a b i : ι t : Finset ι hit : i ∉ t hn : Finset.card t = n h : ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hp : IsPrime (f i) ∧ ∀ x ∈ t, IsPrim...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact ⟨k, Finset.mem_insert_of_mem hkt, ih⟩
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i a b i ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exfalso
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i a b ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rcases Set.not_subset.1 HI with ⟨s, hsI, hs⟩
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_insert, Set.biUnion_insert] at h
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have hsi : s ∈ f i := ((h hsI).resolve_left (mt Or.inl hs)).resolve_right (mt Or.inr hs)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rcases h (I.add_mem hrI hsI) with (⟨ha | hb⟩ | hi | ht)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inl.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact hs (Or.inl <| Or.inl <| add_sub_cancel' r s ▸ (f a).sub_mem ha hra)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inl.inr R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact hs (Or.inl <| Or.inr <| add_sub_cancel' r s ▸ (f b).sub_mem hb hrb)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inr.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact hri (add_sub_cancel r s ▸ (f i).sub_mem hi hsi)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inr.inr R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Set.mem_iUnion₂] at ht
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inr.inr R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨ I ≤ f b ∨ ∃...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rcases ht with ⟨j, hjt, hj⟩
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inr.inr.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp only [Finset.inf_eq_iInf, SetLike.mem_coe, Submodule.mem_iInf] at hr
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.h.intro.intro.inr.inr.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R I : Ideal R n : ℕ ih : ∀ {s : Finset ι} {a b : ι}, (∀ i ∈ s, IsPrime (f i)) → Finset.card s = n → ↑I ⊆ ↑(f a) ∪ ↑(f b) ∪ ⋃ i ∈ ↑s, ↑(f i) → I ≤ f a ∨...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact hs (Or.inr <| Set.mem_biUnion hjt <| add_sub_cancel' r s ▸ (f j).sub_mem hj <| hr j hjt)
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i := by suffices ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) → I ≤...
Mathlib.RingTheory.Ideal.Operations.1127_0.5qK551sG47yBciY
theorem subset_union_prime' {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} {a b : ι} (hp : ∀ i ∈ s, IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ f a ∪ f b ∪ ⋃ i ∈ (↑s : Set ι), f i) ↔ I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
classical by_cases has : a ∈ s · obtain ⟨t, hat, rfl⟩ : ∃ t, a ∉ t ∧ insert a t = s := ⟨s.erase a, Finset.not_mem_erase a s, Finset.insert_erase has⟩ by_cases hbt : b ∈ t · obtain ⟨u, hbu, rfl⟩ : ∃ u, b ∉ u ∧ insert b u = t := ⟨t.erase b, Finset.not_mem_erase b t, Finset.insert_era...
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
by_cases has : a ∈ s
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∈ s ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
obtain ⟨t, hat, rfl⟩ : ∃ t, a ∉ t ∧ insert a t = s := ⟨s.erase a, Finset.not_mem_erase a s, Finset.insert_erase has⟩
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t ⊢ ∃ i ∈ insert a t, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
by_cases hbt : b ∈ t
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∈ t ⊢ ∃ i ∈ insert a t, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
obtain ⟨u, hbu, rfl⟩ : ∃ u, b ∉ u ∧ insert b u = t := ⟨t.erase b, Finset.not_mem_erase b t, Finset.insert_erase hbt⟩
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has :...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have hp' : ∀ i ∈ u, IsPrime (f i) := by intro i hiu refine' hp i (Finset.mem_insert_of_mem (Finset.mem_insert_of_mem hiu)) _ _ <;> rintro rfl <;> solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has : a ∈ insert a (insert...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
intro i hiu
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has : a ∈ insert a (insert...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' hp i (Finset.mem_insert_of_mem (Finset.mem_insert_of_mem hiu)) _ _
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has : a ∈ i...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has : a ∈ i...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R b : ι I : Ideal R u : Finset ι hbu : b ∉ u hbt : b ∈ insert b u i : ι hiu : i ∈ u hat : i ∉ insert b u hp : ∀ i_1 ∈ insert i (insert b u), i_1 ≠ i → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a : ι I : Ideal R u : Finset ι i : ι hiu : i ∈ u hbu : i ∉ u hat : a ∉ insert i u hp : ∀ i_1 ∈ insert a (insert i u), i_1 ≠ a → i_1 ≠ i → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert a (insert...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a (insert b u)), ↑(f i) has :...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_insert, Finset.coe_insert, Set.biUnion_insert, Set.biUnion_insert, ← Set.union_assoc, subset_union_prime' hp'] at h
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R u : Finset ι hbu : b ∉ u hat : a ∉ insert b u hp : ∀ i ∈ insert a (insert b u), i ≠ a → i ≠ b → IsPrime (f i) h : I ≤ f a ∨ I ≤ f b ∨ ∃ i ∈ u, I ≤ f i has : a ∈ in...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rwa [Finset.exists_mem_insert, Finset.exists_mem_insert]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t ⊢ ∃ i ∈ insert a t, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have hp' : ∀ j ∈ t, IsPrime (f j) := by intro j hj refine' hp j (Finset.mem_insert_of_mem hj) _ _ <;> rintro rfl <;> solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t ⊢ ∀ j ∈ t, IsPrime (f j)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
intro j hj
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t j : ι hj : j ∈ t ⊢ IsPrime (f j)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' hp j (Finset.mem_insert_of_mem hj) _ _
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t j : ι hj : j ∈ t ⊢ j ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t j : ι hj : j ∈ t ⊢ j ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R b : ι I : Ideal R t : Finset ι hbt : b ∉ t j : ι hj : j ∈ t hat : j ∉ t hp : ∀ i ∈ insert j t, i ≠ j → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert j t), ↑(f i) has : j ∈ insert j t ⊢ Fals...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a : ι I : Ideal R t : Finset ι hat : a ∉ t h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t j : ι hj : j ∈ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ j → IsPrime (f i) hbt : j ∉ t ⊢ Fals...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert a t), ↑(f i) has : a ∈ insert a t hbt : b ∉ t hp' : ∀ j ∈ t, IsPrime (f j...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_insert, Set.biUnion_insert, ← Set.union_self (f a : Set R), subset_union_prime' hp', ← or_assoc, or_self_iff] at h
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hat : a ∉ t hp : ∀ i ∈ insert a t, i ≠ a → i ≠ b → IsPrime (f i) h : I ≤ f a ∨ ∃ i ∈ t, I ≤ f i has : a ∈ insert a t hbt : b ∉ t hp' : ∀ j ∈ t, IsPrime (f j) ⊢ ∃ ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rwa [Finset.exists_mem_insert]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
by_cases hbs : b ∈ s
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s hbs : b ∈ s ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
obtain ⟨t, hbt, rfl⟩ : ∃ t, b ∉ t ∧ insert b t = s := ⟨s.erase b, Finset.not_mem_erase b s, Finset.insert_erase hbs⟩
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t ⊢ ∃ i ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have hp' : ∀ j ∈ t, IsPrime (f j) := by intro j hj refine' hp j (Finset.mem_insert_of_mem hj) _ _ <;> rintro rfl <;> solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t ⊢ ∀ j ∈ t, IsPrime (f j)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
intro j hj
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t j : ι hj : j ∈ t ⊢ IsPrime ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' hp j (Finset.mem_insert_of_mem hj) _ _
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t j : ι hj : j...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t j : ι hj : j...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R b : ι I : Ideal R t : Finset ι hbt : b ∉ t h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) hbs : b ∈ insert b t j : ι hj : j ∈ t hp : ∀ i ∈ insert b t, i ≠ j → i ≠ b → IsPrime (f i) has : j ∉ insert b...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a : ι I : Ideal R t : Finset ι j : ι hj : j ∈ t hbt : j ∉ t hp : ∀ i ∈ insert j t, i ≠ a → i ≠ j → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert j t), ↑(f i) has : a ∉ insert j t hbs : j ∈ insert j...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑(insert b t), ↑(f i) has : a ∉ insert b t hbs : b ∈ insert b t hp' : ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_insert, Set.biUnion_insert, ← Set.union_self (f b : Set R), subset_union_prime' hp', ← or_assoc, or_self_iff] at h
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case pos.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R t : Finset ι hbt : b ∉ t hp : ∀ i ∈ insert b t, i ≠ a → i ≠ b → IsPrime (f i) h : I ≤ f b ∨ ∃ i ∈ t, I ≤ f i has : a ∉ insert b t hbs : b ∈ insert b t hp' : ∀ j ∈ ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rwa [Finset.exists_mem_insert]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s hbs : b ∉ s ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rcases s.eq_empty_or_nonempty with hse | hsne
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s hbs : b ∉ s hse : s = ∅ ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
subst hse
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R hp : ∀ i ∈ ∅, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I ⊆ ⋃ i ∈ ↑∅, ↑(f i) has : a ∉ ∅ hbs : b ∉ ∅ ⊢ ∃ i ∈ ∅, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_empty, Set.biUnion_empty, Set.subset_empty_iff] at h
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R hp : ∀ i ∈ ∅, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I = ∅ has : a ∉ ∅ hbs : b ∉ ∅ ⊢ ∃ i ∈ ∅, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have : (I : Set R) ≠ ∅ := Set.Nonempty.ne_empty (Set.nonempty_of_mem I.zero_mem)
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inl R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R hp : ∀ i ∈ ∅, i ≠ a → i ≠ b → IsPrime (f i) h : ↑I = ∅ has : a ∉ ∅ hbs : b ∉ ∅ this : ↑I ≠ ∅ ⊢ ∃ i ∈ ∅, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact absurd h this
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inr R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s hbs : b ∉ s hsne : Finset.Nonempty s ⊢ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
cases' hsne.bex with i his
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inr.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R h : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) has : a ∉ s hbs : b ∉ s hsne : Finset.Nonempty s i : ι his : i ∈ s ⊢ ∃ i ∈ s, I ≤ ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
obtain ⟨t, _, rfl⟩ : ∃ t, i ∉ t ∧ insert i t = s := ⟨s.erase i, Finset.not_mem_erase i s, Finset.insert_erase his⟩
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inr.intro.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have hp' : ∀ j ∈ t, IsPrime (f j) := by intro j hj refine' hp j (Finset.mem_insert_of_mem hj) _ _ <;> rintro rfl <;> solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i t hbs : b ∉ insert i t hsne : ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
intro j hj
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i t hbs : b ∉ insert i t hsne : ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' hp j (Finset.mem_insert_of_mem hj) _ _
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i t hbs : b ∉ ins...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i t hbs : b ∉ ins...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro rfl
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_1 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) hbs : b ∉ insert i t hsne : Finset.Nonempty (insert i t) his : i ∈ insert i t j : ι hj : j ∈ t hp...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case refine'_2 R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i t hsne : Finset.Nonempty (insert i t) his : i ∈ insert i t j : ι hj : j ∈ t hp...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
solve_by_elim only [Finset.mem_insert_of_mem, *]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inr.intro.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : ↑I ⊆ ⋃ i_1 ∈ ↑(insert i t), ↑(f i_1) has : a ∉ insert i...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [Finset.coe_insert, Set.biUnion_insert, ← Set.union_self (f i : Set R), subset_union_prime' hp', ← or_assoc, or_self_iff] at h
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
case neg.inr.intro.intro.intro R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R f : ι → Ideal R a b : ι I : Ideal R i : ι t : Finset ι left✝ : i ∉ t hp : ∀ i_1 ∈ insert i t, i_1 ≠ a → i_1 ≠ b → IsPrime (f i_1) h : I ≤ f i ∨ ∃ i ∈ t, I ≤ f i has : a ∉ insert i t hbs : b...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rwa [Finset.exists_mem_insert]
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R this : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) → ∃ i ∈ s, I ≤ f i ⊢ ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) ↔ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
have aux := fun h => (bex_def.2 <| this h)
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R this : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) → ∃ i ∈ s, I ≤ f i aux : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) → ∃ x, ∃ (_ : x ∈ s), I ≤ f x ⊢ ↑I ⊆ ⋃ i ∈ ↑s, ↑(f ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp_rw [exists_prop] at aux
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R this aux : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) → ∃ x ∈ s, I ≤ f x ⊢ ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) ↔ ∃ i ∈ s, I ≤ f i
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine ⟨aux, fun ⟨i, his, hi⟩ ↦ Set.Subset.trans hi ?_⟩
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u ι : Type u_1 inst✝¹ : CommSemiring R✝ I✝ J K L : Ideal R✝ R : Type u inst✝ : CommRing R s : Finset ι f : ι → Ideal R a b : ι hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i) I : Ideal R this aux : ↑I ⊆ ⋃ i ∈ ↑s, ↑(f i) → ∃ x ∈ s, I ≤ f x x✝ : ∃ i ∈ s, I ≤ f i i : ι his : i ∈ s hi : I ≤ f i ⊢ ↑(f i) ⊆ ⋃ i ∈ ↑s, ↑...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
apply Set.subset_biUnion_of_mem (show i ∈ (↑s : Set ι) from his)
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i := ...
Mathlib.RingTheory.Ideal.Operations.1232_0.5qK551sG47yBciY
/-- Prime avoidance. Atiyah-Macdonald 1.11, Eisenbud 3.3, Stacks 00DS, Matsumura Ex.1.6. -/ theorem subset_union_prime {R : Type u} [CommRing R] {s : Finset ι} {f : ι → Ideal R} (a b : ι) (hp : ∀ i ∈ s, i ≠ a → i ≠ b → IsPrime (f i)) {I : Ideal R} : ((I : Set R) ⊆ ⋃ i ∈ (↑s : Set ι), f i) ↔ ∃ i ∈ s, I ≤ f i
Mathlib_RingTheory_Ideal_Operations
R : Type u ι : Type u_1 inst✝ : CommSemiring R I✝ J K L I : Ideal R h : I = ⊤ ⊢ ⊤ = I * ⊤
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [mul_top, h]
theorem isUnit_iff {I : Ideal R} : IsUnit I ↔ I = ⊤ := isUnit_iff_dvd_one.trans ((@one_eq_top R _).symm ▸ ⟨fun h => eq_top_iff.mpr (Ideal.le_of_dvd h), fun h => ⟨⊤, by
Mathlib.RingTheory.Ideal.Operations.1301_0.5qK551sG47yBciY
theorem isUnit_iff {I : Ideal R} : IsUnit I ↔ I = ⊤
Mathlib_RingTheory_Ideal_Operations
R : Type u ι : Type u_1 inst✝ : CommSemiring R I J K L : Ideal R u : (Ideal R)ˣ ⊢ ↑u = 1
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [isUnit_iff.mp u.isUnit, one_eq_top]
instance uniqueUnits : Unique (Ideal R)ˣ where default := 1 uniq u := Units.ext (show (u : Ideal R) = 1 by
Mathlib.RingTheory.Ideal.Operations.1307_0.5qK551sG47yBciY
instance uniqueUnits : Unique (Ideal R)ˣ where default
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L I : Ideal S x y : R hx : x ∈ ⇑f ⁻¹' ↑I hy : y ∈ ⇑f ⁻¹' ↑I ⊢ x + y ∈ ⇑f ⁻¹' ↑I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp only [Set.mem_preimage, SetLike.mem_coe, map_add] at hx hy ⊢
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier := f ⁻¹' I add_mem' {x y} hx hy := by
Mathlib.RingTheory.Ideal.Operations.1336_0.5qK551sG47yBciY
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L I : Ideal S x y : R hx : f x ∈ I hy : f y ∈ I ⊢ f x + f y ∈ I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact add_mem hx hy
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier := f ⁻¹' I add_mem' {x y} hx hy := by simp only [Set.mem_preimage, SetLike.mem_coe, map_add] at hx hy ⊢
Mathlib.RingTheory.Ideal.Operations.1336_0.5qK551sG47yBciY
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L I : Ideal S ⊢ 0 ∈ { carrier := ⇑f ⁻¹' ↑I, add_mem' := (_ : ∀ {x y : R}, x ∈ ⇑f ⁻¹' ↑I → y ∈ ⇑f ⁻¹' ↑I → x + y ∈ ⇑f ⁻¹' ↑I) }.carrier
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp only [Set.mem_preimage, map_zero, SetLike.mem_coe, Submodule.zero_mem]
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier := f ⁻¹' I add_mem' {x y} hx hy := by simp only [Set.mem_preimage, SetLike.mem_coe, map_add] at hx hy ⊢ exact add_mem hx hy zero_mem' := by
Mathlib.RingTheory.Ideal.Operations.1336_0.5qK551sG47yBciY
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L I : Ideal S c x : R hx : x ∈ { toAddSubsemigroup := { carrier := ⇑f ⁻¹' ↑I, add_mem' := (_ : ∀ {x y : R}, x ∈ ⇑f ⁻¹' ↑I → y ∈ ⇑f ⁻¹' ↑I → x + y ∈ ⇑f ⁻¹' ↑I) }, ...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp only [smul_eq_mul, Set.mem_preimage, map_mul, SetLike.mem_coe] at *
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier := f ⁻¹' I add_mem' {x y} hx hy := by simp only [Set.mem_preimage, SetLike.mem_coe, map_add] at hx hy ⊢ exact add_mem hx hy zero_mem' := by simp only [Set.mem_preimage, map_zero, SetLike.mem_coe, Submodule...
Mathlib.RingTheory.Ideal.Operations.1336_0.5qK551sG47yBciY
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L I : Ideal S c x : R hx : f x ∈ I ⊢ f c * f x ∈ I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact mul_mem_left I _ hx
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier := f ⁻¹' I add_mem' {x y} hx hy := by simp only [Set.mem_preimage, SetLike.mem_coe, map_add] at hx hy ⊢ exact add_mem hx hy zero_mem' := by simp only [Set.mem_preimage, map_zero, SetLike.mem_coe, Submodule...
Mathlib.RingTheory.Ideal.Operations.1336_0.5qK551sG47yBciY
/-- `I.comap f` is the preimage of `I` under `f`. -/ def comap (I : Ideal S) : Ideal R where carrier
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S hK : K ≠ ⊤ ⊢ 1 ∉ comap f K
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [mem_comap, map_one]
theorem comap_ne_top (hK : K ≠ ⊤) : comap f K ≠ ⊤ := (ne_top_iff_one _).2 <| by
Mathlib.RingTheory.Ideal.Operations.1381_0.5qK551sG47yBciY
theorem comap_ne_top (hK : K ≠ ⊤) : comap f K ≠ ⊤
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S hK : K ≠ ⊤ ⊢ 1 ∉ K
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact (ne_top_iff_one _).1 hK
theorem comap_ne_top (hK : K ≠ ⊤) : comap f K ≠ ⊤ := (ne_top_iff_one _).2 <| by rw [mem_comap, map_one];
Mathlib.RingTheory.Ideal.Operations.1381_0.5qK551sG47yBciY
theorem comap_ne_top (hK : K ≠ ⊤) : comap f K ≠ ⊤
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R g : G I : Ideal R hf : Set.LeftInvOn ⇑g ⇑f ↑I ⊢ map f I ≤ comap g I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' Ideal.span_le.2 _
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g := by
Mathlib.RingTheory.Ideal.Operations.1387_0.5qK551sG47yBciY
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R g : G I : Ideal R hf : Set.LeftInvOn ⇑g ⇑f ↑I ⊢ ⇑f '' ↑I ⊆ ↑(comap g I)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro x ⟨x, hx, rfl⟩
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g := by refine' Ideal.span_le.2 _
Mathlib.RingTheory.Ideal.Operations.1387_0.5qK551sG47yBciY
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g
Mathlib_RingTheory_Ideal_Operations
case intro.intro R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R g : G I : Ideal R hf : Set.LeftInvOn ⇑g ⇑f ↑I x : R hx : x ∈ ↑I ⊢ f x ∈ ↑(comap g I)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [SetLike.mem_coe, mem_comap, hf hx]
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g := by refine' Ideal.span_le.2 _ rintro x ⟨x, hx, rfl⟩
Mathlib.RingTheory.Ideal.Operations.1387_0.5qK551sG47yBciY
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g
Mathlib_RingTheory_Ideal_Operations
case intro.intro R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R g : G I : Ideal R hf : Set.LeftInvOn ⇑g ⇑f ↑I x : R hx : x ∈ ↑I ⊢ x ∈ I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact hx
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g := by refine' Ideal.span_le.2 _ rintro x ⟨x, hx, rfl⟩ rw [SetLike.mem_coe, mem_comap, hf hx]
Mathlib.RingTheory.Ideal.Operations.1387_0.5qK551sG47yBciY
theorem map_le_comap_of_inv_on (g : G) (I : Ideal R) (hf : Set.LeftInvOn g f I) : I.map f ≤ I.comap g
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R hK : IsPrime K x y : R ⊢ x * y ∈ Ideal.comap f K → x ∈ Ideal.comap f K ∨ y ∈ Ideal.comap f K
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
simp only [mem_comap, map_mul]
instance IsPrime.comap [hK : K.IsPrime] : (comap f K).IsPrime := ⟨comap_ne_top _ hK.1, fun {x y} => by
Mathlib.RingTheory.Ideal.Operations.1411_0.5qK551sG47yBciY
instance IsPrime.comap [hK : K.IsPrime] : (comap f K).IsPrime
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R hK : IsPrime K x y : R ⊢ f x * f y ∈ K → f x ∈ K ∨ f y ∈ K
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
apply hK.2
instance IsPrime.comap [hK : K.IsPrime] : (comap f K).IsPrime := ⟨comap_ne_top _ hK.1, fun {x y} => by simp only [mem_comap, map_mul];
Mathlib.RingTheory.Ideal.Operations.1411_0.5qK551sG47yBciY
instance IsPrime.comap [hK : K.IsPrime] : (comap f K).IsPrime
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f✝ : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R f : F s : Set R ⊢ map f (span s) = span (⇑f '' s)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine (Submodule.span_eq_of_le _ ?_ ?_).symm
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s) := by
Mathlib.RingTheory.Ideal.Operations.1446_0.5qK551sG47yBciY
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s)
Mathlib_RingTheory_Ideal_Operations
case refine_1 R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f✝ : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R f : F s : Set R ⊢ ⇑f '' s ⊆ ↑(map f (span s))
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rintro _ ⟨x, hx, rfl⟩
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s) := by refine (Submodule.span_eq_of_le _ ?_ ?_).symm ·
Mathlib.RingTheory.Ideal.Operations.1446_0.5qK551sG47yBciY
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s)
Mathlib_RingTheory_Ideal_Operations
case refine_1.intro.intro R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f✝ : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R f : F s : Set R x : R hx : x ∈ s ⊢ f x ∈ ↑(map f (span s))
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact mem_map_of_mem f (subset_span hx)
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s) := by refine (Submodule.span_eq_of_le _ ?_ ?_).symm · rintro _ ⟨x, hx, rfl⟩;
Mathlib.RingTheory.Ideal.Operations.1446_0.5qK551sG47yBciY
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s)
Mathlib_RingTheory_Ideal_Operations
case refine_2 R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f✝ : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R f : F s : Set R ⊢ map f (span s) ≤ Submodule.span S (⇑f '' s)
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [map_le_iff_le_comap, span_le, coe_comap, ← Set.image_subset_iff]
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s) := by refine (Submodule.span_eq_of_le _ ?_ ?_).symm · rintro _ ⟨x, hx, rfl⟩; exact mem_map_of_mem f (subset_span hx) ·
Mathlib.RingTheory.Ideal.Operations.1446_0.5qK551sG47yBciY
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s)
Mathlib_RingTheory_Ideal_Operations
case refine_2 R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f✝ : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R f : F s : Set R ⊢ ⇑f '' s ⊆ ↑(Submodule.span S (⇑f '' s))
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
exact subset_span
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s) := by refine (Submodule.span_eq_of_le _ ?_ ?_).symm · rintro _ ⟨x, hx, rfl⟩; exact mem_map_of_mem f (subset_span hx) · rw [map_le_iff_le_comap, span_le, coe_comap, ← Set.image_subset_iff]
Mathlib.RingTheory.Ideal.Operations.1446_0.5qK551sG47yBciY
theorem map_span (f : F) (s : Set R) : map f (span s) = span (f '' s)
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I✝ J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R I : Ideal S h : I = ⊤ ⊢ comap f I = ⊤
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [h, comap_top]
@[simp] theorem comap_eq_top_iff {I : Ideal S} : I.comap f = ⊤ ↔ I = ⊤ := ⟨fun h => I.eq_top_iff_one.mpr (map_one f ▸ mem_comap.mp ((I.comap f).eq_top_iff_one.mp h)), fun h => by
Mathlib.RingTheory.Ideal.Operations.1476_0.5qK551sG47yBciY
@[simp] theorem comap_eq_top_iff {I : Ideal S} : I.comap f = ⊤ ↔ I = ⊤
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R ι : Sort u_3 s : Set (Ideal S) ⊢ ⨅ I ∈ s, comap f I = ⨅ I ∈ comap f '' s, I
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rw [iInf_image]
theorem comap_sInf' (s : Set (Ideal S)) : (sInf s).comap f = ⨅ I ∈ comap f '' s, I := _root_.trans (comap_sInf f s) (by
Mathlib.RingTheory.Ideal.Operations.1525_0.5qK551sG47yBciY
theorem comap_sInf' (s : Set (Ideal S)) : (sInf s).comap f = ⨅ I ∈ comap f '' s, I
Mathlib_RingTheory_Ideal_Operations
R : Type u S : Type v F : Type u_1 inst✝¹ : Semiring R inst✝ : Semiring S rc : RingHomClass F R S f : F I J : Ideal R K L : Ideal S G : Type u_2 rcg : RingHomClass G S R ι : Sort u_3 H : IsPrime K x y : R h : x * y ∈ comap f K ⊢ f x * f y ∈ K
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
rwa [mem_comap, map_mul] at h
theorem comap_isPrime [H : IsPrime K] : IsPrime (comap f K) := ⟨comap_ne_top f H.ne_top, fun {x y} h => H.mem_or_mem <| by
Mathlib.RingTheory.Ideal.Operations.1529_0.5qK551sG47yBciY
theorem comap_isPrime [H : IsPrime K] : IsPrime (comap f K)
Mathlib_RingTheory_Ideal_Operations
R✝ : Type u S✝ : Type v F : Type u_1 inst✝⁴ : Semiring R✝ inst✝³ : Semiring S✝ rc : RingHomClass F R✝ S✝ f : F I✝ J : Ideal R✝ K L : Ideal S✝ G : Type u_2 rcg : RingHomClass G S✝ R✝ ι : Sort u_3 R : Type u_4 S : Type u_5 inst✝² : CommSemiring R inst✝¹ : CommSemiring S inst✝ : Algebra R S I : Ideal R ⊢ I • ⊤ = Submodule...
/- Copyright (c) 2018 Kenny Lau. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ import Mathlib.Algebra.Algebra.Operations import Mathlib.Algebra.Ring.Equiv import Mathlib.Data.Nat.Choose.Sum import Mathlib.LinearAlgebra.Basis.Bilinear import Mathlib.RingTh...
refine' le_antisymm (Submodule.smul_le.mpr fun r hr y _ => _) fun x hx => Submodule.span_induction hx _ _ _ _
@[simp] theorem smul_top_eq_map {R S : Type*} [CommSemiring R] [CommSemiring S] [Algebra R S] (I : Ideal R) : I • (⊤ : Submodule R S) = (I.map (algebraMap R S)).restrictScalars R := by
Mathlib.RingTheory.Ideal.Operations.1543_0.5qK551sG47yBciY
@[simp] theorem smul_top_eq_map {R S : Type*} [CommSemiring R] [CommSemiring S] [Algebra R S] (I : Ideal R) : I • (⊤ : Submodule R S) = (I.map (algebraMap R S)).restrictScalars R
Mathlib_RingTheory_Ideal_Operations