leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: general

Topic: determining where Lean is slow


Jireh Loreaux (Feb 11 2022 at 18:58):

Let's say you have a slow proof. How exactly do you go about figuring out where it is slow in order to speed it up? Obviously, you can use tricks like sorry; or commenting bits out, but surely there is a better way. What is it?

Johan Commelin (Feb 11 2022 at 19:06):

set_option profiler true is often helpful


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll