data.sum.orderMathlib.Data.Sum.Order

This file has been ported!

Changes since the initial port

The following section lists changes to this file in mathlib3 and mathlib4 that occured after the initial port. Most recent changes are shown first. Hovering over a commit will show all commits associated with the same mathlib3 commit.

Changes in mathlib3

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(no changes)

(last sync)

Changes in mathlib3port

mathlib3
mathlib3port
Diff
@@ -3,7 +3,7 @@ Copyright (c) 2021 Yaël Dillies. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Yaël Dillies
 -/
-import Mathbin.Order.Hom.Basic
+import Order.Hom.Basic
 
 #align_import data.sum.order from "leanprover-community/mathlib"@"448144f7ae193a8990cb7473c9e9a01990f64ac7"
 
Diff
@@ -2,14 +2,11 @@
 Copyright (c) 2021 Yaël Dillies. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Yaël Dillies
-
-! This file was ported from Lean 3 source module data.sum.order
-! leanprover-community/mathlib commit 448144f7ae193a8990cb7473c9e9a01990f64ac7
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
 -/
 import Mathbin.Order.Hom.Basic
 
+#align_import data.sum.order from "leanprover-community/mathlib"@"448144f7ae193a8990cb7473c9e9a01990f64ac7"
+
 /-!
 # Orders on a sum type
 
Diff
@@ -44,11 +44,13 @@ section LiftRel
 
 variable (r : α → α → Prop) (s : β → β → Prop)
 
+#print Sum.LiftRel.refl /-
 @[refl]
 theorem LiftRel.refl [IsRefl α r] [IsRefl β s] : ∀ x, LiftRel r s x x
   | inl a => LiftRel.inl (refl _)
   | inr a => LiftRel.inr (refl _)
 #align sum.lift_rel.refl Sum.LiftRel.refl
+-/
 
 instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (LiftRel r s) :=
   ⟨LiftRel.refl _ _⟩
@@ -56,12 +58,14 @@ instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (LiftRel r s) :=
 instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (LiftRel r s) :=
   ⟨by rintro _ (⟨h⟩ | ⟨h⟩) <;> exact irrefl _ h⟩
 
+#print Sum.LiftRel.trans /-
 @[trans]
 theorem LiftRel.trans [IsTrans α r] [IsTrans β s] :
     ∀ {a b c}, LiftRel r s a b → LiftRel r s b c → LiftRel r s a c
   | _, _, _, lift_rel.inl hab, lift_rel.inl hbc => LiftRel.inl <| trans hab hbc
   | _, _, _, lift_rel.inr hab, lift_rel.inr hbc => LiftRel.inr <| trans hab hbc
 #align sum.lift_rel.trans Sum.LiftRel.trans
+-/
 
 instance [IsTrans α r] [IsTrans β s] : IsTrans (Sum α β) (LiftRel r s) :=
   ⟨fun _ _ _ => LiftRel.trans _ _⟩
@@ -121,53 +125,73 @@ instance [LE α] [LE β] : LE (Sum α β) :=
 instance [LT α] [LT β] : LT (Sum α β) :=
   ⟨LiftRel (· < ·) (· < ·)⟩
 
+#print Sum.le_def /-
 theorem le_def [LE α] [LE β] {a b : Sum α β} : a ≤ b ↔ LiftRel (· ≤ ·) (· ≤ ·) a b :=
   Iff.rfl
 #align sum.le_def Sum.le_def
+-/
 
+#print Sum.lt_def /-
 theorem lt_def [LT α] [LT β] {a b : Sum α β} : a < b ↔ LiftRel (· < ·) (· < ·) a b :=
   Iff.rfl
 #align sum.lt_def Sum.lt_def
+-/
 
+#print Sum.inl_le_inl_iff /-
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : (inl a : Sum α β) ≤ inl b ↔ a ≤ b :=
   liftRel_inl_inl
 #align sum.inl_le_inl_iff Sum.inl_le_inl_iff
+-/
 
+#print Sum.inr_le_inr_iff /-
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : (inr a : Sum α β) ≤ inr b ↔ a ≤ b :=
   liftRel_inr_inr
 #align sum.inr_le_inr_iff Sum.inr_le_inr_iff
+-/
 
+#print Sum.inl_lt_inl_iff /-
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : (inl a : Sum α β) < inl b ↔ a < b :=
   liftRel_inl_inl
 #align sum.inl_lt_inl_iff Sum.inl_lt_inl_iff
+-/
 
+#print Sum.inr_lt_inr_iff /-
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : (inr a : Sum α β) < inr b ↔ a < b :=
   liftRel_inr_inr
 #align sum.inr_lt_inr_iff Sum.inr_lt_inr_iff
+-/
 
+#print Sum.not_inl_le_inr /-
 @[simp]
 theorem not_inl_le_inr [LE α] [LE β] {a : α} {b : β} : ¬inl b ≤ inr a :=
   not_liftRel_inl_inr
 #align sum.not_inl_le_inr Sum.not_inl_le_inr
+-/
 
+#print Sum.not_inl_lt_inr /-
 @[simp]
 theorem not_inl_lt_inr [LT α] [LT β] {a : α} {b : β} : ¬inl b < inr a :=
   not_liftRel_inl_inr
 #align sum.not_inl_lt_inr Sum.not_inl_lt_inr
+-/
 
+#print Sum.not_inr_le_inl /-
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬inr b ≤ inl a :=
   not_liftRel_inr_inl
 #align sum.not_inr_le_inl Sum.not_inr_le_inl
+-/
 
+#print Sum.not_inr_lt_inl /-
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬inr b < inl a :=
   not_liftRel_inr_inl
 #align sum.not_inr_lt_inl Sum.not_inr_lt_inl
+-/
 
 section Preorder
 
@@ -187,17 +211,25 @@ instance : Preorder (Sum α β) :=
         · exact lift_rel.inl (hab.lt_of_not_le fun h => hba <| lift_rel.inl h)
         · exact lift_rel.inr (hab.lt_of_not_le fun h => hba <| lift_rel.inr h) }
 
+#print Sum.inl_mono /-
 theorem inl_mono : Monotone (inl : α → Sum α β) := fun a b => LiftRel.inl
 #align sum.inl_mono Sum.inl_mono
+-/
 
+#print Sum.inr_mono /-
 theorem inr_mono : Monotone (inr : β → Sum α β) := fun a b => LiftRel.inr
 #align sum.inr_mono Sum.inr_mono
+-/
 
+#print Sum.inl_strictMono /-
 theorem inl_strictMono : StrictMono (inl : α → Sum α β) := fun a b => LiftRel.inl
 #align sum.inl_strict_mono Sum.inl_strictMono
+-/
 
+#print Sum.inr_strictMono /-
 theorem inr_strictMono : StrictMono (inr : β → Sum α β) := fun a b => LiftRel.inr
 #align sum.inr_strict_mono Sum.inr_strictMono
+-/
 
 end Preorder
 
@@ -230,6 +262,7 @@ instance noMaxOrder [LT α] [LT β] [NoMaxOrder α] [NoMaxOrder β] : NoMaxOrder
 #align sum.no_max_order Sum.noMaxOrder
 -/
 
+#print Sum.noMinOrder_iff /-
 @[simp]
 theorem noMinOrder_iff [LT α] [LT β] : NoMinOrder (Sum α β) ↔ NoMinOrder α ∧ NoMinOrder β :=
   ⟨fun _ =>
@@ -243,7 +276,9 @@ theorem noMinOrder_iff [LT α] [LT β] : NoMinOrder (Sum α β) ↔ NoMinOrder 
         · exact ⟨b, inr_lt_inr_iff.1 h⟩⟩⟩,
     fun h => @Sum.noMinOrder _ _ _ _ h.1 h.2⟩
 #align sum.no_min_order_iff Sum.noMinOrder_iff
+-/
 
+#print Sum.noMaxOrder_iff /-
 @[simp]
 theorem noMaxOrder_iff [LT α] [LT β] : NoMaxOrder (Sum α β) ↔ NoMaxOrder α ∧ NoMaxOrder β :=
   ⟨fun _ =>
@@ -257,6 +292,7 @@ theorem noMaxOrder_iff [LT α] [LT β] : NoMaxOrder (Sum α β) ↔ NoMaxOrder 
         · exact ⟨b, inr_lt_inr_iff.1 h⟩⟩⟩,
     fun h => @Sum.noMaxOrder _ _ _ _ h.1 h.2⟩
 #align sum.no_max_order_iff Sum.noMaxOrder_iff
+-/
 
 #print Sum.denselyOrdered /-
 instance denselyOrdered [LT α] [LT β] [DenselyOrdered α] [DenselyOrdered β] :
@@ -272,6 +308,7 @@ instance denselyOrdered [LT α] [LT β] [DenselyOrdered α] [DenselyOrdered β]
 #align sum.densely_ordered Sum.denselyOrdered
 -/
 
+#print Sum.denselyOrdered_iff /-
 @[simp]
 theorem denselyOrdered_iff [LT α] [LT β] :
     DenselyOrdered (Sum α β) ↔ DenselyOrdered α ∧ DenselyOrdered β :=
@@ -288,16 +325,21 @@ theorem denselyOrdered_iff [LT α] [LT β] :
         · exact ⟨c, inr_lt_inr_iff.1 ha, inr_lt_inr_iff.1 hb⟩⟩⟩,
     fun h => @Sum.denselyOrdered _ _ _ _ h.1 h.2⟩
 #align sum.densely_ordered_iff Sum.denselyOrdered_iff
+-/
 
+#print Sum.swap_le_swap_iff /-
 @[simp]
 theorem swap_le_swap_iff [LE α] [LE β] {a b : Sum α β} : a.symm ≤ b.symm ↔ a ≤ b :=
   liftRel_swap_iff
 #align sum.swap_le_swap_iff Sum.swap_le_swap_iff
+-/
 
+#print Sum.swap_lt_swap_iff /-
 @[simp]
 theorem swap_lt_swap_iff [LT α] [LT β] {a b : Sum α β} : a.symm < b.symm ↔ a < b :=
   liftRel_swap_iff
 #align sum.swap_lt_swap_iff Sum.swap_lt_swap_iff
+-/
 
 end Disjoint
 
@@ -306,7 +348,6 @@ end Disjoint
 
 namespace Lex
 
--- mathport name: «expr ⊕ₗ »
 notation:30 α " ⊕ₗ " β:29 => Lex (Sum α β)
 
 #print Sum.inlₗ /-
@@ -340,65 +381,89 @@ instance LT [LT α] [LT β] : LT (α ⊕ₗ β) :=
 #align sum.lex.has_lt Sum.Lex.LT
 -/
 
+#print Sum.Lex.toLex_le_toLex /-
 @[simp]
 theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
     toLex a ≤ toLex b ↔ Lex (· ≤ ·) (· ≤ ·) a b :=
   Iff.rfl
 #align sum.lex.to_lex_le_to_lex Sum.Lex.toLex_le_toLex
+-/
 
+#print Sum.Lex.toLex_lt_toLex /-
 @[simp]
 theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
     toLex a < toLex b ↔ Lex (· < ·) (· < ·) a b :=
   Iff.rfl
 #align sum.lex.to_lex_lt_to_lex Sum.Lex.toLex_lt_toLex
+-/
 
+#print Sum.Lex.le_def /-
 theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·) (· ≤ ·) (ofLex a) (ofLex b) :=
   Iff.rfl
 #align sum.lex.le_def Sum.Lex.le_def
+-/
 
+#print Sum.Lex.lt_def /-
 theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (· < ·) (ofLex a) (ofLex b) :=
   Iff.rfl
 #align sum.lex.lt_def Sum.Lex.lt_def
+-/
 
+#print Sum.Lex.inl_le_inl_iff /-
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) ≤ toLex (inl b) ↔ a ≤ b :=
   lex_inl_inl
 #align sum.lex.inl_le_inl_iff Sum.Lex.inl_le_inl_iff
+-/
 
+#print Sum.Lex.inr_le_inr_iff /-
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) ≤ toLex (inr b) ↔ a ≤ b :=
   lex_inr_inr
 #align sum.lex.inr_le_inr_iff Sum.Lex.inr_le_inr_iff
+-/
 
+#print Sum.Lex.inl_lt_inl_iff /-
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) < toLex (inl b) ↔ a < b :=
   lex_inl_inl
 #align sum.lex.inl_lt_inl_iff Sum.Lex.inl_lt_inl_iff
+-/
 
+#print Sum.Lex.inr_lt_inr_iff /-
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β) < toLex (inr b) ↔ a < b :=
   lex_inr_inr
 #align sum.lex.inr_lt_inr_iff Sum.Lex.inr_lt_inr_iff
+-/
 
+#print Sum.Lex.inl_le_inr /-
 @[simp]
 theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (inr b) :=
   Lex.sep _ _
 #align sum.lex.inl_le_inr Sum.Lex.inl_le_inr
+-/
 
+#print Sum.Lex.inl_lt_inr /-
 @[simp]
 theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (inr b) :=
   Lex.sep _ _
 #align sum.lex.inl_lt_inr Sum.Lex.inl_lt_inr
+-/
 
+#print Sum.Lex.not_inr_le_inl /-
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ toLex (inl a) :=
   lex_inr_inl
 #align sum.lex.not_inr_le_inl Sum.Lex.not_inr_le_inl
+-/
 
+#print Sum.Lex.not_inr_lt_inl /-
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬toLex (inr b) < toLex (inl a) :=
   lex_inr_inl
 #align sum.lex.not_inr_lt_inl Sum.Lex.not_inr_lt_inl
+-/
 
 section Preorder
 
@@ -423,15 +488,21 @@ instance preorder : Preorder (α ⊕ₗ β) :=
 #align sum.lex.preorder Sum.Lex.preorder
 -/
 
+#print Sum.Lex.toLex_mono /-
 theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_mono Sum.Lex.toLex_mono
+-/
 
+#print Sum.Lex.toLex_strictMono /-
 theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMono
+-/
 
+#print Sum.Lex.inl_mono /-
 theorem inl_mono : Monotone (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_mono.comp inl_mono
 #align sum.lex.inl_mono Sum.Lex.inl_mono
+-/
 
 #print Sum.Lex.inr_mono /-
 theorem inr_mono : Monotone (toLex ∘ inr : β → α ⊕ₗ β) :=
@@ -439,9 +510,11 @@ theorem inr_mono : Monotone (toLex ∘ inr : β → α ⊕ₗ β) :=
 #align sum.lex.inr_mono Sum.Lex.inr_mono
 -/
 
+#print Sum.Lex.inl_strictMono /-
 theorem inl_strictMono : StrictMono (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_strictMono.comp inl_strictMono
 #align sum.lex.inl_strict_mono Sum.Lex.inl_strictMono
+-/
 
 #print Sum.Lex.inr_strictMono /-
 theorem inr_strictMono : StrictMono (toLex ∘ inr : β → α ⊕ₗ β) :=
@@ -478,10 +551,12 @@ instance orderBot [LE α] [OrderBot α] [LE β] : OrderBot (α ⊕ₗ β)
 #align sum.lex.order_bot Sum.Lex.orderBot
 -/
 
+#print Sum.Lex.inl_bot /-
 @[simp]
 theorem inl_bot [LE α] [OrderBot α] [LE β] : toLex (inl ⊥ : Sum α β) = ⊥ :=
   rfl
 #align sum.lex.inl_bot Sum.Lex.inl_bot
+-/
 
 #print Sum.Lex.orderTop /-
 /-- The lexicographical top of a sum is the top of the right component. -/
@@ -495,10 +570,12 @@ instance orderTop [LE α] [LE β] [OrderTop β] : OrderTop (α ⊕ₗ β)
 #align sum.lex.order_top Sum.Lex.orderTop
 -/
 
+#print Sum.Lex.inr_top /-
 @[simp]
 theorem inr_top [LE α] [LE β] [OrderTop β] : toLex (inr ⊤ : Sum α β) = ⊤ :=
   rfl
 #align sum.lex.inr_top Sum.Lex.inr_top
+-/
 
 #print Sum.Lex.boundedOrder /-
 instance boundedOrder [LE α] [LE β] [OrderBot α] [OrderTop β] : BoundedOrder (α ⊕ₗ β) :=
@@ -609,11 +686,13 @@ def sumComm (α β : Type _) [LE α] [LE β] : Sum α β ≃o Sum β α :=
 #align order_iso.sum_comm OrderIso.sumComm
 -/
 
+#print OrderIso.sumComm_symm /-
 @[simp]
 theorem sumComm_symm (α β : Type _) [LE α] [LE β] :
     (OrderIso.sumComm α β).symm = OrderIso.sumComm β α :=
   rfl
 #align order_iso.sum_comm_symm OrderIso.sumComm_symm
+-/
 
 #print OrderIso.sumAssoc /-
 /-- `equiv.sum_assoc` promoted to an order isomorphism. -/
@@ -622,35 +701,47 @@ def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ 
 #align order_iso.sum_assoc OrderIso.sumAssoc
 -/
 
+#print OrderIso.sumAssoc_apply_inl_inl /-
 @[simp]
 theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
   rfl
 #align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inl
+-/
 
+#print OrderIso.sumAssoc_apply_inl_inr /-
 @[simp]
 theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :=
   rfl
 #align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inr
+-/
 
+#print OrderIso.sumAssoc_apply_inr /-
 @[simp]
 theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
   rfl
 #align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inr
+-/
 
+#print OrderIso.sumAssoc_symm_apply_inl /-
 @[simp]
 theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a) :=
   rfl
 #align order_iso.sum_assoc_symm_apply_inl OrderIso.sumAssoc_symm_apply_inl
+-/
 
+#print OrderIso.sumAssoc_symm_apply_inr_inl /-
 @[simp]
 theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
   rfl
 #align order_iso.sum_assoc_symm_apply_inr_inl OrderIso.sumAssoc_symm_apply_inr_inl
+-/
 
+#print OrderIso.sumAssoc_symm_apply_inr_inr /-
 @[simp]
 theorem sumAssoc_symm_apply_inr_inr : (sumAssoc α β γ).symm (inr (inr c)) = inr c :=
   rfl
 #align order_iso.sum_assoc_symm_apply_inr_inr OrderIso.sumAssoc_symm_apply_inr_inr
+-/
 
 #print OrderIso.sumDualDistrib /-
 /-- `order_dual` is distributive over `⊕` up to an order isomorphism. -/
@@ -667,25 +758,33 @@ def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum
 #align order_iso.sum_dual_distrib OrderIso.sumDualDistrib
 -/
 
+#print OrderIso.sumDualDistrib_inl /-
 @[simp]
 theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual a) :=
   rfl
 #align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inl
