File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,13 +181,11 @@ theorem _root_.lexOrd_eq [Ord α] [Ord β] : @lexOrd α β _ _ = instOrdLexProd
181181
182182theorem _root_.Ord.lex_eq [oα : Ord α] [oβ : Ord β] : Ord.lex oα oβ = instOrdLexProd := rfl
183183
184- set_option backward.isDefEq.respectTransparency false in
185184instance [Ord α] [Ord β] [Std.OrientedOrd α] [Std.OrientedOrd β] : Std.OrientedOrd (α ×ₗ β) :=
186- inferInstanceAs (Std.OrientedCmp (compareLex _ _))
185+ inferInstanceAs (@ Std.OrientedCmp (α × β) (compareLex _ _))
187186
188- set_option backward.isDefEq.respectTransparency false in
189187instance [Ord α] [Ord β] [Std.TransOrd α] [Std.TransOrd β] : Std.TransOrd (α ×ₗ β) :=
190- inferInstanceAs (Std.TransCmp (compareLex _ _))
188+ inferInstanceAs (@ Std.TransCmp (α × β) (compareLex _ _))
191189
192190/-- Dictionary / lexicographic linear order for pairs. -/
193191instance instLinearOrder (α β : Type *) [LinearOrder α] [LinearOrder β] : LinearOrder (α ×ₗ β) where
You can’t perform that action at this time.
0 commit comments