Zulip Chat Archive

Stream: general

Topic: Suggestion -- Tell me what simp/dsimp does


Mason McBride (Mar 28 2024 at 18:27):

It would be great to know what theorems simp just used to close my goal. I think this shuold be standard it would help the learning curve of lean greatly because sifting through the library is very inefficient if simp can find it for me and just tell me what's relevant.

Sébastien Gouëzel (Mar 28 2024 at 18:32):

simp? does that.

Mason McBride (Mar 28 2024 at 18:35):

Thank you, lean is amazing

Tomas Skrivan (Mar 30 2024 at 11:27):

You can also add

set_option trace.Meta.Tactic.simp.rewrite true

To see the list of all the rewrites. Very useful when you want to understand what simp just did.


Last updated: May 02 2025 at 03:31 UTC