rw [h₂] at h₁
α : Type
inst✝ : Order α
x : α
cmp : compare x x = Ordering.lt
h₁ : (compare x x).swap = Ordering.gt
h₂ : (compare x x).swap = Ordering.lt
⊢ Ordering.lt = Ordering.eq
α : Type
inst✝ : Order α
x : α
cmp : compare x x = Ordering.lt
h₁ : Ordering.lt = Ordering.gt
h₂ : (compare x x).swap = Ordering.lt
⊢ Ordering.lt = Ordering.eq