fix(library/data/real/division): make temporary has_div only a local instance
This commit is contained in:
parent
6cdbc0f79f
commit
15c9ec12cf
1 changed files with 3 additions and 1 deletions
|
@ -593,9 +593,11 @@ noncomputable definition real_has_inv [instance] [reducible] [priority real.prio
|
|||
noncomputable protected definition div (x y : ℝ) : ℝ :=
|
||||
x * y⁻¹
|
||||
|
||||
noncomputable definition real_has_div [instance] [reducible] [priority real.prio] : has_div real :=
|
||||
noncomputable definition real_has_div : has_div real :=
|
||||
has_div.mk real.div
|
||||
|
||||
local attribute real_has_div [instance] [reducible] [priority real.prio]
|
||||
|
||||
protected theorem le_total (x y : ℝ) : x ≤ y ∨ y ≤ x :=
|
||||
quot.induction_on₂ x y (λ s t, rat_seq.r_le_total s t)
|
||||
|
||||
|
|
Loading…
Reference in a new issue