case mk
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
⊢ Function.Surjective ↑mk0
rintro ⟨I⟩
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
case mk
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
obtain ⟨a, a_ne_zero', ha⟩ := I.1.2
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
have a_ne_zero := mem_nonZeroDivisors_iff_ne_zero.mp a_ne_zero'
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
have fa_ne_zero : (algebraMap R (FractionRing R)) a ≠ 0 :=
  IsFractionRing.to_map_ne_zero_of_mem_nonZeroDivisors a_ne_zero'
case mk.intro.intro.refine_1
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Set R

case mk.intro.intro.refine_2
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ {a b : R}, a ∈ ?mk.intro.intro.refine_1 → b ∈ ?mk.intro.intro.refine_1 → a + b ∈ ?mk.intro.intro.refine_1

case mk.intro.intro.refine_3
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ 0 ∈ { carrier := ?mk.intro.intro.refine_1, add_mem' := ?mk.intro.intro.refine_2 }.carrier

case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (c : R) {x : R},
    x ∈
        { toAddSubsemigroup := { carrier := ?mk.intro.intro.refine_1, add_mem' := ?mk.intro.intro.refine_2 },
              zero_mem' := ?mk.intro.intro.refine_3 }.toAddSubsemigroup.carrier →
      c • x ∈
        { toAddSubsemigroup := { carrier := ?mk.intro.intro.refine_1, add_mem' := ?mk.intro.intro.refine_2 },
              zero_mem' := ?mk.intro.intro.refine_3 }.toAddSubsemigroup.carrier

case mk.intro.intro.refine_5
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ {
      toAddSubmonoid :=
        { toAddSubsemigroup := { carrier := ?mk.intro.intro.refine_1, add_mem' := ?mk.intro.intro.refine_2 },
          zero_mem' := ?mk.intro.intro.refine_3 },
      smul_mem' := ?mk.intro.intro.refine_4 } ∈
    (Ideal R)⁰

case mk.intro.intro.refine_6
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑mk0
      {
        val :=
          {
            toAddSubmonoid :=
              { toAddSubsemigroup := { carrier := ?mk.intro.intro.refine_1, add_mem' := ?mk.intro.intro.refine_2 },
                zero_mem' := ?mk.intro.intro.refine_3 },
            smul_mem' := ?mk.intro.intro.refine_4 },
        property := ?mk.intro.intro.refine_5 } =
    Quot.mk Setoid.r I
case mk.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∃ a, ↑mk0 a = Quot.mk Setoid.r I
refine ⟨⟨⟨⟨⟨?_, ?_⟩, ?_⟩, ?_⟩, ?_⟩, ?_⟩
no goals
case mk.intro.intro.refine_1
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Set R
exact {x | (algebraMap R _ a)⁻¹ * algebraMap R _ x ∈ I.1}
case mk.intro.intro.refine_2
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ {a_1 b : R},
    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) a_1 ∈ ↑I →
      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) b ∈ ↑I →
        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) a_1 +
            (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) b ∈
          ↑I
case mk.intro.intro.refine_2
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ {a_1 b : R},
    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
        a_1 + b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}
simp only [Set.mem_setOf_eq, RingHom.map_add, mul_add]
no goals
case mk.intro.intro.refine_2
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ {a_1 b : R},
    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) a_1 ∈ ↑I →
      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) b ∈ ↑I →
        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) a_1 +
            (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) b ∈
          ↑I
exact fun ha hb => Submodule.add_mem _ ha hb
case mk.intro.intro.refine_3
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ 0 ∈ ↑I
case mk.intro.intro.refine_3
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ 0 ∈
    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
        add_mem' :=
          (_ :
            ∀ {a_1 b : R},
              a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                  a_1 + b ∈
                    {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) }.carrier
simp only [Set.mem_setOf_eq, RingHom.map_zero, mul_zero]
no goals
case mk.intro.intro.refine_3
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ 0 ∈ ↑I
exact Submodule.zero_mem _
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ c • x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (c : R) {x : R},
    x ∈
        {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
      c • x ∈
        {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_2 b : R},
                        a_2 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_2 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_2 b : R},
                              a_2 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_2 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier
intro c _ hb
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ ↑(algebraMap R (FractionRing R)) c * ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x✝) ∈
    ↑I
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ c • x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
simp only [smul_eq_mul, Set.mem_setOf_eq, RingHom.map_mul,
  mul_left_comm ((algebraMap R (FractionRing R)) a)⁻¹]
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ c • ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x✝) ∈ ↑I
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ ↑(algebraMap R (FractionRing R)) c * ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x✝) ∈
    ↑I
rw [← Algebra.smul_def c]
no goals
case mk.intro.intro.refine_4
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
c x✝ : R
hb :
  x✝ ∈
    {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier
⊢ c • ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x✝) ∈ ↑I
exact Submodule.smul_mem _ c hb
case mk.intro.intro.refine_5
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∃ x,
    x ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      x ≠ 0
case mk.intro.intro.refine_5
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
    (Ideal R)⁰
rw [mem_nonZeroDivisors_iff_ne_zero, Submodule.zero_eq_bot, Submodule.ne_bot_iff]
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ ∃ x,
    x ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      x ≠ 0
case mk.intro.intro.refine_5
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∃ x,
    x ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      x ≠ 0
obtain ⟨x, x_ne, x_mem⟩ := exists_ne_zero_mem_isInteger I.ne_zero
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ a * x ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ ∃ x,
    x ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      x ≠ 0
refine ⟨a*x, ?_, mul_ne_zero a_ne_zero x_ne⟩
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) (a * x) ∈ ↑I
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ a * x ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
change ((algebraMap R _) a)⁻¹ * (algebraMap R _) (a * x) ∈ I.1
no goals
case mk.intro.intro.refine_5.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
x : R
x_ne : x ≠ 0
x_mem : ↑(algebraMap R (FractionRing R)) x ∈ ↑I
⊢ (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) (a * x) ∈ ↑I
rwa [RingHom.map_mul, ← mul_assoc, inv_mul_cancel fa_ne_zero, one_mul]
case mk.intro.intro.refine_6
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Quot.mk Setoid.r I =
    ↑mk0
      {
        val :=
          {
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
        property :=
          (_ :
            {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
              (Ideal R)⁰) }
case mk.intro.intro.refine_6
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑mk0
      {
        val :=
          {
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
        property :=
          (_ :
            {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
              (Ideal R)⁰) } =
    Quot.mk Setoid.r I
symm
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ I ≈
    ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) })
case mk.intro.intro.refine_6
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Quot.mk Setoid.r I =
    ↑mk0
      {
        val :=
          {
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
        property :=
          (_ :
            {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
              (Ideal R)⁰) }
apply Quotient.sound
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Setoid.r I
    (↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) }))
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ I ≈
    ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) })
