Skip to content

Commit 55d6e30

Browse files
committed
remove duplicate LE Subtype instance
1 parent 9df93e5 commit 55d6e30

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Init/Data/Order/Subtype.lean

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ public instance {α : Type u} [OrderData α] {P : α → Prop} : OrderData (Subt
2323
public instance {α : Type u} [Min α] [MinEqOr α] {P : α → Prop} : Min (Subtype P) where
2424
min a b := ⟨Min.min a.val b.val, MinEqOr.elim a.property b.property⟩
2525

26-
public instance {α : Type u} [LE α] {P : α → Prop} : LE (Subtype P) where
27-
le a b := a.val ≤ b.val
28-
2926
public instance {α : Type u} [LE α] [OrderData α] [LawfulOrderLE α]
3027
{P : α → Prop} : LawfulOrderLE (Subtype P) where
3128
le_iff a b := by simp only [LE.le, OrderData.IsLE, LawfulOrderLE.le_iff]

0 commit comments

Comments
 (0)