+-/
 
+#print OrderIso.sumDualDistrib_inr /-
 @[simp]
 theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual b) :=
   rfl
 #align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inr
+-/
 
+#print OrderIso.sumDualDistrib_symm_inl /-
 @[simp]
 theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) = toDual (inl a) :=
   rfl
 #align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inl
+-/
 
+#print OrderIso.sumDualDistrib_symm_inr /-
 @[simp]
 theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) = toDual (inr b) :=
   rfl
 #align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inr
+-/
 
 #print OrderIso.sumLexAssoc /-
 /-- `equiv.sum_assoc` promoted to an order isomorphism. -/
@@ -711,38 +810,50 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 #align order_iso.sum_lex_assoc OrderIso.sumLexAssoc
 -/
 
+#print OrderIso.sumLexAssoc_apply_inl_inl /-
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
     sumLexAssoc α β γ (toLex <| inl <| toLex <| inl a) = toLex (inl a) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inl
+-/
 
+#print OrderIso.sumLexAssoc_apply_inl_inr /-
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
     sumLexAssoc α β γ (toLex <| inl <| toLex <| inr b) = toLex (inr <| toLex <| inl b) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inr
+-/
 
+#print OrderIso.sumLexAssoc_apply_inr /-
 @[simp]
 theorem sumLexAssoc_apply_inr :
     sumLexAssoc α β γ (toLex <| inr c) = toLex (inr <| toLex <| inr c) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inr
+-/
 
+#print OrderIso.sumLexAssoc_symm_apply_inl /-
 @[simp]
 theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (inl a) :=
   rfl
 #align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inl
+-/
 
+#print OrderIso.sumLexAssoc_symm_apply_inr_inl /-
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
   rfl
 #align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inl
+-/
 
+#print OrderIso.sumLexAssoc_symm_apply_inr_inr /-
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c)) = inr c :=
   rfl
 #align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inr
+-/
 
 #print OrderIso.sumLexDualAntidistrib /-
 /-- `order_dual` is antidistributive over `⊕ₗ` up to an order isomorphism. -/
@@ -763,27 +874,35 @@ def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒ
 #align order_iso.sum_lex_dual_antidistrib OrderIso.sumLexDualAntidistrib
 -/
 
+#print OrderIso.sumLexDualAntidistrib_inl /-
 @[simp]
 theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a)) = inr (toDual a) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inl
+-/
 
+#print OrderIso.sumLexDualAntidistrib_inr /-
 @[simp]
 theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b)) = inl (toDual b) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inr
+-/
 
+#print OrderIso.sumLexDualAntidistrib_symm_inl /-
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
     (sumLexDualAntidistrib α β).symm (inl (toDual b)) = toDual (inr b) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inl
+-/
 
+#print OrderIso.sumLexDualAntidistrib_symm_inr /-
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
     (sumLexDualAntidistrib α β).symm (inr (toDual a)) = toDual (inl a) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inr
+-/
 
 end OrderIso
 
@@ -791,65 +910,85 @@ variable [LE α]
 
 namespace WithBot
 
+#print WithBot.orderIsoPUnitSumLex /-
 /-- `with_bot α` is order-isomorphic to `punit ⊕ₗ α`, by sending `⊥` to `punit.star` and `↑a` to
 `a`. -/
 def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
   ⟨(Equiv.optionEquivSumPUnit α).trans <| (Equiv.sumComm _ _).trans toLex, by
     rintro (a | _) (b | _) <;> simp <;> exact not_coe_le_bot _⟩
 #align with_bot.order_iso_punit_sum_lex WithBot.orderIsoPUnitSumLex
+-/
 
+#print WithBot.orderIsoPUnitSumLex_bot /-
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_bot
+-/
 
+#print WithBot.orderIsoPUnitSumLex_toLex /-
 @[simp]
 theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (inr a) :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLex
+-/
 
+#print WithBot.orderIsoPUnitSumLex_symm_inl /-
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
     (@orderIsoPUnitSumLex α _).symm (toLex <| inl x) = ⊥ :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inl
+-/
 
+#print WithBot.orderIsoPUnitSumLex_symm_inr /-
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inr (a : α) : orderIsoPUnitSumLex.symm (toLex <| inr a) = a :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inr
+-/
 
 end WithBot
 
 namespace WithTop
 
+#print WithTop.orderIsoSumLexPUnit /-
 /-- `with_top α` is order-isomorphic to `α ⊕ₗ punit`, by sending `⊤` to `punit.star` and `↑a` to
 `a`. -/
 def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
   ⟨(Equiv.optionEquivSumPUnit α).trans toLex, by
     rintro (a | _) (b | _) <;> simp <;> exact not_top_le_coe _⟩
 #align with_top.order_iso_sum_lex_punit WithTop.orderIsoSumLexPUnit
+-/
 
+#print WithTop.orderIsoSumLexPUnit_top /-
 @[simp]
 theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUnit.unit) :=
   rfl
 #align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_top
+-/
 
+#print WithTop.orderIsoSumLexPUnit_toLex /-
 @[simp]
 theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (inl a) :=
   rfl
 #align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLex
+-/
 
+#print WithTop.orderIsoSumLexPUnit_symm_inr /-
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
     (@orderIsoSumLexPUnit α _).symm (toLex <| inr x) = ⊤ :=
   rfl
 #align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inr
+-/
 
+#print WithTop.orderIsoSumLexPUnit_symm_inl /-
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inl (a : α) : orderIsoSumLexPUnit.symm (toLex <| inl a) = a :=
   rfl
 #align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inl
+-/
 
 end WithTop
 
Diff
@@ -76,7 +76,7 @@ section Lex
 variable (r : α → α → Prop) (s : β → β → Prop)
 
 instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (Lex r s) :=
-  ⟨by rintro (a | a); exacts[lex.inl (refl _), lex.inr (refl _)]⟩
+  ⟨by rintro (a | a); exacts [lex.inl (refl _), lex.inr (refl _)]⟩
 
 instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
   ⟨by rintro _ (⟨h⟩ | ⟨h⟩) <;> exact irrefl _ h⟩
@@ -84,7 +84,7 @@ instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
 instance [IsTrans α r] [IsTrans β s] : IsTrans (Sum α β) (Lex r s) :=
   ⟨by
     rintro _ _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hbc⟩ | ⟨hbc⟩)
-    exacts[lex.inl (trans hab hbc), lex.sep _ _, lex.inr (trans hab hbc), lex.sep _ _]⟩
+    exacts [lex.inl (trans hab hbc), lex.sep _ _, lex.inr (trans hab hbc), lex.sep _ _]⟩
 
 instance [IsAntisymm α r] [IsAntisymm β s] : IsAntisymm (Sum α β) (Lex r s) :=
   ⟨by rintro _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hba⟩ | ⟨hba⟩) <;> rw [antisymm hab hba]⟩
Diff
@@ -44,12 +44,6 @@ section LiftRel
 
 variable (r : α → α → Prop) (s : β → β → Prop)
 
-/- warning: sum.lift_rel.refl -> Sum.LiftRel.refl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} (r : α -> α -> Prop) (s : β -> β -> Prop) [_inst_1 : IsRefl.{u1} α r] [_inst_2 : IsRefl.{u2} β s] (x : Sum.{u1, u2} α β), Sum.LiftRel.{u1, u2, u1, u2} α β α β r s x x
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} (r : α -> α -> Prop) (s : β -> β -> Prop) [_inst_1 : IsRefl.{u2} α r] [_inst_2 : IsRefl.{u1} β s] (x : Sum.{u2, u1} α β), Sum.LiftRel.{u2, u1, u2, u1} α β α β r s x x
-Case conversion may be inaccurate. Consider using '#align sum.lift_rel.refl Sum.LiftRel.reflₓ'. -/
 @[refl]
 theorem LiftRel.refl [IsRefl α r] [IsRefl β s] : ∀ x, LiftRel r s x x
   | inl a => LiftRel.inl (refl _)
@@ -62,12 +56,6 @@ instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (LiftRel r s) :=
 instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (LiftRel r s) :=
   ⟨by rintro _ (⟨h⟩ | ⟨h⟩) <;> exact irrefl _ h⟩
 
-/- warning: sum.lift_rel.trans -> Sum.LiftRel.trans is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} (r : α -> α -> Prop) (s : β -> β -> Prop) [_inst_1 : IsTrans.{u1} α r] [_inst_2 : IsTrans.{u2} β s] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β} {c : Sum.{u1, u2} α β}, (Sum.LiftRel.{u1, u2, u1, u2} α β α β r s a b) -> (Sum.LiftRel.{u1, u2, u1, u2} α β α β r s b c) -> (Sum.LiftRel.{u1, u2, u1, u2} α β α β r s a c)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} (r : α -> α -> Prop) (s : β -> β -> Prop) [_inst_1 : IsTrans.{u2} α r] [_inst_2 : IsTrans.{u1} β s] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β} {c : Sum.{u2, u1} α β}, (Sum.LiftRel.{u2, u1, u2, u1} α β α β r s a b) -> (Sum.LiftRel.{u2, u1, u2, u1} α β α β r s b c) -> (Sum.LiftRel.{u2, u1, u2, u1} α β α β r s a c)
-Case conversion may be inaccurate. Consider using '#align sum.lift_rel.trans Sum.LiftRel.transₓ'. -/
 @[trans]
 theorem LiftRel.trans [IsTrans α r] [IsTrans β s] :
     ∀ {a b c}, LiftRel r s a b → LiftRel r s b c → LiftRel r s a c
@@ -133,109 +121,49 @@ instance [LE α] [LE β] : LE (Sum α β) :=
 instance [LT α] [LT β] : LT (Sum α β) :=
   ⟨LiftRel (· < ·) (· < ·)⟩
 
-/- warning: sum.le_def -> Sum.le_def is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u1, u2, u1, u2} α β α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1590 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1592 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1590 x._@.Mathlib.Data.Sum.Order._hyg.1592) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1605 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1607 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1605 x._@.Mathlib.Data.Sum.Order._hyg.1607) a b)
-Case conversion may be inaccurate. Consider using '#align sum.le_def Sum.le_defₓ'. -/
 theorem le_def [LE α] [LE β] {a b : Sum α β} : a ≤ b ↔ LiftRel (· ≤ ·) (· ≤ ·) a b :=
   Iff.rfl
 #align sum.le_def Sum.le_def
 
-/- warning: sum.lt_def -> Sum.lt_def is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u1, u2, u1, u2} α β α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1650 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1652 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1650 x._@.Mathlib.Data.Sum.Order._hyg.1652) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1665 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1667 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1665 x._@.Mathlib.Data.Sum.Order._hyg.1667) a b)
-Case conversion may be inaccurate. Consider using '#align sum.lt_def Sum.lt_defₓ'. -/
 theorem lt_def [LT α] [LT β] {a b : Sum α β} : a < b ↔ LiftRel (· < ·) (· < ·) a b :=
   Iff.rfl
 #align sum.lt_def Sum.lt_def
 
-/- warning: sum.inl_le_inl_iff -> Sum.inl_le_inl_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : α}, Iff (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) (Sum.inl.{u1, u2} α β a) (Sum.inl.{u1, u2} α β b)) (LE.le.{u1} α _inst_1 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) (Sum.inl.{u2, u1} α β a) (Sum.inl.{u2, u1} α β b)) (LE.le.{u2} α _inst_1 a b)
-Case conversion may be inaccurate. Consider using '#align sum.inl_le_inl_iff Sum.inl_le_inl_iffₓ'. -/
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : (inl a : Sum α β) ≤ inl b ↔ a ≤ b :=
   liftRel_inl_inl
 #align sum.inl_le_inl_iff Sum.inl_le_inl_iff
 
-/- warning: sum.inr_le_inr_iff -> Sum.inr_le_inr_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : β} {b : β}, Iff (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β a) (Sum.inr.{u1, u2} α β b)) (LE.le.{u2} β _inst_2 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) (Sum.inr.{u2, u1} α β a) (Sum.inr.{u2, u1} α β b)) (LE.le.{u1} β _inst_2 a b)
-Case conversion may be inaccurate. Consider using '#align sum.inr_le_inr_iff Sum.inr_le_inr_iffₓ'. -/
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : (inr a : Sum α β) ≤ inr b ↔ a ≤ b :=
   liftRel_inr_inr
 #align sum.inr_le_inr_iff Sum.inr_le_inr_iff
 
-/- warning: sum.inl_lt_inl_iff -> Sum.inl_lt_inl_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : α}, Iff (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) (Sum.inl.{u1, u2} α β a) (Sum.inl.{u1, u2} α β b)) (LT.lt.{u1} α _inst_1 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) (Sum.inl.{u2, u1} α β a) (Sum.inl.{u2, u1} α β b)) (LT.lt.{u2} α _inst_1 a b)
-Case conversion may be inaccurate. Consider using '#align sum.inl_lt_inl_iff Sum.inl_lt_inl_iffₓ'. -/
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : (inl a : Sum α β) < inl b ↔ a < b :=
   liftRel_inl_inl
 #align sum.inl_lt_inl_iff Sum.inl_lt_inl_iff
 
-/- warning: sum.inr_lt_inr_iff -> Sum.inr_lt_inr_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : β} {b : β}, Iff (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β a) (Sum.inr.{u1, u2} α β b)) (LT.lt.{u2} β _inst_2 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) (Sum.inr.{u2, u1} α β a) (Sum.inr.{u2, u1} α β b)) (LT.lt.{u1} β _inst_2 a b)
-Case conversion may be inaccurate. Consider using '#align sum.inr_lt_inr_iff Sum.inr_lt_inr_iffₓ'. -/
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : (inr a : Sum α β) < inr b ↔ a < b :=
   liftRel_inr_inr
 #align sum.inr_lt_inr_iff Sum.inr_lt_inr_iff
 
-/- warning: sum.not_inl_le_inr -> Sum.not_inl_le_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} (Sum.{u2, u1} β α) (Sum.hasLe.{u2, u1} β α _inst_2 _inst_1) (Sum.inl.{u2, u1} β α b) (Sum.inr.{u2, u1} β α a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} (Sum.{u1, u2} β α) (Sum.instLESum.{u1, u2} β α _inst_2 _inst_1) (Sum.inl.{u1, u2} β α b) (Sum.inr.{u1, u2} β α a))
-Case conversion may be inaccurate. Consider using '#align sum.not_inl_le_inr Sum.not_inl_le_inrₓ'. -/
 @[simp]
 theorem not_inl_le_inr [LE α] [LE β] {a : α} {b : β} : ¬inl b ≤ inr a :=
   not_liftRel_inl_inr
 #align sum.not_inl_le_inr Sum.not_inl_le_inr
 
-/- warning: sum.not_inl_lt_inr -> Sum.not_inl_lt_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} (Sum.{u2, u1} β α) (Sum.hasLt.{u2, u1} β α _inst_2 _inst_1) (Sum.inl.{u2, u1} β α b) (Sum.inr.{u2, u1} β α a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} (Sum.{u1, u2} β α) (Sum.instLTSum.{u1, u2} β α _inst_2 _inst_1) (Sum.inl.{u1, u2} β α b) (Sum.inr.{u1, u2} β α a))
-Case conversion may be inaccurate. Consider using '#align sum.not_inl_lt_inr Sum.not_inl_lt_inrₓ'. -/
 @[simp]
 theorem not_inl_lt_inr [LT α] [LT β] {a : α} {b : β} : ¬inl b < inr a :=
   not_liftRel_inl_inr
 #align sum.not_inl_lt_inr Sum.not_inl_lt_inr
 
-/- warning: sum.not_inr_le_inl -> Sum.not_inr_le_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : β}, Not (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β b) (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) (Sum.inr.{u2, u1} α β b) (Sum.inl.{u2, u1} α β a))
-Case conversion may be inaccurate. Consider using '#align sum.not_inr_le_inl Sum.not_inr_le_inlₓ'. -/
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬inr b ≤ inl a :=
   not_liftRel_inr_inl
 #align sum.not_inr_le_inl Sum.not_inr_le_inl
 
-/- warning: sum.not_inr_lt_inl -> Sum.not_inr_lt_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : β}, Not (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β b) (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) (Sum.inr.{u2, u1} α β b) (Sum.inl.{u2, u1} α β a))
-Case conversion may be inaccurate. Consider using '#align sum.not_inr_lt_inl Sum.not_inr_lt_inlₓ'. -/
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬inr b < inl a :=
   not_liftRel_inr_inl
@@ -259,39 +187,15 @@ instance : Preorder (Sum α β) :=
         · exact lift_rel.inl (hab.lt_of_not_le fun h => hba <| lift_rel.inl h)
         · exact lift_rel.inr (hab.lt_of_not_le fun h => hba <| lift_rel.inr h) }
 
-/- warning: sum.inl_mono -> Sum.inl_mono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u1, max u1 u2} α (Sum.{u1, u2} α β) _inst_1 (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.inl.{u1, u2} α β)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Sum.{u2, u1} α β) _inst_1 (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.inl.{u2, u1} α β)
-Case conversion may be inaccurate. Consider using '#align sum.inl_mono Sum.inl_monoₓ'. -/
 theorem inl_mono : Monotone (inl : α → Sum α β) := fun a b => LiftRel.inl
 #align sum.inl_mono Sum.inl_mono
 