change @Setoid.r _
  (QuotientGroup.leftRel (toPrincipalIdeal R (FractionRing R)).range) _ _
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ I⁻¹ *
      ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) }) ∈
    MonoidHom.range (toPrincipalIdeal R (FractionRing R))
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ Setoid.r I
    (↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) }))
rw [QuotientGroup.leftRel_apply]
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) =
    I⁻¹ *
      ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) })
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ I⁻¹ *
      ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) }) ∈
    MonoidHom.range (toPrincipalIdeal R (FractionRing R))
refine ⟨Units.mk0 (algebraMap R _ a) fa_ne_zero, ?_⟩
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) }) =
    ↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) * I
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) =
    I⁻¹ *
      ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) })
rw [_root_.eq_inv_mul_iff_mul_eq, eq_comm, mul_comm I]
case mk.intro.intro.refine_6.a.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) })) =
    ↑(↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) * I)
case mk.intro.intro.refine_6.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
      (↑(FractionalIdeal.mk0 (FractionRing R))
        {
          val :=
            {
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
          property :=
            (_ :
              {
                  toAddSubmonoid :=
                    {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) },
                  smul_mem' :=
                    (_ :
                      ∀ (c : R) {x : R},
                        x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                          c • x ∈
                            {
                                  toAddSubsemigroup :=
                                    {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) },
                                  zero_mem' :=
                                    (_ :
                                      0 ∈
                                        {
                                            carrier :=
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I},
                                            add_mem' :=
                                              (_ :
                                                ∀ {a_1 b : R},
                                                  a_1 ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      a_1 + b ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                (Ideal R)⁰) }) =
    ↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) * I
apply Units.ext
case mk.intro.intro.refine_6.a.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ (∀ (zI : FractionRing R),
      zI ∈
          ↑{
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } →
        ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zI) ∧
    ∀ (z : FractionRing R),
      z ∈ ↑I →
        ↑(algebraMap R (FractionRing R)) a * z ∈
          ↑{
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_2 b : R},
                            a_2 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_2 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_2 b : R},
                                  a_2 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_2 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_2 b : R},
                                        a_2 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_2 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_2 b : R},
                                              a_2 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_2 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_2 b : R},
                                        a_2 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_2 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_2 b : R},
                                              a_2 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_2 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_6.a.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ↑(↑(Units.map ↑(canonicalEquiv R⁰ (FractionRing R) (FractionRing R)))
        (↑(FractionalIdeal.mk0 (FractionRing R))
          {
            val :=
              {
                toAddSubmonoid :=
                  {
                    toAddSubsemigroup :=
                      {
                        carrier :=
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) },
                    zero_mem' :=
                      (_ :
                        0 ∈
                          {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) }.carrier) },
                smul_mem' :=
                  (_ :
                    ∀ (c : R) {x : R},
                      x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                        c • x ∈
                          {
                                toAddSubsemigroup :=
                                  {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) },
                                zero_mem' :=
                                  (_ :
                                    0 ∈
                                      {
                                          carrier :=
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I},
                                          add_mem' :=
                                            (_ :
                                              ∀ {a_1 b : R},
                                                a_1 ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I} →
                                                    a_1 + b ∈
                                                      {x |
                                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                            ↑(algebraMap R (FractionRing R)) x ∈
                                                          ↑I}) }.carrier) }.toAddSubsemigroup.carrier) },
            property :=
              (_ :
                {
                    toAddSubmonoid :=
                      {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) },
                    smul_mem' :=
                      (_ :
                        ∀ (c : R) {x : R},
                          x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                            c • x ∈
                              {
                                    toAddSubsemigroup :=
                                      {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) },
                                    zero_mem' :=
                                      (_ :
                                        0 ∈
                                          {
                                              carrier :=
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I},
                                              add_mem' :=
                                                (_ :
                                                  ∀ {a_1 b : R},
                                                    a_1 ∈
                                                        {x |
                                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                              ↑(algebraMap R (FractionRing R)) x ∈
                                                            ↑I} →
                                                      b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I} →
                                                        a_1 + b ∈
                                                          {x |
                                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                                ↑(algebraMap R (FractionRing R)) x ∈
                                                              ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∈
                  (Ideal R)⁰) })) =
    ↑(↑(toPrincipalIdeal R (FractionRing R)) (Units.mk0 (↑(algebraMap R (FractionRing R)) a) fa_ne_zero) * I)
