R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
⊢ ¬v.asIdeal ^ (Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) + 1) ∣
      ∏ᶠ (v : HeightOneSpectrum R), maxPowDividing v I
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
⊢ ¬v.asIdeal ^ (Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) + 1) ∣
      ∏ᶠ (v : HeightOneSpectrum R), maxPowDividing v I
have hf := finite_mulSupport hI
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
⊢ ¬v.asIdeal ^ (Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) + 1) ∣
      ∏ᶠ (v : HeightOneSpectrum R), maxPowDividing v I
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
⊢ ¬v.asIdeal ^ (Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) + 1) ∣
      ∏ᶠ (v : HeightOneSpectrum R), maxPowDividing v I
have h_ne_zero : v.maxPowDividing I ≠ 0 := pow_ne_zero _ v.ne_bot
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
⊢ ¬v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
      maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
⊢ ¬v.asIdeal ^ (Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) + 1) ∣
      ∏ᶠ (v : HeightOneSpectrum R), maxPowDividing v I
rw [← mul_finprod_cond_ne v hf, pow_add, pow_one, finprod_cond_ne _ _ hf]
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
⊢ False
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
⊢ ¬v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
      maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
intro h_contr
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
⊢ False
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
⊢ False
have hv_prime : Prime v.asIdeal := Ideal.prime_of_isPrime v.ne_bot v.IsPrime
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
⊢ False
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
⊢ False
obtain ⟨w, hw, hvw'⟩ :=
  Prime.exists_mem_finset_dvd hv_prime ((mul_dvd_mul_iff_left h_ne_zero).mp h_contr)
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
⊢ False
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
⊢ False
have hw_prime : Prime w.asIdeal := Ideal.prime_of_isPrime w.ne_bot w.IsPrime
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
hvw : v.asIdeal ∣ w.asIdeal
⊢ False
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
⊢ False
have hvw := Prime.dvd_of_dvd_pow hv_prime hvw'
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
hvw : v.asIdeal = w.asIdeal
⊢ False
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
hvw : v.asIdeal ∣ w.asIdeal
⊢ False
rw [Prime.dvd_prime_iff_associated hv_prime hw_prime, associated_iff_eq] at hvw
no goals
case intro.intro
R : Type u_1
inst✝⁵ : CommRing R
inst✝⁴ : IsDomain R
inst✝³ : IsDedekindDomain R
K : Type ?u.235854
inst✝² : Field K
inst✝¹ : Algebra R K
inst✝ : IsFractionRing R K
v : HeightOneSpectrum R
I : Ideal R
hI : I ≠ 0
hf : Set.Finite (mulSupport fun v => maxPowDividing v I)
h_ne_zero : maxPowDividing v I ≠ 0
h_contr :
  v.asIdeal ^ Associates.count (Associates.mk v.asIdeal) (Associates.factors (Associates.mk I)) * v.asIdeal ∣
    maxPowDividing v I * ∏ i in Finset.erase (Finite.toFinset hf) v, maxPowDividing i I
hv_prime : Prime v.asIdeal
w : HeightOneSpectrum R
hw : w ∈ Finset.erase (Finite.toFinset hf) v
hvw' : v.asIdeal ∣ maxPowDividing w I
hw_prime : Prime w.asIdeal
hvw : v.asIdeal = w.asIdeal
⊢ False
exact (Finset.mem_erase.mp hw).1 (HeightOneSpectrum.ext w v (Eq.symm hvw))