-/- warning: sum.inr_mono -> Sum.inr_mono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u2, max u1 u2} β (Sum.{u1, u2} α β) _inst_2 (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β)
-but is expected to have type
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u2, max u1 u2} β (Sum.{u1, u2} α β) _inst_2 (Sum.instPreorderSum.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β)
-Case conversion may be inaccurate. Consider using '#align sum.inr_mono Sum.inr_monoₓ'. -/
 theorem inr_mono : Monotone (inr : β → Sum α β) := fun a b => LiftRel.inr
 #align sum.inr_mono Sum.inr_mono
 
-/- warning: sum.inl_strict_mono -> Sum.inl_strictMono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u1, max u1 u2} α (Sum.{u1, u2} α β) _inst_1 (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.inl.{u1, u2} α β)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Sum.{u2, u1} α β) _inst_1 (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.inl.{u2, u1} α β)
-Case conversion may be inaccurate. Consider using '#align sum.inl_strict_mono Sum.inl_strictMonoₓ'. -/
 theorem inl_strictMono : StrictMono (inl : α → Sum α β) := fun a b => LiftRel.inl
 #align sum.inl_strict_mono Sum.inl_strictMono
 
-/- warning: sum.inr_strict_mono -> Sum.inr_strictMono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u2, max u1 u2} β (Sum.{u1, u2} α β) _inst_2 (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β)
-but is expected to have type
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u2, max u1 u2} β (Sum.{u1, u2} α β) _inst_2 (Sum.instPreorderSum.{u1, u2} α β _inst_1 _inst_2) (Sum.inr.{u1, u2} α β)
-Case conversion may be inaccurate. Consider using '#align sum.inr_strict_mono Sum.inr_strictMonoₓ'. -/
 theorem inr_strictMono : StrictMono (inr : β → Sum α β) := fun a b => LiftRel.inr
 #align sum.inr_strict_mono Sum.inr_strictMono
 
@@ -326,12 +230,6 @@ instance noMaxOrder [LT α] [LT β] [NoMaxOrder α] [NoMaxOrder β] : NoMaxOrder
 #align sum.no_max_order Sum.noMaxOrder
 -/
 
-/- warning: sum.no_min_order_iff -> Sum.noMinOrder_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β], Iff (NoMinOrder.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2)) (And (NoMinOrder.{u1} α _inst_1) (NoMinOrder.{u2} β _inst_2))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β], Iff (NoMinOrder.{max u1 u2} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2)) (And (NoMinOrder.{u2} α _inst_1) (NoMinOrder.{u1} β _inst_2))
-Case conversion may be inaccurate. Consider using '#align sum.no_min_order_iff Sum.noMinOrder_iffₓ'. -/
 @[simp]
 theorem noMinOrder_iff [LT α] [LT β] : NoMinOrder (Sum α β) ↔ NoMinOrder α ∧ NoMinOrder β :=
   ⟨fun _ =>
@@ -346,12 +244,6 @@ theorem noMinOrder_iff [LT α] [LT β] : NoMinOrder (Sum α β) ↔ NoMinOrder 
     fun h => @Sum.noMinOrder _ _ _ _ h.1 h.2⟩
 #align sum.no_min_order_iff Sum.noMinOrder_iff
 
-/- warning: sum.no_max_order_iff -> Sum.noMaxOrder_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β], Iff (NoMaxOrder.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2)) (And (NoMaxOrder.{u1} α _inst_1) (NoMaxOrder.{u2} β _inst_2))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β], Iff (NoMaxOrder.{max u1 u2} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2)) (And (NoMaxOrder.{u2} α _inst_1) (NoMaxOrder.{u1} β _inst_2))
-Case conversion may be inaccurate. Consider using '#align sum.no_max_order_iff Sum.noMaxOrder_iffₓ'. -/
 @[simp]
 theorem noMaxOrder_iff [LT α] [LT β] : NoMaxOrder (Sum α β) ↔ NoMaxOrder α ∧ NoMaxOrder β :=
   ⟨fun _ =>
@@ -380,12 +272,6 @@ instance denselyOrdered [LT α] [LT β] [DenselyOrdered α] [DenselyOrdered β]
 #align sum.densely_ordered Sum.denselyOrdered
 -/
 
-/- warning: sum.densely_ordered_iff -> Sum.denselyOrdered_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β], Iff (DenselyOrdered.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2)) (And (DenselyOrdered.{u1} α _inst_1) (DenselyOrdered.{u2} β _inst_2))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β], Iff (DenselyOrdered.{max u1 u2} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2)) (And (DenselyOrdered.{u2} α _inst_1) (DenselyOrdered.{u1} β _inst_2))
-Case conversion may be inaccurate. Consider using '#align sum.densely_ordered_iff Sum.denselyOrdered_iffₓ'. -/
 @[simp]
 theorem denselyOrdered_iff [LT α] [LT β] :
     DenselyOrdered (Sum α β) ↔ DenselyOrdered α ∧ DenselyOrdered β :=
@@ -403,23 +289,11 @@ theorem denselyOrdered_iff [LT α] [LT β] :
     fun h => @Sum.denselyOrdered _ _ _ _ h.1 h.2⟩
 #align sum.densely_ordered_iff Sum.denselyOrdered_iff
 
-/- warning: sum.swap_le_swap_iff -> Sum.swap_le_swap_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} β α) (Sum.hasLe.{u2, u1} β α _inst_2 _inst_1) (Sum.swap.{u1, u2} α β a) (Sum.swap.{u1, u2} α β b)) (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} (Sum.{u1, u2} β α) (Sum.instLESum.{u1, u2} β α _inst_2 _inst_1) (Sum.swap.{u2, u1} α β a) (Sum.swap.{u2, u1} α β b)) (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) a b)
-Case conversion may be inaccurate. Consider using '#align sum.swap_le_swap_iff Sum.swap_le_swap_iffₓ'. -/
 @[simp]
 theorem swap_le_swap_iff [LE α] [LE β] {a b : Sum α β} : a.symm ≤ b.symm ↔ a ≤ b :=
   liftRel_swap_iff
 #align sum.swap_le_swap_iff Sum.swap_le_swap_iff
 
-/- warning: sum.swap_lt_swap_iff -> Sum.swap_lt_swap_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} β α) (Sum.hasLt.{u2, u1} β α _inst_2 _inst_1) (Sum.swap.{u1, u2} α β a) (Sum.swap.{u1, u2} α β b)) (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} (Sum.{u1, u2} β α) (Sum.instLTSum.{u1, u2} β α _inst_2 _inst_1) (Sum.swap.{u2, u1} α β a) (Sum.swap.{u2, u1} α β b)) (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) a b)
-Case conversion may be inaccurate. Consider using '#align sum.swap_lt_swap_iff Sum.swap_lt_swap_iffₓ'. -/
 @[simp]
 theorem swap_lt_swap_iff [LT α] [LT β] {a b : Sum α β} : a.symm < b.symm ↔ a < b :=
   liftRel_swap_iff
@@ -466,133 +340,61 @@ instance LT [LT α] [LT β] : LT (α ⊕ₗ β) :=
 #align sum.lex.has_lt Sum.Lex.LT
 -/
 
-/- warning: sum.lex.to_lex_le_to_lex -> Sum.Lex.toLex_le_toLex is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4879 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4881 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4879 x._@.Mathlib.Data.Sum.Order._hyg.4881) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4894 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4896 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4894 x._@.Mathlib.Data.Sum.Order._hyg.4896) a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_le_to_lex Sum.Lex.toLex_le_toLexₓ'. -/
 @[simp]
 theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
     toLex a ≤ toLex b ↔ Lex (· ≤ ·) (· ≤ ·) a b :=
   Iff.rfl
 #align sum.lex.to_lex_le_to_lex Sum.Lex.toLex_le_toLex
 
-/- warning: sum.lex.to_lex_lt_to_lex -> Sum.Lex.toLex_lt_toLex is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4943 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4945 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4943 x._@.Mathlib.Data.Sum.Order._hyg.4945) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4958 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4960 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4958 x._@.Mathlib.Data.Sum.Order._hyg.4960) a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_lt_to_lex Sum.Lex.toLex_lt_toLexₓ'. -/
 @[simp]
 theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
     toLex a < toLex b ↔ Lex (· < ·) (· < ·) a b :=
   Iff.rfl
 #align sum.lex.to_lex_lt_to_lex Sum.Lex.toLex_lt_toLex
 
-/- warning: sum.lex.le_def -> Sum.Lex.le_def is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LE.le.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5013 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5015 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5013 x._@.Mathlib.Data.Sum.Order._hyg.5015) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5028 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5030 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5028 x._@.Mathlib.Data.Sum.Order._hyg.5030) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
-Case conversion may be inaccurate. Consider using '#align sum.lex.le_def Sum.Lex.le_defₓ'. -/
 theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·) (· ≤ ·) (ofLex a) (ofLex b) :=
   Iff.rfl
 #align sum.lex.le_def Sum.Lex.le_def
 
-/- warning: sum.lex.lt_def -> Sum.Lex.lt_def is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LT.lt.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5091 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5093 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5091 x._@.Mathlib.Data.Sum.Order._hyg.5093) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5106 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5108 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5106 x._@.Mathlib.Data.Sum.Order._hyg.5108) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
-Case conversion may be inaccurate. Consider using '#align sum.lex.lt_def Sum.Lex.lt_defₓ'. -/
 theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (· < ·) (ofLex a) (ofLex b) :=
   Iff.rfl
 #align sum.lex.lt_def Sum.Lex.lt_def
 
-/- warning: sum.lex.inl_le_inl_iff -> Sum.Lex.inl_le_inl_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : α}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LE.le.{u1} α _inst_1 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LE.le.{u2} α _inst_1 a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inl_iff Sum.Lex.inl_le_inl_iffₓ'. -/
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) ≤ toLex (inl b) ↔ a ≤ b :=
   lex_inl_inl
 #align sum.lex.inl_le_inl_iff Sum.Lex.inl_le_inl_iff
 
-/- warning: sum.lex.inr_le_inr_iff -> Sum.Lex.inr_le_inr_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : β} {b : β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LE.le.{u2} β _inst_2 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LE.le.{u1} β _inst_2 a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.inr_le_inr_iff Sum.Lex.inr_le_inr_iffₓ'. -/
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) ≤ toLex (inr b) ↔ a ≤ b :=
   lex_inr_inr
 #align sum.lex.inr_le_inr_iff Sum.Lex.inr_le_inr_iff
 
-/- warning: sum.lex.inl_lt_inl_iff -> Sum.Lex.inl_lt_inl_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : α}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LT.lt.{u1} α _inst_1 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LT.lt.{u2} α _inst_1 a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inl_iff Sum.Lex.inl_lt_inl_iffₓ'. -/
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) < toLex (inl b) ↔ a < b :=
   lex_inl_inl
 #align sum.lex.inl_lt_inl_iff Sum.Lex.inl_lt_inl_iff
 
-/- warning: sum.lex.inr_lt_inr_iff -> Sum.Lex.inr_lt_inr_iff is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : β} {b : β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LT.lt.{u2} β _inst_2 a b)
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LT.lt.{u1} β _inst_2 a b)
-Case conversion may be inaccurate. Consider using '#align sum.lex.inr_lt_inr_iff Sum.Lex.inr_lt_inr_iffₓ'. -/
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β) < toLex (inr b) ↔ a < b :=
   lex_inr_inr
 #align sum.lex.inr_lt_inr_iff Sum.Lex.inr_lt_inr_iff
 
-/- warning: sum.lex.inl_le_inr -> Sum.Lex.inl_le_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α) (b : β), LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α) (b : β), LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inr Sum.Lex.inl_le_inrₓ'. -/
 @[simp]
 theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (inr b) :=
   Lex.sep _ _
 #align sum.lex.inl_le_inr Sum.Lex.inl_le_inr
 
-/- warning: sum.lex.inl_lt_inr -> Sum.Lex.inl_lt_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] (a : α) (b : β), LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] (a : α) (b : β), LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inr Sum.Lex.inl_lt_inrₓ'. -/
 @[simp]
 theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (inr b) :=
   Lex.sep _ _
 #align sum.lex.inl_lt_inr Sum.Lex.inl_lt_inr
 
-/- warning: sum.lex.not_inr_le_inl -> Sum.Lex.not_inr_le_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : β}, Not (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_le_inl Sum.Lex.not_inr_le_inlₓ'. -/
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ toLex (inl a) :=
   lex_inr_inl
 #align sum.lex.not_inr_le_inl Sum.Lex.not_inr_le_inl
 
-/- warning: sum.lex.not_inr_lt_inl -> Sum.Lex.not_inr_lt_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : β}, Not (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_lt_inl Sum.Lex.not_inr_lt_inlₓ'. -/
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬toLex (inr b) < toLex (inl a) :=
   lex_inr_inl
@@ -621,30 +423,12 @@ instance preorder : Preorder (α ⊕ₗ β) :=
 #align sum.lex.preorder Sum.Lex.preorder
 -/
 
-/- warning: sum.lex.to_lex_mono -> Sum.Lex.toLex_mono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_mono Sum.Lex.toLex_monoₓ'. -/
 theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_mono Sum.Lex.toLex_mono
 
-/- warning: sum.lex.to_lex_strict_mono -> Sum.Lex.toLex_strictMono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMonoₓ'. -/
 theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMono
 
-/- warning: sum.lex.inl_mono -> Sum.Lex.inl_mono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_mono Sum.Lex.inl_monoₓ'. -/
 theorem inl_mono : Monotone (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_mono.comp inl_mono
 #align sum.lex.inl_mono Sum.Lex.inl_mono
@@ -655,12 +439,6 @@ theorem inr_mono : Monotone (toLex ∘ inr : β → α ⊕ₗ β) :=
 #align sum.lex.inr_mono Sum.Lex.inr_mono
 -/
 
-/- warning: sum.lex.inl_strict_mono -> Sum.Lex.inl_strictMono is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_strict_mono Sum.Lex.inl_strictMonoₓ'. -/
 theorem inl_strictMono : StrictMono (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_strictMono.comp inl_strictMono
 #align sum.lex.inl_strict_mono Sum.Lex.inl_strictMono
@@ -700,12 +478,6 @@ instance orderBot [LE α] [OrderBot α] [LE β] : OrderBot (α ⊕ₗ β)
 #align sum.lex.order_bot Sum.Lex.orderBot
 -/
 
-/- warning: sum.lex.inl_bot -> Sum.Lex.inl_bot is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : OrderBot.{u1} α _inst_1] [_inst_3 : LE.{u2} β], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β (Bot.bot.{u1} α (OrderBot.toHasBot.{u1} α _inst_1 _inst_2)))) (Bot.bot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderBot.toHasBot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : OrderBot.{u2} α _inst_1] [_inst_3 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Bot.bot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (OrderBot.toBot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inl_bot Sum.Lex.inl_botₓ'. -/
 @[simp]
 theorem inl_bot [LE α] [OrderBot α] [LE β] : toLex (inl ⊥ : Sum α β) = ⊥ :=
   rfl
@@ -723,12 +495,6 @@ instance orderTop [LE α] [LE β] [OrderTop β] : OrderTop (α ⊕ₗ β)
 #align sum.lex.order_top Sum.Lex.orderTop
 -/
 
-/- warning: sum.lex.inr_top -> Sum.Lex.inr_top is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : OrderTop.{u2} β _inst_2], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β (Top.top.{u2} β (OrderTop.toHasTop.{u2} β _inst_2 _inst_3)))) (Top.top.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderTop.toHasTop.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] [_inst_3 : OrderTop.{u1} β _inst_2], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Top.top.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (OrderTop.toTop.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
-Case conversion may be inaccurate. Consider using '#align sum.lex.inr_top Sum.Lex.inr_topₓ'. -/
 @[simp]
 theorem inr_top [LE α] [LE β] [OrderTop β] : toLex (inr ⊤ : Sum α β) = ⊤ :=
   rfl
@@ -843,12 +609,6 @@ def sumComm (α β : Type _) [LE α] [LE β] : Sum α β ≃o Sum β α :=
 #align order_iso.sum_comm OrderIso.sumComm
 -/
 
-/- warning: order_iso.sum_comm_symm -> OrderIso.sumComm_symm is a dubious translation:
-lean 3 declaration is
-  forall (α : Type.{u1}) (β : Type.{u2}) [_inst_4 : LE.{u1} α] [_inst_5 : LE.{u2} β], Eq.{max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Sum.{u2, u1} β α) (Sum.{u1, u2} α β) (Sum.hasLe.{u2, u1} β α _inst_5 _inst_4) (Sum.hasLe.{u1, u2} α β _inst_4 _inst_5)) (OrderIso.symm.{max u1 u2, max u2 u1} (Sum.{u1, u2} α β) (Sum.{u2, u1} β α) (Sum.hasLe.{u1, u2} α β _inst_4 _inst_5) (Sum.hasLe.{u2, u1} β α _inst_5 _inst_4) (OrderIso.sumComm.{u1, u2} α β _inst_4 _inst_5)) (OrderIso.sumComm.{u2, u1} β α _inst_5 _inst_4)
-but is expected to have type
-  forall (α : Type.{u2}) (β : Type.{u1}) [_inst_4 : LE.{u2} α] [_inst_5 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} (OrderIso.{max u2 u1, max u2 u1} (Sum.{u1, u2} β α) (Sum.{u2, u1} α β) (Sum.instLESum.{u1, u2} β α _inst_5 _inst_4) (Sum.instLESum.{u2, u1} α β _inst_4 _inst_5)) (OrderIso.symm.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Sum.{u1, u2} β α) (Sum.instLESum.{u2, u1} α β _inst_4 _inst_5) (Sum.instLESum.{u1, u2} β α _inst_5 _inst_4) (OrderIso.sumComm.{u2, u1} α β _inst_4 _inst_5)) (OrderIso.sumComm.{u1, u2} β α _inst_5 _inst_4)
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_comm_symm OrderIso.sumComm_symmₓ'. -/
 @[simp]
 theorem sumComm_symm (α β : Type _) [LE α] [LE β] :
     (OrderIso.sumComm α β).symm = OrderIso.sumComm β α :=
