mirror of
https://github.com/GTBarkley/comm_alg.git
synced 2024-12-26 07:38:36 -06:00
Merge pull request #42 from GTBarkley/grant
added krullDim_nonneg_of_nontrivial to krull
This commit is contained in:
commit
e70eec4ad1
1 changed files with 6 additions and 1 deletions
|
@ -39,7 +39,7 @@ lemma height_le_of_le {I J : PrimeSpectrum R} (I_le_J : I ≤ J) : height I ≤
|
||||||
show J' < J
|
show J' < J
|
||||||
exact lt_of_lt_of_le hJ' I_le_J
|
exact lt_of_lt_of_le hJ' I_le_J
|
||||||
|
|
||||||
lemma krullDim_le_iff (R : Type) [CommRing R] (n : ℕ) :
|
lemma krullDim_le_iff (R : Type _) [CommRing R] (n : ℕ) :
|
||||||
krullDim R ≤ n ↔ ∀ I : PrimeSpectrum R, (height I : WithBot ℕ∞) ≤ ↑n := iSup_le_iff (α := WithBot ℕ∞)
|
krullDim R ≤ n ↔ ∀ I : PrimeSpectrum R, (height I : WithBot ℕ∞) ≤ ↑n := iSup_le_iff (α := WithBot ℕ∞)
|
||||||
|
|
||||||
lemma krullDim_le_iff' (R : Type) [CommRing R] (n : ℕ∞) :
|
lemma krullDim_le_iff' (R : Type) [CommRing R] (n : ℕ∞) :
|
||||||
|
@ -94,6 +94,11 @@ lemma dim_eq_bot_iff : krullDim R = ⊥ ↔ Subsingleton R := by
|
||||||
. rw [h.forall_iff]
|
. rw [h.forall_iff]
|
||||||
trivial
|
trivial
|
||||||
|
|
||||||
|
lemma krullDim_nonneg_of_nontrivial [Nontrivial R] : ∃ n : ℕ∞, Ideal.krullDim R = n := by
|
||||||
|
have h := dim_eq_bot_iff.not.mpr (not_subsingleton R)
|
||||||
|
lift (Ideal.krullDim R) to ℕ∞ using h with k
|
||||||
|
use k
|
||||||
|
|
||||||
@[simp]
|
@[simp]
|
||||||
lemma field_prime_bot {K: Type _} [Field K] (P : Ideal K) : IsPrime P ↔ P = ⊥ := by
|
lemma field_prime_bot {K: Type _} [Field K] (P : Ideal K) : IsPrime P ↔ P = ⊥ := by
|
||||||
constructor
|
constructor
|
||||||
|
|
Loading…
Reference in a new issue