Skip to content

Commit

Permalink
instance
Browse files Browse the repository at this point in the history
  • Loading branch information
FR-vdash-bot committed Jan 6, 2025
1 parent a14d76e commit c064f02
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Mathlib/Algebra/Order/Ring/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ instance (priority := 200) IsStrictOrderedRing.toPosMulStrictMono : PosMulStrict
instance (priority := 200) IsStrictOrderedRing.toMulPosStrictMono : MulPosStrictMono α :=
fun x _ _ h => IsStrictOrderedRing.mul_lt_mul_of_pos_right _ _ _ h x.prop⟩

-- see Note [lower instance priority]
instance (priority := 100) IsStrictOrderedRing.toIsOrderedRing : IsOrderedRing α where
__ := ‹IsStrictOrderedRing α›
mul_le_mul_of_nonneg_left _ _ _ := mul_le_mul_of_nonneg_left
mul_le_mul_of_nonneg_right _ _ _ := mul_le_mul_of_nonneg_right

end IsStrictOrderedRing

/-! Note that `OrderDual` does not satisfy any of the ordered ring typeclasses due to the
Expand Down

0 comments on commit c064f02

Please sign in to comment.