@@ -862,58 +622,31 @@ def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ 
 #align order_iso.sum_assoc OrderIso.sumAssoc
 -/
 
-/- warning: order_iso.sum_assoc_apply_inl_inl -> OrderIso.sumAssoc_apply_inl_inl is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
   rfl
 #align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inl
 
-/- warning: order_iso.sum_assoc_apply_inl_inr -> OrderIso.sumAssoc_apply_inl_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :=
   rfl
 #align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inr
 
-/- warning: order_iso.sum_assoc_apply_inr -> OrderIso.sumAssoc_apply_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
   rfl
 #align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inr
 
-/- warning: order_iso.sum_assoc_symm_apply_inl -> OrderIso.sumAssoc_symm_apply_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inl OrderIso.sumAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a) :=
   rfl
 #align order_iso.sum_assoc_symm_apply_inl OrderIso.sumAssoc_symm_apply_inl
 
-/- warning: order_iso.sum_assoc_symm_apply_inr_inl -> OrderIso.sumAssoc_symm_apply_inr_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inl OrderIso.sumAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
   rfl
 #align order_iso.sum_assoc_symm_apply_inr_inl OrderIso.sumAssoc_symm_apply_inr_inl
 
-/- warning: order_iso.sum_assoc_symm_apply_inr_inr -> OrderIso.sumAssoc_symm_apply_inr_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inr OrderIso.sumAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inr : (sumAssoc α β γ).symm (inr (inr c)) = inr c :=
   rfl
@@ -934,45 +667,21 @@ def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum
 #align order_iso.sum_dual_distrib OrderIso.sumDualDistrib
 -/
 
-/- warning: order_iso.sum_dual_distrib_inl -> OrderIso.sumDualDistrib_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual a) :=
   rfl
 #align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inl
 
-/- warning: order_iso.sum_dual_distrib_inr -> OrderIso.sumDualDistrib_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual b) :=
   rfl
 #align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inr
 
-/- warning: order_iso.sum_dual_distrib_symm_inl -> OrderIso.sumDualDistrib_symm_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) = toDual (inl a) :=
   rfl
 #align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inl
 
-/- warning: order_iso.sum_dual_distrib_symm_inr -> OrderIso.sumDualDistrib_symm_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) = toDual (inr b) :=
   rfl
@@ -1002,52 +711,34 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 #align order_iso.sum_lex_assoc OrderIso.sumLexAssoc
 -/
 
-/- warning: order_iso.sum_lex_assoc_apply_inl_inl -> OrderIso.sumLexAssoc_apply_inl_inl is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
     sumLexAssoc α β γ (toLex <| inl <| toLex <| inl a) = toLex (inl a) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inl
 
-/- warning: order_iso.sum_lex_assoc_apply_inl_inr -> OrderIso.sumLexAssoc_apply_inl_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
     sumLexAssoc α β γ (toLex <| inl <| toLex <| inr b) = toLex (inr <| toLex <| inl b) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inr
 
-/- warning: order_iso.sum_lex_assoc_apply_inr -> OrderIso.sumLexAssoc_apply_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inr :
     sumLexAssoc α β γ (toLex <| inr c) = toLex (inr <| toLex <| inr c) :=
   rfl
 #align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inr
 
-/- warning: order_iso.sum_lex_assoc_symm_apply_inl -> OrderIso.sumLexAssoc_symm_apply_inl is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (inl a) :=
   rfl
 #align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inl
 
-/- warning: order_iso.sum_lex_assoc_symm_apply_inr_inl -> OrderIso.sumLexAssoc_symm_apply_inr_inl is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
   rfl
 #align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inl
 
-/- warning: order_iso.sum_lex_assoc_symm_apply_inr_inr -> OrderIso.sumLexAssoc_symm_apply_inr_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c)) = inr c :=
   rfl
@@ -1072,40 +763,22 @@ def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒ
 #align order_iso.sum_lex_dual_antidistrib OrderIso.sumLexDualAntidistrib
 -/
 
-/- warning: order_iso.sum_lex_dual_antidistrib_inl -> OrderIso.sumLexDualAntidistrib_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a)) = inr (toDual a) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inl
 
-/- warning: order_iso.sum_lex_dual_antidistrib_inr -> OrderIso.sumLexDualAntidistrib_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b)) = inl (toDual b) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inr
 
-/- warning: order_iso.sum_lex_dual_antidistrib_symm_inl -> OrderIso.sumLexDualAntidistrib_symm_inl is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
     (sumLexDualAntidistrib α β).symm (inl (toDual b)) = toDual (inr b) :=
   rfl
 #align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inl
 
-/- warning: order_iso.sum_lex_dual_antidistrib_symm_inr -> OrderIso.sumLexDualAntidistrib_symm_inr is a dubious translation:
-<too large>
-Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
     (sumLexDualAntidistrib α β).symm (inr (toDual a)) = toDual (inl a) :=
@@ -1118,12 +791,6 @@ variable [LE α]
 
 namespace WithBot
 
-/- warning: with_bot.order_iso_punit_sum_lex -> WithBot.orderIsoPUnitSumLex is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)
-but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1)
-Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex WithBot.orderIsoPUnitSumLexₓ'. -/
 /-- `with_bot α` is order-isomorphic to `punit ⊕ₗ α`, by sending `⊥` to `punit.star` and `↑a` to
 `a`. -/
 def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
@@ -1131,46 +798,22 @@ def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
     rintro (a | _) (b | _) <;> simp <;> exact not_coe_le_bot _⟩
 #align with_bot.order_iso_punit_sum_lex WithBot.orderIsoPUnitSumLex
 
-/- warning: with_bot.order_iso_punit_sum_lex_bot -> WithBot.orderIsoPUnitSumLex_bot is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
-Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_botₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_bot
 
-/- warning: with_bot.order_iso_punit_sum_lex_coe -> WithBot.orderIsoPUnitSumLex_toLex is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
-Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLexₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (inr a) :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLex
 
-/- warning: with_bot.order_iso_punit_sum_lex_symm_inl -> WithBot.orderIsoPUnitSumLex_symm_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
-but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.bot.{u1} α))
-Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
     (@orderIsoPUnitSumLex α _).symm (toLex <| inl x) = ⊥ :=
   rfl
 #align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inl
 
-/- warning: with_bot.order_iso_punit_sum_lex_symm_inr -> WithBot.orderIsoPUnitSumLex_symm_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithBot.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
-Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inr (a : α) : orderIsoPUnitSumLex.symm (toLex <| inr a) = a :=
   rfl
@@ -1180,12 +823,6 @@ end WithBot
 
 namespace WithTop
 
-/- warning: with_top.order_iso_sum_lex_punit -> WithTop.orderIsoSumLexPUnit is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))
-but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u2 u1} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))
-Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit WithTop.orderIsoSumLexPUnitₓ'. -/
 /-- `with_top α` is order-isomorphic to `α ⊕ₗ punit`, by sending `⊤` to `punit.star` and `↑a` to
 `a`. -/
 def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
@@ -1193,46 +830,22 @@ def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
     rintro (a | _) (b | _) <;> simp <;> exact not_top_le_coe _⟩
 #align with_top.order_iso_sum_lex_punit WithTop.orderIsoSumLexPUnit
 
-/- warning: with_top.order_iso_sum_lex_punit_top -> WithTop.orderIsoSumLexPUnit_top is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
-Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_topₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUnit.unit) :=
   rfl
 #align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_top
 
-/- warning: with_top.order_iso_sum_lex_punit_coe -> WithTop.orderIsoSumLexPUnit_toLex is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
-Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLexₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (inl a) :=
   rfl
 #align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLex
 
-/- warning: with_top.order_iso_sum_lex_punit_symm_inr -> WithTop.orderIsoSumLexPUnit_symm_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
-but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.top.{u1} α))
-Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
     (@orderIsoSumLexPUnit α _).symm (toLex <| inr x) = ⊤ :=
   rfl
 #align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inr
 
-/- warning: with_top.order_iso_sum_lex_punit_symm_inl -> WithTop.orderIsoSumLexPUnit_symm_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
-but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithTop.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
-Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inl (a : α) : orderIsoSumLexPUnit.symm (toLex <| inl a) = a :=
   rfl
Diff
@@ -88,9 +88,7 @@ section Lex
 variable (r : α → α → Prop) (s : β → β → Prop)
 
 instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (Lex r s) :=
-  ⟨by
-    rintro (a | a)
-    exacts[lex.inl (refl _), lex.inr (refl _)]⟩
+  ⟨by rintro (a | a); exacts[lex.inl (refl _), lex.inr (refl _)]⟩
 
 instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
   ⟨by rintro _ (⟨h⟩ | ⟨h⟩) <;> exact irrefl _ h⟩
Diff
@@ -865,10 +865,7 @@ def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ 
 -/
 
 /- warning: order_iso.sum_assoc_apply_inl_inl -> OrderIso.sumAssoc_apply_inl_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
@@ -876,10 +873,7 @@ theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
 #align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inl
 
 /- warning: order_iso.sum_assoc_apply_inl_inr -> OrderIso.sumAssoc_apply_inl_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :=
@@ -887,10 +881,7 @@ theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :
 #align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inr
 
 /- warning: order_iso.sum_assoc_apply_inr -> OrderIso.sumAssoc_apply_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
@@ -1014,10 +1005,7 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 -/
 
 /- warning: order_iso.sum_lex_assoc_apply_inl_inl -> OrderIso.sumLexAssoc_apply_inl_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
@@ -1026,10 +1014,7 @@ theorem sumLexAssoc_apply_inl_inl :
 #align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inl
 
 /- warning: order_iso.sum_lex_assoc_apply_inl_inr -> OrderIso.sumLexAssoc_apply_inl_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
@@ -1038,10 +1023,7 @@ theorem sumLexAssoc_apply_inl_inr :
 #align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inr
 
 /- warning: order_iso.sum_lex_assoc_apply_inr -> OrderIso.sumLexAssoc_apply_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inr :
@@ -1050,10 +1032,7 @@ theorem sumLexAssoc_apply_inr :
 #align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inr
 
 /- warning: order_iso.sum_lex_assoc_symm_apply_inl -> OrderIso.sumLexAssoc_symm_apply_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (inl a) :=
@@ -1061,10 +1040,7 @@ theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (
 #align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inl
 
 /- warning: order_iso.sum_lex_assoc_symm_apply_inr_inl -> OrderIso.sumLexAssoc_symm_apply_inr_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
@@ -1072,10 +1048,7 @@ theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b
 #align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inl
 
 /- warning: order_iso.sum_lex_assoc_symm_apply_inr_inr -> OrderIso.sumLexAssoc_symm_apply_inr_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c)
-but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c)
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c)) = inr c :=
@@ -1124,10 +1097,7 @@ theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b))
 #align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inr
 
 /- warning: order_iso.sum_lex_dual_antidistrib_symm_inl -> OrderIso.sumLexDualAntidistrib_symm_inl is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
@@ -1136,10 +1106,7 @@ theorem sumLexDualAntidistrib_symm_inl :
 #align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inl
 
 /- warning: order_iso.sum_lex_dual_antidistrib_symm_inr -> OrderIso.sumLexDualAntidistrib_symm_inr is a dubious translation:
-lean 3 declaration is
-  forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
-but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+<too large>
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
Diff
@@ -139,7 +139,7 @@ instance [LT α] [LT β] : LT (Sum α β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u1, u2, u1, u2} α β α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1586 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1588 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1586 x._@.Mathlib.Data.Sum.Order._hyg.1588) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1601 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1603 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1601 x._@.Mathlib.Data.Sum.Order._hyg.1603) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1590 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1592 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1590 x._@.Mathlib.Data.Sum.Order._hyg.1592) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1605 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1607 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1605 x._@.Mathlib.Data.Sum.Order._hyg.1607) a b)
 Case conversion may be inaccurate. Consider using '#align sum.le_def Sum.le_defₓ'. -/
 theorem le_def [LE α] [LE β] {a b : Sum α β} : a ≤ b ↔ LiftRel (· ≤ ·) (· ≤ ·) a b :=
   Iff.rfl
@@ -149,7 +149,7 @@ theorem le_def [LE α] [LE β] {a b : Sum α β} : a ≤ b ↔ LiftRel (· ≤ 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLt.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u1, u2, u1, u2} α β α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1646 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1648 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1646 x._@.Mathlib.Data.Sum.Order._hyg.1648) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1661 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1663 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1661 x._@.Mathlib.Data.Sum.Order._hyg.1663) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLTSum.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.LiftRel.{u2, u1, u2, u1} α β α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.1650 : α) (x._@.Mathlib.Data.Sum.Order._hyg.1652 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.1650 x._@.Mathlib.Data.Sum.Order._hyg.1652) (fun (x._@.Mathlib.Data.Sum.Order._hyg.1665 : β) (x._@.Mathlib.Data.Sum.Order._hyg.1667 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.1665 x._@.Mathlib.Data.Sum.Order._hyg.1667) a b)
 Case conversion may be inaccurate. Consider using '#align sum.lt_def Sum.lt_defₓ'. -/
 theorem lt_def [LT α] [LT β] {a b : Sum α β} : a < b ↔ LiftRel (· < ·) (· < ·) a b :=
   Iff.rfl
@@ -472,7 +472,7 @@ instance LT [LT α] [LT β] : LT (α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4855 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4857 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4855 x._@.Mathlib.Data.Sum.Order._hyg.4857) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4870 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4872 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4870 x._@.Mathlib.Data.Sum.Order._hyg.4872) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4879 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4881 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4879 x._@.Mathlib.Data.Sum.Order._hyg.4881) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4894 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4896 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4894 x._@.Mathlib.Data.Sum.Order._hyg.4896) a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_le_to_lex Sum.Lex.toLex_le_toLexₓ'. -/
 @[simp]
 theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
@@ -484,7 +484,7 @@ theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4919 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4921 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4919 x._@.Mathlib.Data.Sum.Order._hyg.4921) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4934 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4936 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4934 x._@.Mathlib.Data.Sum.Order._hyg.4936) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4943 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4945 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4943 x._@.Mathlib.Data.Sum.Order._hyg.4945) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4958 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4960 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4958 x._@.Mathlib.Data.Sum.Order._hyg.4960) a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_lt_to_lex Sum.Lex.toLex_lt_toLexₓ'. -/
 @[simp]
 theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
@@ -496,7 +496,7 @@ theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LE.le.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4989 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4991 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4989 x._@.Mathlib.Data.Sum.Order._hyg.4991) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5004 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5006 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5004 x._@.Mathlib.Data.Sum.Order._hyg.5006) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LE.le.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5013 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5015 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5013 x._@.Mathlib.Data.Sum.Order._hyg.5015) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5028 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5030 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5028 x._@.Mathlib.Data.Sum.Order._hyg.5030) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.le_def Sum.Lex.le_defₓ'. -/
 theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·) (· ≤ ·) (ofLex a) (ofLex b) :=
   Iff.rfl
@@ -506,7 +506,7 @@ theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LT.lt.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5067 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5069 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5067 x._@.Mathlib.Data.Sum.Order._hyg.5069) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5082 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5084 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5082 x._@.Mathlib.Data.Sum.Order._hyg.5084) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LT.lt.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5091 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5093 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5091 x._@.Mathlib.Data.Sum.Order._hyg.5093) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5106 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5108 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5106 x._@.Mathlib.Data.Sum.Order._hyg.5108) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.lt_def Sum.Lex.lt_defₓ'. -/
 theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (· < ·) (ofLex a) (ofLex b) :=
   Iff.rfl
@@ -516,7 +516,7 @@ theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : α}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LE.le.{u1} α _inst_1 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LE.le.{u2} α _inst_1 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LE.le.{u2} α _inst_1 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inl_iff Sum.Lex.inl_le_inl_iffₓ'. -/
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) ≤ toLex (inl b) ↔ a ≤ b :=
@@ -527,7 +527,7 @@ theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : β} {b : β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LE.le.{u2} β _inst_2 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LE.le.{u1} β _inst_2 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LE.le.{u1} β _inst_2 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_le_inr_iff Sum.Lex.inr_le_inr_iffₓ'. -/
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) ≤ toLex (inr b) ↔ a ≤ b :=
@@ -538,7 +538,7 @@ theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : α}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LT.lt.{u1} α _inst_1 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LT.lt.{u2} α _inst_1 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LT.lt.{u2} α _inst_1 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inl_iff Sum.Lex.inl_lt_inl_iffₓ'. -/
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) < toLex (inl b) ↔ a < b :=
@@ -549,7 +549,7 @@ theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) <
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : β} {b : β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LT.lt.{u2} β _inst_2 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LT.lt.{u1} β _inst_2 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LT.lt.{u1} β _inst_2 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_lt_inr_iff Sum.Lex.inr_lt_inr_iffₓ'. -/
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β) < toLex (inr b) ↔ a < b :=
@@ -560,7 +560,7 @@ theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α) (b : β), LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α) (b : β), LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α) (b : β), LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inr Sum.Lex.inl_le_inrₓ'. -/
 @[simp]
 theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (inr b) :=
@@ -571,7 +571,7 @@ theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] (a : α) (b : β), LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] (a : α) (b : β), LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] (a : α) (b : β), LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inr Sum.Lex.inl_lt_inrₓ'. -/
 @[simp]
 theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (inr b) :=