simp only [FractionalIdeal.coe_mk0, FractionalIdeal.map_canonicalEquiv_mk0,
  Units.val_mk0, coe_toPrincipalIdeal, Units.val_mul,
  FractionalIdeal.eq_spanSingleton_mul]
case mk.intro.intro.refine_6.a.a.left
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (zI : FractionRing R),
    zI ∈
        ↑{
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } →
      ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zI

case mk.intro.intro.refine_6.a.a.right
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (z : FractionRing R),
    z ∈ ↑I →
      ↑(algebraMap R (FractionRing R)) a * z ∈
        ↑{
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_2 b : R},
                          a_2 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_2 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_2 b : R},
                                a_2 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_2 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_2 b : R},
                                      a_2 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_2 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_2 b : R},
                                            a_2 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_2 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_2 b : R},
                                      a_2 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_2 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_2 b : R},
                                            a_2 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_2 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_6.a.a
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ (∀ (zI : FractionRing R),
      zI ∈
          ↑{
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_1 b : R},
                                              a_1 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_1 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } →
        ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zI) ∧
    ∀ (z : FractionRing R),
      z ∈ ↑I →
        ↑(algebraMap R (FractionRing R)) a * z ∈
          ↑{
              toAddSubmonoid :=
                {
                  toAddSubsemigroup :=
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_2 b : R},
                            a_2 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_2 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) },
                  zero_mem' :=
                    (_ :
                      0 ∈
                        {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_2 b : R},
                                  a_2 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_2 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) }.carrier) },
              smul_mem' :=
                (_ :
                  ∀ (c : R) {x : R},
                    x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_2 b : R},
                                        a_2 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_2 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_2 b : R},
                                              a_2 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_2 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                      c • x ∈
                        {
                              toAddSubsemigroup :=
                                {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_2 b : R},
                                        a_2 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_2 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) },
                              zero_mem' :=
                                (_ :
                                  0 ∈
                                    {
                                        carrier :=
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I},
                                        add_mem' :=
                                          (_ :
                                            ∀ {a_2 b : R},
                                              a_2 ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I} →
                                                  a_2 + b ∈
                                                    {x |
                                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                          ↑(algebraMap R (FractionRing R)) x ∈
                                                        ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
constructor
case mk.intro.intro.refine_6.a.a.left
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ' : FractionRing R
hzJ' :
  zJ' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zJ'
case mk.intro.intro.refine_6.a.a.left
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (zI : FractionRing R),
    zI ∈
        ↑{
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_1 b : R},
                                            a_1 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_1 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } →
      ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zI
intro zJ' hzJ'
case mk.intro.intro.refine_6.a.a.left.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ : R
hzJ :
  zJ ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
hzJ' :
  ↑(algebraMap R (FractionRing R)) zJ ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ∃ zJ_1, zJ_1 ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ_1 = ↑(algebraMap R (FractionRing R)) zJ
case mk.intro.intro.refine_6.a.a.left
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ' : FractionRing R
hzJ' :
  zJ' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ∃ zJ, zJ ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ = zJ'
obtain ⟨zJ, hzJ, rfl⟩ := (mem_coeIdeal R⁰).mp hzJ'
case mk.intro.intro.refine_6.a.a.left.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ : R
hzJ :
  zJ ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
hzJ' :
  ↑(algebraMap R (FractionRing R)) zJ ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ↑(algebraMap R (FractionRing R)) a * ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) zJ) =
    ↑(algebraMap R (FractionRing R)) zJ
