blob: 7e3f8e845a09526296c369cb890432e91ce91811 [file]
class LinearOrder (α : Type _) extends LE α, LT α
theorem le_of_not_gt [LinearOrder α] {a b : α} : ¬ a > b → a ≤ b := sorry
instance : LinearOrder Nat where
lt := Nat.lt
le := Nat.le
example (a b : Nat) (h : ¬a < b) : b ≤ a := by
have := le_of_not_gt h
exact this