@@ -582,7 +582,7 @@ theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (in
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : β}, Not (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_le_inl Sum.Lex.not_inr_le_inlₓ'. -/
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ toLex (inl a) :=
@@ -593,7 +593,7 @@ theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ t
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : β}, Not (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_lt_inl Sum.Lex.not_inr_lt_inlₓ'. -/
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬toLex (inr b) < toLex (inl a) :=
@@ -627,7 +627,7 @@ instance preorder : Preorder (α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_mono Sum.Lex.toLex_monoₓ'. -/
 theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_mono Sum.Lex.toLex_mono
@@ -636,7 +636,7 @@ theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMonoₓ'. -/
 theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMono
@@ -645,7 +645,7 @@ theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_mono Sum.Lex.inl_monoₓ'. -/
 theorem inl_mono : Monotone (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_mono.comp inl_mono
@@ -661,7 +661,7 @@ theorem inr_mono : Monotone (toLex ∘ inr : β → α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_strict_mono Sum.Lex.inl_strictMonoₓ'. -/
 theorem inl_strictMono : StrictMono (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_strictMono.comp inl_strictMono
@@ -706,7 +706,7 @@ instance orderBot [LE α] [OrderBot α] [LE β] : OrderBot (α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : OrderBot.{u1} α _inst_1] [_inst_3 : LE.{u2} β], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β (Bot.bot.{u1} α (OrderBot.toHasBot.{u1} α _inst_1 _inst_2)))) (Bot.bot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderBot.toHasBot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : OrderBot.{u2} α _inst_1] [_inst_3 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Bot.bot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (OrderBot.toBot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : OrderBot.{u2} α _inst_1] [_inst_3 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Bot.bot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (OrderBot.toBot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_bot Sum.Lex.inl_botₓ'. -/
 @[simp]
 theorem inl_bot [LE α] [OrderBot α] [LE β] : toLex (inl ⊥ : Sum α β) = ⊥ :=
@@ -729,7 +729,7 @@ instance orderTop [LE α] [LE β] [OrderTop β] : OrderTop (α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : OrderTop.{u2} β _inst_2], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β (Top.top.{u2} β (OrderTop.toHasTop.{u2} β _inst_2 _inst_3)))) (Top.top.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderTop.toHasTop.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] [_inst_3 : OrderTop.{u1} β _inst_2], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Top.top.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (OrderTop.toTop.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] [_inst_3 : OrderTop.{u1} β _inst_2], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Top.top.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (OrderTop.toTop.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_top Sum.Lex.inr_topₓ'. -/
 @[simp]
 theorem inr_top [LE α] [LE β] [OrderTop β] : toLex (inr ⊤ : Sum α β) = ⊤ :=
@@ -868,7 +868,7 @@ def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
@@ -879,7 +879,7 @@ theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :=
@@ -890,7 +890,7 @@ theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
@@ -901,7 +901,7 @@ theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inl OrderIso.sumAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a) :=
@@ -912,7 +912,7 @@ theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inl OrderIso.sumAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
@@ -923,7 +923,7 @@ theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = i
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inr OrderIso.sumAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inr : (sumAssoc α β γ).symm (inr (inr c)) = inr c :=
@@ -949,7 +949,7 @@ def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual a) :=
@@ -960,7 +960,7 @@ theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual b) :=
@@ -971,7 +971,7 @@ theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) = toDual (inl a) :=
@@ -982,7 +982,7 @@ theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) =
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) = toDual (inr b) :=
@@ -1017,7 +1017,7 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
@@ -1029,7 +1029,7 @@ theorem sumLexAssoc_apply_inl_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
@@ -1041,7 +1041,7 @@ theorem sumLexAssoc_apply_inl_inr :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inr :
@@ -1053,7 +1053,7 @@ theorem sumLexAssoc_apply_inr :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (inl a) :=
@@ -1064,7 +1064,7 @@ theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
@@ -1075,7 +1075,7 @@ theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c)) = inr c :=
@@ -1105,7 +1105,7 @@ def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒ
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a)) = inr (toDual a) :=
@@ -1116,7 +1116,7 @@ theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b)) = inl (toDual b) :=
@@ -1127,7 +1127,7 @@ theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
@@ -1139,7 +1139,7 @@ theorem sumLexDualAntidistrib_symm_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
@@ -1170,7 +1170,7 @@ def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_botₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
@@ -1181,7 +1181,7 @@ theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLexₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (inr a) :=
@@ -1192,7 +1192,7 @@ theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.bot.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.bot.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
@@ -1204,7 +1204,7 @@ theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithBot.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithBot.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inr (a : α) : orderIsoPUnitSumLex.symm (toLex <| inr a) = a :=
@@ -1232,7 +1232,7 @@ def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_topₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUnit.unit) :=
@@ -1243,7 +1243,7 @@ theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLexₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (inl a) :=
@@ -1254,7 +1254,7 @@ theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.top.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.top.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
@@ -1266,7 +1266,7 @@ theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithTop.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithTop.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1285 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1287 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1285 x._@.Mathlib.Order.Hom.Basic._hyg.1287) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1300 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1302 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1300 x._@.Mathlib.Order.Hom.Basic._hyg.1302))) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.812 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inl (a : α) : orderIsoSumLexPUnit.symm (toLex <| inl a) = a :=
Diff
@@ -1155,7 +1155,7 @@ namespace WithBot
 
 /- warning: with_bot.order_iso_punit_sum_lex -> WithBot.orderIsoPUnitSumLex is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)
 but is expected to have type
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1)
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex WithBot.orderIsoPUnitSumLexₓ'. -/
@@ -1168,7 +1168,7 @@ def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
 
 /- warning: with_bot.order_iso_punit_sum_lex_bot -> WithBot.orderIsoPUnitSumLex_bot is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_botₓ'. -/
@@ -1179,7 +1179,7 @@ theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUn
 
 /- warning: with_bot.order_iso_punit_sum_lex_coe -> WithBot.orderIsoPUnitSumLex_toLex is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLexₓ'. -/
@@ -1190,7 +1190,7 @@ theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (i
 
 /- warning: with_bot.order_iso_punit_sum_lex_symm_inl -> WithBot.orderIsoPUnitSumLex_symm_inl is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
 but is expected to have type
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.bot.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inlₓ'. -/
@@ -1202,7 +1202,7 @@ theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
 
 /- warning: with_bot.order_iso_punit_sum_lex_symm_inr -> WithBot.orderIsoPUnitSumLex_symm_inr is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithBot.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inrₓ'. -/
@@ -1217,7 +1217,7 @@ namespace WithTop
 
 /- warning: with_top.order_iso_sum_lex_punit -> WithTop.orderIsoSumLexPUnit is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))
 but is expected to have type
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], OrderIso.{u1, max u2 u1} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit WithTop.orderIsoSumLexPUnitₓ'. -/
@@ -1230,7 +1230,7 @@ def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
 
 /- warning: with_top.order_iso_sum_lex_punit_top -> WithTop.orderIsoSumLexPUnit_top is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_topₓ'. -/
@@ -1241,7 +1241,7 @@ theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUn
 
 /- warning: with_top.order_iso_sum_lex_punit_coe -> WithTop.orderIsoSumLexPUnit_toLex is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLexₓ'. -/
@@ -1252,7 +1252,7 @@ theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (i
 
 /- warning: with_top.order_iso_sum_lex_punit_symm_inr -> WithTop.orderIsoSumLexPUnit_symm_inr is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
 but is expected to have type
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.top.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inrₓ'. -/
@@ -1264,7 +1264,7 @@ theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
 
 /- warning: with_top.order_iso_sum_lex_punit_symm_inl -> WithTop.orderIsoSumLexPUnit_symm_inl is a dubious translation:
 lean 3 declaration is
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toHasLe.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
 but is expected to have type
   forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithTop.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inlₓ'. -/
Diff
@@ -868,7 +868,7 @@ def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inl OrderIso.sumAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
@@ -879,7 +879,7 @@ theorem sumAssoc_apply_inl_inl : sumAssoc α β γ (inl (inl a)) = inl a :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inl.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inl_inr OrderIso.sumAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :=
@@ -890,7 +890,7 @@ theorem sumAssoc_apply_inl_inr : sumAssoc α β γ (inl (inr b)) = inr (inl b) :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ u1) (succ (max u2 u3))} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) => (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) -> (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ))) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (_x : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)) (Sum.inr.{u3, max u1 u2} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_apply_inr OrderIso.sumAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
@@ -901,7 +901,7 @@ theorem sumAssoc_apply_inr : sumAssoc α β γ (inr c) = inr (inr c) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Sum.{u2, u3} β γ) a)) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Sum.{u2, u1} β γ) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inl OrderIso.sumAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a) :=
@@ -912,7 +912,7 @@ theorem sumAssoc_symm_apply_inl : (sumAssoc α β γ).symm (inl a) = inl (inl a)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inl OrderIso.sumAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
@@ -923,7 +923,7 @@ theorem sumAssoc_symm_apply_inr_inl : (sumAssoc α β γ).symm (inr (inl b)) = i
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{max (succ (max u1 u2)) (succ u3)} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) -> (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ)) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (LE.le.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Sum.{max u1 u2, u3} (Sum.{u1, u2} α β) γ) (Sum.{u1, max u2 u3} α (Sum.{u2, u3} β γ)) (Sum.hasLe.{max u1 u2, u3} (Sum.{u1, u2} α β) γ (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.hasLe.{u1, max u2 u3} α (Sum.{u2, u3} β γ) _inst_1 (Sum.hasLe.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Sum.{u2, u3} β γ) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Sum.{u1, u2} α β) γ c)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (fun (_x : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) => LE.le.{max (max u3 u2) u1} (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) => LE.le.{max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Sum.{max u2 u3, u1} (Sum.{u3, u2} α β) γ) (Sum.{u3, max u1 u2} α (Sum.{u2, u1} β γ)) (Sum.instLESum.{max u3 u2, u1} (Sum.{u3, u2} α β) γ (Sum.instLESum.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.instLESum.{u3, max u2 u1} α (Sum.{u2, u1} β γ) _inst_1 (Sum.instLESum.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Sum.{u2, u1} β γ) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Sum.{u3, u2} α β) γ c)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_assoc_symm_apply_inr_inr OrderIso.sumAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumAssoc_symm_apply_inr_inr : (sumAssoc α β γ).symm (inr (inr c)) = inr c :=
@@ -949,7 +949,7 @@ def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual a) :=
@@ -960,7 +960,7 @@ theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual b) :=
@@ -971,7 +971,7 @@ theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) = toDual (inl a) :=
@@ -982,7 +982,7 @@ theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) =
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) = toDual (inr b) :=
@@ -1017,7 +1017,7 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (a_1 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) a_1) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
@@ -1029,7 +1029,7 @@ theorem sumLexAssoc_apply_inl_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (a : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
@@ -1041,7 +1041,7 @@ theorem sumLexAssoc_apply_inl_inr :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (a : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inr :
@@ -1053,7 +1053,7 @@ theorem sumLexAssoc_apply_inr :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a)) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inl.{u3, u2} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inl OrderIso.sumLexAssoc_symm_apply_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (inl a) :=
@@ -1064,7 +1064,7 @@ theorem sumLexAssoc_symm_apply_inl : (sumLexAssoc α β γ).symm (inl a) = inl (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Sum.inl.{max u2 u3, u1} (Sum.{u3, u2} α β) γ (Sum.inr.{u3, u2} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inl OrderIso.sumLexAssoc_symm_apply_inr_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b)) = inl (inr b) :=
@@ -1075,7 +1075,7 @@ theorem sumLexAssoc_symm_apply_inr_inl : (sumLexAssoc α β γ).symm (inr (inl b
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max (max u1 u2) u3)} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (coeFn.{max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3)), max (succ (max u1 u2 u3)) (succ (max (max u1 u2) u3))} (OrderIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (fun (_x : RelIso.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) => (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (RelIso.hasCoeToFun.{max u1 u2 u3, max (max u1 u2) u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3))) (OrderIso.symm.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c)
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)))) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c)
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (_x : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (RelHomClass.toFunLike.{max (max u3 u2) u1, max (max u3 u2) u1, max (max u3 u2) u1} (RelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u3 u2) u1} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3)) (Sum.inr.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c)
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c)) = inr c :=
@@ -1105,7 +1105,7 @@ def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒ
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a)) = inr (toDual a) :=
@@ -1116,7 +1116,7 @@ theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b)) = inl (toDual b) :=
@@ -1127,7 +1127,7 @@ theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
@@ -1139,7 +1139,7 @@ theorem sumLexDualAntidistrib_symm_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (RelHomClass.toFunLike.{max u2 u1, max u2 u1, max u2 u1} (RelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
@@ -1170,7 +1170,7 @@ def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_botₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
@@ -1181,7 +1181,7 @@ theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLexₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (inr a) :=
@@ -1192,7 +1192,7 @@ theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (WithBot.bot.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.bot.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
@@ -1204,7 +1204,7 @@ theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (a : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithBot.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inr (a : α) : orderIsoPUnitSumLex.symm (toLex <| inr a) = a :=
@@ -1232,7 +1232,7 @@ def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u2 u1, u2, max u2 u1} (RelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_topₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUnit.unit) :=
@@ -1243,7 +1243,7 @@ theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (RelHomClass.toFunLike.{max u1 u2, u2, max u1 u2} (RelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLexₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (inl a) :=
@@ -1254,7 +1254,7 @@ theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (WithTop.top.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u1} (RelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.top.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
@@ -1266,7 +1266,7 @@ theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (a : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} (WithTop.{u2} α) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (RelHomClass.toFunLike.{max u1 u2, max u1 u2, u2} (RelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.instRelHomClassRelIso.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298))) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inl (a : α) : orderIsoSumLexPUnit.symm (toLex <| inl a) = a :=
Diff
@@ -472,7 +472,7 @@ instance LT [LT α] [LT β] : LT (α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4849 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4851 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4849 x._@.Mathlib.Data.Sum.Order._hyg.4851) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4864 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4866 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4864 x._@.Mathlib.Data.Sum.Order._hyg.4866) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4855 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4857 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4855 x._@.Mathlib.Data.Sum.Order._hyg.4857) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4870 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4872 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4870 x._@.Mathlib.Data.Sum.Order._hyg.4872) a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_le_to_lex Sum.Lex.toLex_le_toLexₓ'. -/
 @[simp]
 theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
@@ -484,7 +484,7 @@ theorem toLex_le_toLex [LE α] [LE β] {a b : Sum α β} :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Sum.{u1, u2} α β} {b : Sum.{u1, u2} α β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) b)) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4911 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4913 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4911 x._@.Mathlib.Data.Sum.Order._hyg.4913) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4926 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4928 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4926 x._@.Mathlib.Data.Sum.Order._hyg.4928) a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Sum.{u2, u1} α β} {b : Sum.{u2, u1} α β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) a) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) b)) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4919 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4921 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4919 x._@.Mathlib.Data.Sum.Order._hyg.4921) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4934 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4936 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4934 x._@.Mathlib.Data.Sum.Order._hyg.4936) a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_lt_to_lex Sum.Lex.toLex_lt_toLexₓ'. -/
 @[simp]
 theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
@@ -496,7 +496,7 @@ theorem toLex_lt_toLex [LT α] [LT β] {a b : Sum α β} :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LE.le.{u1} α _inst_1) (LE.le.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LE.le.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4981 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4983 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4981 x._@.Mathlib.Data.Sum.Order._hyg.4983) (fun (x._@.Mathlib.Data.Sum.Order._hyg.4996 : β) (x._@.Mathlib.Data.Sum.Order._hyg.4998 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.4996 x._@.Mathlib.Data.Sum.Order._hyg.4998) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LE.le.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.4989 : α) (x._@.Mathlib.Data.Sum.Order._hyg.4991 : α) => LE.le.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.4989 x._@.Mathlib.Data.Sum.Order._hyg.4991) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5004 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5006 : β) => LE.le.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5004 x._@.Mathlib.Data.Sum.Order._hyg.5006) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.le_def Sum.Lex.le_defₓ'. -/
 theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·) (· ≤ ·) (ofLex a) (ofLex b) :=
   Iff.rfl
@@ -506,7 +506,7 @@ theorem le_def [LE α] [LE β] {a b : α ⊕ₗ β} : a ≤ b ↔ Lex (· ≤ ·
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : Lex.{max u1 u2} (Sum.{u1, u2} α β)} {b : Lex.{max u1 u2} (Sum.{u1, u2} α β)}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) a b) (Sum.Lex.{u1, u2} α β (LT.lt.{u1} α _inst_1) (LT.lt.{u2} β _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) a) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) => (Lex.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} α β)) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} α β)) (ofLex.{max u1 u2} (Sum.{u1, u2} α β)) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LT.lt.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5057 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5059 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5057 x._@.Mathlib.Data.Sum.Order._hyg.5059) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5072 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5074 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5072 x._@.Mathlib.Data.Sum.Order._hyg.5074) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : Lex.{max u1 u2} (Sum.{u2, u1} α β)} {b : Lex.{max u1 u2} (Sum.{u2, u1} α β)}, Iff (LT.lt.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) a b) (Sum.Lex.{u2, u1} α β (fun (x._@.Mathlib.Data.Sum.Order._hyg.5067 : α) (x._@.Mathlib.Data.Sum.Order._hyg.5069 : α) => LT.lt.{u2} α _inst_1 x._@.Mathlib.Data.Sum.Order._hyg.5067 x._@.Mathlib.Data.Sum.Order._hyg.5069) (fun (x._@.Mathlib.Data.Sum.Order._hyg.5082 : β) (x._@.Mathlib.Data.Sum.Order._hyg.5084 : β) => LT.lt.{u1} β _inst_2 x._@.Mathlib.Data.Sum.Order._hyg.5082 x._@.Mathlib.Data.Sum.Order._hyg.5084) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) a) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (fun (_x : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Lex.{max u2 u1} (Sum.{u2, u1} α β)) => Sum.{u2, u1} α β) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.{u2, u1} α β)) (ofLex.{max u2 u1} (Sum.{u2, u1} α β)) b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.lt_def Sum.Lex.lt_defₓ'. -/
 theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (· < ·) (ofLex a) (ofLex b) :=
   Iff.rfl
