Skip to content

Commit

Permalink
shake and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobball committed Jul 3, 2024
1 parent 747ac14 commit 75127a2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Order/Group/DenselyOrdered.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl
-/
import Mathlib.Algebra.Order.Monoid.Canonical.Defs
import Mathlib.Algebra.Order.Group.Unbundled.Basic
import Mathlib.Algebra.Order.Monoid.Unbundled.OrderDual
import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE

#align_import algebra.order.group.densely_ordered from "leanprover-community/mathlib"@"4e87c8477c6c38b753f050bc9664b94ee859896c"

Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Order/Interval/Set/Instances.lean
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ variable [StrictOrderedSemiring α]

namespace Set.Ioc

instance one [Nontrivial α] : One (Ioc (0 : α) 1) where one := ⟨1, ⟨zero_lt_one, le_refl 1⟩⟩
instance one : One (Ioc (0 : α) 1) where one := ⟨1, ⟨zero_lt_one, le_refl 1⟩⟩
#align set.Ioc.has_one Set.Ioc.one

@[simp, norm_cast]
Expand Down
3 changes: 2 additions & 1 deletion Mathlib/Algebra/Order/Interval/Set/Monoid.lean
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury G. Kudryashov, Patrick Massot
-/
import Mathlib.Algebra.Group.Basic
import Mathlib.Algebra.Order.Monoid.Canonical.Defs
import Mathlib.Data.Set.Function
import Mathlib.Order.Interval.Set.Basic
import Mathlib.Algebra.Order.Monoid.Defs
import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE

#align_import data.set.intervals.monoid from "leanprover-community/mathlib"@"aba57d4d3dae35460225919dcd82fe91355162f9"

Expand Down
1 change: 1 addition & 0 deletions Mathlib/Algebra/Order/Monoid/Canonical/Defs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl
-/
import Mathlib.Algebra.Order.Monoid.Defs
import Mathlib.Algebra.Order.Monoid.Unbundled.ExistsOfLE
import Mathlib.Algebra.NeZero

#align_import algebra.order.monoid.canonical.defs from "leanprover-community/mathlib"@"e8638a0fcaf73e4500469f368ef9494e495099b3"

Expand Down
2 changes: 0 additions & 2 deletions Mathlib/Algebra/Order/Monoid/Unbundled/ExistsOfLE.lean
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ Copyright (c) 2016 Jeremy Avigad. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jeremy Avigad, Leonardo de Moura, Mario Carneiro, Johannes Hölzl
-/
import Mathlib.Algebra.NeZero
import Mathlib.Algebra.Order.Monoid.Unbundled.Basic
import Mathlib.Order.BoundedOrder
import Mathlib.Order.MinMax

#align_import algebra.order.monoid.canonical.defs from "leanprover-community/mathlib"@"e8638a0fcaf73e4500469f368ef9494e495099b3"
Expand Down
2 changes: 1 addition & 1 deletion Mathlib/Algebra/Order/Positive/Ring.lean
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ instance : Semigroup { x : R // 0 < x } :=
instance : Distrib { x : R // 0 < x } :=
Subtype.coe_injective.distrib _ coe_add val_mul

instance [Nontrivial R] : One { x : R // 0 < x } :=
instance : One { x : R // 0 < x } :=
⟨⟨1, one_pos⟩⟩

@[simp]
Expand Down

0 comments on commit 75127a2

Please sign in to comment.