New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - chore(library/init/data/nat): backport Nat.le from Lean4 #603
Conversation
The reason for the timeouts seems to be related to strings: set_option profiler true
example (h : 'h' = 'w') : false := by cases h -- before and now 0.4s
example (h : "h" = "w") : false := by cases h -- before 0.5s, now 7s
example (h : ['h'] = ['w']) : false := by cases h -- before 0.4s, now 2.7s From what I can tell, this is because Lean tries to unify |
would it make sense to make |
I'd rather make |
bors r+ |
The corresponding PR to mathlib is leanprover-community/mathlib#8756. Co-authored-by: Gabriel Ebner <gebner@gebner.org>
Pull request successfully merged into master. Build succeeded: |
…' (#607) Daniel and Leo have decided to instead to try forward porting Lean3's `nat.le`, so in the meantime I think we should revert #603 to maintain compatibility with mathlib. :-) https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Nat.2Ele.20backport
The corresponding PR to mathlib is leanprover-community/mathlib#8756.