@@ -516,7 +516,7 @@ theorem lt_def [LT α] [LT β] {a b : α ⊕ₗ β} : a < b ↔ Lex (· < ·) (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : α}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LE.le.{u1} α _inst_1 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LE.le.{u2} α _inst_1 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : α}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LE.le.{u2} α _inst_1 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inl_iff Sum.Lex.inl_le_inl_iffₓ'. -/
 @[simp]
 theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) ≤ toLex (inl b) ↔ a ≤ b :=
@@ -527,7 +527,7 @@ theorem inl_le_inl_iff [LE α] [LE β] {a b : α} : toLex (inl a : Sum α β) 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : β} {b : β}, Iff (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LE.le.{u2} β _inst_2 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LE.le.{u1} β _inst_2 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : β} {b : β}, Iff (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LE.le.{u1} β _inst_2 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_le_inr_iff Sum.Lex.inr_le_inr_iffₓ'. -/
 @[simp]
 theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) ≤ toLex (inr b) ↔ a ≤ b :=
@@ -538,7 +538,7 @@ theorem inr_le_inr_iff [LE α] [LE β] {a b : β} : toLex (inr a : Sum α β) 
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : α}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β b))) (LT.lt.{u1} α _inst_1 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LT.lt.{u2} α _inst_1 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : α}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β b))) (LT.lt.{u2} α _inst_1 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inl_iff Sum.Lex.inl_lt_inl_iffₓ'. -/
 @[simp]
 theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) < toLex (inl b) ↔ a < b :=
@@ -549,7 +549,7 @@ theorem inl_lt_inl_iff [LT α] [LT β] {a b : α} : toLex (inl a : Sum α β) <
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : β} {b : β}, Iff (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (LT.lt.{u2} β _inst_2 a b)
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LT.lt.{u1} β _inst_2 a b)
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : β} {b : β}, Iff (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (LT.lt.{u1} β _inst_2 a b)
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_lt_inr_iff Sum.Lex.inr_lt_inr_iffₓ'. -/
 @[simp]
 theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β) < toLex (inr b) ↔ a < b :=
@@ -560,7 +560,7 @@ theorem inr_lt_inr_iff [LT α] [LT β] {a b : β} : toLex (inr a : α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α) (b : β), LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α) (b : β), LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α) (b : β), LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_le_inr Sum.Lex.inl_le_inrₓ'. -/
 @[simp]
 theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (inr b) :=
@@ -571,7 +571,7 @@ theorem inl_le_inr [LE α] [LE β] (a : α) (b : β) : toLex (inl a) ≤ toLex (
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] (a : α) (b : β), LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] (a : α) (b : β), LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] (a : α) (b : β), LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_lt_inr Sum.Lex.inl_lt_inrₓ'. -/
 @[simp]
 theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (inr b) :=
@@ -582,7 +582,7 @@ theorem inl_lt_inr [LT α] [LT β] (a : α) (b : β) : toLex (inl a) < toLex (in
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] {a : α} {b : β}, Not (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] {a : α} {b : β}, Not (LE.le.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_le_inl Sum.Lex.not_inr_le_inlₓ'. -/
 @[simp]
 theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ toLex (inl a) :=
@@ -593,7 +593,7 @@ theorem not_inr_le_inl [LE α] [LE β] {a : α} {b : β} : ¬toLex (inr b) ≤ t
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LT.{u1} α] [_inst_2 : LT.{u2} β] {a : α} {b : β}, Not (LT.lt.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LT.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LT.{u2} α] [_inst_2 : LT.{u1} β] {a : α} {b : β}, Not (LT.lt.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (Sum.Lex.LT.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.not_inr_lt_inl Sum.Lex.not_inr_lt_inlₓ'. -/
 @[simp]
 theorem not_inr_lt_inl [LT α] [LT β] {a : α} {b : β} : ¬toLex (inr b) < toLex (inl a) :=
@@ -627,7 +627,7 @@ instance preorder : Preorder (α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_mono Sum.Lex.toLex_monoₓ'. -/
 theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_mono Sum.Lex.toLex_mono
@@ -636,7 +636,7 @@ theorem toLex_mono : Monotone (@toLex (Sum α β)) := fun a b h => h.Lex
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{max u1 u2, max u1 u2} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.preorder.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{max u2 u1, max u2 u1} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.instPreorderSum.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (FunLike.coe.{max (succ u2) (succ u1), max (succ u2) (succ u1), max (succ u2) (succ u1)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{max (succ u2) (succ u1), max (succ u2) (succ u1)} (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (toLex.{max u1 u2} (Sum.{u2, u1} α β)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMonoₓ'. -/
 theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 #align sum.lex.to_lex_strict_mono Sum.Lex.toLex_strictMono
@@ -645,7 +645,7 @@ theorem toLex_strictMono : StrictMono (@toLex (Sum α β)) := fun a b h => h.Lex
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], Monotone.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], Monotone.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_mono Sum.Lex.inl_monoₓ'. -/
 theorem inl_mono : Monotone (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_mono.comp inl_mono
@@ -661,7 +661,7 @@ theorem inr_mono : Monotone (toLex ∘ inr : β → α ⊕ₗ β) :=
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : Preorder.{u1} α] [_inst_2 : Preorder.{u2} β], StrictMono.{u1, max u1 u2} α (Lex.{max u1 u2} (Sum.{u1, u2} α β)) _inst_1 (Sum.Lex.preorder.{u1, u2} α β _inst_1 _inst_2) (Function.comp.{succ u1, succ (max u1 u2), succ (max u1 u2)} α (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.inl.{u1, u2} α β))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : Preorder.{u2} α] [_inst_2 : Preorder.{u1} β], StrictMono.{u2, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} α β)) _inst_1 (Sum.Lex.preorder.{u2, u1} α β _inst_1 _inst_2) (Function.comp.{succ u2, succ (max u2 u1), max (succ u2) (succ u1)} α (Sum.{u2, u1} α β) (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.inl.{u2, u1} α β))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_strict_mono Sum.Lex.inl_strictMonoₓ'. -/
 theorem inl_strictMono : StrictMono (toLex ∘ inl : α → α ⊕ₗ β) :=
   toLex_strictMono.comp inl_strictMono
@@ -706,7 +706,7 @@ instance orderBot [LE α] [OrderBot α] [LE β] : OrderBot (α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : OrderBot.{u1} α _inst_1] [_inst_3 : LE.{u2} β], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β (Bot.bot.{u1} α (OrderBot.toHasBot.{u1} α _inst_1 _inst_2)))) (Bot.bot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderBot.toHasBot.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : OrderBot.{u2} α _inst_1] [_inst_3 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Bot.bot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (OrderBot.toBot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : OrderBot.{u2} α _inst_1] [_inst_3 : LE.{u1} β], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Bot.bot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (OrderBot.toBot.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β (Bot.bot.{u2} α (OrderBot.toBot.{u2} α _inst_1 _inst_2)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_3) (Sum.Lex.orderBot.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inl_bot Sum.Lex.inl_botₓ'. -/
 @[simp]
 theorem inl_bot [LE α] [OrderBot α] [LE β] : toLex (inl ⊥ : Sum α β) = ⊥ :=
@@ -729,7 +729,7 @@ instance orderTop [LE α] [LE β] [OrderTop β] : OrderTop (α ⊕ₗ β)
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : OrderTop.{u2} β _inst_2], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β (Top.top.{u2} β (OrderTop.toHasTop.{u2} β _inst_2 _inst_3)))) (Top.top.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (OrderTop.toHasTop.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u1, u2} α β _inst_1 _inst_2 _inst_3)))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] [_inst_3 : OrderTop.{u1} β _inst_2], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Top.top.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (OrderTop.toTop.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] [_inst_3 : OrderTop.{u1} β _inst_2], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} α β) (Lex.{max u2 u1} (Sum.{u2, u1} α β))) (toLex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Top.top.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (OrderTop.toTop.{max u2 u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => Lex.{max u2 u1} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β (Top.top.{u1} β (OrderTop.toTop.{u1} β _inst_2 _inst_3)))) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2) (Sum.Lex.orderTop.{u2, u1} α β _inst_1 _inst_2 _inst_3)))
 Case conversion may be inaccurate. Consider using '#align sum.lex.inr_top Sum.Lex.inr_topₓ'. -/
 @[simp]
 theorem inr_top [LE α] [LE β] [OrderTop β] : toLex (inr ⊤ : Sum α β) = ⊤ :=
@@ -949,7 +949,7 @@ def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inl.{u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inl OrderIso.sumDualDistrib_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual a) :=
@@ -960,7 +960,7 @@ theorem sumDualDistrib_inl : sumDualDistrib α β (toDual (inl a)) = inl (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{max (succ u1) (succ u2)} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) => (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) -> (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)))) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (_x : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β))) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u1 u2} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_inr OrderIso.sumDualDistrib_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual b) :=
@@ -971,7 +971,7 @@ theorem sumDualDistrib_inr : sumDualDistrib α β (toDual (inr b)) = inr (toDual
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inl OrderIso.sumDualDistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) = toDual (inl a) :=
@@ -982,7 +982,7 @@ theorem sumDualDistrib_symm_inl : (sumDualDistrib α β).symm (inl (toDual a)) =
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (OrderIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) => (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (RelIso.hasCoeToFun.{max u1 u2, max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (LE.le.{max u1 u2} (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u1 u2} (OrderDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β)) (OrderDual.hasLe.{max u1 u2} (Sum.{u1, u2} α β) (Sum.hasLe.{u1, u2} α β _inst_1 _inst_2)) (Sum.hasLe.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (OrderDual.hasLe.{u1} α _inst_1) (OrderDual.hasLe.{u2} β _inst_2)) (OrderIso.sumDualDistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u1, u2} (OrderDual.{u1} α) (OrderDual.{u2} β) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (fun (_x : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) => LE.le.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β)) (OrderDual.instLEOrderDual.{max u2 u1} (Sum.{u2, u1} α β) (Sum.instLESum.{u2, u1} α β _inst_1 _inst_2)) (Sum.instLESum.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (OrderDual.instLEOrderDual.{u2} α _inst_1) (OrderDual.instLEOrderDual.{u1} β _inst_2)) (OrderIso.sumDualDistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u2, u1} (OrderDual.{u2} α) (OrderDual.{u1} β) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) = toDual (inr b) :=
@@ -1017,7 +1017,7 @@ def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (a : α), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inl.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) a))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (a_1 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) a_1) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (a : α), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (a_1 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) a_1) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (fun (_x : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ)) (Sum.inl.{max u3 u2, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inl.{u3, u2} α β a))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (fun (_x : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.inl.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inl OrderIso.sumLexAssoc_apply_inl_inlₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inl :
@@ -1029,7 +1029,7 @@ theorem sumLexAssoc_apply_inl_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (b : β), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inl.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (toLex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inl.{u2, u3} β γ b))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (a : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (b : β), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (a : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (a : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u2 u3), succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (fun (_x : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) => Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ))) (toLex.{max u1 u2 u3} (Sum.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ)) (Sum.inl.{max u2 u3, u1} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b)) γ (FunLike.coe.{succ (max u2 u3), succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (Sum.{u3, u2} α β) (fun (_x : Sum.{u3, u2} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, u2} α β) => Lex.{max u2 u3} (Sum.{u3, u2} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u3, u2} α β) (Lex.{max u2 u3} (Sum.{u3, u2} α β))) (toLex.{max u2 u3} (Sum.{u3, u2} α β)) (Sum.inr.{u3, u2} α β b))))) (FunLike.coe.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Equiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (fun (_x : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) => Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u2 u1) u3), succ (max (max u2 u1) u3)} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))) (Lex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))) (toLex.{max (max u2 u1) u3} (Sum.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)))) (Sum.inr.{u3, max u2 u1} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inl.{u2, u1} β γ b))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inl_inr OrderIso.sumLexAssoc_apply_inl_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inl_inr :
@@ -1041,7 +1041,7 @@ theorem sumLexAssoc_apply_inl_inr :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} {γ : Type.{u3}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u3} γ] (c : γ), Eq.{succ (max u1 u2 u3)} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (coeFn.{max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3)), max (succ (max (max u1 u2) u3)) (succ (max u1 u2 u3))} (OrderIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3))) (fun (_x : RelIso.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) => (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (RelIso.hasCoeToFun.{max (max u1 u2) u3, max u1 u2 u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.Lex.LE.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2) _inst_3)) (LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.Lex.LE.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) _inst_1 (Sum.Lex.LE.{u2, u3} β γ _inst_2 _inst_3)))) (OrderIso.sumLexAssoc.{u1, u2, u3} α β γ _inst_1 _inst_2 _inst_3) (coeFn.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (fun (_x : Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) => (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) -> (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (Equiv.hasCoeToFun.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ) (Lex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ))) (toLex.{max (max u1 u2) u3} (Sum.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ)) (Sum.inr.{max u1 u2, u3} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) γ c))) (coeFn.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (fun (_x : Equiv.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) => (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) -> (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (Equiv.hasCoeToFun.{succ (max u1 u2 u3), succ (max u1 u2 u3)} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Lex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ))))) (toLex.{max u1 u2 u3} (Sum.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)))) (Sum.inr.{u1, max u2 u3} α (Lex.{max u2 u3} (Sum.{u2, u3} β γ)) (coeFn.{succ (max u2 u3), succ (max u2 u3)} (Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (fun (_x : Equiv.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) => (Sum.{u2, u3} β γ) -> (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (Equiv.hasCoeToFun.{succ (max u2 u3), succ (max u2 u3)} (Sum.{u2, u3} β γ) (Lex.{max u2 u3} (Sum.{u2, u3} β γ))) (toLex.{max u2 u3} (Sum.{u2, u3} β γ)) (Sum.inr.{u2, u3} β γ c))))
 but is expected to have type
-  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (a : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
+  forall {α : Type.{u3}} {β : Type.{u2}} {γ : Type.{u1}} [_inst_1 : LE.{u3} α] [_inst_2 : LE.{u2} β] [_inst_3 : LE.{u1} γ] (c : γ), Eq.{max (max (succ u3) (succ u2)) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (a : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (fun (_x : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) _x) (EmbeddingLike.toFunLike.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Function.Embedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ))))) (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Function.instEmbeddingLikeEmbedding.{succ (max (max u3 u2) u1), succ (max (max u3 u2) u1)} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))))) (RelEmbedding.toEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max (max u3 u2) u1, max (max u3 u2) u1} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) => LE.le.{max u1 u2 u3} (Lex.{max u1 u2 u3} (Sum.{max u2 u3, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.Lex.LE.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ (Sum.Lex.LE.{u3, u2} α β _inst_1 _inst_2) _inst_3) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) => LE.le.{max (max u1 u2) u3} (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)))) (Sum.Lex.LE.{u3, max u2 u1} α (Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _inst_1 (Sum.Lex.LE.{u2, u1} β γ _inst_2 _inst_3)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexAssoc.{u3, u2, u1} α β γ _inst_1 _inst_2 _inst_3))) (FunLike.coe.{succ (max u1 u3 u2), succ (max u1 u3 u2), succ (max u1 u3 u2)} (Equiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (fun (_x : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) => Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u3 u2), succ (max u1 u3 u2)} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ) (Lex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ))) (toLex.{max u1 u3 u2} (Sum.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ)) (Sum.inr.{max u3 u2, u1} (Lex.{max u2 u3} (Sum.{u3, u2} α β)) γ c))) (FunLike.coe.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Equiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (fun (_x : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) => Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) _x) (Equiv.instFunLikeEquiv.{succ (max (max u1 u2) u3), succ (max (max u1 u2) u3)} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))) (Lex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))) (toLex.{max (max u1 u2) u3} (Sum.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)))) (Sum.inr.{u3, max u1 u2} α ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (Sum.{u2, u1} β γ) (fun (_x : Sum.{u2, u1} β γ) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} β γ) => Lex.{max u1 u2} (Sum.{u2, u1} β γ)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} β γ) (Lex.{max u1 u2} (Sum.{u2, u1} β γ))) (toLex.{max u1 u2} (Sum.{u2, u1} β γ)) (Sum.inr.{u2, u1} β γ c))))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_assoc_apply_inr OrderIso.sumLexAssoc_apply_inrₓ'. -/
 @[simp]
 theorem sumLexAssoc_apply_inr :
