Skip to content
 
 

Repository files navigation

All tactics in mathlib4

all-tactics.md

mathlib4 rev: c161d1800ce3788307e2d726b7a265549a1c04d7 (2023-09-06)

How to obtain this?

  1. Make a new Lean 4 project with mathlib4 (using lake new project_name math)
  2. The following codes yields the docstrings of all mathlib4 tactics in Message in line 2, so copy and paste it in a new markdown file.
import Mathlib.Tactic
#help tactic
  1. Replace syntax "(.*?)".*?\[(.*)\] (regex) with:
# $1
Defined in: `$2`

  1. Delete ^ (regex).
  2. Manually fix some tactics.

c.f. Zulip chat

About

Markdown file of the list and explanations of all mathlib4 tactics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages