Zulip Chat Archive

Stream: general

Topic: diagnosing loops in `simp`


Scott Morrison (May 30 2018 at 04:04):

Can someone remind me what I'm meant to do to diagnose simp apparently going into an endless loop, and ending in a timeout? There must be some option to set so I can see which lemmas it is attempting to apply.

Scott Morrison (May 30 2018 at 04:06):

Ah, okay: set_option trace.simp_lemmas true. Curiously in VSCode set option trace.simp doesn't include in its autocomplete suggestions trace.simp_lemmas.

Scott Morrison (May 30 2018 at 04:07):

Oh, and it's trace.simplify that I want anyway.

Kevin Buzzard (May 30 2018 at 14:05):

Scott -- if this is not mentioned in the simp docs then add one para and make a PR.

Kevin Buzzard (May 30 2018 at 14:06):

Or just download

Kevin Buzzard (May 30 2018 at 14:06):

https://github.com/leanprover/mathlib/blob/master/docs/extras/simp.md

Kevin Buzzard (May 30 2018 at 14:06):

and edit it and email it me.

Kevin Buzzard (May 30 2018 at 14:06):

Let's get these answers down in a canonical place.


Last updated: Dec 20 2023 at 11:08 UTC