@@ -1105,7 +1105,7 @@ def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒ
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inl OrderIso.sumLexDualAntidistrib_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a)) = inr (toDual a) :=
@@ -1116,7 +1116,7 @@ theorem sumLexDualAntidistrib_inl : sumLexDualAntidistrib α β (toDual (inl a))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (coeFn.{max (succ (max u1 u2)) (succ (max u2 u1)), max (succ (max u1 u2)) (succ (max u2 u1))} (OrderIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (fun (_x : RelIso.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) => (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) -> (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α)))) (RelIso.hasCoeToFun.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)))) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (a : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (_x : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α)))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))) (Sum.inl.{u1, u2} ((fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) b) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_inr OrderIso.sumLexDualAntidistrib_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b)) = inl (toDual b) :=
@@ -1127,7 +1127,7 @@ theorem sumLexDualAntidistrib_inr : sumLexDualAntidistrib α β (toDual (inr b))
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (b : β), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inl.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u2, succ u2} (Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) (fun (_x : Equiv.{succ u2, succ u2} β (OrderDual.{u2} β)) => β -> (OrderDual.{u2} β)) (Equiv.hasCoeToFun.{succ u2, succ u2} β (OrderDual.{u2} β)) (OrderDual.toDual.{u2} β) b))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inr.{u1, u2} α β b))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (b : β), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (a : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) a) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inl.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u1, succ u1, succ u1} (Equiv.{succ u1, succ u1} β (OrderDual.{u1} β)) β (fun (_x : β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : β) => OrderDual.{u1} β) _x) (Equiv.instFunLikeEquiv.{succ u1, succ u1} β (OrderDual.{u1} β)) (OrderDual.toDual.{u1} β) b))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inr.{u2, u1} α β b))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inl OrderIso.sumLexDualAntidistrib_symm_inlₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inl :
@@ -1139,7 +1139,7 @@ theorem sumLexDualAntidistrib_symm_inl :
 lean 3 declaration is
   forall {α : Type.{u1}} {β : Type.{u2}} [_inst_1 : LE.{u1} α] [_inst_2 : LE.{u2} β] (a : α), Eq.{succ (max u1 u2)} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (coeFn.{max (succ (max u2 u1)) (succ (max u1 u2)), max (succ (max u2 u1)) (succ (max u1 u2))} (OrderIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2))) (fun (_x : RelIso.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) => (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) -> (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)))) (RelIso.hasCoeToFun.{max u2 u1, max u1 u2} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1))) (LE.le.{max u1 u2} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)))) (OrderIso.symm.{max u1 u2, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β))) (Lex.{max u2 u1} (Sum.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α))) (OrderDual.hasLe.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.Lex.LE.{u1, u2} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (OrderDual.hasLe.{u2} β _inst_2) (OrderDual.hasLe.{u1} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u1, u2} α β _inst_1 _inst_2)) (Sum.inr.{u2, u1} (OrderDual.{u2} β) (OrderDual.{u1} α) (coeFn.{succ u1, succ u1} (Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) (fun (_x : Equiv.{succ u1, succ u1} α (OrderDual.{u1} α)) => α -> (OrderDual.{u1} α)) (Equiv.hasCoeToFun.{succ u1, succ u1} α (OrderDual.{u1} α)) (OrderDual.toDual.{u1} α) a))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) => (Sum.{u1, u2} α β) -> (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α β) (OrderDual.{max u1 u2} (Sum.{u1, u2} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u1, u2} α β)) (Sum.inl.{u1, u2} α β a))
 but is expected to have type
-  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
+  forall {α : Type.{u2}} {β : Type.{u1}} [_inst_1 : LE.{u2} α] [_inst_2 : LE.{u1} β] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (a : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) a) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) _x) (EmbeddingLike.toFunLike.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Function.Embedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β)))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Function.instEmbeddingLikeEmbedding.{succ (max u2 u1), succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))))) (RelEmbedding.toEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u2 u1, max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) => LE.le.{max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{max u2 u1, max u2 u1} (OrderDual.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α β))) (Lex.{max u2 u1} (Sum.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α))) (OrderDual.instLEOrderDual.{max u2 u1} (Lex.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.Lex.LE.{u2, u1} α β _inst_1 _inst_2)) (Sum.Lex.LE.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (OrderDual.instLEOrderDual.{u1} β _inst_2) (OrderDual.instLEOrderDual.{u2} α _inst_1)) (OrderIso.sumLexDualAntidistrib.{u2, u1} α β _inst_1 _inst_2)))) (Sum.inr.{u1, u2} (OrderDual.{u1} β) (OrderDual.{u2} α) (FunLike.coe.{succ u2, succ u2, succ u2} (Equiv.{succ u2, succ u2} α (OrderDual.{u2} α)) α (fun (_x : α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : α) => OrderDual.{u2} α) _x) (Equiv.instFunLikeEquiv.{succ u2, succ u2} α (OrderDual.{u2} α)) (OrderDual.toDual.{u2} α) a))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (Sum.{u2, u1} α β) (fun (_x : Sum.{u2, u1} α β) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α β) => OrderDual.{max u1 u2} (Sum.{u2, u1} α β)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α β) (OrderDual.{max u1 u2} (Sum.{u2, u1} α β))) (OrderDual.toDual.{max u1 u2} (Sum.{u2, u1} α β)) (Sum.inl.{u2, u1} α β a))
 Case conversion may be inaccurate. Consider using '#align order_iso.sum_lex_dual_antidistrib_symm_inr OrderIso.sumLexDualAntidistrib_symm_inrₓ'. -/
 @[simp]
 theorem sumLexDualAntidistrib_symm_inr :
@@ -1170,7 +1170,7 @@ def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (Bot.bot.{u2} (WithBot.{u2} α) (WithBot.bot.{u2} α))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inl.{u1, u2} PUnit.{succ u1} α PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_bot WithBot.orderIsoPUnitSumLex_botₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
@@ -1181,7 +1181,7 @@ theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u2 u1)} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (coeFn.{max (succ u1) (succ (max u2 u1)), max (succ u1) (succ (max u2 u1))} (OrderIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (fun (_x : RelIso.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) => (WithBot.{u1} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (RelIso.hasCoeToFun.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1)) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1))) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (fun (_x : WithBot.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithBot.{u2} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1))) (WithBot.some.{u2} α a)) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_coe WithBot.orderIsoPUnitSumLex_toLexₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (inr a) :=
@@ -1192,7 +1192,7 @@ theorem orderIsoPUnitSumLex_toLex (a : α) : orderIsoPUnitSumLex ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} (WithBot.{u1} α) (WithBot.hasBot.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (WithBot.bot.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α)) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u1} α) => LE.le.{u1} (WithBot.{u1} α) (WithBot.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithBot.{u1} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.le.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (_x : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (Bot.bot.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) => WithBot.{u1} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (Sum.{u2, u1} PUnit.{succ u2} α) (fun (a : Sum.{u2, u1} PUnit.{succ u2} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} PUnit.{succ u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u1 u2} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inl.{u2, u1} PUnit.{succ u2} α x))) (WithBot.bot.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inl WithBot.orderIsoPUnitSumLex_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
@@ -1204,7 +1204,7 @@ theorem orderIsoPUnitSumLex_symm_inl (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithBot.{u1} α) (coeFn.{max (succ (max u2 u1)) (succ u1), max (succ (max u2 u1)) (succ u1)} (OrderIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) => (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) -> (WithBot.{u1} α)) (RelIso.hasCoeToFun.{max u2 u1, u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.{u1} α) (LE.le.{max u2 u1} (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1)) (LE.le.{u1} (WithBot.{u1} α) (WithBot.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u2 u1} (WithBot.{u1} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (WithBot.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u2, u1} PUnit.{succ u2} α (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u1, u2} α _inst_1)) (coeFn.{succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (fun (_x : Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) => (Sum.{u2, u1} PUnit.{succ u2} α) -> (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (Equiv.hasCoeToFun.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u2, u1} PUnit.{succ u2} α) (Lex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α))) (toLex.{max u2 u1} (Sum.{u2, u1} PUnit.{succ u2} α)) (Sum.inr.{u2, u1} PUnit.{succ u2} α a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithBot.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithBot.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithBot.{u1} α) (WithBot.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (a : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (a : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => WithBot.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α)) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithBot.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithBot.{u2} α) => LE.le.{u2} (WithBot.{u2} α) (WithBot.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithBot.{u2} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (WithBot.le.{u2} α _inst_1) (Sum.Lex.LE.{u1, u2} PUnit.{succ u1} α (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1})))))) _inst_1) (WithBot.orderIsoPUnitSumLex.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (Sum.{u1, u2} PUnit.{succ u1} α) (fun (_x : Sum.{u1, u2} PUnit.{succ u1} α) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} PUnit.{succ u1} α) => Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} PUnit.{succ u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α))) (toLex.{max u2 u1} (Sum.{u1, u2} PUnit.{succ u1} α)) (Sum.inr.{u1, u2} PUnit.{succ u1} α a))) (WithBot.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_bot.order_iso_punit_sum_lex_symm_inr WithBot.orderIsoPUnitSumLex_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoPUnitSumLex_symm_inr (a : α) : orderIsoPUnitSumLex.symm (toLex <| inr a) = a :=
@@ -1232,7 +1232,7 @@ def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α], Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} PUnit.unit.{succ u2}))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α], Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u2 u1)), succ u2, succ (max u2 u1)} (Function.Embedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u2 u1)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u2 u1} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (Top.top.{u2} (WithTop.{u2} α) (WithTop.top.{u2} α))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inr.{u2, u1} α PUnit.{succ u1} PUnit.unit.{succ u1}))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_top WithTop.orderIsoSumLexPUnit_topₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUnit.unit) :=
@@ -1243,7 +1243,7 @@ theorem orderIsoSumLexPUnit_top : @orderIsoSumLexPUnit α _ ⊤ = toLex (inr PUn
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ (max u1 u2)} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (coeFn.{max (succ u1) (succ (max u1 u2)), max (succ u1) (succ (max u1 u2))} (OrderIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (fun (_x : RelIso.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) => (WithTop.{u1} α) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (RelIso.hasCoeToFun.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1)) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{max (succ u2) (succ u1)} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.some.{u2} α a)) (FunLike.coe.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (fun (_x : WithTop.{u2} α) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : WithTop.{u2} α) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (EmbeddingLike.toFunLike.{max (succ u2) (succ (max u1 u2)), succ u2, succ (max u1 u2)} (Function.Embedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Function.instEmbeddingLikeEmbedding.{succ u2, succ (max u1 u2)} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})))) (RelEmbedding.toEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1))) (WithTop.some.{u2} α a)) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_coe WithTop.orderIsoSumLexPUnit_toLexₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (inl a) :=
@@ -1254,7 +1254,7 @@ theorem orderIsoSumLexPUnit_toLex (a : α) : orderIsoSumLexPUnit ↑a = toLex (i
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} (WithTop.{u1} α) (WithTop.hasTop.{u1} α))
 but is expected to have type
-  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (WithTop.top.{u1} α))
+  forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (x : PUnit.{succ u2}), Eq.{succ u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (FunLike.coe.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (fun (_x : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u1), succ (max u1 u2), succ u1} (Function.Embedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α)) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α))) (RelEmbedding.toEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u1} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => LE.le.{max u1 u2} (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u1} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u1} α) => LE.le.{u1} (WithTop.{u1} α) (WithTop.le.{u1} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.le.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (DistribLattice.toLattice.{u2} PUnit.{succ u2} (instDistribLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)))) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (_x : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) _x) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (Top.top.{u1} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) => WithTop.{u1} α) (FunLike.coe.{succ (max u2 u1), succ (max u2 u1), succ (max u2 u1)} (Equiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (Sum.{u1, u2} α PUnit.{succ u2}) (fun (a : Sum.{u1, u2} α PUnit.{succ u2}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u1, u2} α PUnit.{succ u2}) => Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) a) (Equiv.instFunLikeEquiv.{succ (max u2 u1), succ (max u2 u1)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u2 u1} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inr.{u1, u2} α PUnit.{succ u2} x))) (WithTop.top.{u1} α))
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inr WithTop.orderIsoSumLexPUnit_symm_inrₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
@@ -1266,7 +1266,7 @@ theorem orderIsoSumLexPUnit_symm_inr (x : PUnit) :
 lean 3 declaration is
   forall {α : Type.{u1}} [_inst_1 : LE.{u1} α] (a : α), Eq.{succ u1} (WithTop.{u1} α) (coeFn.{max (succ (max u1 u2)) (succ u1), max (succ (max u1 u2)) (succ u1)} (OrderIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.hasLe.{u1} α _inst_1)) (fun (_x : RelIso.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) => (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) -> (WithTop.{u1} α)) (RelIso.hasCoeToFun.{max u1 u2, u1} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.{u1} α) (LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2}))))))) (LE.le.{u1} (WithTop.{u1} α) (WithTop.hasLe.{u1} α _inst_1))) (OrderIso.symm.{u1, max u1 u2} (WithTop.{u1} α) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (WithTop.hasLe.{u1} α _inst_1) (Sum.Lex.LE.{u1, u2} α PUnit.{succ u2} _inst_1 (Preorder.toLE.{u2} PUnit.{succ u2} (PartialOrder.toPreorder.{u2} PUnit.{succ u2} (SemilatticeInf.toPartialOrder.{u2} PUnit.{succ u2} (Lattice.toSemilatticeInf.{u2} PUnit.{succ u2} (LinearOrder.toLattice.{u2} PUnit.{succ u2} PUnit.linearOrder.{u2})))))) (WithTop.orderIsoSumLexPUnit.{u1, u2} α _inst_1)) (coeFn.{succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (fun (_x : Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) => (Sum.{u1, u2} α PUnit.{succ u2}) -> (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (Equiv.hasCoeToFun.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u1, u2} α PUnit.{succ u2}) (Lex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2}))) (toLex.{max u1 u2} (Sum.{u1, u2} α PUnit.{succ u2})) (Sum.inl.{u1, u2} α PUnit.{succ u2} a))) ((fun (a : Type.{u1}) (b : Type.{u1}) [self : HasLiftT.{succ u1, succ u1} a b] => self.0) α (WithTop.{u1} α) (HasLiftT.mk.{succ u1, succ u1} α (WithTop.{u1} α) (CoeTCₓ.coe.{succ u1, succ u1} α (WithTop.{u1} α) (WithTop.hasCoeT.{u1} α))) a)
 but is expected to have type
