Skip to content

Commit

Permalink
chore(ring_theory/fractional_ideal): remove instance name (#18305)
Browse files Browse the repository at this point in the history
  • Loading branch information
Multramate committed Jan 30, 2023
1 parent fac3690 commit 48cb182
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ring_theory/fractional_ideal.lean
Expand Up @@ -912,8 +912,7 @@ lemma fractional_div_of_nonzero {I J : fractional_ideal R₁⁰ K} (h : J ≠ 0)
I.is_fractional.div_of_nonzero J.is_fractional $ λ H, h $
coe_to_submodule_injective $ H.trans coe_zero.symm

noncomputable instance fractional_ideal_has_div :
has_div (fractional_ideal R₁⁰ K) :=
noncomputable instance : has_div (fractional_ideal R₁⁰ K) :=
⟨ λ I J, if h : J = 0 then 0 else ⟨I / J, fractional_div_of_nonzero h⟩ ⟩

variables {I J : fractional_ideal R₁⁰ K} [ J ≠ 0 ]
Expand Down

0 comments on commit 48cb182

Please sign in to comment.