case mk.intro.intro.refine_6.a.a.left.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ : R
hzJ :
  zJ ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
hzJ' :
  ↑(algebraMap R (FractionRing R)) zJ ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ∃ zJ_1, zJ_1 ∈ ↑I ∧ ↑(algebraMap R (FractionRing R)) a * zJ_1 = ↑(algebraMap R (FractionRing R)) zJ
refine ⟨_, hzJ, ?_⟩
no goals
case mk.intro.intro.refine_6.a.a.left.intro.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zJ : R
hzJ :
  zJ ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
hzJ' :
  ↑(algebraMap R (FractionRing R)) zJ ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
⊢ ↑(algebraMap R (FractionRing R)) a * ((↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) zJ) =
    ↑(algebraMap R (FractionRing R)) zJ
rw [← mul_assoc, mul_inv_cancel fa_ne_zero, one_mul]
case mk.intro.intro.refine_6.a.a.right
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
⊢ ↑(algebraMap R (FractionRing R)) a * zI' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_6.a.a.right
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
⊢ ∀ (z : FractionRing R),
    z ∈ ↑I →
      ↑(algebraMap R (FractionRing R)) a * z ∈
        ↑{
            toAddSubmonoid :=
              {
                toAddSubsemigroup :=
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_2 b : R},
                          a_2 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_2 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
                zero_mem' :=
                  (_ :
                    0 ∈
                      {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_2 b : R},
                                a_2 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_2 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) }.carrier) },
            smul_mem' :=
              (_ :
                ∀ (c : R) {x : R},
                  x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_2 b : R},
                                      a_2 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_2 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_2 b : R},
                                            a_2 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_2 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                    c • x ∈
                      {
                            toAddSubsemigroup :=
                              {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_2 b : R},
                                      a_2 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_2 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) },
                            zero_mem' :=
                              (_ :
                                0 ∈
                                  {
                                      carrier :=
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I},
                                      add_mem' :=
                                        (_ :
                                          ∀ {a_2 b : R},
                                            a_2 ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I} →
                                                a_2 + b ∈
                                                  {x |
                                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                        ↑(algebraMap R (FractionRing R)) x ∈
                                                      ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
intro zI' hzI'
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ ↑(algebraMap R (FractionRing R)) a * zI' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_6.a.a.right
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
⊢ ↑(algebraMap R (FractionRing R)) a * zI' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
obtain ⟨y, hy⟩ := ha zI' hzI'
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ ∃ x',
    x' ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      ↑(algebraMap R (FractionRing R)) x' = a • zI'
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ ↑(algebraMap R (FractionRing R)) a * zI' ∈
    ↑{
        toAddSubmonoid :=
          {
            toAddSubsemigroup :=
              { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                add_mem' :=
                  (_ :
                    ∀ {a_1 b : R},
                      a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          a_1 + b ∈
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
            zero_mem' :=
              (_ :
                0 ∈
                  { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                      add_mem' :=
                        (_ :
                          ∀ {a_1 b : R},
                            a_1 ∈
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                a_1 + b ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                      ↑I}) }.carrier) },
        smul_mem' :=
          (_ :
            ∀ (c : R) {x : R},
              x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                c • x ∈
                  {
                        toAddSubsemigroup :=
                          {
                            carrier :=
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                            add_mem' :=
                              (_ :
                                ∀ {a_1 b : R},
                                  a_1 ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      a_1 + b ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I}) },
                        zero_mem' :=
                          (_ :
                            0 ∈
                              {
                                  carrier :=
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                  add_mem' :=
                                    (_ :
                                      ∀ {a_1 b : R},
                                        a_1 ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            a_1 + b ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
rw [← Algebra.smul_def, mem_coeIdeal]
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ y ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ ∃ x',
    x' ∈
        {
          toAddSubmonoid :=
            {
              toAddSubsemigroup :=
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                  add_mem' :=
                    (_ :
                      ∀ {a_1 b : R},
                        a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                          b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            a_1 + b ∈
                              {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
              zero_mem' :=
                (_ :
                  0 ∈
                    { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                        add_mem' :=
                          (_ :
                            ∀ {a_1 b : R},
                              a_1 ∈
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                                b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  a_1 + b ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I}) }.carrier) },
          smul_mem' :=
            (_ :
              ∀ (c : R) {x : R},
                x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
                  c • x ∈
                    {
                          toAddSubsemigroup :=
                            {
                              carrier :=
                                {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                              add_mem' :=
                                (_ :
                                  ∀ {a_1 b : R},
                                    a_1 ∈
                                        {x |
                                          (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                            ↑I} →
                                      b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        a_1 + b ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I}) },
                          zero_mem' :=
                            (_ :
                              0 ∈
                                {
                                    carrier :=
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I},
                                    add_mem' :=
                                      (_ :
                                        ∀ {a_1 b : R},
                                          a_1 ∈
                                              {x |
                                                (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                    ↑(algebraMap R (FractionRing R)) x ∈
                                                  ↑I} →
                                            b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I} →
                                              a_1 + b ∈
                                                {x |
                                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                      ↑(algebraMap R (FractionRing R)) x ∈
                                                    ↑I}) }.carrier) }.toAddSubsemigroup.carrier) } ∧
      ↑(algebraMap R (FractionRing R)) x' = a • zI'
refine' ⟨y, _, hy⟩
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) y ∈ ↑I
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ y ∈
    {
      toAddSubmonoid :=
        {
          toAddSubsemigroup :=
            { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
              add_mem' :=
                (_ :
                  ∀ {a_1 b : R},
                    a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                      b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                        a_1 + b ∈
                          {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I}) },
          zero_mem' :=
            (_ :
              0 ∈
                { carrier := {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                    add_mem' :=
                      (_ :
                        ∀ {a_1 b : R},
                          a_1 ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                            b ∈ {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I} →
                              a_1 + b ∈
                                {x |
                                  (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                    ↑I}) }.carrier) },
      smul_mem' :=
        (_ :
          ∀ (c : R) {x : R},
            x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier →
              c • x ∈
                {
                      toAddSubsemigroup :=
                        {
                          carrier :=
                            {x | (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                          add_mem' :=
                            (_ :
                              ∀ {a_1 b : R},
                                a_1 ∈
                                    {x |
                                      (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                        ↑I} →
                                  b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I} →
                                    a_1 + b ∈
                                      {x |
                                        (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈
                                          ↑I}) },
                      zero_mem' :=
                        (_ :
                          0 ∈
                            {
                                carrier :=
                                  {x |
                                    (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) x ∈ ↑I},
                                add_mem' :=
                                  (_ :
                                    ∀ {a_1 b : R},
                                      a_1 ∈
                                          {x |
                                            (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                ↑(algebraMap R (FractionRing R)) x ∈
                                              ↑I} →
                                        b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I} →
                                          a_1 + b ∈
                                            {x |
                                              (↑(algebraMap R (FractionRing R)) a)⁻¹ *
                                                  ↑(algebraMap R (FractionRing R)) x ∈
                                                ↑I}) }.carrier) }.toAddSubsemigroup.carrier) }
show (algebraMap R _ a)⁻¹ * algebraMap R _ y ∈ (I : FractionalIdeal R⁰ (FractionRing R))
no goals
case mk.intro.intro.refine_6.a.a.right.intro
R : Type u_1
K : Type ?u.1490084
L : Type ?u.1490087
inst✝¹¹ : CommRing R
inst✝¹⁰ : Field K
inst✝⁹ : Field L
inst✝⁸ : DecidableEq L
inst✝⁷ : Algebra R K
inst✝⁶ : IsFractionRing R K
inst✝⁵ : Algebra K L
inst✝⁴ : FiniteDimensional K L
inst✝³ : Algebra R L
inst✝² : IsScalarTower R K L
inst✝¹ : IsDomain R
inst✝ : IsDedekindDomain R
b✝ : ClassGroup R
I : (FractionalIdeal R⁰ (FractionRing R))ˣ
a : R
a_ne_zero' : a ∈ R⁰
ha : ∀ (b : FractionRing R), b ∈ ↑↑I → IsInteger R (a • b)
a_ne_zero : a ≠ 0
fa_ne_zero : ↑(algebraMap R (FractionRing R)) a ≠ 0
zI' : FractionRing R
hzI' : zI' ∈ ↑I
y : R
hy : ↑(algebraMap R (FractionRing R)) y = a • zI'
⊢ (↑(algebraMap R (FractionRing R)) a)⁻¹ * ↑(algebraMap R (FractionRing R)) y ∈ ↑I
rwa [hy, Algebra.smul_def, ← mul_assoc, inv_mul_cancel fa_ne_zero, one_mul]