-  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (a : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.805 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
+  forall {α : Type.{u2}} [_inst_1 : LE.{u2} α] (a : α), Eq.{succ u2} ((fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (a : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) a) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (FunLike.coe.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (fun (_x : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => (fun (x._@.Mathlib.Data.FunLike.Embedding._hyg.19 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => WithTop.{u2} α) _x) (EmbeddingLike.toFunLike.{max (succ (max u1 u2)) (succ u2), succ (max u1 u2), succ u2} (Function.Embedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α)) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (Function.instEmbeddingLikeEmbedding.{succ (max u1 u2), succ u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α))) (RelEmbedding.toEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (RelIso.toRelEmbedding.{max u1 u2, u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.{u2} α) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1281 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (x._@.Mathlib.Order.Hom.Basic._hyg.1283 : Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) => LE.le.{max u1 u2} (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) x._@.Mathlib.Order.Hom.Basic._hyg.1281 x._@.Mathlib.Order.Hom.Basic._hyg.1283) (fun (x._@.Mathlib.Order.Hom.Basic._hyg.1296 : WithTop.{u2} α) (x._@.Mathlib.Order.Hom.Basic._hyg.1298 : WithTop.{u2} α) => LE.le.{u2} (WithTop.{u2} α) (WithTop.le.{u2} α _inst_1) x._@.Mathlib.Order.Hom.Basic._hyg.1296 x._@.Mathlib.Order.Hom.Basic._hyg.1298) (OrderIso.symm.{u2, max u1 u2} (WithTop.{u2} α) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (WithTop.le.{u2} α _inst_1) (Sum.Lex.LE.{u2, u1} α PUnit.{succ u1} _inst_1 (Preorder.toLE.{u1} PUnit.{succ u1} (PartialOrder.toPreorder.{u1} PUnit.{succ u1} (SemilatticeInf.toPartialOrder.{u1} PUnit.{succ u1} (Lattice.toSemilatticeInf.{u1} PUnit.{succ u1} (DistribLattice.toLattice.{u1} PUnit.{succ u1} (instDistribLattice.{u1} PUnit.{succ u1} PUnit.linearOrder.{u1}))))))) (WithTop.orderIsoSumLexPUnit.{u2, u1} α _inst_1)))) (FunLike.coe.{succ (max u1 u2), succ (max u1 u2), succ (max u1 u2)} (Equiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (Sum.{u2, u1} α PUnit.{succ u1}) (fun (_x : Sum.{u2, u1} α PUnit.{succ u1}) => (fun (x._@.Mathlib.Logic.Equiv.Defs._hyg.808 : Sum.{u2, u1} α PUnit.{succ u1}) => Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) _x) (Equiv.instFunLikeEquiv.{succ (max u1 u2), succ (max u1 u2)} (Sum.{u2, u1} α PUnit.{succ u1}) (Lex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1}))) (toLex.{max u1 u2} (Sum.{u2, u1} α PUnit.{succ u1})) (Sum.inl.{u2, u1} α PUnit.{succ u1} a))) (WithTop.some.{u2} α a)
 Case conversion may be inaccurate. Consider using '#align with_top.order_iso_sum_lex_punit_symm_inl WithTop.orderIsoSumLexPUnit_symm_inlₓ'. -/
 @[simp]
 theorem orderIsoSumLexPUnit_symm_inl (a : α) : orderIsoSumLexPUnit.symm (toLex <| inl a) = a :=

Changes in mathlib4

mathlib3
mathlib4
chore: adapt to multiple goal linter 1 (#12338)

A PR accompanying #12339.

Zulip discussion

Diff
@@ -688,8 +688,9 @@ theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c
 def sumLexDualAntidistrib (α β : Type*) [LE α] [LE β] : (α ⊕ₗ β)ᵒᵈ ≃o βᵒᵈ ⊕ₗ αᵒᵈ :=
   { Equiv.sumComm α β with
     map_rel_iff' := @fun a b => by
-      rcases a with (a | a) <;> rcases b with (b | b); simp
-      · change
+      rcases a with (a | a) <;> rcases b with (b | b);
+      · simp
+        change
           toLex (inr <| toDual a) ≤ toLex (inr <| toDual b) ↔
             toDual (toLex <| inl a) ≤ toDual (toLex <| inl b)
         simp [toDual_le_toDual, Lex.inl_le_inl_iff, Lex.inr_le_inr_iff]
chore: remove nonterminal simp (#7580)

Removes nonterminal simps on lines looking like simp [...]

Diff
@@ -737,11 +737,19 @@ namespace WithBot
 `a`. -/
 def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
   ⟨(Equiv.optionEquivSumPUnit α).trans <| (Equiv.sumComm _ _).trans toLex, @fun a b => by
-    rcases a with (a | _) <;> rcases b with (b | _) <;>
-    simp [swap, Equiv.optionEquivSumPUnit]
-    exact not_coe_le_bot _⟩
+    simp only [Equiv.optionEquivSumPUnit, Option.elim, Equiv.trans_apply, Equiv.coe_fn_mk,
+      Equiv.sumComm_apply, swap, Lex.toLex_le_toLex, le_refl]
+    rcases a with (a | _) <;> rcases b with (b | _)
+    · simp only [elim_inr, lex_inl_inl, none_le]
+    · simp only [elim_inr, elim_inl, Lex.sep, none_le]
+    · simp only [elim_inl, elim_inr, lex_inr_inl, false_iff]
+      exact not_coe_le_bot _
+    · simp only [elim_inl, lex_inr_inr, some_le_some]
+  ⟩
 #align with_bot.order_iso_punit_sum_lex WithBot.orderIsoPUnitSumLex
 
+
+
 @[simp]
 theorem orderIsoPUnitSumLex_bot : @orderIsoPUnitSumLex α _ ⊥ = toLex (inl PUnit.unit) :=
   rfl
@@ -771,9 +779,16 @@ namespace WithTop
 `a`. -/
 def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
   ⟨(Equiv.optionEquivSumPUnit α).trans toLex, @fun a b => by
-    rcases a with (a | _) <;> rcases b with (b | _) <;>
-    simp [swap, Equiv.optionEquivSumPUnit]
-    exact not_top_le_coe _⟩
+    simp only [Equiv.optionEquivSumPUnit, Option.elim, Equiv.trans_apply, Equiv.coe_fn_mk,
+      ge_iff_le, Lex.toLex_le_toLex, le_refl, lex_inr_inr, le_none]
+    rcases a with (a | _) <;> rcases b with (b | _)
+    · simp only [lex_inr_inr, le_none]
+    · simp only [lex_inr_inl, false_iff]
+      exact not_top_le_coe _
+    · simp only [Lex.sep, le_none]
+    · simp only [lex_inl_inl, some_le_some]
+
+  ⟩
 #align with_top.order_iso_sum_lex_punit WithTop.orderIsoSumLexPUnit
 
 @[simp]
chore: banish Type _ and Sort _ (#6499)

We remove all possible occurences of Type _ and Sort _ in favor of Type* and Sort*.

This has nice performance benefits.

Diff
@@ -27,7 +27,7 @@ type synonym.
 -/
 
 
-variable {α β γ δ : Type _}
+variable {α β γ δ : Type*}
 
 namespace Sum
 
@@ -547,19 +547,19 @@ variable [LE α] [LE β] [LE γ] (a : α) (b : β) (c : γ)
 
 /-- `Equiv.sumComm` promoted to an order isomorphism. -/
 @[simps! apply]
-def sumComm (α β : Type _) [LE α] [LE β] : Sum α β ≃o Sum β α :=
+def sumComm (α β : Type*) [LE α] [LE β] : Sum α β ≃o Sum β α :=
   { Equiv.sumComm α β with map_rel_iff' := swap_le_swap_iff }
 #align order_iso.sum_comm OrderIso.sumComm
 #align order_iso.sum_comm_apply OrderIso.sumComm_apply
 
 @[simp]
-theorem sumComm_symm (α β : Type _) [LE α] [LE β] :
+theorem sumComm_symm (α β : Type*) [LE α] [LE β] :
     (OrderIso.sumComm α β).symm = OrderIso.sumComm β α :=
   rfl
 #align order_iso.sum_comm_symm OrderIso.sumComm_symm
 
 /-- `Equiv.sumAssoc` promoted to an order isomorphism. -/
-def sumAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ ≃o Sum α (Sum β γ) :=
+def sumAssoc (α β γ : Type*) [LE α] [LE β] [LE γ] : Sum (Sum α β) γ ≃o Sum α (Sum β γ) :=
   { Equiv.sumAssoc α β γ with
     map_rel_iff' := @fun a b => by
       rcases a with ((_ | _) | _) <;> rcases b with ((_ | _) | _) <;>
@@ -597,7 +597,7 @@ theorem sumAssoc_symm_apply_inr_inr : (sumAssoc α β γ).symm (inr (inr c)) = i
 #align order_iso.sum_assoc_symm_apply_inr_inr OrderIso.sumAssoc_symm_apply_inr_inr
 
 /-- `orderDual` is distributive over `⊕` up to an order isomorphism. -/
-def sumDualDistrib (α β : Type _) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum αᵒᵈ βᵒᵈ :=
+def sumDualDistrib (α β : Type*) [LE α] [LE β] : (Sum α β)ᵒᵈ ≃o Sum αᵒᵈ βᵒᵈ :=
   { Equiv.refl _ with
     map_rel_iff' := by
       rintro (a | a) (b | b)
@@ -630,7 +630,7 @@ theorem sumDualDistrib_symm_inr : (sumDualDistrib α β).symm (inr (toDual b)) =
 #align order_iso.sum_dual_distrib_symm_inr OrderIso.sumDualDistrib_symm_inr
 
 /-- `Equiv.SumAssoc` promoted to an order isomorphism. -/
-def sumLexAssoc (α β γ : Type _) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕ₗ γ ≃o α ⊕ₗ β ⊕ₗ γ :=
+def sumLexAssoc (α β γ : Type*) [LE α] [LE β] [LE γ] : (α ⊕ₗ β) ⊕ₗ γ ≃o α ⊕ₗ β ⊕ₗ γ :=
   { Equiv.sumAssoc α β γ with
     map_rel_iff' := @fun a b =>
       ⟨fun h =>
@@ -685,7 +685,7 @@ theorem sumLexAssoc_symm_apply_inr_inr : (sumLexAssoc α β γ).symm (inr (inr c
 #align order_iso.sum_lex_assoc_symm_apply_inr_inr OrderIso.sumLexAssoc_symm_apply_inr_inr
 
 /-- `OrderDual` is antidistributive over `⊕ₗ` up to an order isomorphism. -/
-def sumLexDualAntidistrib (α β : Type _) [LE α] [LE β] : (α ⊕ₗ β)ᵒᵈ ≃o βᵒᵈ ⊕ₗ αᵒᵈ :=
+def sumLexDualAntidistrib (α β : Type*) [LE α] [LE β] : (α ⊕ₗ β)ᵒᵈ ≃o βᵒᵈ ⊕ₗ αᵒᵈ :=
   { Equiv.sumComm α β with
     map_rel_iff' := @fun a b => by
       rcases a with (a | a) <;> rcases b with (b | b); simp
chore: ensure all instances referred to directly have explicit names (#6423)

Per https://github.com/leanprover/lean4/issues/2343, we are going to need to change the automatic generation of instance names, as they become too long.

This PR ensures that everywhere in Mathlib that refers to an instance by name, that name is given explicitly, rather than being automatically generated.

There are four exceptions, which are now commented, with links to https://github.com/leanprover/lean4/issues/2343.

This was implemented by running Mathlib against a modified Lean that appended _ᾰ to all automatically generated names, and fixing everything.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -111,10 +111,10 @@ end Lex
 
 section Disjoint
 
-instance [LE α] [LE β] : LE (Sum α β) :=
+instance instLESum [LE α] [LE β] : LE (Sum α β) :=
   ⟨LiftRel (· ≤ ·) (· ≤ ·)⟩
 
-instance [LT α] [LT β] : LT (Sum α β) :=
+instance instLTSum [LT α] [LT β] : LT (Sum α β) :=
   ⟨LiftRel (· < ·) (· < ·)⟩
 
 theorem le_def [LE α] [LE β] {a b : Sum α β} : a ≤ b ↔ LiftRel (· ≤ ·) (· ≤ ·) a b :=
@@ -169,7 +169,7 @@ section Preorder
 
 variable [Preorder α] [Preorder β]
 
-instance : Preorder (Sum α β) :=
+instance instPreorderSum : Preorder (Sum α β) :=
   { instLESum, instLTSum with
     le_refl := fun x => LiftRel.refl _ _ _,
     le_trans := fun _ _ _ => LiftRel.trans _ _,
chore: script to replace headers with #align_import statements (#5979)

Open in Gitpod

Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -2,14 +2,11 @@
 Copyright (c) 2021 Yaël Dillies. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Yaël Dillies
-
-! This file was ported from Lean 3 source module data.sum.order
-! leanprover-community/mathlib commit f1a2caaf51ef593799107fe9a8d5e411599f3996
-! Please do not edit these lines, except to modify the commit id
-! if you have ported upstream changes.
 -/
 import Mathlib.Order.Hom.Basic
 
+#align_import data.sum.order from "leanprover-community/mathlib"@"f1a2caaf51ef593799107fe9a8d5e411599f3996"
+
 /-!
 # Orders on a sum type
 
chore: cleanup whitespace (#5988)

Grepping for [^ .:{-] [^ :] and reviewing the results. Once I started I couldn't stop. :-)

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>

Diff
@@ -201,7 +201,7 @@ end Preorder
 
 instance [PartialOrder α] [PartialOrder β] : PartialOrder (Sum α β) :=
   { instPreorderSum with
-    le_antisymm := fun _ _ => show LiftRel _ _ _ _ → _ from antisymm  }
+    le_antisymm := fun _ _ => show LiftRel _ _ _ _ → _ from antisymm }
 
 instance noMinOrder [LT α] [LT β] [NoMinOrder α] [NoMinOrder β] : NoMinOrder (Sum α β) :=
   ⟨fun a =>
chore: add space after exacts (#4945)

Too often tempted to change these during other PRs, so doing a mass edit here.

Co-authored-by: Scott Morrison <scott.morrison@anu.edu.au>

Diff
@@ -75,7 +75,7 @@ variable (r : α → α → Prop) (s : β → β → Prop)
 instance [IsRefl α r] [IsRefl β s] : IsRefl (Sum α β) (Lex r s) :=
   ⟨by
     rintro (a | a)
-    exacts[Lex.inl (refl _), Lex.inr (refl _)]⟩
+    exacts [Lex.inl (refl _), Lex.inr (refl _)]⟩
 
 instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
   ⟨by rintro _ (⟨h⟩ | ⟨h⟩) <;> exact irrefl _ h⟩
@@ -83,7 +83,7 @@ instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
 instance [IsTrans α r] [IsTrans β s] : IsTrans (Sum α β) (Lex r s) :=
   ⟨by
     rintro _ _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hbc⟩ | ⟨hbc⟩)
-    exacts[.inl (_root_.trans hab hbc), .sep _ _, .inr (_root_.trans hab hbc), .sep _ _]⟩
+    exacts [.inl (_root_.trans hab hbc), .sep _ _, .inr (_root_.trans hab hbc), .sep _ _]⟩
 
 instance [IsAntisymm α r] [IsAntisymm β s] : IsAntisymm (Sum α β) (Lex r s) :=
   ⟨by rintro _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hba⟩ | ⟨hba⟩) <;> rw [antisymm hab hba]⟩
chore: fix upper/lowercase in comments (#4360)
  • Run a non-interactive version of fix-comments.py on all files.
  • Go through the diff and manually add/discard/edit chunks.
Diff
@@ -302,13 +302,13 @@ namespace Lex
 notation:30 α " ⊕ₗ " β:29 => _root_.Lex (Sum α β)
 
 --TODO: Can we make `inlₗ`, `inrₗ` `local notation`?
-/-- Lexicographical `sum.inl`. Only used for pattern matching. -/
+/-- Lexicographical `Sum.inl`. Only used for pattern matching. -/
 @[match_pattern]
 abbrev _root_.Sum.inlₗ (x : α) : α ⊕ₗ β :=
   toLex (Sum.inl x)
 #align sum.inlₗ Sum.inlₗ
 
-/-- Lexicographical `sum.inr`. Only used for pattern matching. -/
+/-- Lexicographical `Sum.inr`. Only used for pattern matching. -/
 @[match_pattern]
 abbrev _root_.Sum.inrₗ (x : β) : α ⊕ₗ β :=
   toLex (Sum.inr x)
@@ -736,7 +736,7 @@ variable [LE α]
 
 namespace WithBot
 
-/-- `WithBot α` is order-isomorphic to `PUnit ⊕ₗ α`, by sending `⊥` to `unit` and `↑a` to
+/-- `WithBot α` is order-isomorphic to `PUnit ⊕ₗ α`, by sending `⊥` to `Unit` and `↑a` to
 `a`. -/
 def orderIsoPUnitSumLex : WithBot α ≃o PUnit ⊕ₗ α :=
   ⟨(Equiv.optionEquivSumPUnit α).trans <| (Equiv.sumComm _ _).trans toLex, @fun a b => by
@@ -770,7 +770,7 @@ end WithBot
 
 namespace WithTop
 
-/-- `WithTop α` is order-isomorphic to `α ⊕ₗ PUnit`, by sending `⊤` to `unit` and `↑a` to
+/-- `WithTop α` is order-isomorphic to `α ⊕ₗ PUnit`, by sending `⊤` to `Unit` and `↑a` to
 `a`. -/
 def orderIsoSumLexPUnit : WithTop α ≃o α ⊕ₗ PUnit :=
   ⟨(Equiv.optionEquivSumPUnit α).trans toLex, @fun a b => by
fix: correct names of LinearOrder decidable fields (#4006)

This renames

  • decidable_eq to decidableEq
  • decidable_lt to decidableLT
  • decidable_le to decidableLE
  • decidableLT_of_decidableLE to decidableLTOfDecidableLE
  • decidableEq_of_decidableLE to decidableEqOfDecidableLE

These fields are data not proofs, so they should be lowerCamelCased.

Diff
@@ -427,8 +427,8 @@ instance partialOrder [PartialOrder α] [PartialOrder β] : PartialOrder (α ⊕
 instance linearOrder [LinearOrder α] [LinearOrder β] : LinearOrder (α ⊕ₗ β) :=
   { Lex.partialOrder with
     le_total := total_of (Lex (· ≤ ·) (· ≤ ·)),
-    decidable_le := instDecidableRelSumLex,
-    decidable_eq := instDecidableEqSum }
+    decidableLE := instDecidableRelSumLex,
+    decidableEq := instDecidableEqSum }
 #align sum.lex.linear_order Sum.Lex.linearOrder
 
 /-- The lexicographical bottom of a sum is the bottom of the left component. -/
feat: require @[simps!] if simps runs in expensive mode (#1885)
  • This does not change the behavior of simps, just raises a linter error if you run simps in a more expensive mode without writing !.
  • Fixed some incorrect occurrences of to_additive, simps. Will do that systematically in future PR.
  • Fix port of OmegaCompletePartialOrder.ContinuousHom.ofMono a bit

Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>

Diff
@@ -549,7 +549,7 @@ namespace OrderIso
 variable [LE α] [LE β] [LE γ] (a : α) (b : β) (c : γ)
 
 /-- `Equiv.sumComm` promoted to an order isomorphism. -/
-@[simps apply]
+@[simps! apply]
 def sumComm (α β : Type _) [LE α] [LE β] : Sum α β ≃o Sum β α :=
   { Equiv.sumComm α β with map_rel_iff' := swap_le_swap_iff }
 #align order_iso.sum_comm OrderIso.sumComm
chore: add missing #align statements (#1902)

This PR is the result of a slight variant on the following "algorithm"

  • take all mathlib 3 names, remove _ and make all uppercase letters into lowercase
  • take all mathlib 4 names, remove _ and make all uppercase letters into lowercase
  • look for matches, and create pairs (original_lean3_name, OriginalLean4Name)
  • for pairs that do not have an align statement:
    • use Lean 4 to lookup the file + position of the Lean 4 name
    • add an #align statement just before the next empty line
  • manually fix some tiny mistakes (e.g., empty lines in proofs might cause the #align statement to have been inserted too early)
Diff
@@ -553,6 +553,7 @@ variable [LE α] [LE β] [LE γ] (a : α) (b : β) (c : γ)
 def sumComm (α β : Type _) [LE α] [LE β] : Sum α β ≃o Sum β α :=
   { Equiv.sumComm α β with map_rel_iff' := swap_le_swap_iff }
 #align order_iso.sum_comm OrderIso.sumComm
+#align order_iso.sum_comm_apply OrderIso.sumComm_apply
 
 @[simp]
 theorem sumComm_symm (α β : Type _) [LE α] [LE β] :
Feat: prove IsTrans α r → Trans r r r and Trans r r r → IsTrans α r (#1522)

Now Trans.trans conflicts with _root_.trans.

Diff
@@ -83,7 +83,7 @@ instance [IsIrrefl α r] [IsIrrefl β s] : IsIrrefl (Sum α β) (Lex r s) :=
 instance [IsTrans α r] [IsTrans β s] : IsTrans (Sum α β) (Lex r s) :=
   ⟨by
     rintro _ _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hbc⟩ | ⟨hbc⟩)
-    exacts[Lex.inl (trans hab hbc), Lex.sep _ _, Lex.inr (trans hab hbc), Lex.sep _ _]⟩
+    exacts[.inl (_root_.trans hab hbc), .sep _ _, .inr (_root_.trans hab hbc), .sep _ _]⟩
 
 instance [IsAntisymm α r] [IsAntisymm β s] : IsAntisymm (Sum α β) (Lex r s) :=
   ⟨by rintro _ _ (⟨hab⟩ | ⟨hab⟩) (⟨hba⟩ | ⟨hba⟩) <;> rw [antisymm hab hba]⟩
chore: add source headers to ported theory files (#1094)

The script used to do this is included. The yaml file was obtained from https://raw.githubusercontent.com/wiki/leanprover-community/mathlib/mathlib4-port-status.md

Diff
@@ -2,6 +2,11 @@
 Copyright (c) 2021 Yaël Dillies. All rights reserved.
 Released under Apache 2.0 license as described in the file LICENSE.
 Authors: Yaël Dillies
+
+! This file was ported from Lean 3 source module data.sum.order
+! leanprover-community/mathlib commit f1a2caaf51ef593799107fe9a8d5e411599f3996
+! Please do not edit these lines, except to modify the commit id
+! if you have ported upstream changes.
 -/
 import Mathlib.Order.Hom.Basic
 

Dependencies 34

35 files ported (100.0%)
16980 lines ported (100.0%)

All dependencies are ported!