Skip to content

Commit

Permalink
division_ring_has_div' without double instance
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyupallavisudhir committed Mar 26, 2019
1 parent a016652 commit d0e4221
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/algebra/field.lean
Expand Up @@ -9,6 +9,9 @@ open set
universe u
variables {α : Type u}

@[priority 101]
instance division_ring_has_div' [division_ring α] : has_div α := ⟨algebra.div⟩

instance division_ring.to_domain [s : division_ring α] : domain α :=
{ eq_zero_or_eq_zero_of_mul_eq_zero := λ a b h,
classical.by_contradiction $ λ hn,
Expand Down

0 comments on commit d0e4221

Please sign in to comment.