Zulip Chat Archive

Stream: new members

Topic: Lean 4 tactics list


Jon Bannon (May 17 2024 at 17:58):

Is there an encyclopedic list of Lean 4 tactics? I expect I am not looking in the right places...

Kevin Buzzard (May 17 2024 at 18:02):

A slightly out-of-date one is https://github.com/haruhisa-enomoto/mathlib4-all-tactics/blob/main/all-tactics.md

Jon Bannon (May 17 2024 at 18:05):

Thank you, Kevin. Sorry for the multi-post!

Kevin Buzzard (May 17 2024 at 18:08):

I'm pretty sure someone else did a more recent version. I think that perhaps the only reason this isn't on some official site is that people haven't figured out how to auto-update it.

Luigi Massacci (May 17 2024 at 18:19):

If I’m not mistaken, the stuff in Mathlib.Tactic should in fact be all the tactics (note that the file itself won’t appear to contain anything in the docs, but everything is in the subdirectory on the left)

Kyle Miller (May 17 2024 at 18:50):

@Luigi Massacci There are more tactics in Lean and in Std beyond those.

We really need the documentation to show an encyclopedic list of all the tactics. The information is inside all the compiled files somewhere, but the work needs to be done.

Jason Rute (May 17 2024 at 18:54):

When there is a canonical answer, put it here: https://proofassistants.stackexchange.com/q/3986/122

Luigi Massacci (May 17 2024 at 18:58):

Kyle Miller said:

Luigi Massacci There are more tactics in Lean and in Std beyond those.

and I used omega this morning too🤦🏻‍♂️

Jon Bannon (May 17 2024 at 19:08):

@Jason Rute : I can also delete that stackexchange post if it is better to collect things here. Just let me know.

Luigi Massacci (May 17 2024 at 19:09):

I think having a non Zulip answer is probably a good idea


Last updated: May 02 2025 at 03:31 UTC