Zulip Chat Archive

Stream: new members

Topic: Is there a tactic manual?


Jiang Jiedong (Apr 04 2024 at 06:39):

Hi everyone,

I think maybe a major obstacle of new members getting more familiar with lean after reading mathematics_in_lean is that they still don't know how many tactic exists in lean and what each tactic does. For example, I learned quite recently that there is a powerful tactic called omega. Is there a cheatsheet that lists all (or most) tactics somewhere? Is there a searching method for the tactics? I think these materials will definitely help new members greatly.

Rida Hamadani (Apr 04 2024 at 06:49):

This one is by @Martin Dvořák :
https://github.com/madvorak/lean4-tactics

Rida Hamadani (Apr 04 2024 at 06:51):

It is not exhaustive but still useful, I wonder if we can do PRs to it in order to add new tactics.

María Inés de Frutos Fernández (Apr 04 2024 at 06:51):

There is also a quite complete list of tactics here, but omega is not there yet.

Markus Schmaus (Apr 04 2024 at 08:01):

I found the #help command from Mathlib to be a good way to search for tactics tactics:

import Mathlib

#help tactic omega

Martin Dvořák (Apr 23 2024 at 15:14):

Rida Hamadani said:

I wonder if we can do PRs to it in order to add new tactics.

Please do!


Last updated: May 02 2025 at 03:31 UTC