lean4-htt/tests/lean/run/1435.lean
Leonardo de Moura 4167b2466a fix: improve heuristic for issue #1419
The fix #1419 generated two regressions on Mathlib.

Fixes #1435
Fixes #1436
2022-08-06 09:00:16 -07:00

11 lines
288 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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