Skip to content

Commit

Permalink
fix division_ring_has_div
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyupallavisudhir committed Mar 26, 2019
1 parent a016652 commit 7d91d28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/algebra/field.lean
Original file line number Diff line number Diff line change
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 7d91d28

Please sign in to comment.